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

67 lines (66 loc) 2.74 kB
import * as pulumi from "@pulumi/pulumi"; /** * List primary and secondary keys for a specific key name * * Uses Azure REST API version 2023-03-01-preview. * * Other available API versions: 2017-08-21-preview, 2017-11-15, 2018-01-22, 2020-01-01, 2020-03-01, 2020-09-01-preview, 2021-10-15, 2022-02-05, 2022-12-12, 2025-02-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native deviceprovisioningservices [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function listIotDpsResourceKeysForKeyName(args: ListIotDpsResourceKeysForKeyNameArgs, opts?: pulumi.InvokeOptions): Promise<ListIotDpsResourceKeysForKeyNameResult>; export interface ListIotDpsResourceKeysForKeyNameArgs { /** * Logical key name to get key-values for. */ keyName: string; /** * Name of the provisioning service. */ provisioningServiceName: string; /** * The name of the resource group that contains the provisioning service. */ resourceGroupName: string; } /** * Description of the shared access key. */ export interface ListIotDpsResourceKeysForKeyNameResult { /** * Name of the key. */ readonly keyName: string; /** * Primary SAS key value. */ readonly primaryKey?: string; /** * Rights that this key has. */ readonly rights: string; /** * Secondary SAS key value. */ readonly secondaryKey?: string; } /** * List primary and secondary keys for a specific key name * * Uses Azure REST API version 2023-03-01-preview. * * Other available API versions: 2017-08-21-preview, 2017-11-15, 2018-01-22, 2020-01-01, 2020-03-01, 2020-09-01-preview, 2021-10-15, 2022-02-05, 2022-12-12, 2025-02-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native deviceprovisioningservices [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function listIotDpsResourceKeysForKeyNameOutput(args: ListIotDpsResourceKeysForKeyNameOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<ListIotDpsResourceKeysForKeyNameResult>; export interface ListIotDpsResourceKeysForKeyNameOutputArgs { /** * Logical key name to get key-values for. */ keyName: pulumi.Input<string>; /** * Name of the provisioning service. */ provisioningServiceName: pulumi.Input<string>; /** * The name of the resource group that contains the provisioning service. */ resourceGroupName: pulumi.Input<string>; }