Viewing docs for Rootly v3.3.0
published on Thursday, May 7, 2026 by rootlyhq
published on Thursday, May 7, 2026 by rootlyhq
Viewing docs for Rootly v3.3.0
published on Thursday, May 7, 2026 by rootlyhq
published on Thursday, May 7, 2026 by rootlyhq
Using getApiKey
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 getApiKey(args: GetApiKeyArgs, opts?: InvokeOptions): Promise<GetApiKeyResult>
function getApiKeyOutput(args: GetApiKeyOutputArgs, opts?: InvokeOptions): Output<GetApiKeyResult>def get_api_key(created_at: Optional[Mapping[str, str]] = None,
expires_at: Optional[Mapping[str, str]] = None,
kind: Optional[str] = None,
last_used_at: Optional[Mapping[str, str]] = None,
name: Optional[str] = None,
role_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetApiKeyResult
def get_api_key_output(created_at: pulumi.Input[Optional[Mapping[str, pulumi.Input[str]]]] = None,
expires_at: pulumi.Input[Optional[Mapping[str, pulumi.Input[str]]]] = None,
kind: pulumi.Input[Optional[str]] = None,
last_used_at: pulumi.Input[Optional[Mapping[str, pulumi.Input[str]]]] = None,
name: pulumi.Input[Optional[str]] = None,
role_id: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetApiKeyResult]func LookupApiKey(ctx *Context, args *LookupApiKeyArgs, opts ...InvokeOption) (*LookupApiKeyResult, error)
func LookupApiKeyOutput(ctx *Context, args *LookupApiKeyOutputArgs, opts ...InvokeOption) LookupApiKeyResultOutput> Note: This function is named LookupApiKey in the Go SDK.
public static class GetApiKey
{
public static Task<GetApiKeyResult> InvokeAsync(GetApiKeyArgs args, InvokeOptions? opts = null)
public static Output<GetApiKeyResult> Invoke(GetApiKeyInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetApiKeyResult> getApiKey(GetApiKeyArgs args, InvokeOptions options)
public static Output<GetApiKeyResult> getApiKey(GetApiKeyArgs args, InvokeOptions options)
fn::invoke:
function: rootly:index/getApiKey:getApiKey
arguments:
# arguments dictionaryThe following arguments are supported:
- created_
at Mapping[str, str] - Filter by date range using 'lt' and 'gt'.
- expires_
at Mapping[str, str] - Filter by date range using 'lt' and 'gt'.
- kind str
- last_
used_ Mapping[str, str]at - Filter by date range using 'lt' and 'gt'.
- name str
- role_
id str
getApiKey Result
The following output properties are available:
- Id string
- The ID of this resource.
- Kind string
- Name string
- Role
Id string - Created
At Dictionary<string, string> - Filter by date range using 'lt' and 'gt'.
- Expires
At Dictionary<string, string> - Filter by date range using 'lt' and 'gt'.
- Last
Used Dictionary<string, string>At - Filter by date range using 'lt' and 'gt'.
- id str
- The ID of this resource.
- kind str
- name str
- role_
id str - created_
at Mapping[str, str] - Filter by date range using 'lt' and 'gt'.
- expires_
at Mapping[str, str] - Filter by date range using 'lt' and 'gt'.
- last_
used_ Mapping[str, str]at - Filter by date range using 'lt' and 'gt'.
Package Details
- Repository
- rootly rootlyhq/pulumi-rootly
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
rootlyTerraform Provider.
Viewing docs for Rootly v3.3.0
published on Thursday, May 7, 2026 by rootlyhq
published on Thursday, May 7, 2026 by rootlyhq
