Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi
oci.Core.getLetterOfAuthority
Explore with Pulumi AI
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/v2/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.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(testCrossConnect.id())
.build());
}
}
variables:
testLetterOfAuthority:
fn::invoke:
Function: oci:Core:getLetterOfAuthority
Arguments:
crossConnectId: ${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?: 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
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.