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

98 lines (97 loc) 2.78 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Returns instance details for the given instance and account name. * * Uses Azure REST API version 2023-07-01. */ export declare function getInstance(args: GetInstanceArgs, opts?: pulumi.InvokeOptions): Promise<GetInstanceResult>; export interface GetInstanceArgs { /** * Account name. */ accountName: string; /** * Instance name. */ instanceName: string; /** * The resource group name. */ resourceGroupName: string; } /** * Device Update instance details. */ export interface GetInstanceResult { /** * Parent Device Update Account name which Instance belongs to. */ readonly accountName: string; /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * Customer-initiated diagnostic log collection storage properties */ readonly diagnosticStorageProperties?: outputs.deviceupdate.DiagnosticStoragePropertiesResponse; /** * Enables or Disables the diagnostic logs collection */ readonly enableDiagnostics?: boolean; /** * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} */ readonly id: string; /** * List of IoT Hubs associated with the account. */ readonly iotHubs?: outputs.deviceupdate.IotHubSettingsResponse[]; /** * The geo-location where the resource lives */ readonly location: string; /** * The name of the resource */ readonly name: string; /** * Provisioning state. */ readonly provisioningState: string; /** * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ readonly systemData: outputs.deviceupdate.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; } /** * Returns instance details for the given instance and account name. * * Uses Azure REST API version 2023-07-01. */ export declare function getInstanceOutput(args: GetInstanceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetInstanceResult>; export interface GetInstanceOutputArgs { /** * Account name. */ accountName: pulumi.Input<string>; /** * Instance name. */ instanceName: pulumi.Input<string>; /** * The resource group name. */ resourceGroupName: pulumi.Input<string>; }