1. Registry
  2. Packages
  3. Oracle Cloud Infrastructure
  4. API Docs
  5. Core
  6. getLetterOfAuthority
Viewing docs for Oracle Cloud Infrastructure v4.22.0
published on Wednesday, Aug 26, 2026 by Pulumi
oci logo oci logo
Viewing docs for Oracle Cloud Infrastructure v4.22.0
published on Wednesday, Aug 26, 2026 by Pulumi

    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

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testLetterOfAuthority = oci.core.getLetterOfAuthority({
        crossConnectId: testCrossConnect.id,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_letter_of_authority = oci.core.get_letter_of_authority(cross_connect_id=test_cross_connect["id"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v4/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: testCrossConnect.Id,
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Oci = Pulumi.Oci;
    
    return await Deployment.RunAsync(() => 
    {
        var testLetterOfAuthority = Oci.Core.GetLetterOfAuthority.Invoke(new()
        {
            CrossConnectId = testCrossConnect.Id,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.Core.CoreFunctions;
    import com.pulumi.oci.Core.inputs.GetLetterOfAuthorityArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var testLetterOfAuthority = CoreFunctions.getLetterOfAuthority(GetLetterOfAuthorityArgs.builder()
                .crossConnectId(testCrossConnect.id())
                .build());
    
        }
    }
    
    variables:
      testLetterOfAuthority:
        fn::invoke:
          function: oci:Core:getLetterOfAuthority
          arguments:
            crossConnectId: ${testCrossConnect.id}
    
    pulumi {
      required_providers {
        oci = {
          source = "pulumi/oci"
        }
      }
    }
    
    data "oci_core_getletterofauthority" "testLetterOfAuthority" {
      cross_connect_id = testCrossConnect.id
    }
    

    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?: InvokeOutputOptions): 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: pulumi.Input[Optional[str]] = None,
                                opts: Optional[InvokeOutputOptions] = 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 Output<GetLetterOfAuthorityResult> Invoke(GetLetterOfAuthorityInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetLetterOfAuthorityResult> getLetterOfAuthority(GetLetterOfAuthorityArgs args, InvokeOptions options)
    public static Output<GetLetterOfAuthorityResult> getLetterOfAuthority(GetLetterOfAuthorityArgs args, InvokeOptions options)
    public static Output<GetLetterOfAuthorityResult> getLetterOfAuthority(GetLetterOfAuthorityArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: oci:Core/getLetterOfAuthority:getLetterOfAuthority
      arguments:
        # arguments dictionary
    data "oci_core_get_letter_of_authority" "name" {
        # arguments
    }

    The following arguments are supported:

    CrossConnectId string
    The OCID of the cross-connect.
    CrossConnectId string
    The OCID of the cross-connect.
    cross_connect_id 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:

    AuthorizedAgent string
    Name of a customer authorized agent which will be appended to the LOA as 'Authorized Agent'.
    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.
    ExtensionDetails List<GetLetterOfAuthorityExtensionDetail>
    Data related to the extension of the Expiry date of the LOA. It gives you number of remaining extensions along with a history of past extensions made on the LOA.
    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
    AuthorizedAgent string
    Name of a customer authorized agent which will be appended to the LOA as 'Authorized Agent'.
    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.
    ExtensionDetails []GetLetterOfAuthorityExtensionDetail
    Data related to the extension of the Expiry date of the LOA. It gives you number of remaining extensions along with a history of past extensions made on the LOA.
    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_agent string
    Name of a customer authorized agent which will be appended to the LOA as 'Authorized Agent'.
    authorized_entity_name string
    The name of the entity authorized by this Letter of Authority.
    circuit_type string
    The type of cross-connect fiber, termination, and optical specification.
    cross_connect_id string
    The OCID of the cross-connect.
    extension_details list(object)
    Data related to the extension of the Expiry date of the LOA. It gives you number of remaining extensions along with a history of past extensions made on the LOA.
    facility_location string
    The address of the FastConnect location.
    id string
    The provider-assigned unique ID for this managed resource.
    port_name string
    The meet-me room port for this cross-connect.
    time_expires string
    The date and time when the Letter of Authority expires, in the format defined by RFC3339.
    time_issued string
    The date and time the Letter of Authority was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    authorizedAgent String
    Name of a customer authorized agent which will be appended to the LOA as 'Authorized Agent'.
    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.
    extensionDetails List<GetLetterOfAuthorityExtensionDetail>
    Data related to the extension of the Expiry date of the LOA. It gives you number of remaining extensions along with a history of past extensions made on the LOA.
    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
    authorizedAgent string
    Name of a customer authorized agent which will be appended to the LOA as 'Authorized Agent'.
    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.
    extensionDetails GetLetterOfAuthorityExtensionDetail[]
    Data related to the extension of the Expiry date of the LOA. It gives you number of remaining extensions along with a history of past extensions made on the LOA.
    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_agent str
    Name of a customer authorized agent which will be appended to the LOA as 'Authorized Agent'.
    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.
    extension_details Sequence[GetLetterOfAuthorityExtensionDetail]
    Data related to the extension of the Expiry date of the LOA. It gives you number of remaining extensions along with a history of past extensions made on the LOA.
    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
    authorizedAgent String
    Name of a customer authorized agent which will be appended to the LOA as 'Authorized Agent'.
    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.
    extensionDetails List<Property Map>
    Data related to the extension of the Expiry date of the LOA. It gives you number of remaining extensions along with a history of past extensions made on the LOA.
    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

    Supporting Types

    GetLetterOfAuthorityExtensionDetail

    Histories List<string>
    Chronologically sorted list of date and time when the Letter of Authority's expiration was last updated, most recent first, in the format defined by RFC3339. List is empty if the LOA's expiration date has never been extended.
    RemainingExtensions string
    The number of self-service LOA expiry extensions still available.
    Histories []string
    Chronologically sorted list of date and time when the Letter of Authority's expiration was last updated, most recent first, in the format defined by RFC3339. List is empty if the LOA's expiration date has never been extended.
    RemainingExtensions string
    The number of self-service LOA expiry extensions still available.
    histories list(string)
    Chronologically sorted list of date and time when the Letter of Authority's expiration was last updated, most recent first, in the format defined by RFC3339. List is empty if the LOA's expiration date has never been extended.
    remaining_extensions string
    The number of self-service LOA expiry extensions still available.
    histories List<String>
    Chronologically sorted list of date and time when the Letter of Authority's expiration was last updated, most recent first, in the format defined by RFC3339. List is empty if the LOA's expiration date has never been extended.
    remainingExtensions String
    The number of self-service LOA expiry extensions still available.
    histories string[]
    Chronologically sorted list of date and time when the Letter of Authority's expiration was last updated, most recent first, in the format defined by RFC3339. List is empty if the LOA's expiration date has never been extended.
    remainingExtensions string
    The number of self-service LOA expiry extensions still available.
    histories Sequence[str]
    Chronologically sorted list of date and time when the Letter of Authority's expiration was last updated, most recent first, in the format defined by RFC3339. List is empty if the LOA's expiration date has never been extended.
    remaining_extensions str
    The number of self-service LOA expiry extensions still available.
    histories List<String>
    Chronologically sorted list of date and time when the Letter of Authority's expiration was last updated, most recent first, in the format defined by RFC3339. List is empty if the LOA's expiration date has never been extended.
    remainingExtensions String
    The number of self-service LOA expiry extensions still available.

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo oci logo
    Viewing docs for Oracle Cloud Infrastructure v4.22.0
    published on Wednesday, Aug 26, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial