Google Native

Pulumi Official
Package maintained by Pulumi
v0.19.1 published on Tuesday, May 24, 2022 by Pulumi

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:

KeyRingId string
Location string
Project string
KeyRingId string
Location string
Project string
keyRingId String
location String
project String
keyRingId string
location string
project string
keyRingId String
location String
project String

getKeyRing Result

The following output properties are available:

CreateTime string

The time at which this KeyRing was created.

Name string

The resource name for the KeyRing in the format projects/*/locations/*/keyRings/*.

CreateTime string

The time at which this KeyRing was created.

Name string

The resource name for the KeyRing in the format projects/*/locations/*/keyRings/*.

createTime String

The time at which this KeyRing was created.

name String

The resource name for the KeyRing in the format projects/*/locations/*/keyRings/*.

createTime 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/*.

createTime 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