azure-native.maps.listAccountKeys
Explore with Pulumi AI
Get the keys to use with the Maps APIs. A key is used to authenticate and authorize access to the Maps REST APIs. Only one key is needed at a time; two are given to provide seamless key regeneration. Azure REST API version: 2021-02-01.
Other available API versions: 2018-05-01, 2021-12-01-preview, 2023-06-01, 2023-08-01-preview, 2023-12-01-preview, 2024-01-01-preview, 2024-07-01-preview.
Using listAccountKeys
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 listAccountKeys(args: ListAccountKeysArgs, opts?: InvokeOptions): Promise<ListAccountKeysResult>
function listAccountKeysOutput(args: ListAccountKeysOutputArgs, opts?: InvokeOptions): Output<ListAccountKeysResult>
def list_account_keys(account_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> ListAccountKeysResult
def list_account_keys_output(account_name: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[ListAccountKeysResult]
func ListAccountKeys(ctx *Context, args *ListAccountKeysArgs, opts ...InvokeOption) (*ListAccountKeysResult, error)
func ListAccountKeysOutput(ctx *Context, args *ListAccountKeysOutputArgs, opts ...InvokeOption) ListAccountKeysResultOutput
> Note: This function is named ListAccountKeys
in the Go SDK.
public static class ListAccountKeys
{
public static Task<ListAccountKeysResult> InvokeAsync(ListAccountKeysArgs args, InvokeOptions? opts = null)
public static Output<ListAccountKeysResult> Invoke(ListAccountKeysInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<ListAccountKeysResult> listAccountKeys(ListAccountKeysArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:maps:listAccountKeys
arguments:
# arguments dictionary
The following arguments are supported:
- Account
Name string - The name of the Maps Account.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Account
Name string - The name of the Maps Account.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- account
Name String - The name of the Maps Account.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- account
Name string - The name of the Maps Account.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- account_
name str - The name of the Maps Account.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- account
Name String - The name of the Maps Account.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
listAccountKeys Result
The following output properties are available:
- Primary
Key string - The primary key for accessing the Maps REST APIs.
- Primary
Key stringLast Updated - The last updated date and time of the primary key.
- Secondary
Key string - The secondary key for accessing the Maps REST APIs.
- Secondary
Key stringLast Updated - The last updated date and time of the secondary key.
- Primary
Key string - The primary key for accessing the Maps REST APIs.
- Primary
Key stringLast Updated - The last updated date and time of the primary key.
- Secondary
Key string - The secondary key for accessing the Maps REST APIs.
- Secondary
Key stringLast Updated - The last updated date and time of the secondary key.
- primary
Key String - The primary key for accessing the Maps REST APIs.
- primary
Key StringLast Updated - The last updated date and time of the primary key.
- secondary
Key String - The secondary key for accessing the Maps REST APIs.
- secondary
Key StringLast Updated - The last updated date and time of the secondary key.
- primary
Key string - The primary key for accessing the Maps REST APIs.
- primary
Key stringLast Updated - The last updated date and time of the primary key.
- secondary
Key string - The secondary key for accessing the Maps REST APIs.
- secondary
Key stringLast Updated - The last updated date and time of the secondary key.
- primary_
key str - The primary key for accessing the Maps REST APIs.
- primary_
key_ strlast_ updated - The last updated date and time of the primary key.
- secondary_
key str - The secondary key for accessing the Maps REST APIs.
- secondary_
key_ strlast_ updated - The last updated date and time of the secondary key.
- primary
Key String - The primary key for accessing the Maps REST APIs.
- primary
Key StringLast Updated - The last updated date and time of the primary key.
- secondary
Key String - The secondary key for accessing the Maps REST APIs.
- secondary
Key StringLast Updated - The last updated date and time of the secondary key.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0