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

86 lines (85 loc) 2.43 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Gets information about the specified device. * * Uses Azure REST API version 2022-01-01-preview. */ export declare function getDevice(args: GetDeviceArgs, opts?: pulumi.InvokeOptions): Promise<GetDeviceResult>; export interface GetDeviceArgs { /** * The name of the device resource. */ deviceName: string; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: string; } /** * Device resource. */ export interface GetDeviceResult { /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * The type of the device. */ readonly deviceType: string; /** * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} */ readonly id: string; /** * The geo-location where the resource lives */ readonly location: string; /** * The name of the resource */ readonly name: string; /** * The list of network functions deployed on the device. */ readonly networkFunctions: outputs.hybridnetwork.SubResourceResponse[]; /** * The provisioning state of the device resource. */ readonly provisioningState: string; /** * The current device status. */ readonly status: string; /** * The system meta data relating to this resource. */ readonly systemData: outputs.hybridnetwork.SystemDataResponse; /** * Resource tags. */ readonly tags?: { [key: string]: string; }; /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ readonly type: string; } /** * Gets information about the specified device. * * Uses Azure REST API version 2022-01-01-preview. */ export declare function getDeviceOutput(args: GetDeviceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDeviceResult>; export interface GetDeviceOutputArgs { /** * 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>; }