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.87 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Get a Target * * Uses Azure REST API version 2023-10-04-preview. */ export declare function getTarget(args: GetTargetArgs, opts?: pulumi.InvokeOptions): Promise<GetTargetResult>; export interface GetTargetArgs { /** * Name of target. */ name: string; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: string; } /** * A Target resource belonging to an Instance resource. */ export interface GetTargetResult { /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * A list of components. */ readonly components?: outputs.iotoperationsorchestrator.ComponentPropertiesResponse[]; /** * Edge location of the resource. */ readonly extendedLocation: outputs.iotoperationsorchestrator.ExtendedLocationResponse; /** * 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 status of the last operation. */ readonly provisioningState: string; /** * Reconciliation Policy. */ readonly reconciliationPolicy?: outputs.iotoperationsorchestrator.ReconciliationPolicyResponse; /** * Deployment scope (such as Kubernetes namespace). */ readonly scope?: string; /** * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ readonly systemData: outputs.iotoperationsorchestrator.SystemDataResponse; /** * Resource tags. */ readonly tags?: { [key: string]: string; }; /** * Defines the device topology for a target or instance. */ readonly topologies?: outputs.iotoperationsorchestrator.TopologiesPropertiesResponse[]; /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ readonly type: string; /** * Version of the particular resource. */ readonly version?: string; } /** * Get a Target * * Uses Azure REST API version 2023-10-04-preview. */ export declare function getTargetOutput(args: GetTargetOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetTargetResult>; export interface GetTargetOutputArgs { /** * Name of target. */ name: pulumi.Input<string>; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input<string>; }