1. Packages
  2. Google Cloud (GCP) Classic
  3. API Docs
  4. kms
  5. getKeyRings
Google Cloud Classic v8.3.1 published on Wednesday, Sep 25, 2024 by Pulumi

gcp.kms.getKeyRings

Explore with Pulumi AI

gcp logo
Google Cloud Classic v8.3.1 published on Wednesday, Sep 25, 2024 by Pulumi

    Using getKeyRings

    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 getKeyRings(args: GetKeyRingsArgs, opts?: InvokeOptions): Promise<GetKeyRingsResult>
    function getKeyRingsOutput(args: GetKeyRingsOutputArgs, opts?: InvokeOptions): Output<GetKeyRingsResult>
    def get_key_rings(filter: Optional[str] = None,
                      location: Optional[str] = None,
                      project: Optional[str] = None,
                      opts: Optional[InvokeOptions] = None) -> GetKeyRingsResult
    def get_key_rings_output(filter: Optional[pulumi.Input[str]] = None,
                      location: Optional[pulumi.Input[str]] = None,
                      project: Optional[pulumi.Input[str]] = None,
                      opts: Optional[InvokeOptions] = None) -> Output[GetKeyRingsResult]
    func GetKeyRings(ctx *Context, args *GetKeyRingsArgs, opts ...InvokeOption) (*GetKeyRingsResult, error)
    func GetKeyRingsOutput(ctx *Context, args *GetKeyRingsOutputArgs, opts ...InvokeOption) GetKeyRingsResultOutput

    > Note: This function is named GetKeyRings in the Go SDK.

    public static class GetKeyRings 
    {
        public static Task<GetKeyRingsResult> InvokeAsync(GetKeyRingsArgs args, InvokeOptions? opts = null)
        public static Output<GetKeyRingsResult> Invoke(GetKeyRingsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetKeyRingsResult> getKeyRings(GetKeyRingsArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: gcp:kms/getKeyRings:getKeyRings
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Location string
    Filter string
    Project string
    Location string
    Filter string
    Project string
    location String
    filter String
    project String
    location string
    filter string
    project string
    location String
    filter String
    project String

    getKeyRings Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    KeyRings List<GetKeyRingsKeyRing>
    Location string
    Filter string
    Project string
    Id string
    The provider-assigned unique ID for this managed resource.
    KeyRings []GetKeyRingsKeyRing
    Location string
    Filter string
    Project string
    id String
    The provider-assigned unique ID for this managed resource.
    keyRings List<GetKeyRingsKeyRing>
    location String
    filter String
    project String
    id string
    The provider-assigned unique ID for this managed resource.
    keyRings GetKeyRingsKeyRing[]
    location string
    filter string
    project string
    id str
    The provider-assigned unique ID for this managed resource.
    key_rings Sequence[GetKeyRingsKeyRing]
    location str
    filter str
    project str
    id String
    The provider-assigned unique ID for this managed resource.
    keyRings List<Property Map>
    location String
    filter String
    project String

    Supporting Types

    GetKeyRingsKeyRing

    Id string
    Name string
    Id string
    Name string
    id String
    name String
    id string
    name string
    id str
    name str
    id String
    name String

    Package Details

    Repository
    Google Cloud (GCP) Classic pulumi/pulumi-gcp
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the google-beta Terraform Provider.
    gcp logo
    Google Cloud Classic v8.3.1 published on Wednesday, Sep 25, 2024 by Pulumi