Azure Digital Twins Instance

This page shows how to write Terraform and Azure Resource Manager for Digital Twins Instance and write them securely.

azurerm_digital_twins_instance (Terraform)

The Instance in Digital Twins can be configured in Terraform with the resource name azurerm_digital_twins_instance. The following sections describe 1 example of how to use the resource and its parameters.

Example Usage from GitHub

Digital_Twins.tf#L3
resource "azurerm_digital_twins_instance" "example" {
  name                = var.dt_name
  resource_group_name = azurerm_resource_group.rg.name
  location            = var.location

  tags = var.tags

Review your Terraform file for Azure best practices

Shisho Cloud, our free checker to make sure your Terraform configuration follows best practices, is available (beta).

Parameters

Explanation in Terraform Registry

Manages a Digital Twins instance.

Microsoft.DigitalTwins/digitalTwinsInstances (Azure Resource Manager)

The digitalTwinsInstances in Microsoft.DigitalTwins can be configured in Azure Resource Manager with the resource name Microsoft.DigitalTwins/digitalTwinsInstances. The following sections describe how to use the resource and its parameters.

Example Usage from GitHub

An example could not be found in GitHub.

Parameters

  • apiVersion required - string
  • identity optional
      • type optional - string

        The type of Managed Identity used by the DigitalTwinsInstance. Only SystemAssigned is supported.

  • location required - string

    The resource location.

  • name required - string

    The name of the DigitalTwinsInstance.

  • properties required
      • privateEndpointConnections optional array
          • properties required
              • groupIds optional - array

                The list of group ids for the private endpoint connection.

              • privateEndpoint optional
                • privateLinkServiceConnectionState optional
                    • actionsRequired optional - string

                      Actions required for a private endpoint connection.

                    • description required - string

                      The description for the current state of a private endpoint connection.

                    • status required - string

                      The status of a private endpoint connection.

        • publicNetworkAccess optional - string

          Public network access for the DigitalTwinsInstance.

    • tags optional - string

      The resource tags.

    • type required - string

    Frequently asked questions

    What is Azure Digital Twins Instance?

    Azure Digital Twins Instance is a resource for Digital Twins of Microsoft Azure. Settings can be wrote in Terraform.

    Where can I find the example code for the Azure Digital Twins Instance?

    For Terraform, the Manuss20/azure.samples source code example is useful. See the Terraform Example section for further details.