UNPKG

@pulumi/azure-native

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fazure-native.svg)](https://npmjs.com/package/@pulumi/azure-native) [![Python version](https://badge.fury.io/py/pu

59 lines (58 loc) 2.83 kB
import * as pulumi from "@pulumi/pulumi"; /** * 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. * * Uses Azure REST API version 2024-07-01-preview. * * Other available API versions: 2020-02-01-preview, 2021-02-01, 2021-07-01-preview, 2021-12-01-preview, 2023-06-01, 2023-08-01-preview, 2023-12-01-preview, 2024-01-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native maps [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function listAccountKeys(args: ListAccountKeysArgs, opts?: pulumi.InvokeOptions): Promise<ListAccountKeysResult>; export interface ListAccountKeysArgs { /** * The name of the Maps Account. */ accountName: string; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: string; } /** * The set of keys which can be used to access the Maps REST APIs. Two keys are provided for key rotation without interruption. */ export interface ListAccountKeysResult { /** * The primary key for accessing the Maps REST APIs. */ readonly primaryKey: string; /** * The last updated date and time of the primary key. */ readonly primaryKeyLastUpdated: string; /** * The secondary key for accessing the Maps REST APIs. */ readonly secondaryKey: string; /** * The last updated date and time of the secondary key. */ readonly secondaryKeyLastUpdated: string; } /** * 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. * * Uses Azure REST API version 2024-07-01-preview. * * Other available API versions: 2020-02-01-preview, 2021-02-01, 2021-07-01-preview, 2021-12-01-preview, 2023-06-01, 2023-08-01-preview, 2023-12-01-preview, 2024-01-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native maps [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function listAccountKeysOutput(args: ListAccountKeysOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<ListAccountKeysResult>; export interface ListAccountKeysOutputArgs { /** * The name of the Maps Account. */ accountName: pulumi.Input<string>; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input<string>; }