Oracle Cloud Infrastructure

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

getLetterOfAuthority

This data source provides details about a specific Letter Of Authority resource in Oracle Cloud Infrastructure Core service.

Gets the Letter of Authority for the specified cross-connect.

Example Usage

using Pulumi;
using Oci = Pulumi.Oci;

class MyStack : Stack
{
    public MyStack()
    {
        var testLetterOfAuthority = Output.Create(Oci.Core.GetLetterOfAuthority.InvokeAsync(new Oci.Core.GetLetterOfAuthorityArgs
        {
            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.GetLetterOfAuthority(ctx, &core.GetLetterOfAuthorityArgs{
			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_letter_of_authority = oci.Core.get_letter_of_authority(cross_connect_id=oci_core_cross_connect["test_cross_connect"]["id"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

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

Coming soon!

Using getLetterOfAuthority

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 getLetterOfAuthority(args: GetLetterOfAuthorityArgs, opts?: InvokeOptions): Promise<GetLetterOfAuthorityResult>
function getLetterOfAuthorityOutput(args: GetLetterOfAuthorityOutputArgs, opts?: InvokeOptions): Output<GetLetterOfAuthorityResult>
def get_letter_of_authority(cross_connect_id: Optional[str] = None,
                            opts: Optional[InvokeOptions] = None) -> GetLetterOfAuthorityResult
def get_letter_of_authority_output(cross_connect_id: Optional[pulumi.Input[str]] = None,
                            opts: Optional[InvokeOptions] = None) -> Output[GetLetterOfAuthorityResult]
func GetLetterOfAuthority(ctx *Context, args *GetLetterOfAuthorityArgs, opts ...InvokeOption) (*GetLetterOfAuthorityResult, error)
func GetLetterOfAuthorityOutput(ctx *Context, args *GetLetterOfAuthorityOutputArgs, opts ...InvokeOption) GetLetterOfAuthorityResultOutput

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

public static class GetLetterOfAuthority 
{
    public static Task<GetLetterOfAuthorityResult> InvokeAsync(GetLetterOfAuthorityArgs args, InvokeOptions? opts = null)
    public static Output<GetLetterOfAuthorityResult> Invoke(GetLetterOfAuthorityInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetLetterOfAuthorityResult> getLetterOfAuthority(GetLetterOfAuthorityArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: oci:Core/getLetterOfAuthority:getLetterOfAuthority
  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.

getLetterOfAuthority Result

The following output properties are available:

AuthorizedEntityName string

The name of the entity authorized by this Letter of Authority.

CircuitType string

The type of cross-connect fiber, termination, and optical specification.

CrossConnectId string

The OCID of the cross-connect.

FacilityLocation string

The address of the FastConnect location.

Id string

The provider-assigned unique ID for this managed resource.

PortName string

The meet-me room port for this cross-connect.

TimeExpires string

The date and time when the Letter of Authority expires, in the format defined by RFC3339.

TimeIssued string

The date and time the Letter of Authority was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z

AuthorizedEntityName string

The name of the entity authorized by this Letter of Authority.

CircuitType string

The type of cross-connect fiber, termination, and optical specification.

CrossConnectId string

The OCID of the cross-connect.

FacilityLocation string

The address of the FastConnect location.

Id string

The provider-assigned unique ID for this managed resource.

PortName string

The meet-me room port for this cross-connect.

TimeExpires string

The date and time when the Letter of Authority expires, in the format defined by RFC3339.

TimeIssued string

The date and time the Letter of Authority was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z

authorizedEntityName String

The name of the entity authorized by this Letter of Authority.

circuitType String

The type of cross-connect fiber, termination, and optical specification.

crossConnectId String

The OCID of the cross-connect.

facilityLocation String

The address of the FastConnect location.

id String

The provider-assigned unique ID for this managed resource.

portName String

The meet-me room port for this cross-connect.

timeExpires String

The date and time when the Letter of Authority expires, in the format defined by RFC3339.

timeIssued String

The date and time the Letter of Authority was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z

authorizedEntityName string

The name of the entity authorized by this Letter of Authority.

circuitType string

The type of cross-connect fiber, termination, and optical specification.

crossConnectId string

The OCID of the cross-connect.

facilityLocation string

The address of the FastConnect location.

id string

The provider-assigned unique ID for this managed resource.

portName string

The meet-me room port for this cross-connect.

timeExpires string

The date and time when the Letter of Authority expires, in the format defined by RFC3339.

timeIssued string

The date and time the Letter of Authority was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z

authorized_entity_name str

The name of the entity authorized by this Letter of Authority.

circuit_type str

The type of cross-connect fiber, termination, and optical specification.

cross_connect_id str

The OCID of the cross-connect.

facility_location str

The address of the FastConnect location.

id str

The provider-assigned unique ID for this managed resource.

port_name str

The meet-me room port for this cross-connect.

time_expires str

The date and time when the Letter of Authority expires, in the format defined by RFC3339.

time_issued str

The date and time the Letter of Authority was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z

authorizedEntityName String

The name of the entity authorized by this Letter of Authority.

circuitType String

The type of cross-connect fiber, termination, and optical specification.

crossConnectId String

The OCID of the cross-connect.

facilityLocation String

The address of the FastConnect location.

id String

The provider-assigned unique ID for this managed resource.

portName String

The meet-me room port for this cross-connect.

timeExpires String

The date and time when the Letter of Authority expires, in the format defined by RFC3339.

timeIssued String

The date and time the Letter of Authority was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z

Package Details

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

This Pulumi package is based on the oci Terraform Provider.