Google Cloud Classic v8.3.1 published on Wednesday, Sep 25, 2024 by Pulumi
gcp.kms.getKeyRings
Explore with Pulumi AI
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:
getKeyRings Result
The following output properties are available:
Supporting Types
GetKeyRingsKeyRing
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.