Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ManagedInstanceDTCs APIs #18770

Merged
Show file tree
Hide file tree
Changes from 13 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion custom-words.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2523,4 +2523,5 @@ Dataworld
Asana
AppFigures
Twilio
getazresiliencystatus
getazresiliencystatus
DTCs

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"parameters": {
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "testrg",
"managedInstanceName": "testinstance",
"dtcName": "current",
"api-version": "2022-02-01-preview"
},
"responses": {
"200": {
"body": {
"properties": {
"dtcEnabled": true,
"securitySettings": {
"transactionManagerCommunicationSettings": {
"allowInboundEnabled": false,
"allowOutboundEnabled": true,
"authentication": "NoAuth"
},
"xaTransactionsEnabled": false,
"snaLu6point2TransactionsEnabled": false
},
"externalDnsSuffixSearchList": [
"dns.example1.com",
"dns.example2.com"
],
"dtcHostNameDnsSuffix": "dtcHostNameSuffixExample.com",
"provisioningState": "Succeeded"
},
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Sql/managedInstances/testinstance/dtc/current",
"name": "current",
"type": "Microsoft.Sql/managedInstances/dtc"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"parameters": {
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "testrg",
"managedInstanceName": "testinstance",
"api-version": "2022-02-01-preview"
},
"responses": {
"200": {
"body": {
"value": [
{
"properties": {
"dtcEnabled": true,
"securitySettings": {
"transactionManagerCommunicationSettings": {
"allowInboundEnabled": false,
"allowOutboundEnabled": true,
"authentication": "NoAuth"
},
"xaTransactionsEnabled": false,
"snaLu6point2TransactionsEnabled": false
},
"externalDnsSuffixSearchList": [
"dns.example1.com",
"dns.example2.com"
],
"dtcHostNameDnsSuffix": "dtcHostNameSuffixExample.com",
"provisioningState": "Succeeded"
},
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Sql/managedInstances/testinstance/dtc/current",
"name": "current",
"type": "Microsoft.Sql/managedInstances/dtc"
}
]
}
krivi37 marked this conversation as resolved.
Show resolved Hide resolved
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"parameters": {
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "testrg",
"managedInstanceName": "testinstance",
"dtcName": "current",
"api-version": "2022-02-01-preview",
"parameters": {
"dtcEnabled": true
}
},
"responses": {
"200": {
"body": {
"properties": {
"dtcEnabled": true,
"securitySettings": {
"transactionManagerCommunicationSettings": {
"allowInboundEnabled": false,
"allowOutboundEnabled": true,
"authentication": "NoAuth"
},
"xaTransactionsEnabled": false,
"snaLu6point2TransactionsEnabled": false
},
"externalDnsSuffixSearchList": [
"dns.example1.com",
"dns.example2.com"
],
"dtcHostNameDnsSuffix": "dtcHostNameSuffixExample.com",
"provisioningState": "Updating"
},
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Sql/managedInstances/testinstance/dtc/current",
"name": "current",
"type": "Microsoft.Sql/managedInstances/dtc"
}
},
"202": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
{
"parameters": {
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "testrg",
"managedInstanceName": "testinstance",
"dtcName": "current",
"api-version": "2022-02-01-preview",
"parameters": {
"dtcEnabled": true,
"securitySettings": {
"transactionManagerCommunicationSettings": {
"allowInboundEnabled": false,
"allowOutboundEnabled": true,
"authentication": "NoAuth"
},
"xaTransactionsEnabled": false,
"snaLu6point2TransactionsEnabled": false
},
"externalDnsSuffixSearchList": [
"dns.example1.com",
"dns.example2.com"
]
}
},
"responses": {
"200": {
"body": {
"properties": {
"dtcEnabled": true,
"securitySettings": {
"transactionManagerCommunicationSettings": {
"allowInboundEnabled": false,
"allowOutboundEnabled": true,
"authentication": "NoAuth"
},
"xaTransactionsEnabled": false,
"snaLu6point2TransactionsEnabled": false
},
"externalDnsSuffixSearchList": [
"dns.example1.com",
"dns.example2.com"
],
"dtcHostNameDnsSuffix": "dtcHostNameSuffixExample.com",
"provisioningState": "Updating"
},
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Sql/managedInstances/testinstance/dtc/current",
"name": "current",
"type": "Microsoft.Sql/managedInstances/dtc"
}
},
"202": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"parameters": {
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "testrg",
"managedInstanceName": "testinstance",
"dtcName": "current",
"api-version": "2022-02-01-preview",
"parameters": {
"properties": {
"dtcEnabled": true
}
}
},
"responses": {
"200": {
"body": {
"properties": {
"dtcEnabled": true,
"securitySettings": {
"transactionManagerCommunicationSettings": {
"allowInboundEnabled": false,
"allowOutboundEnabled": true,
"authentication": "NoAuth"
},
"xaTransactionsEnabled": false,
"snaLu6point2TransactionsEnabled": false
},
"externalDnsSuffixSearchList": [
"dns.example1.com",
"dns.example2.com"
],
"dtcHostNameDnsSuffix": "dtcHostNameSuffixExample.com",
"provisioningState": "Updating"
},
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Sql/managedInstances/testinstance/dtc/current",
"name": "current",
"type": "Microsoft.Sql/managedInstances/dtc"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
{
"parameters": {
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "testrg",
"managedInstanceName": "testinstance",
"dtcName": "current",
"api-version": "2022-02-01-preview",
"parameters": {
"properties": {
"dtcEnabled": true,
"securitySettings": {
"transactionManagerCommunicationSettings": {
"allowInboundEnabled": false,
"allowOutboundEnabled": true,
"authentication": "NoAuth"
},
"xaTransactionsEnabled": false,
"snaLu6point2TransactionsEnabled": false
},
"externalDnsSuffixSearchList": [
"dns.example1.com",
"dns.example2.com"
]
}
}
},
"responses": {
"200": {
"body": {
"properties": {
"dtcEnabled": true,
"securitySettings": {
"transactionManagerCommunicationSettings": {
"allowInboundEnabled": false,
"allowOutboundEnabled": true,
"authentication": "NoAuth"
},
"xaTransactionsEnabled": false,
"snaLu6point2TransactionsEnabled": false
},
"externalDnsSuffixSearchList": [
"dns.example1.com",
"dns.example2.com"
],
"dtcHostNameDnsSuffix": "dtcHostNameSuffixExample.com",
"provisioningState": "Updating"
},
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Sql/managedInstances/testinstance/dtc/current",
"name": "current",
"type": "Microsoft.Sql/managedInstances/dtc"
}
}
}
}
2 changes: 2 additions & 0 deletions specification/sql/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ input-file:
- Microsoft.Sql/preview/2022-02-01-preview/ManagedDatabases.json
- Microsoft.Sql/preview/2022-02-01-preview/ManagedInstanceAdministrators.json
- Microsoft.Sql/preview/2022-02-01-preview/ManagedInstanceAzureADOnlyAuthentications.json
- Microsoft.Sql/preview/2022-02-01-preview/ManagedInstanceDtcs.json
- Microsoft.Sql/preview/2022-02-01-preview/ManagedInstanceEncryptionProtectors.json
- Microsoft.Sql/preview/2022-02-01-preview/ManagedInstanceKeys.json
- Microsoft.Sql/preview/2022-02-01-preview/ManagedInstanceLongTermRetentionPolicies.json
Expand Down Expand Up @@ -396,6 +397,7 @@ input-file:
- ./Microsoft.Sql/preview/2021-11-01-preview/ManagedServerDnsAliases.json
- ./Microsoft.Sql/preview/2021-11-01-preview/SensitivityLabels.json
- ./Microsoft.Sql/preview/2021-11-01-preview/EndpointCertificates.json
- ./Microsoft.Sql/preview/2022-02-01-preview/ManagedInstanceDtcs.json


# Needed when there is more than one input file
Expand Down