diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2022-05-01-preview/ManagedInstanceDtcs.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2022-05-01-preview/ManagedInstanceDtcs.json index 3dbe5c0e0b00..d8d555707ef4 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2022-05-01-preview/ManagedInstanceDtcs.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2022-05-01-preview/ManagedInstanceDtcs.json @@ -161,7 +161,7 @@ } }, "default": { - "description": "*** Error Responses: ***\n\n * 400 InvalidDtcName - User tried to interact with Azure SQL Managed Instance DTC settings with a DTC name different from 'current'.\n\n * 400 InvalidUpdateDtcOperationParameters - The provided set of parameters in the body of the request is either empty or invalid.\n\n * 400 InvalidDtcAuthenticationMethod - DTC authentication method \"{0}\" is not supported.\n\n * 400 InvalidDtcVirtualClusterVersion - Virtual cluster version of the Azure SQL Managed Instance \"{0}\" is not supported.\n\n * 400 ManagementServiceManagedInstanceDtcFeatureDisabled - User tried to interact with Azure SQL Managed Instance DTC settings but DTC feature is currently not supported.\n\n * 404 ResourceNotFound - The requested resource was not found.\n\n * 404 OperationIdNotFound - The operation with Id does not exist.\n\n * 404 OperationIdNotFound - The operation with Id does not exist.\n\n * 409 OperationCancelled - The operation has been cancelled by user.\n\n * 409 OperationInterrupted - The operation on the resource could not be completed because it was interrupted by another operation on the same resource.\n\n * 500 OperationTimedOut - The operation timed out and automatically rolled back. Please retry the operation." + "description": "*** Error Responses: ***\n\n * 400 InvalidDtcName - User tried to interact with Azure SQL Managed Instance DTC settings with a DTC name different from 'current'.\n\n * 400 InvalidUpdateDtcOperationParameters - The provided set of parameters in the body of the request is either empty or invalid.\n\n * 400 InvalidDtcAuthenticationMethod - DTC authentication method \"{0}\" is not supported.\n\n * 400 InvalidDtcXaTransactionsDefaultTimeoutValue - Invalid DTC XA Transactions default timeout value.\n\n * 400 InvalidDtcXaTransactionsMaximumTimeoutValue - Invalid DTC XA Transactions maximum timeout value.\n\n * 400 InvalidDtcVirtualClusterVersion - Virtual cluster version of the Azure SQL Managed Instance \"{0}\" is not supported.\n\n * 400 ManagementServiceManagedInstanceDtcFeatureDisabled - User tried to interact with Azure SQL Managed Instance DTC settings but DTC feature is currently not supported.\n\n * 404 ResourceNotFound - The requested resource was not found.\n\n * 404 OperationIdNotFound - The operation with Id does not exist.\n\n * 404 OperationIdNotFound - The operation with Id does not exist.\n\n * 409 OperationCancelled - The operation has been cancelled by user.\n\n * 409 OperationInterrupted - The operation on the resource could not be completed because it was interrupted by another operation on the same resource.\n\n * 429 SubscriptionTooManyCreateUpdateRequests - Requests beyond max requests that can be processed by available resources.\n\n * 429 SubscriptionTooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 500 OperationTimedOut - The operation timed out and automatically rolled back. Please retry the operation.\n\n * 503 TooManyRequests - Requests beyond max requests that can be processed by available resources." } }, "x-ms-long-running-operation": true, @@ -267,8 +267,18 @@ "type": "boolean" }, "snaLu6point2TransactionsEnabled": { - "description": "Allow SNA LU 6.2 to managed instance DTC.", + "description": "Allow SNA LU 6.2 Transactions to managed instance DTC.", "type": "boolean" + }, + "xaTransactionsDefaultTimeout": { + "format": "int32", + "description": "Default timeout for XA Transactions (in seconds).", + "type": "integer" + }, + "xaTransactionsMaximumTimeout": { + "format": "int32", + "description": "Maximum timeout for XA Transactions (in seconds).", + "type": "integer" } } }, diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2022-05-01-preview/examples/ManagedInstanceDtcGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2022-05-01-preview/examples/ManagedInstanceDtcGet.json index 7cd659c2ebae..b09f92593807 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2022-05-01-preview/examples/ManagedInstanceDtcGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2022-05-01-preview/examples/ManagedInstanceDtcGet.json @@ -18,7 +18,9 @@ "authentication": "NoAuth" }, "xaTransactionsEnabled": false, - "snaLu6point2TransactionsEnabled": false + "snaLu6point2TransactionsEnabled": false, + "xaTransactionsDefaultTimeout": 1000, + "xaTransactionsMaximumTimeout": 3000 }, "externalDnsSuffixSearchList": [ "dns.example1.com", diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2022-05-01-preview/examples/ManagedInstanceDtcList.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2022-05-01-preview/examples/ManagedInstanceDtcList.json index ffd37bc11d37..368a87d7d841 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2022-05-01-preview/examples/ManagedInstanceDtcList.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2022-05-01-preview/examples/ManagedInstanceDtcList.json @@ -19,7 +19,9 @@ "authentication": "NoAuth" }, "xaTransactionsEnabled": false, - "snaLu6point2TransactionsEnabled": false + "snaLu6point2TransactionsEnabled": false, + "xaTransactionsDefaultTimeout": 1000, + "xaTransactionsMaximumTimeout": 3000 }, "externalDnsSuffixSearchList": [ "dns.example1.com", diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2022-05-01-preview/examples/ManagedInstanceDtcUpdateEnableDtc.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2022-05-01-preview/examples/ManagedInstanceDtcUpdateEnableDtc.json index c05eb5b2e2ca..4d8645124ec4 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2022-05-01-preview/examples/ManagedInstanceDtcUpdateEnableDtc.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2022-05-01-preview/examples/ManagedInstanceDtcUpdateEnableDtc.json @@ -23,7 +23,9 @@ "authentication": "NoAuth" }, "xaTransactionsEnabled": false, - "snaLu6point2TransactionsEnabled": false + "snaLu6point2TransactionsEnabled": false, + "xaTransactionsDefaultTimeout": 1000, + "xaTransactionsMaximumTimeout": 3000 }, "externalDnsSuffixSearchList": [ "dns.example1.com", diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2022-05-01-preview/examples/ManagedInstanceDtcUpdateMax.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2022-05-01-preview/examples/ManagedInstanceDtcUpdateMax.json index cf5b971cd1f0..7932c2eb0b18 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2022-05-01-preview/examples/ManagedInstanceDtcUpdateMax.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2022-05-01-preview/examples/ManagedInstanceDtcUpdateMax.json @@ -15,7 +15,9 @@ "authentication": "NoAuth" }, "xaTransactionsEnabled": false, - "snaLu6point2TransactionsEnabled": false + "snaLu6point2TransactionsEnabled": false, + "xaTransactionsDefaultTimeout": 1000, + "xaTransactionsMaximumTimeout": 3000 }, "externalDnsSuffixSearchList": [ "dns.example1.com", @@ -36,7 +38,9 @@ "authentication": "NoAuth" }, "xaTransactionsEnabled": false, - "snaLu6point2TransactionsEnabled": false + "snaLu6point2TransactionsEnabled": false, + "xaTransactionsDefaultTimeout": 1000, + "xaTransactionsMaximumTimeout": 3000 }, "externalDnsSuffixSearchList": [ "dns.example1.com", diff --git a/specification/sql/resource-manager/readme.md b/specification/sql/resource-manager/readme.md index b567540e4ec1..e9905670f87c 100644 --- a/specification/sql/resource-manager/readme.md +++ b/specification/sql/resource-manager/readme.md @@ -558,10 +558,10 @@ input-file: - ./Microsoft.Sql/preview/2021-11-01-preview/DatabaseAdvancedThreatProtectionSettings.json - ./Microsoft.Sql/preview/2021-11-01-preview/ServerAdvancedThreatProtectionSettings.json - ./Microsoft.Sql/preview/2021-11-01-preview/ManagedServerDnsAliases.json -- ./Microsoft.Sql/preview/2022-02-01-preview/ManagedInstanceDtcs.json - ./Microsoft.Sql/preview/2022-02-01-preview/ManagedDatabaseAdvancedThreatProtectionSettings.json - ./Microsoft.Sql/preview/2022-02-01-preview/ManagedInstanceAdvancedThreatProtectionSettings.json - ./Microsoft.Sql/preview/2022-05-01-preview/ManagedDatabaseMoveOperations.json +- ./Microsoft.Sql/preview/2022-05-01-preview/ManagedInstanceDtcs.json # Needed when there is more than one input file