1. Packages
  2. Azure Native
  3. API Docs
  4. digitaltwins
  5. DigitalTwin
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.1.0 published on Tuesday, Apr 8, 2025 by Pulumi

azure-native.digitaltwins.DigitalTwin

Explore with Pulumi AI

The description of the DigitalTwins service.

Uses Azure REST API version 2023-01-31. In version 2.x of the Azure Native provider, it used API version 2023-01-31.

Example Usage

Put a DigitalTwinsInstance resource

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var digitalTwin = new AzureNative.DigitalTwins.DigitalTwin("digitalTwin", new()
    {
        Location = "WestUS2",
        ResourceGroupName = "resRg",
        ResourceName = "myDigitalTwinsService",
    });

});
Copy
package main

import (
	digitaltwins "github.com/pulumi/pulumi-azure-native-sdk/digitaltwins/v3"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := digitaltwins.NewDigitalTwin(ctx, "digitalTwin", &digitaltwins.DigitalTwinArgs{
			Location:          pulumi.String("WestUS2"),
			ResourceGroupName: pulumi.String("resRg"),
			ResourceName:      pulumi.String("myDigitalTwinsService"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.digitaltwins.DigitalTwin;
import com.pulumi.azurenative.digitaltwins.DigitalTwinArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var digitalTwin = new DigitalTwin("digitalTwin", DigitalTwinArgs.builder()
            .location("WestUS2")
            .resourceGroupName("resRg")
            .resourceName("myDigitalTwinsService")
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const digitalTwin = new azure_native.digitaltwins.DigitalTwin("digitalTwin", {
    location: "WestUS2",
    resourceGroupName: "resRg",
    resourceName: "myDigitalTwinsService",
});
Copy
import pulumi
import pulumi_azure_native as azure_native

digital_twin = azure_native.digitaltwins.DigitalTwin("digitalTwin",
    location="WestUS2",
    resource_group_name="resRg",
    resource_name_="myDigitalTwinsService")
Copy
resources:
  digitalTwin:
    type: azure-native:digitaltwins:DigitalTwin
    properties:
      location: WestUS2
      resourceGroupName: resRg
      resourceName: myDigitalTwinsService
Copy

Put a DigitalTwinsInstance resource with publicNetworkAccess property

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var digitalTwin = new AzureNative.DigitalTwins.DigitalTwin("digitalTwin", new()
    {
        Location = "WestUS2",
        PublicNetworkAccess = AzureNative.DigitalTwins.PublicNetworkAccess.Enabled,
        ResourceGroupName = "resRg",
        ResourceName = "myDigitalTwinsService",
    });

});
Copy
package main

import (
	digitaltwins "github.com/pulumi/pulumi-azure-native-sdk/digitaltwins/v3"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := digitaltwins.NewDigitalTwin(ctx, "digitalTwin", &digitaltwins.DigitalTwinArgs{
			Location:            pulumi.String("WestUS2"),
			PublicNetworkAccess: pulumi.String(digitaltwins.PublicNetworkAccessEnabled),
			ResourceGroupName:   pulumi.String("resRg"),
			ResourceName:        pulumi.String("myDigitalTwinsService"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.digitaltwins.DigitalTwin;
import com.pulumi.azurenative.digitaltwins.DigitalTwinArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var digitalTwin = new DigitalTwin("digitalTwin", DigitalTwinArgs.builder()
            .location("WestUS2")
            .publicNetworkAccess("Enabled")
            .resourceGroupName("resRg")
            .resourceName("myDigitalTwinsService")
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const digitalTwin = new azure_native.digitaltwins.DigitalTwin("digitalTwin", {
    location: "WestUS2",
    publicNetworkAccess: azure_native.digitaltwins.PublicNetworkAccess.Enabled,
    resourceGroupName: "resRg",
    resourceName: "myDigitalTwinsService",
});
Copy
import pulumi
import pulumi_azure_native as azure_native

digital_twin = azure_native.digitaltwins.DigitalTwin("digitalTwin",
    location="WestUS2",
    public_network_access=azure_native.digitaltwins.PublicNetworkAccess.ENABLED,
    resource_group_name="resRg",
    resource_name_="myDigitalTwinsService")
Copy
resources:
  digitalTwin:
    type: azure-native:digitaltwins:DigitalTwin
    properties:
      location: WestUS2
      publicNetworkAccess: Enabled
      resourceGroupName: resRg
      resourceName: myDigitalTwinsService
Copy

Create DigitalTwin Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new DigitalTwin(name: string, args: DigitalTwinArgs, opts?: CustomResourceOptions);
@overload
def DigitalTwin(resource_name: str,
                args: DigitalTwinArgs,
                opts: Optional[ResourceOptions] = None)

@overload
def DigitalTwin(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                resource_group_name: Optional[str] = None,
                identity: Optional[DigitalTwinsIdentityArgs] = None,
                location: Optional[str] = None,
                private_endpoint_connections: Optional[Sequence[PrivateEndpointConnectionArgs]] = None,
                public_network_access: Optional[Union[str, PublicNetworkAccess]] = None,
                resource_name_: Optional[str] = None,
                tags: Optional[Mapping[str, str]] = None)
func NewDigitalTwin(ctx *Context, name string, args DigitalTwinArgs, opts ...ResourceOption) (*DigitalTwin, error)
public DigitalTwin(string name, DigitalTwinArgs args, CustomResourceOptions? opts = null)
public DigitalTwin(String name, DigitalTwinArgs args)
public DigitalTwin(String name, DigitalTwinArgs args, CustomResourceOptions options)
type: azure-native:digitaltwins:DigitalTwin
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. DigitalTwinArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. DigitalTwinArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. DigitalTwinArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. DigitalTwinArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. DigitalTwinArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var digitalTwinResource = new AzureNative.DigitalTwins.DigitalTwin("digitalTwinResource", new()
{
    ResourceGroupName = "string",
    Identity = new AzureNative.DigitalTwins.Inputs.DigitalTwinsIdentityArgs
    {
        Type = "string",
        UserAssignedIdentities = new[]
        {
            "string",
        },
    },
    Location = "string",
    PrivateEndpointConnections = new[]
    {
        new AzureNative.DigitalTwins.Inputs.PrivateEndpointConnectionArgs
        {
            Properties = new AzureNative.DigitalTwins.Inputs.ConnectionPropertiesArgs
            {
                GroupIds = new[]
                {
                    "string",
                },
                PrivateLinkServiceConnectionState = new AzureNative.DigitalTwins.Inputs.ConnectionPropertiesPrivateLinkServiceConnectionStateArgs
                {
                    Description = "string",
                    Status = "string",
                    ActionsRequired = "string",
                },
            },
        },
    },
    PublicNetworkAccess = "string",
    ResourceName = "string",
    Tags = 
    {
        { "string", "string" },
    },
});
Copy
example, err := digitaltwins.NewDigitalTwin(ctx, "digitalTwinResource", &digitaltwins.DigitalTwinArgs{
	ResourceGroupName: pulumi.String("string"),
	Identity: &digitaltwins.DigitalTwinsIdentityArgs{
		Type: pulumi.String("string"),
		UserAssignedIdentities: pulumi.StringArray{
			pulumi.String("string"),
		},
	},
	Location: pulumi.String("string"),
	PrivateEndpointConnections: digitaltwins.PrivateEndpointConnectionTypeArray{
		&digitaltwins.PrivateEndpointConnectionTypeArgs{
			Properties: &digitaltwins.ConnectionPropertiesArgs{
				GroupIds: pulumi.StringArray{
					pulumi.String("string"),
				},
				PrivateLinkServiceConnectionState: &digitaltwins.ConnectionPropertiesPrivateLinkServiceConnectionStateArgs{
					Description:     pulumi.String("string"),
					Status:          pulumi.String("string"),
					ActionsRequired: pulumi.String("string"),
				},
			},
		},
	},
	PublicNetworkAccess: pulumi.String("string"),
	ResourceName:        pulumi.String("string"),
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
})
Copy
var digitalTwinResource = new DigitalTwin("digitalTwinResource", DigitalTwinArgs.builder()
    .resourceGroupName("string")
    .identity(DigitalTwinsIdentityArgs.builder()
        .type("string")
        .userAssignedIdentities("string")
        .build())
    .location("string")
    .privateEndpointConnections(PrivateEndpointConnectionArgs.builder()
        .properties(ConnectionPropertiesArgs.builder()
            .groupIds("string")
            .privateLinkServiceConnectionState(ConnectionPropertiesPrivateLinkServiceConnectionStateArgs.builder()
                .description("string")
                .status("string")
                .actionsRequired("string")
                .build())
            .build())
        .build())
    .publicNetworkAccess("string")
    .resourceName("string")
    .tags(Map.of("string", "string"))
    .build());
Copy
digital_twin_resource = azure_native.digitaltwins.DigitalTwin("digitalTwinResource",
    resource_group_name="string",
    identity={
        "type": "string",
        "user_assigned_identities": ["string"],
    },
    location="string",
    private_endpoint_connections=[{
        "properties": {
            "group_ids": ["string"],
            "private_link_service_connection_state": {
                "description": "string",
                "status": "string",
                "actions_required": "string",
            },
        },
    }],
    public_network_access="string",
    resource_name_="string",
    tags={
        "string": "string",
    })
Copy
const digitalTwinResource = new azure_native.digitaltwins.DigitalTwin("digitalTwinResource", {
    resourceGroupName: "string",
    identity: {
        type: "string",
        userAssignedIdentities: ["string"],
    },
    location: "string",
    privateEndpointConnections: [{
        properties: {
            groupIds: ["string"],
            privateLinkServiceConnectionState: {
                description: "string",
                status: "string",
                actionsRequired: "string",
            },
        },
    }],
    publicNetworkAccess: "string",
    resourceName: "string",
    tags: {
        string: "string",
    },
});
Copy
type: azure-native:digitaltwins:DigitalTwin
properties:
    identity:
        type: string
        userAssignedIdentities:
            - string
    location: string
    privateEndpointConnections:
        - properties:
            groupIds:
                - string
            privateLinkServiceConnectionState:
                actionsRequired: string
                description: string
                status: string
    publicNetworkAccess: string
    resourceGroupName: string
    resourceName: string
    tags:
        string: string
Copy

DigitalTwin Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The DigitalTwin resource accepts the following input properties:

ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group that contains the DigitalTwinsInstance.
Identity Pulumi.AzureNative.DigitalTwins.Inputs.DigitalTwinsIdentity
The managed identity for the DigitalTwinsInstance.
Location Changes to this property will trigger replacement. string
The resource location.
PrivateEndpointConnections List<Pulumi.AzureNative.DigitalTwins.Inputs.PrivateEndpointConnection>
The private endpoint connections. These are also available as standalone resources. Do not mix inline and standalone resource as they will conflict with each other, leading to resources deletion.
PublicNetworkAccess string | Pulumi.AzureNative.DigitalTwins.PublicNetworkAccess
Public network access for the DigitalTwinsInstance.
ResourceName Changes to this property will trigger replacement. string
The name of the DigitalTwinsInstance.
Tags Dictionary<string, string>
The resource tags.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group that contains the DigitalTwinsInstance.
Identity DigitalTwinsIdentityArgs
The managed identity for the DigitalTwinsInstance.
Location Changes to this property will trigger replacement. string
The resource location.
PrivateEndpointConnections []PrivateEndpointConnectionTypeArgs
The private endpoint connections. These are also available as standalone resources. Do not mix inline and standalone resource as they will conflict with each other, leading to resources deletion.
PublicNetworkAccess string | PublicNetworkAccess
Public network access for the DigitalTwinsInstance.
ResourceName Changes to this property will trigger replacement. string
The name of the DigitalTwinsInstance.
Tags map[string]string
The resource tags.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group that contains the DigitalTwinsInstance.
identity DigitalTwinsIdentity
The managed identity for the DigitalTwinsInstance.
location Changes to this property will trigger replacement. String
The resource location.
privateEndpointConnections List<PrivateEndpointConnection>
The private endpoint connections. These are also available as standalone resources. Do not mix inline and standalone resource as they will conflict with each other, leading to resources deletion.
publicNetworkAccess String | PublicNetworkAccess
Public network access for the DigitalTwinsInstance.
resourceName Changes to this property will trigger replacement. String
The name of the DigitalTwinsInstance.
tags Map<String,String>
The resource tags.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group that contains the DigitalTwinsInstance.
identity DigitalTwinsIdentity
The managed identity for the DigitalTwinsInstance.
location Changes to this property will trigger replacement. string
The resource location.
privateEndpointConnections PrivateEndpointConnection[]
The private endpoint connections. These are also available as standalone resources. Do not mix inline and standalone resource as they will conflict with each other, leading to resources deletion.
publicNetworkAccess string | PublicNetworkAccess
Public network access for the DigitalTwinsInstance.
resourceName Changes to this property will trigger replacement. string
The name of the DigitalTwinsInstance.
tags {[key: string]: string}
The resource tags.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group that contains the DigitalTwinsInstance.
identity DigitalTwinsIdentityArgs
The managed identity for the DigitalTwinsInstance.
location Changes to this property will trigger replacement. str
The resource location.
private_endpoint_connections Sequence[PrivateEndpointConnectionArgs]
The private endpoint connections. These are also available as standalone resources. Do not mix inline and standalone resource as they will conflict with each other, leading to resources deletion.
public_network_access str | PublicNetworkAccess
Public network access for the DigitalTwinsInstance.
resource_name Changes to this property will trigger replacement. str
The name of the DigitalTwinsInstance.
tags Mapping[str, str]
The resource tags.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group that contains the DigitalTwinsInstance.
identity Property Map
The managed identity for the DigitalTwinsInstance.
location Changes to this property will trigger replacement. String
The resource location.
privateEndpointConnections List<Property Map>
The private endpoint connections. These are also available as standalone resources. Do not mix inline and standalone resource as they will conflict with each other, leading to resources deletion.
publicNetworkAccess String | "Enabled" | "Disabled"
Public network access for the DigitalTwinsInstance.
resourceName Changes to this property will trigger replacement. String
The name of the DigitalTwinsInstance.
tags Map<String>
The resource tags.

Outputs

All input properties are implicitly available as output properties. Additionally, the DigitalTwin resource produces the following output properties:

AzureApiVersion string
The Azure API version of the resource.
CreatedTime string
Time when DigitalTwinsInstance was created.
HostName string
Api endpoint to work with DigitalTwinsInstance.
Id string
The provider-assigned unique ID for this managed resource.
LastUpdatedTime string
Time when DigitalTwinsInstance was updated.
Name string
The resource name.
ProvisioningState string
The provisioning state.
SystemData Pulumi.AzureNative.DigitalTwins.Outputs.SystemDataResponse
Metadata pertaining to creation and last modification of the DigitalTwinsInstance.
Type string
The resource type.
AzureApiVersion string
The Azure API version of the resource.
CreatedTime string
Time when DigitalTwinsInstance was created.
HostName string
Api endpoint to work with DigitalTwinsInstance.
Id string
The provider-assigned unique ID for this managed resource.
LastUpdatedTime string
Time when DigitalTwinsInstance was updated.
Name string
The resource name.
ProvisioningState string
The provisioning state.
SystemData SystemDataResponse
Metadata pertaining to creation and last modification of the DigitalTwinsInstance.
Type string
The resource type.
azureApiVersion String
The Azure API version of the resource.
createdTime String
Time when DigitalTwinsInstance was created.
hostName String
Api endpoint to work with DigitalTwinsInstance.
id String
The provider-assigned unique ID for this managed resource.
lastUpdatedTime String
Time when DigitalTwinsInstance was updated.
name String
The resource name.
provisioningState String
The provisioning state.
systemData SystemDataResponse
Metadata pertaining to creation and last modification of the DigitalTwinsInstance.
type String
The resource type.
azureApiVersion string
The Azure API version of the resource.
createdTime string
Time when DigitalTwinsInstance was created.
hostName string
Api endpoint to work with DigitalTwinsInstance.
id string
The provider-assigned unique ID for this managed resource.
lastUpdatedTime string
Time when DigitalTwinsInstance was updated.
name string
The resource name.
provisioningState string
The provisioning state.
systemData SystemDataResponse
Metadata pertaining to creation and last modification of the DigitalTwinsInstance.
type string
The resource type.
azure_api_version str
The Azure API version of the resource.
created_time str
Time when DigitalTwinsInstance was created.
host_name str
Api endpoint to work with DigitalTwinsInstance.
id str
The provider-assigned unique ID for this managed resource.
last_updated_time str
Time when DigitalTwinsInstance was updated.
name str
The resource name.
provisioning_state str
The provisioning state.
system_data SystemDataResponse
Metadata pertaining to creation and last modification of the DigitalTwinsInstance.
type str
The resource type.
azureApiVersion String
The Azure API version of the resource.
createdTime String
Time when DigitalTwinsInstance was created.
hostName String
Api endpoint to work with DigitalTwinsInstance.
id String
The provider-assigned unique ID for this managed resource.
lastUpdatedTime String
Time when DigitalTwinsInstance was updated.
name String
The resource name.
provisioningState String
The provisioning state.
systemData Property Map
Metadata pertaining to creation and last modification of the DigitalTwinsInstance.
type String
The resource type.

Supporting Types

ConnectionProperties
, ConnectionPropertiesArgs

GroupIds List<string>
The list of group ids for the private endpoint connection.
PrivateLinkServiceConnectionState Pulumi.AzureNative.DigitalTwins.Inputs.ConnectionPropertiesPrivateLinkServiceConnectionState
The connection state.
GroupIds []string
The list of group ids for the private endpoint connection.
PrivateLinkServiceConnectionState ConnectionPropertiesPrivateLinkServiceConnectionState
The connection state.
groupIds List<String>
The list of group ids for the private endpoint connection.
privateLinkServiceConnectionState ConnectionPropertiesPrivateLinkServiceConnectionState
The connection state.
groupIds string[]
The list of group ids for the private endpoint connection.
privateLinkServiceConnectionState ConnectionPropertiesPrivateLinkServiceConnectionState
The connection state.
group_ids Sequence[str]
The list of group ids for the private endpoint connection.
private_link_service_connection_state ConnectionPropertiesPrivateLinkServiceConnectionState
The connection state.
groupIds List<String>
The list of group ids for the private endpoint connection.
privateLinkServiceConnectionState Property Map
The connection state.

ConnectionPropertiesPrivateLinkServiceConnectionState
, ConnectionPropertiesPrivateLinkServiceConnectionStateArgs

Description This property is required. string
The description for the current state of a private endpoint connection.
Status This property is required. string | Pulumi.AzureNative.DigitalTwins.PrivateLinkServiceConnectionStatus
The status of a private endpoint connection.
ActionsRequired string
Actions required for a private endpoint connection.
Description This property is required. string
The description for the current state of a private endpoint connection.
Status This property is required. string | PrivateLinkServiceConnectionStatus
The status of a private endpoint connection.
ActionsRequired string
Actions required for a private endpoint connection.
description This property is required. String
The description for the current state of a private endpoint connection.
status This property is required. String | PrivateLinkServiceConnectionStatus
The status of a private endpoint connection.
actionsRequired String
Actions required for a private endpoint connection.
description This property is required. string
The description for the current state of a private endpoint connection.
status This property is required. string | PrivateLinkServiceConnectionStatus
The status of a private endpoint connection.
actionsRequired string
Actions required for a private endpoint connection.
description This property is required. str
The description for the current state of a private endpoint connection.
status This property is required. str | PrivateLinkServiceConnectionStatus
The status of a private endpoint connection.
actions_required str
Actions required for a private endpoint connection.
description This property is required. String
The description for the current state of a private endpoint connection.
status This property is required. String | "Pending" | "Approved" | "Rejected" | "Disconnected"
The status of a private endpoint connection.
actionsRequired String
Actions required for a private endpoint connection.

ConnectionPropertiesResponse
, ConnectionPropertiesResponseArgs

ProvisioningState This property is required. string
The provisioning state.
GroupIds List<string>
The list of group ids for the private endpoint connection.
PrivateEndpoint Pulumi.AzureNative.DigitalTwins.Inputs.PrivateEndpointResponse
The private endpoint.
PrivateLinkServiceConnectionState Pulumi.AzureNative.DigitalTwins.Inputs.ConnectionPropertiesResponsePrivateLinkServiceConnectionState
The connection state.
ProvisioningState This property is required. string
The provisioning state.
GroupIds []string
The list of group ids for the private endpoint connection.
PrivateEndpoint PrivateEndpointResponse
The private endpoint.
PrivateLinkServiceConnectionState ConnectionPropertiesResponsePrivateLinkServiceConnectionState
The connection state.
provisioningState This property is required. String
The provisioning state.
groupIds List<String>
The list of group ids for the private endpoint connection.
privateEndpoint PrivateEndpointResponse
The private endpoint.
privateLinkServiceConnectionState ConnectionPropertiesResponsePrivateLinkServiceConnectionState
The connection state.
provisioningState This property is required. string
The provisioning state.
groupIds string[]
The list of group ids for the private endpoint connection.
privateEndpoint PrivateEndpointResponse
The private endpoint.
privateLinkServiceConnectionState ConnectionPropertiesResponsePrivateLinkServiceConnectionState
The connection state.
provisioning_state This property is required. str
The provisioning state.
group_ids Sequence[str]
The list of group ids for the private endpoint connection.
private_endpoint PrivateEndpointResponse
The private endpoint.
private_link_service_connection_state ConnectionPropertiesResponsePrivateLinkServiceConnectionState
The connection state.
provisioningState This property is required. String
The provisioning state.
groupIds List<String>
The list of group ids for the private endpoint connection.
privateEndpoint Property Map
The private endpoint.
privateLinkServiceConnectionState Property Map
The connection state.

ConnectionPropertiesResponsePrivateLinkServiceConnectionState
, ConnectionPropertiesResponsePrivateLinkServiceConnectionStateArgs

Description This property is required. string
The description for the current state of a private endpoint connection.
Status This property is required. string
The status of a private endpoint connection.
ActionsRequired string
Actions required for a private endpoint connection.
Description This property is required. string
The description for the current state of a private endpoint connection.
Status This property is required. string
The status of a private endpoint connection.
ActionsRequired string
Actions required for a private endpoint connection.
description This property is required. String
The description for the current state of a private endpoint connection.
status This property is required. String
The status of a private endpoint connection.
actionsRequired String
Actions required for a private endpoint connection.
description This property is required. string
The description for the current state of a private endpoint connection.
status This property is required. string
The status of a private endpoint connection.
actionsRequired string
Actions required for a private endpoint connection.
description This property is required. str
The description for the current state of a private endpoint connection.
status This property is required. str
The status of a private endpoint connection.
actions_required str
Actions required for a private endpoint connection.
description This property is required. String
The description for the current state of a private endpoint connection.
status This property is required. String
The status of a private endpoint connection.
actionsRequired String
Actions required for a private endpoint connection.

DigitalTwinsIdentity
, DigitalTwinsIdentityArgs

Type string | Pulumi.AzureNative.DigitalTwins.DigitalTwinsIdentityType
The type of Managed Identity used by the DigitalTwinsInstance.
UserAssignedIdentities List<string>
The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. .
Type string | DigitalTwinsIdentityType
The type of Managed Identity used by the DigitalTwinsInstance.
UserAssignedIdentities []string
The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. .
type String | DigitalTwinsIdentityType
The type of Managed Identity used by the DigitalTwinsInstance.
userAssignedIdentities List<String>
The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. .
type string | DigitalTwinsIdentityType
The type of Managed Identity used by the DigitalTwinsInstance.
userAssignedIdentities string[]
The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. .
type str | DigitalTwinsIdentityType
The type of Managed Identity used by the DigitalTwinsInstance.
user_assigned_identities Sequence[str]
The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. .
type String | "None" | "SystemAssigned" | "UserAssigned" | "SystemAssigned,UserAssigned"
The type of Managed Identity used by the DigitalTwinsInstance.
userAssignedIdentities List<String>
The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. .

DigitalTwinsIdentityResponse
, DigitalTwinsIdentityResponseArgs

PrincipalId This property is required. string
The object id of the Managed Identity Resource. This will be sent to the RP from ARM via the x-ms-identity-principal-id header in the PUT request if the resource has a systemAssigned(implicit) identity
TenantId This property is required. string
The tenant id of the Managed Identity Resource. This will be sent to the RP from ARM via the x-ms-client-tenant-id header in the PUT request if the resource has a systemAssigned(implicit) identity
Type string
The type of Managed Identity used by the DigitalTwinsInstance.
UserAssignedIdentities Dictionary<string, Pulumi.AzureNative.DigitalTwins.Inputs.UserAssignedIdentityResponse>
The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. .
PrincipalId This property is required. string
The object id of the Managed Identity Resource. This will be sent to the RP from ARM via the x-ms-identity-principal-id header in the PUT request if the resource has a systemAssigned(implicit) identity
TenantId This property is required. string
The tenant id of the Managed Identity Resource. This will be sent to the RP from ARM via the x-ms-client-tenant-id header in the PUT request if the resource has a systemAssigned(implicit) identity
Type string
The type of Managed Identity used by the DigitalTwinsInstance.
UserAssignedIdentities map[string]UserAssignedIdentityResponse
The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. .
principalId This property is required. String
The object id of the Managed Identity Resource. This will be sent to the RP from ARM via the x-ms-identity-principal-id header in the PUT request if the resource has a systemAssigned(implicit) identity
tenantId This property is required. String
The tenant id of the Managed Identity Resource. This will be sent to the RP from ARM via the x-ms-client-tenant-id header in the PUT request if the resource has a systemAssigned(implicit) identity
type String
The type of Managed Identity used by the DigitalTwinsInstance.
userAssignedIdentities Map<String,UserAssignedIdentityResponse>
The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. .
principalId This property is required. string
The object id of the Managed Identity Resource. This will be sent to the RP from ARM via the x-ms-identity-principal-id header in the PUT request if the resource has a systemAssigned(implicit) identity
tenantId This property is required. string
The tenant id of the Managed Identity Resource. This will be sent to the RP from ARM via the x-ms-client-tenant-id header in the PUT request if the resource has a systemAssigned(implicit) identity
type string
The type of Managed Identity used by the DigitalTwinsInstance.
userAssignedIdentities {[key: string]: UserAssignedIdentityResponse}
The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. .
principal_id This property is required. str
The object id of the Managed Identity Resource. This will be sent to the RP from ARM via the x-ms-identity-principal-id header in the PUT request if the resource has a systemAssigned(implicit) identity
tenant_id This property is required. str
The tenant id of the Managed Identity Resource. This will be sent to the RP from ARM via the x-ms-client-tenant-id header in the PUT request if the resource has a systemAssigned(implicit) identity
type str
The type of Managed Identity used by the DigitalTwinsInstance.
user_assigned_identities Mapping[str, UserAssignedIdentityResponse]
The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. .
principalId This property is required. String
The object id of the Managed Identity Resource. This will be sent to the RP from ARM via the x-ms-identity-principal-id header in the PUT request if the resource has a systemAssigned(implicit) identity
tenantId This property is required. String
The tenant id of the Managed Identity Resource. This will be sent to the RP from ARM via the x-ms-client-tenant-id header in the PUT request if the resource has a systemAssigned(implicit) identity
type String
The type of Managed Identity used by the DigitalTwinsInstance.
userAssignedIdentities Map<Property Map>
The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. .

DigitalTwinsIdentityType
, DigitalTwinsIdentityTypeArgs

None
None
SystemAssigned
SystemAssigned
UserAssigned
UserAssigned
SystemAssigned_UserAssigned
SystemAssigned,UserAssigned
DigitalTwinsIdentityTypeNone
None
DigitalTwinsIdentityTypeSystemAssigned
SystemAssigned
DigitalTwinsIdentityTypeUserAssigned
UserAssigned
DigitalTwinsIdentityType_SystemAssigned_UserAssigned
SystemAssigned,UserAssigned
None
None
SystemAssigned
SystemAssigned
UserAssigned
UserAssigned
SystemAssigned_UserAssigned
SystemAssigned,UserAssigned
None
None
SystemAssigned
SystemAssigned
UserAssigned
UserAssigned
SystemAssigned_UserAssigned
SystemAssigned,UserAssigned
NONE
None
SYSTEM_ASSIGNED
SystemAssigned
USER_ASSIGNED
UserAssigned
SYSTEM_ASSIGNED_USER_ASSIGNED
SystemAssigned,UserAssigned
"None"
None
"SystemAssigned"
SystemAssigned
"UserAssigned"
UserAssigned
"SystemAssigned,UserAssigned"
SystemAssigned,UserAssigned

PrivateEndpointConnection
, PrivateEndpointConnectionArgs

Properties This property is required. Pulumi.AzureNative.DigitalTwins.Inputs.ConnectionProperties
The connection properties.
Properties This property is required. ConnectionProperties
The connection properties.
properties This property is required. ConnectionProperties
The connection properties.
properties This property is required. ConnectionProperties
The connection properties.
properties This property is required. ConnectionProperties
The connection properties.
properties This property is required. Property Map
The connection properties.

PrivateEndpointConnectionResponse
, PrivateEndpointConnectionResponseArgs

Id This property is required. string
The resource identifier.
Name This property is required. string
The resource name.
Properties This property is required. Pulumi.AzureNative.DigitalTwins.Inputs.ConnectionPropertiesResponse
The connection properties.
SystemData This property is required. Pulumi.AzureNative.DigitalTwins.Inputs.SystemDataResponse
Metadata pertaining to creation and last modification of the private endpoint connection.
Type This property is required. string
The resource type.
Id This property is required. string
The resource identifier.
Name This property is required. string
The resource name.
Properties This property is required. ConnectionPropertiesResponse
The connection properties.
SystemData This property is required. SystemDataResponse
Metadata pertaining to creation and last modification of the private endpoint connection.
Type This property is required. string
The resource type.
id This property is required. String
The resource identifier.
name This property is required. String
The resource name.
properties This property is required. ConnectionPropertiesResponse
The connection properties.
systemData This property is required. SystemDataResponse
Metadata pertaining to creation and last modification of the private endpoint connection.
type This property is required. String
The resource type.
id This property is required. string
The resource identifier.
name This property is required. string
The resource name.
properties This property is required. ConnectionPropertiesResponse
The connection properties.
systemData This property is required. SystemDataResponse
Metadata pertaining to creation and last modification of the private endpoint connection.
type This property is required. string
The resource type.
id This property is required. str
The resource identifier.
name This property is required. str
The resource name.
properties This property is required. ConnectionPropertiesResponse
The connection properties.
system_data This property is required. SystemDataResponse
Metadata pertaining to creation and last modification of the private endpoint connection.
type This property is required. str
The resource type.
id This property is required. String
The resource identifier.
name This property is required. String
The resource name.
properties This property is required. Property Map
The connection properties.
systemData This property is required. Property Map
Metadata pertaining to creation and last modification of the private endpoint connection.
type This property is required. String
The resource type.

PrivateEndpointResponse
, PrivateEndpointResponseArgs

Id This property is required. string
The resource identifier.
Id This property is required. string
The resource identifier.
id This property is required. String
The resource identifier.
id This property is required. string
The resource identifier.
id This property is required. str
The resource identifier.
id This property is required. String
The resource identifier.

PrivateLinkServiceConnectionStatus
, PrivateLinkServiceConnectionStatusArgs

Pending
Pending
Approved
Approved
Rejected
Rejected
Disconnected
Disconnected
PrivateLinkServiceConnectionStatusPending
Pending
PrivateLinkServiceConnectionStatusApproved
Approved
PrivateLinkServiceConnectionStatusRejected
Rejected
PrivateLinkServiceConnectionStatusDisconnected
Disconnected
Pending
Pending
Approved
Approved
Rejected
Rejected
Disconnected
Disconnected
Pending
Pending
Approved
Approved
Rejected
Rejected
Disconnected
Disconnected
PENDING
Pending
APPROVED
Approved
REJECTED
Rejected
DISCONNECTED
Disconnected
"Pending"
Pending
"Approved"
Approved
"Rejected"
Rejected
"Disconnected"
Disconnected

PublicNetworkAccess
, PublicNetworkAccessArgs

Enabled
Enabled
Disabled
Disabled
PublicNetworkAccessEnabled
Enabled
PublicNetworkAccessDisabled
Disabled
Enabled
Enabled
Disabled
Disabled
Enabled
Enabled
Disabled
Disabled
ENABLED
Enabled
DISABLED
Disabled
"Enabled"
Enabled
"Disabled"
Disabled

SystemDataResponse
, SystemDataResponseArgs

CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The timestamp of resource last modification (UTC)
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource.
CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The timestamp of resource last modification (UTC)
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource.
createdAt String
The timestamp of resource creation (UTC).
createdBy String
The identity that created the resource.
createdByType String
The type of identity that created the resource.
lastModifiedAt String
The timestamp of resource last modification (UTC)
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
The type of identity that last modified the resource.
createdAt string
The timestamp of resource creation (UTC).
createdBy string
The identity that created the resource.
createdByType string
The type of identity that created the resource.
lastModifiedAt string
The timestamp of resource last modification (UTC)
lastModifiedBy string
The identity that last modified the resource.
lastModifiedByType string
The type of identity that last modified the resource.
created_at str
The timestamp of resource creation (UTC).
created_by str
The identity that created the resource.
created_by_type str
The type of identity that created the resource.
last_modified_at str
The timestamp of resource last modification (UTC)
last_modified_by str
The identity that last modified the resource.
last_modified_by_type str
The type of identity that last modified the resource.
createdAt String
The timestamp of resource creation (UTC).
createdBy String
The identity that created the resource.
createdByType String
The type of identity that created the resource.
lastModifiedAt String
The timestamp of resource last modification (UTC)
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
The type of identity that last modified the resource.

UserAssignedIdentityResponse
, UserAssignedIdentityResponseArgs

ClientId This property is required. string
The client id of the User Assigned Identity Resource.
PrincipalId This property is required. string
The object id of the User Assigned Identity Resource.
ClientId This property is required. string
The client id of the User Assigned Identity Resource.
PrincipalId This property is required. string
The object id of the User Assigned Identity Resource.
clientId This property is required. String
The client id of the User Assigned Identity Resource.
principalId This property is required. String
The object id of the User Assigned Identity Resource.
clientId This property is required. string
The client id of the User Assigned Identity Resource.
principalId This property is required. string
The object id of the User Assigned Identity Resource.
client_id This property is required. str
The client id of the User Assigned Identity Resource.
principal_id This property is required. str
The object id of the User Assigned Identity Resource.
clientId This property is required. String
The client id of the User Assigned Identity Resource.
principalId This property is required. String
The object id of the User Assigned Identity Resource.

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:digitaltwins:DigitalTwin myDigitalTwinsService /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName} 
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0