import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Manages a Digital Twins instance. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = new azure.core.ResourceGroup("example", { * name: "example_resources", * location: "West Europe", * }); * const exampleInstance = new azure.digitaltwins.Instance("example", { * name: "example-DT", * resourceGroupName: example.name, * location: example.location, * tags: { * foo: "bar", * }, * }); * ``` * * ## API Providers * * * This resource uses the following Azure API Providers: * * * `Microsoft.DigitalTwins` - 2023-01-31 * * ## Import * * Digital Twins instances can be imported using the `resource id`, e.g. * * ```sh * $ pulumi import azure:digitaltwins/instance:Instance example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DigitalTwins/digitalTwinsInstances/dt1 * ``` */ export declare class Instance extends pulumi.CustomResource { /** * Get an existing Instance resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: InstanceState, opts?: pulumi.CustomResourceOptions): Instance; /** * Returns true if the given object is an instance of Instance. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is Instance; /** * The API endpoint to work with this Digital Twins instance. */ readonly hostName: pulumi.Output; /** * An `identity` block as defined below. */ readonly identity: pulumi.Output; /** * The Azure Region where the Digital Twins instance should exist. Changing this forces a new Digital Twins instance to be created. */ readonly location: pulumi.Output; /** * The name which should be used for this Digital Twins instance. Changing this forces a new Digital Twins instance to be created. */ readonly name: pulumi.Output; /** * The name of the Resource Group where the Digital Twins instance should exist. Changing this forces a new Digital Twins instance to be created. */ readonly resourceGroupName: pulumi.Output; /** * A mapping of tags which should be assigned to the Digital Twins instance. */ readonly tags: pulumi.Output<{ [key: string]: string; } | undefined>; /** * Create a Instance resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: InstanceArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Instance resources. */ export interface InstanceState { /** * The API endpoint to work with this Digital Twins instance. */ hostName?: pulumi.Input; /** * An `identity` block as defined below. */ identity?: pulumi.Input; /** * The Azure Region where the Digital Twins instance should exist. Changing this forces a new Digital Twins instance to be created. */ location?: pulumi.Input; /** * The name which should be used for this Digital Twins instance. Changing this forces a new Digital Twins instance to be created. */ name?: pulumi.Input; /** * The name of the Resource Group where the Digital Twins instance should exist. Changing this forces a new Digital Twins instance to be created. */ resourceGroupName?: pulumi.Input; /** * A mapping of tags which should be assigned to the Digital Twins instance. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; }>; } /** * The set of arguments for constructing a Instance resource. */ export interface InstanceArgs { /** * An `identity` block as defined below. */ identity?: pulumi.Input; /** * The Azure Region where the Digital Twins instance should exist. Changing this forces a new Digital Twins instance to be created. */ location?: pulumi.Input; /** * The name which should be used for this Digital Twins instance. Changing this forces a new Digital Twins instance to be created. */ name?: pulumi.Input; /** * The name of the Resource Group where the Digital Twins instance should exist. Changing this forces a new Digital Twins instance to be created. */ resourceGroupName: pulumi.Input; /** * A mapping of tags which should be assigned to the Digital Twins instance. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; }>; }