Oracle Cloud Infrastructure

Pulumi Official
Package maintained by Pulumi
v0.1.1 published on Tuesday, May 3, 2022 by Pulumi

getCrossConnectStatus

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

using Pulumi;
using Oci = Pulumi.Oci;

class MyStack : Stack
{
    public MyStack()
    {
        var testCrossConnectStatus = Output.Create(Oci.Core.GetCrossConnectStatus.InvokeAsync(new Oci.Core.GetCrossConnectStatusArgs
        {
            CrossConnectId = oci_core_cross_connect.Test_cross_connect.Id,
        }));
    }

}
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/go/oci/Core"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Core.GetCrossConnectStatus(ctx, &core.GetCrossConnectStatusArgs{
			CrossConnectId: oci_core_cross_connect.Test_cross_connect.Id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

Coming soon!

import pulumi
import pulumi_oci as oci

test_cross_connect_status = oci.Core.get_cross_connect_status(cross_connect_id=oci_core_cross_connect["test_cross_connect"]["id"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testCrossConnectStatus = oci.Core.getCrossConnectStatus({
    crossConnectId: oci_core_cross_connect.test_cross_connect.id,
});

Coming soon!

Using getCrossConnectStatus

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getCrossConnectStatus(args: GetCrossConnectStatusArgs, opts?: InvokeOptions): Promise<GetCrossConnectStatusResult>
function getCrossConnectStatusOutput(args: GetCrossConnectStatusOutputArgs, opts?: InvokeOptions): Output<GetCrossConnectStatusResult>
def get_cross_connect_status(cross_connect_id: Optional[str] = None,
                             opts: Optional[InvokeOptions] = None) -> GetCrossConnectStatusResult
def get_cross_connect_status_output(cross_connect_id: Optional[pulumi.Input[str]] = None,
                             opts: Optional[InvokeOptions] = None) -> Output[GetCrossConnectStatusResult]
func GetCrossConnectStatus(ctx *Context, args *GetCrossConnectStatusArgs, opts ...InvokeOption) (*GetCrossConnectStatusResult, error)
func GetCrossConnectStatusOutput(ctx *Context, args *GetCrossConnectStatusOutputArgs, opts ...InvokeOption) GetCrossConnectStatusResultOutput

> Note: This function is named GetCrossConnectStatus in the Go SDK.

public static class GetCrossConnectStatus 
{
    public static Task<GetCrossConnectStatusResult> InvokeAsync(GetCrossConnectStatusArgs args, InvokeOptions? opts = null)
    public static Output<GetCrossConnectStatusResult> Invoke(GetCrossConnectStatusInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetCrossConnectStatusResult> getCrossConnectStatus(GetCrossConnectStatusArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: oci:Core/getCrossConnectStatus:getCrossConnectStatus
  Arguments:
    # Arguments dictionary

The following arguments are supported:

CrossConnectId string

The OCID of the cross-connect.

CrossConnectId string

The OCID of the cross-connect.

crossConnectId String

The OCID of the cross-connect.

crossConnectId string

The OCID of the cross-connect.

cross_connect_id str

The OCID of the cross-connect.

crossConnectId String

The OCID of the cross-connect.

getCrossConnectStatus Result

The following output properties are available:

CrossConnectId string

The OCID of the cross-connect.

EncryptionStatus string

Encryption status of the CrossConnect

Id string

The provider-assigned unique ID for this managed resource.

InterfaceState string

Whether Oracle's side of the interface is up or down.

LightLevelIndBm double

The light level of the cross-connect (in dBm). Example: 14.0

LightLevelIndicator string

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
CrossConnectId string

The OCID of the cross-connect.

EncryptionStatus string

Encryption status of the CrossConnect

Id string

The provider-assigned unique ID for this managed resource.

InterfaceState string

Whether Oracle's side of the interface is up or down.

LightLevelIndBm float64

The light level of the cross-connect (in dBm). Example: 14.0

LightLevelIndicator string

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
crossConnectId String

The OCID of the cross-connect.

encryptionStatus String

Encryption status of the CrossConnect

id String

The provider-assigned unique ID for this managed resource.

interfaceState String

Whether Oracle's side of the interface is up or down.

lightLevelIndBm Double

The light level of the cross-connect (in dBm). Example: 14.0

lightLevelIndicator String

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
crossConnectId string

The OCID of the cross-connect.

encryptionStatus string

Encryption status of the CrossConnect

id string

The provider-assigned unique ID for this managed resource.

interfaceState string

Whether Oracle's side of the interface is up or down.

lightLevelIndBm number

The light level of the cross-connect (in dBm). Example: 14.0

lightLevelIndicator string

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
cross_connect_id str

The OCID of the cross-connect.

encryption_status str

Encryption status of the CrossConnect

id str

The provider-assigned unique ID for this managed resource.

interface_state str

Whether Oracle's side of the interface is up or down.

light_level_ind_bm float

The light level of the cross-connect (in dBm). Example: 14.0

light_level_indicator str

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
crossConnectId String

The OCID of the cross-connect.

encryptionStatus String

Encryption status of the CrossConnect

id String

The provider-assigned unique ID for this managed resource.

interfaceState String

Whether Oracle's side of the interface is up or down.

lightLevelIndBm Number

The light level of the cross-connect (in dBm). Example: 14.0

lightLevelIndicator String

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

Package Details

Repository
https://github.com/pulumi/pulumi-oci
License
Apache-2.0
Notes

This Pulumi package is based on the oci Terraform Provider.