Exoscale v0.59.0 published on Monday, May 20, 2024 by Pulumiverse
exoscale.getIamApiKey
Explore with Pulumi AI
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
Pulumiverse.
Exoscale. Inputs. Get Iam Api Key Timeouts
- Key string
- The IAM API Key to match.
- Timeouts
Get
Iam Api Key Timeouts
- key String
- The IAM API Key to match.
- timeouts
Get
Iam Api Key Timeouts
- key string
- The IAM API Key to match.
- timeouts
Get
Iam Api Key Timeouts
- key str
- The IAM API Key to match.
- timeouts
Get
Iam Api Key Timeouts
- key String
- The IAM API Key to match.
- timeouts Property Map
getIamApiKey Result
The following output properties are available:
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.