Oracle Cloud Infrastructure
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:
- Cross
Connect stringId The OCID of the cross-connect.
- Cross
Connect stringId The OCID of the cross-connect.
- cross
Connect StringId The OCID of the cross-connect.
- cross
Connect stringId The OCID of the cross-connect.
- cross_
connect_ strid The OCID of the cross-connect.
- cross
Connect StringId The OCID of the cross-connect.
getLetterOfAuthority Result
The following output properties are available:
- 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 stringId The OCID of the cross-connect.
- 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
- 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 stringId The OCID of the cross-connect.
- 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
- 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 StringId The OCID of the cross-connect.
- 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
- 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 stringId The OCID of the cross-connect.
- 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
- 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_ strid 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
- 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 StringId The OCID of the cross-connect.
- 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
Package Details
- Repository
- https://github.com/pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
oci
Terraform Provider.