1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Core
  5. getLetterOfAuthority
Oracle Cloud Infrastructure v1.31.0 published on Wednesday, Apr 10, 2024 by Pulumi

oci.Core.getLetterOfAuthority

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.31.0 published on Wednesday, Apr 10, 2024 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: oci_core_cross_connect.test_cross_connect.id,
    });
    
    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"])
    
    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
    	})
    }
    
    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 = oci_core_cross_connect.Test_cross_connect.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.List;
    import java.util.ArrayList;
    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(oci_core_cross_connect.test_cross_connect().id())
                .build());
    
        }
    }
    
    variables:
      testLetterOfAuthority:
        fn::invoke:
          Function: oci:Core:getLetterOfAuthority
          Arguments:
            crossConnectId: ${oci_core_cross_connect.test_cross_connect.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?: 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
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v1.31.0 published on Wednesday, Apr 10, 2024 by Pulumi