import * as pulumi from "@pulumi/pulumi"; /** * This data source provides details about a specific Cross Connect Status resource in Oracle Cloud Infrastructure Core service. * * Gets the status of the specified cross-connect. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testCrossConnectStatus = oci.core.getCrossConnectStatus({ * crossConnectId: testCrossConnect.id, * }); * ``` */ export declare function getCrossConnectStatus(args: GetCrossConnectStatusArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getCrossConnectStatus. */ export interface GetCrossConnectStatusArgs { /** * 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 getCrossConnectStatus. */ export interface GetCrossConnectStatusResult { /** * The OCID of the cross-connect. */ readonly crossConnectId: string; /** * Encryption status of the CrossConnect */ readonly encryptionStatus: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Whether Oracle's side of the interface is up or down. */ readonly interfaceState: string; /** * The light level of the cross-connect (in dBm). Example: `14.0` */ readonly lightLevelIndBm: number; /** * Status indicator corresponding to the light level. * * **NO_LIGHT:** No measurable light * * **LOW_WARN:** There's measurable light but it's too low * * **HIGH_WARN:** Light level is too high * * **BAD:** There's measurable light but the signal-to-noise ratio is bad * * **GOOD:** Good light level */ readonly lightLevelIndicator: string; } /** * This data source provides details about a specific Cross Connect Status resource in Oracle Cloud Infrastructure Core service. * * Gets the status of the specified cross-connect. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testCrossConnectStatus = oci.core.getCrossConnectStatus({ * crossConnectId: testCrossConnect.id, * }); * ``` */ export declare function getCrossConnectStatusOutput(args: GetCrossConnectStatusOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getCrossConnectStatus. */ export interface GetCrossConnectStatusOutputArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cross-connect. */ crossConnectId: pulumi.Input; } //# sourceMappingURL=getCrossConnectStatus.d.ts.map