@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 1.32 kB
TypeScript
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>;
}