@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 2.67 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Get DigitalTwinsInstances resource.
*
* Uses Azure REST API version 2023-01-31.
*/
export declare function getDigitalTwin(args: GetDigitalTwinArgs, opts?: pulumi.InvokeOptions): Promise<GetDigitalTwinResult>;
export interface GetDigitalTwinArgs {
/**
* The name of the resource group that contains the DigitalTwinsInstance.
*/
resourceGroupName: string;
/**
* The name of the DigitalTwinsInstance.
*/
resourceName: string;
}
/**
* The description of the DigitalTwins service.
*/
export interface GetDigitalTwinResult {
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* Time when DigitalTwinsInstance was created.
*/
readonly createdTime: string;
/**
* Api endpoint to work with DigitalTwinsInstance.
*/
readonly hostName: string;
/**
* The resource identifier.
*/
readonly id: string;
/**
* The managed identity for the DigitalTwinsInstance.
*/
readonly identity?: outputs.digitaltwins.DigitalTwinsIdentityResponse;
/**
* Time when DigitalTwinsInstance was updated.
*/
readonly lastUpdatedTime: string;
/**
* The resource location.
*/
readonly location: string;
/**
* The resource name.
*/
readonly name: string;
/**
* The private endpoint connections.
*/
readonly privateEndpointConnections?: outputs.digitaltwins.PrivateEndpointConnectionResponse[];
/**
* The provisioning state.
*/
readonly provisioningState: string;
/**
* Public network access for the DigitalTwinsInstance.
*/
readonly publicNetworkAccess?: string;
/**
* Metadata pertaining to creation and last modification of the DigitalTwinsInstance.
*/
readonly systemData: outputs.digitaltwins.SystemDataResponse;
/**
* The resource tags.
*/
readonly tags?: {
[key: string]: string;
};
/**
* The resource type.
*/
readonly type: string;
}
/**
* Get DigitalTwinsInstances resource.
*
* Uses Azure REST API version 2023-01-31.
*/
export declare function getDigitalTwinOutput(args: GetDigitalTwinOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDigitalTwinResult>;
export interface GetDigitalTwinOutputArgs {
/**
* The name of the resource group that contains the DigitalTwinsInstance.
*/
resourceGroupName: pulumi.Input<string>;
/**
* The name of the DigitalTwinsInstance.
*/
resourceName: pulumi.Input<string>;
}