1. Packages
  2. Exoscale
  3. API Docs
  4. getIamApiKey
Exoscale v0.57.0 published on Friday, Apr 19, 2024 by Pulumiverse

exoscale.getIamApiKey

Explore with Pulumi AI

exoscale logo
Exoscale v0.57.0 published on Friday, Apr 19, 2024 by Pulumiverse

    Fetch Exoscale IAM API Key.

    Corresponding resource: exoscale_iam_role.

    Using getIamApiKey

    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 getIamApiKey(args: GetIamApiKeyArgs, opts?: InvokeOptions): Promise<GetIamApiKeyResult>
    function getIamApiKeyOutput(args: GetIamApiKeyOutputArgs, opts?: InvokeOptions): Output<GetIamApiKeyResult>
    def get_iam_api_key(key: Optional[str] = None,
                        timeouts: Optional[GetIamApiKeyTimeouts] = None,
                        opts: Optional[InvokeOptions] = None) -> GetIamApiKeyResult
    def get_iam_api_key_output(key: Optional[pulumi.Input[str]] = None,
                        timeouts: Optional[pulumi.Input[GetIamApiKeyTimeoutsArgs]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetIamApiKeyResult]
    func LookupIamApiKey(ctx *Context, args *LookupIamApiKeyArgs, opts ...InvokeOption) (*LookupIamApiKeyResult, error)
    func LookupIamApiKeyOutput(ctx *Context, args *LookupIamApiKeyOutputArgs, opts ...InvokeOption) LookupIamApiKeyResultOutput

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

    public static class GetIamApiKey 
    {
        public static Task<GetIamApiKeyResult> InvokeAsync(GetIamApiKeyArgs args, InvokeOptions? opts = null)
        public static Output<GetIamApiKeyResult> Invoke(GetIamApiKeyInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetIamApiKeyResult> getIamApiKey(GetIamApiKeyArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: exoscale:index/getIamApiKey:getIamApiKey
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Key string
    The IAM API Key to match.
    Timeouts GetIamApiKeyTimeouts
    key String
    The IAM API Key to match.
    timeouts GetIamApiKeyTimeouts
    key string
    The IAM API Key to match.
    timeouts GetIamApiKeyTimeouts
    key str
    The IAM API Key to match.
    timeouts GetIamApiKeyTimeouts
    key String
    The IAM API Key to match.
    timeouts Property Map

    getIamApiKey Result

    The following output properties are available:

    Id string
    The ID of this resource.
    Key string
    The IAM API Key to match.
    Name string
    IAM API Key name.
    RoleId string
    IAM API Key role ID.
    Timeouts Pulumiverse.Exoscale.Outputs.GetIamApiKeyTimeouts
    Id string
    The ID of this resource.
    Key string
    The IAM API Key to match.
    Name string
    IAM API Key name.
    RoleId string
    IAM API Key role ID.
    Timeouts GetIamApiKeyTimeouts
    id String
    The ID of this resource.
    key String
    The IAM API Key to match.
    name String
    IAM API Key name.
    roleId String
    IAM API Key role ID.
    timeouts GetIamApiKeyTimeouts
    id string
    The ID of this resource.
    key string
    The IAM API Key to match.
    name string
    IAM API Key name.
    roleId string
    IAM API Key role ID.
    timeouts GetIamApiKeyTimeouts
    id str
    The ID of this resource.
    key str
    The IAM API Key to match.
    name str
    IAM API Key name.
    role_id str
    IAM API Key role ID.
    timeouts GetIamApiKeyTimeouts
    id String
    The ID of this resource.
    key String
    The IAM API Key to match.
    name String
    IAM API Key name.
    roleId String
    IAM API Key role ID.
    timeouts Property Map

    Supporting Types

    GetIamApiKeyTimeouts

    Read string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
    Read string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
    read String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
    read string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
    read str
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
    read String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.

    Package Details

    Repository
    exoscale pulumiverse/pulumi-exoscale
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the exoscale Terraform Provider.
    exoscale logo
    Exoscale v0.57.0 published on Friday, Apr 19, 2024 by Pulumiverse