1. Packages
  2. Azure Native
  3. API Docs
  4. digitaltwins
  5. DigitalTwin
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi

azure-native.digitaltwins.DigitalTwin

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi

    The description of the DigitalTwins service. Azure REST API version: 2023-01-31. Prior API version in Azure Native 1.x: 2020-12-01.

    Other available API versions: 2020-03-01-preview.

    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",
        });
    
    });
    
    package main
    
    import (
    	digitaltwins "github.com/pulumi/pulumi-azure-native-sdk/digitaltwins/v2"
    	"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
    	})
    }
    
    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());
    
        }
    }
    
    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")
    
    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",
    });
    
    resources:
      digitalTwin:
        type: azure-native:digitaltwins:DigitalTwin
        properties:
          location: WestUS2
          resourceGroupName: resRg
          resourceName: myDigitalTwinsService
    

    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",
        });
    
    });
    
    package main
    
    import (
    	digitaltwins "github.com/pulumi/pulumi-azure-native-sdk/digitaltwins/v2"
    	"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
    	})
    }
    
    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());
    
        }
    }
    
    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")
    
    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",
    });
    
    resources:
      digitalTwin:
        type: azure-native:digitaltwins:DigitalTwin
        properties:
          location: WestUS2
          publicNetworkAccess: Enabled
          resourceGroupName: resRg
          resourceName: myDigitalTwinsService
    

    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 string
    The unique name of the resource.
    args DigitalTwinArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args 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 string
    The unique name of the resource.
    args DigitalTwinArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DigitalTwinArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args 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" },
        },
    });
    
    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"),
    	},
    })
    
    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());
    
    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",
        })
    
    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",
        },
    });
    
    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
    

    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 string
    The name of the resource group that contains the DigitalTwinsInstance.
    Identity Pulumi.AzureNative.DigitalTwins.Inputs.DigitalTwinsIdentity
    The managed identity for the DigitalTwinsInstance.
    Location 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 string
    The name of the DigitalTwinsInstance.
    Tags Dictionary<string, string>
    The resource tags.
    ResourceGroupName string
    The name of the resource group that contains the DigitalTwinsInstance.
    Identity DigitalTwinsIdentityArgs
    The managed identity for the DigitalTwinsInstance.
    Location 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 string
    The name of the DigitalTwinsInstance.
    Tags map[string]string
    The resource tags.
    resourceGroupName String
    The name of the resource group that contains the DigitalTwinsInstance.
    identity DigitalTwinsIdentity
    The managed identity for the DigitalTwinsInstance.
    location 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 String
    The name of the DigitalTwinsInstance.
    tags Map<String,String>
    The resource tags.
    resourceGroupName string
    The name of the resource group that contains the DigitalTwinsInstance.
    identity DigitalTwinsIdentity
    The managed identity for the DigitalTwinsInstance.
    location 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 string
    The name of the DigitalTwinsInstance.
    tags {[key: string]: string}
    The resource tags.
    resource_group_name str
    The name of the resource group that contains the DigitalTwinsInstance.
    identity DigitalTwinsIdentityArgs
    The managed identity for the DigitalTwinsInstance.
    location 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 str
    The name of the DigitalTwinsInstance.
    tags Mapping[str, str]
    The resource tags.
    resourceGroupName String
    The name of the resource group that contains the DigitalTwinsInstance.
    identity Property Map
    The managed identity for the DigitalTwinsInstance.
    location 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 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:

    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.
    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.
    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.
    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.
    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.
    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 string
    The description for the current state of a private endpoint connection.
    Status string | Pulumi.AzureNative.DigitalTwins.PrivateLinkServiceConnectionStatus
    The status of a private endpoint connection.
    ActionsRequired string
    Actions required for a private endpoint connection.
    Description string
    The description for the current state of a private endpoint connection.
    Status string | PrivateLinkServiceConnectionStatus
    The status of a private endpoint connection.
    ActionsRequired string
    Actions required for a private endpoint connection.
    description String
    The description for the current state of a private endpoint connection.
    status String | PrivateLinkServiceConnectionStatus
    The status of a private endpoint connection.
    actionsRequired String
    Actions required for a private endpoint connection.
    description string
    The description for the current state of a private endpoint connection.
    status string | PrivateLinkServiceConnectionStatus
    The status of a private endpoint connection.
    actionsRequired string
    Actions required for a private endpoint connection.
    description str
    The description for the current state of a private endpoint connection.
    status str | PrivateLinkServiceConnectionStatus
    The status of a private endpoint connection.
    actions_required str
    Actions required for a private endpoint connection.
    description String
    The description for the current state of a private endpoint connection.
    status String | "Pending" | "Approved" | "Rejected" | "Disconnected"
    The status of a private endpoint connection.
    actionsRequired String
    Actions required for a private endpoint connection.

    ConnectionPropertiesResponse, ConnectionPropertiesResponseArgs

    ProvisioningState 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 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 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 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 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 string
    The description for the current state of a private endpoint connection.
    Status string
    The status of a private endpoint connection.
    ActionsRequired string
    Actions required for a private endpoint connection.
    Description string
    The description for the current state of a private endpoint connection.
    Status string
    The status of a private endpoint connection.
    ActionsRequired string
    Actions required for a private endpoint connection.
    description String
    The description for the current state of a private endpoint connection.
    status String
    The status of a private endpoint connection.
    actionsRequired String
    Actions required for a private endpoint connection.
    description string
    The description for the current state of a private endpoint connection.
    status string
    The status of a private endpoint connection.
    actionsRequired string
    Actions required for a private endpoint connection.
    description str
    The description for the current state of a private endpoint connection.
    status str
    The status of a private endpoint connection.
    actions_required str
    Actions required for a private endpoint connection.
    description String
    The description for the current state of a private endpoint connection.
    status 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 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 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 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 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 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 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 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 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 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 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 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 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 ConnectionProperties
    The connection properties.
    properties ConnectionProperties
    The connection properties.
    properties ConnectionProperties
    The connection properties.
    properties ConnectionProperties
    The connection properties.
    properties Property Map
    The connection properties.

    PrivateEndpointConnectionResponse, PrivateEndpointConnectionResponseArgs

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

    PrivateEndpointResponse, PrivateEndpointResponseArgs

    Id string
    The resource identifier.
    Id string
    The resource identifier.
    id String
    The resource identifier.
    id string
    The resource identifier.
    id str
    The resource identifier.
    id 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 string
    The client id of the User Assigned Identity Resource.
    PrincipalId string
    The object id of the User Assigned Identity Resource.
    ClientId string
    The client id of the User Assigned Identity Resource.
    PrincipalId string
    The object id of the User Assigned Identity Resource.
    clientId String
    The client id of the User Assigned Identity Resource.
    principalId String
    The object id of the User Assigned Identity Resource.
    clientId string
    The client id of the User Assigned Identity Resource.
    principalId string
    The object id of the User Assigned Identity Resource.
    client_id str
    The client id of the User Assigned Identity Resource.
    principal_id str
    The object id of the User Assigned Identity Resource.
    clientId String
    The client id of the User Assigned Identity Resource.
    principalId 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} 
    

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

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi