Microsoft.Sql managedInstances/dtc 2022-08-01-preview

Bicep resource definition

The managedInstances/dtc resource type can be deployed with operations that target:

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.Sql/managedInstances/dtc resource, add the following Bicep to your template.

resource symbolicname 'Microsoft.Sql/managedInstances/dtc@2022-08-01-preview' = {
  name: 'current'
  parent: resourceSymbolicName
  properties: {
    dtcEnabled: bool
    externalDnsSuffixSearchList: [
      'string'
    ]
    securitySettings: {
      snaLu6point2TransactionsEnabled: bool
      transactionManagerCommunicationSettings: {
        allowInboundEnabled: bool
        allowOutboundEnabled: bool
        authentication: 'string'
      }
      xaTransactionsDefaultTimeout: int
      xaTransactionsEnabled: bool
      xaTransactionsMaximumTimeout: int
    }
  }
}

Property values

managedInstances/dtc

Name Description Value
name The resource name

See how to set names and types for child resources in Bicep.
'current'
parent In Bicep, you can specify the parent resource for a child resource. You only need to add this property when the child resource is declared outside of the parent resource.

For more information, see Child resource outside parent resource.
Symbolic name for resource of type: managedInstances
properties Resource properties. ManagedInstanceDtcProperties

ManagedInstanceDtcProperties

Name Description Value
dtcEnabled Active status of managed instance DTC. bool
externalDnsSuffixSearchList External dns suffix search list of managed instance DTC. string[]
securitySettings Security settings of managed instance DTC. ManagedInstanceDtcSecuritySettings

ManagedInstanceDtcSecuritySettings

Name Description Value
snaLu6point2TransactionsEnabled Allow SNA LU 6.2 Transactions to managed instance DTC. bool
transactionManagerCommunicationSettings Transaction Manager communication settings of managed instance DTC. ManagedInstanceDtcTransactionManagerCommunicationSet...
xaTransactionsDefaultTimeout Default timeout for XA Transactions (in seconds). int
xaTransactionsEnabled Allow XA Transactions to managed instance DTC. bool
xaTransactionsMaximumTimeout Maximum timeout for XA Transactions (in seconds). int

ManagedInstanceDtcTransactionManagerCommunicationSet...

Name Description Value
allowInboundEnabled Allow Inbound traffic to managed instance DTC. bool
allowOutboundEnabled Allow Outbound traffic of managed instance DTC. bool
authentication Authentication type of managed instance DTC. string

ARM template resource definition

The managedInstances/dtc resource type can be deployed with operations that target:

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.Sql/managedInstances/dtc resource, add the following JSON to your template.

{
  "type": "Microsoft.Sql/managedInstances/dtc",
  "apiVersion": "2022-08-01-preview",
  "name": "current",
  "properties": {
    "dtcEnabled": "bool",
    "externalDnsSuffixSearchList": [ "string" ],
    "securitySettings": {
      "snaLu6point2TransactionsEnabled": "bool",
      "transactionManagerCommunicationSettings": {
        "allowInboundEnabled": "bool",
        "allowOutboundEnabled": "bool",
        "authentication": "string"
      },
      "xaTransactionsDefaultTimeout": "int",
      "xaTransactionsEnabled": "bool",
      "xaTransactionsMaximumTimeout": "int"
    }
  }
}

Property values

managedInstances/dtc

Name Description Value
type The resource type 'Microsoft.Sql/managedInstances/dtc'
apiVersion The resource api version '2022-08-01-preview'
name The resource name

See how to set names and types for child resources in JSON ARM templates.
'current'
properties Resource properties. ManagedInstanceDtcProperties

ManagedInstanceDtcProperties

Name Description Value
dtcEnabled Active status of managed instance DTC. bool
externalDnsSuffixSearchList External dns suffix search list of managed instance DTC. string[]
securitySettings Security settings of managed instance DTC. ManagedInstanceDtcSecuritySettings

ManagedInstanceDtcSecuritySettings

Name Description Value
snaLu6point2TransactionsEnabled Allow SNA LU 6.2 Transactions to managed instance DTC. bool
transactionManagerCommunicationSettings Transaction Manager communication settings of managed instance DTC. ManagedInstanceDtcTransactionManagerCommunicationSet...
xaTransactionsDefaultTimeout Default timeout for XA Transactions (in seconds). int
xaTransactionsEnabled Allow XA Transactions to managed instance DTC. bool
xaTransactionsMaximumTimeout Maximum timeout for XA Transactions (in seconds). int

ManagedInstanceDtcTransactionManagerCommunicationSet...

Name Description Value
allowInboundEnabled Allow Inbound traffic to managed instance DTC. bool
allowOutboundEnabled Allow Outbound traffic of managed instance DTC. bool
authentication Authentication type of managed instance DTC. string

Terraform (AzAPI provider) resource definition

The managedInstances/dtc resource type can be deployed with operations that target:

  • Resource groups

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.Sql/managedInstances/dtc resource, add the following Terraform to your template.

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.Sql/managedInstances/dtc@2022-08-01-preview"
  name = "current"
  parent_id = "string"
  body = jsonencode({
    properties = {
      dtcEnabled = bool
      externalDnsSuffixSearchList = [
        "string"
      ]
      securitySettings = {
        snaLu6point2TransactionsEnabled = bool
        transactionManagerCommunicationSettings = {
          allowInboundEnabled = bool
          allowOutboundEnabled = bool
          authentication = "string"
        }
        xaTransactionsDefaultTimeout = int
        xaTransactionsEnabled = bool
        xaTransactionsMaximumTimeout = int
      }
    }
  })
}

Property values

managedInstances/dtc

Name Description Value
type The resource type "Microsoft.Sql/managedInstances/dtc@2022-08-01-preview"
name The resource name "current"
parent_id The ID of the resource that is the parent for this resource. ID for resource of type: managedInstances
properties Resource properties. ManagedInstanceDtcProperties

ManagedInstanceDtcProperties

Name Description Value
dtcEnabled Active status of managed instance DTC. bool
externalDnsSuffixSearchList External dns suffix search list of managed instance DTC. string[]
securitySettings Security settings of managed instance DTC. ManagedInstanceDtcSecuritySettings

ManagedInstanceDtcSecuritySettings

Name Description Value
snaLu6point2TransactionsEnabled Allow SNA LU 6.2 Transactions to managed instance DTC. bool
transactionManagerCommunicationSettings Transaction Manager communication settings of managed instance DTC. ManagedInstanceDtcTransactionManagerCommunicationSet...
xaTransactionsDefaultTimeout Default timeout for XA Transactions (in seconds). int
xaTransactionsEnabled Allow XA Transactions to managed instance DTC. bool
xaTransactionsMaximumTimeout Maximum timeout for XA Transactions (in seconds). int

ManagedInstanceDtcTransactionManagerCommunicationSet...

Name Description Value
allowInboundEnabled Allow Inbound traffic to managed instance DTC. bool
allowOutboundEnabled Allow Outbound traffic of managed instance DTC. bool
authentication Authentication type of managed instance DTC. string