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

43 lines (42 loc) 1.32 kB
import * as pulumi from "@pulumi/pulumi"; /** * List the registration key for the device. * * Uses Azure REST API version 2022-01-01-preview. */ export declare function listDeviceRegistrationKey(args: ListDeviceRegistrationKeyArgs, opts?: pulumi.InvokeOptions): Promise<ListDeviceRegistrationKeyResult>; export interface ListDeviceRegistrationKeyArgs { /** * The name of the device resource. */ deviceName: string; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: string; } /** * The device registration key. */ export interface ListDeviceRegistrationKeyResult { /** * The registration key for the device. */ readonly registrationKey: string; } /** * List the registration key for the device. * * Uses Azure REST API version 2022-01-01-preview. */ export declare function listDeviceRegistrationKeyOutput(args: ListDeviceRegistrationKeyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<ListDeviceRegistrationKeyResult>; export interface ListDeviceRegistrationKeyOutputArgs { /** * The name of the device resource. */ deviceName: pulumi.Input<string>; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input<string>; }