Microsoft.DigitalTwins digitalTwinsInstances 2020-12-01

Template format

To create a Microsoft.DigitalTwins/digitalTwinsInstances resource, add the following JSON to the resources section of your template.

{
  "name": "string",
  "type": "Microsoft.DigitalTwins/digitalTwinsInstances",
  "apiVersion": "2020-12-01",
  "location": "string",
  "tags": {},
  "identity": {
    "type": "string"
  },
  "properties": {
    "publicNetworkAccess": "string"
  },
  "resources": []
}

Property values

The following tables describe the values you need to set in the schema.

Microsoft.DigitalTwins/digitalTwinsInstances object

Note

In Bicep, type and apiVersion are specified in the first line of the resource declaration. Use the format <type>@<apiVersion>. Don't set those properties in the resource body.

Name Type Required Value
name string Yes The name of the DigitalTwinsInstance.
type enum Yes For JSON - Microsoft.DigitalTwins/digitalTwinsInstances
apiVersion enum Yes For JSON - 2020-12-01
location string Yes The resource location.
tags object No The resource tags.
identity object No The managed identity for the DigitalTwinsInstance. - DigitalTwinsIdentity object
properties object No DigitalTwins instance properties. - DigitalTwinsProperties object
resources array No privateEndpointConnections endpoints

DigitalTwinsIdentity object

Name Type Required Value
type enum No The type of Managed Identity used by the DigitalTwinsInstance. Only SystemAssigned is supported. - None or SystemAssigned

DigitalTwinsProperties object

Name Type Required Value
publicNetworkAccess enum No Public network access for the DigitalTwinsInstance. - Enabled or Disabled