Google Native
getKeyRing
Returns metadata for a given KeyRing.
Using getKeyRing
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 getKeyRing(args: GetKeyRingArgs, opts?: InvokeOptions): Promise<GetKeyRingResult>
function getKeyRingOutput(args: GetKeyRingOutputArgs, opts?: InvokeOptions): Output<GetKeyRingResult>
def get_key_ring(key_ring_id: Optional[str] = None,
location: Optional[str] = None,
project: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetKeyRingResult
def get_key_ring_output(key_ring_id: Optional[pulumi.Input[str]] = None,
location: Optional[pulumi.Input[str]] = None,
project: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetKeyRingResult]
func LookupKeyRing(ctx *Context, args *LookupKeyRingArgs, opts ...InvokeOption) (*LookupKeyRingResult, error)
func LookupKeyRingOutput(ctx *Context, args *LookupKeyRingOutputArgs, opts ...InvokeOption) LookupKeyRingResultOutput
> Note: This function is named LookupKeyRing
in the Go SDK.
public static class GetKeyRing
{
public static Task<GetKeyRingResult> InvokeAsync(GetKeyRingArgs args, InvokeOptions? opts = null)
public static Output<GetKeyRingResult> Invoke(GetKeyRingInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetKeyRingResult> getKeyRing(GetKeyRingArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
Function: google-native:cloudkms/v1:getKeyRing
Arguments:
# Arguments dictionary
The following arguments are supported:
- key_
ring_ strid - location str
- project str
getKeyRing Result
The following output properties are available:
- Create
Time string The time at which this KeyRing was created.
- Name string
The resource name for the KeyRing in the format
projects/*/locations/*/keyRings/*
.
- Create
Time string The time at which this KeyRing was created.
- Name string
The resource name for the KeyRing in the format
projects/*/locations/*/keyRings/*
.
- create
Time String The time at which this KeyRing was created.
- name String
The resource name for the KeyRing in the format
projects/*/locations/*/keyRings/*
.
- create
Time string The time at which this KeyRing was created.
- name string
The resource name for the KeyRing in the format
projects/*/locations/*/keyRings/*
.
- create_
time str The time at which this KeyRing was created.
- name str
The resource name for the KeyRing in the format
projects/*/locations/*/keyRings/*
.
- create
Time String The time at which this KeyRing was created.
- name String
The resource name for the KeyRing in the format
projects/*/locations/*/keyRings/*
.
Package Details
- Repository
- https://github.com/pulumi/pulumi-google-native
- License
- Apache-2.0