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

52 lines (51 loc) 2.42 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * List the primary and secondary keys for a provisioning service. * * 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 listIotDpsResourceKeys(args: ListIotDpsResourceKeysArgs, opts?: pulumi.InvokeOptions): Promise<ListIotDpsResourceKeysResult>; export interface ListIotDpsResourceKeysArgs { /** * The provisioning service name to get the shared access keys for. */ provisioningServiceName: string; /** * resource group name */ resourceGroupName: string; } /** * List of shared access keys. */ export interface ListIotDpsResourceKeysResult { /** * The next link. */ readonly nextLink: string; /** * The list of shared access policies. */ readonly value?: outputs.deviceprovisioningservices.SharedAccessSignatureAuthorizationRuleAccessRightsDescriptionResponse[]; } /** * List the primary and secondary keys for a provisioning service. * * 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 listIotDpsResourceKeysOutput(args: ListIotDpsResourceKeysOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<ListIotDpsResourceKeysResult>; export interface ListIotDpsResourceKeysOutputArgs { /** * The provisioning service name to get the shared access keys for. */ provisioningServiceName: pulumi.Input<string>; /** * resource group name */ resourceGroupName: pulumi.Input<string>; }