import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * This data source provides details about a specific Cross Connect resource in Oracle Cloud Infrastructure Core service. * * Gets the specified cross-connect's information. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testCrossConnect = oci.core.getCrossConnect({ * crossConnectId: testCrossConnectOciCoreCrossConnect.id, * }); * ``` */ export declare function getCrossConnect(args: GetCrossConnectArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getCrossConnect. */ export interface GetCrossConnectArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cross-connect. */ crossConnectId: string; } /** * A collection of values returned by getCrossConnect. */ export interface GetCrossConnectResult { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the cross-connect group. */ readonly compartmentId: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cross-connect group this cross-connect belongs to (if any). */ readonly crossConnectGroupId: string; readonly crossConnectId: string; /** * A reference name or identifier for the physical fiber connection that this cross-connect uses. */ readonly customerReferenceName: string; /** * Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` */ readonly definedTags: { [key: string]: string; }; /** * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. */ readonly displayName: string; readonly farCrossConnectOrCrossConnectGroupId: string; /** * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ readonly freeformTags: { [key: string]: string; }; /** * The cross-connect's Oracle ID (OCID). */ readonly id: string; /** * The duration of the interface down timer in milliseconds between 0 and 3000 in multiples of 500. */ readonly interfaceDownTimerValueInMilliseconds: number; /** * The name of the FastConnect interface where this cross-connect is installed. */ readonly interfaceName: string; readonly isActive: boolean; /** * The flag to enable or disable the down timer for the interface. */ readonly isInterfaceHoldTimerEnabled: boolean; /** * The flag to enable or disable the Qos for the cross-connect. */ readonly isQosEnabled: boolean; readonly loaProperties: outputs.Core.GetCrossConnectLoaProperty[]; /** * The name of the FastConnect location where this cross-connect is installed. */ readonly locationName: string; /** * Properties used for MACsec (if capable). */ readonly macsecProperties: outputs.Core.GetCrossConnectMacsecProperty[]; readonly nearCrossConnectOrCrossConnectGroupId: string; /** * The FastConnect device that terminates the logical connection. This device might be different than the device that terminates the physical connection. */ readonly ociLogicalDeviceName: string; /** * The FastConnect device that terminates the physical connection. */ readonly ociPhysicalDeviceName: string; /** * A string identifying the meet-me room port for this cross-connect. */ readonly portName: string; /** * The port speed for this cross-connect. Example: `10 Gbps` */ readonly portSpeedShapeName: string; /** * The cross-connect's current state. */ readonly state: string; /** * The date and time the cross-connect was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` */ readonly timeCreated: string; } /** * This data source provides details about a specific Cross Connect resource in Oracle Cloud Infrastructure Core service. * * Gets the specified cross-connect's information. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testCrossConnect = oci.core.getCrossConnect({ * crossConnectId: testCrossConnectOciCoreCrossConnect.id, * }); * ``` */ export declare function getCrossConnectOutput(args: GetCrossConnectOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getCrossConnect. */ export interface GetCrossConnectOutputArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cross-connect. */ crossConnectId: pulumi.Input; } //# sourceMappingURL=getCrossConnect.d.ts.map