Viewing docs for Rootly v4.2.2
published on Thursday, Nov 12, 2026 by rootlyhq
published on Thursday, Nov 12, 2026 by rootlyhq
Viewing docs for Rootly v4.2.2
published on Thursday, Nov 12, 2026 by rootlyhq
published on Thursday, Nov 12, 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?: InvokeOutputOptions): Output<GetApiKeyResult>def get_api_key(created_at: Optional[Mapping[str, str]] = None,
expires_at: Optional[Mapping[str, str]] = None,
group_id: Optional[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,
group_id: pulumi.Input[Optional[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[InvokeOutputOptions] = 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 Output<GetApiKeyResult> Invoke(GetApiKeyInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetApiKeyResult> getApiKey(GetApiKeyArgs args, InvokeOptions options)
public static Output<GetApiKeyResult> getApiKey(GetApiKeyArgs args, InvokeOptions options)
public static Output<GetApiKeyResult> getApiKey(GetApiKeyArgs args, InvokeOutputOptions options)
fn::invoke:
function: rootly:index/getApiKey:getApiKey
arguments:
# arguments dictionarydata "rootly_get_api_key" "name" {
# arguments
}The following arguments are supported:
- created_
at map(string) - Filter by date range using 'lt' and 'gt'.
- expires_
at map(string) - Filter by date range using 'lt' and 'gt'.
- group_
id string - kind string
- last_
used_ map(string)at - Filter by date range using 'lt' and 'gt'.
- name string
- role_
id string
- 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'.
- group_
id str - 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:
- Group
Id string - 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'.
- group_
id string - id string
- The ID of this resource.
- kind string
- name string
- role_
id string - created_
at map(string) - Filter by date range using 'lt' and 'gt'.
- expires_
at map(string) - Filter by date range using 'lt' and 'gt'.
- last_
used_ map(string)at - Filter by date range using 'lt' and 'gt'.
- group
Id string - id string
- The ID of this resource.
- kind string
- name string
- role
Id string - created
At {[key: string]: string} - Filter by date range using 'lt' and 'gt'.
- expires
At {[key: string]: string} - Filter by date range using 'lt' and 'gt'.
- last
Used {[key: string]: string}At - Filter by date range using 'lt' and 'gt'.
- group_
id str - 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 v4.2.2
published on Thursday, Nov 12, 2026 by rootlyhq
published on Thursday, Nov 12, 2026 by rootlyhq