diff --git a/Commands/sql/mi/dtc/_create.md b/Commands/sql/mi/dtc/_create.md new file mode 100644 index 00000000000..607f29de380 --- /dev/null +++ b/Commands/sql/mi/dtc/_create.md @@ -0,0 +1,9 @@ +# [Command] _sql mi dtc create_ + +Create managed instance DTC settings. + +## Versions + +### [2022-08-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zcWwvbWFuYWdlZGluc3RhbmNlcy97fS9kdGMve30=/2022-08-01-preview.xml) **Stable** + + diff --git a/Commands/sql/mi/dtc/_list.md b/Commands/sql/mi/dtc/_list.md new file mode 100644 index 00000000000..1ff60b0cfc7 --- /dev/null +++ b/Commands/sql/mi/dtc/_list.md @@ -0,0 +1,9 @@ +# [Command] _sql mi dtc list_ + +List a list of managed instance DTC settings. + +## Versions + +### [2022-08-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zcWwvbWFuYWdlZGluc3RhbmNlcy97fS9kdGM=/2022-08-01-preview.xml) **Stable** + + diff --git a/Commands/sql/mi/dtc/_show.md b/Commands/sql/mi/dtc/_show.md new file mode 100644 index 00000000000..88a35bb1477 --- /dev/null +++ b/Commands/sql/mi/dtc/_show.md @@ -0,0 +1,23 @@ +# [Command] _sql mi dtc show_ + +Get managed instance DTC settings. + +This command gets managed instance DTC settings. + +## Versions + +### [2022-08-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zcWwvbWFuYWdlZGluc3RhbmNlcy97fS9kdGMve30=/2022-08-01-preview.xml) **Stable** + + + +#### examples + +- Gets the managed instance DTC + ```bash + sql mi dtc show --g resourceGroup1 --managed-instance-name managedInstance1 + ``` + +- Gets the managed instance DTC with the specified resource ID + ```bash + sql mi dtc show --ids /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/ResourceGroup1/providers/Microsoft.Sql/managedInstances/ManagedInstance1/dtc/current + ``` diff --git a/Commands/sql/mi/dtc/_update.md b/Commands/sql/mi/dtc/_update.md new file mode 100644 index 00000000000..aaab29ec97f --- /dev/null +++ b/Commands/sql/mi/dtc/_update.md @@ -0,0 +1,24 @@ +# [Command] _sql mi dtc update_ + +Update managed instance DTC settings. + +This command updates the managed instance DTC settings. All parameters are optional. + +## Versions + +### [2022-08-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zcWwvbWFuYWdlZGluc3RhbmNlcy97fS9kdGMve30=/2022-08-01-preview.xml) **Stable** + + + +#### examples + +- Enable DTC on a managed instance + ```bash + sql mi dtc update -g resourceGroup1 --mi managedInstance1 --dtc-enabled true + sql mi dtc update --ids /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/ResourceGroup1/providers/Microsoft.Sql/managedInstances/ManagedInstance1/dtc/current --dtc-enabled true + ``` + +- Allow XA transactions for managed instance DTC + ```bash + sql mi dtc update -g resourceGroup1 --mi managedInstance1 --xa-transactions-enabled true + ``` diff --git a/Commands/sql/mi/dtc/readme.md b/Commands/sql/mi/dtc/readme.md new file mode 100644 index 00000000000..3c274158734 --- /dev/null +++ b/Commands/sql/mi/dtc/readme.md @@ -0,0 +1,19 @@ +# [Group] _sql mi dtc_ + +Commands related to managed instance DTC management. + +The managed instance DTC object can be fetched and updated using these commands. + +## Commands + +- [create](/Commands/sql/mi/dtc/_create.md) +: Create managed instance DTC settings. + +- [list](/Commands/sql/mi/dtc/_list.md) +: List a list of managed instance DTC settings. + +- [show](/Commands/sql/mi/dtc/_show.md) +: Get managed instance DTC settings. + +- [update](/Commands/sql/mi/dtc/_update.md) +: Update managed instance DTC settings. diff --git a/Commands/sql/mi/readme.md b/Commands/sql/mi/readme.md index 5d70c84095b..87c95fc6aa7 100644 --- a/Commands/sql/mi/readme.md +++ b/Commands/sql/mi/readme.md @@ -4,6 +4,9 @@ Manage SQL managed instances. ## Subgroups +- [dtc](/Commands/sql/mi/dtc/readme.md) +: Commands related to managed instance DTC management. + - [endpoint-cert](/Commands/sql/mi/endpoint-cert/readme.md) : Endpoint certificates management commands. @@ -12,3 +15,6 @@ Manage SQL managed instances. - [partner-cert](/Commands/sql/mi/partner-cert/readme.md) : Server trust certificate management commands. + +- [server-configuration-option](/Commands/sql/mi/server-configuration-option/readme.md) +: Server configuration option management commands. diff --git a/Commands/sql/mi/server-configuration-option/_list.md b/Commands/sql/mi/server-configuration-option/_list.md new file mode 100644 index 00000000000..4406e8aac84 --- /dev/null +++ b/Commands/sql/mi/server-configuration-option/_list.md @@ -0,0 +1,16 @@ +# [Command] _sql mi server-configuration-option list_ + +List a list of managed instance server configuration options. + +## Versions + +### [2022-08-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zcWwvbWFuYWdlZGluc3RhbmNlcy97fS9zZXJ2ZXJjb25maWd1cmF0aW9ub3B0aW9ucw==/2022-08-01-preview.xml) **Stable** + + + +#### examples + +- List server configuration options on ManagedInstance_1 in ResourceGroup_1 + ```bash + sql mi server-configuration-option list -g 'ResourceGroup_1' --mi 'ManagedInstance_1' + ``` diff --git a/Commands/sql/mi/server-configuration-option/_set.md b/Commands/sql/mi/server-configuration-option/_set.md new file mode 100644 index 00000000000..69438cafc6c --- /dev/null +++ b/Commands/sql/mi/server-configuration-option/_set.md @@ -0,0 +1,16 @@ +# [Command] _sql mi server-configuration-option set_ + +Set managed instance server configuration option. + +## Versions + +### [2022-08-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zcWwvbWFuYWdlZGluc3RhbmNlcy97fS9zZXJ2ZXJjb25maWd1cmF0aW9ub3B0aW9ucy97fQ==/2022-08-01-preview.xml) **Stable** + + + +#### examples + +- Create server configuration option on ManagedInstance_1 in ResourceGroup_1 + ```bash + mi server-configuration-option set -g 'ResourceGroup_1' --mi 'ManagedInstance_1' --name 'allowPolybaseExport' --value '1' + ``` diff --git a/Commands/sql/mi/server-configuration-option/_show.md b/Commands/sql/mi/server-configuration-option/_show.md new file mode 100644 index 00000000000..77bd6660cbc --- /dev/null +++ b/Commands/sql/mi/server-configuration-option/_show.md @@ -0,0 +1,16 @@ +# [Command] _sql mi server-configuration-option show_ + +Get managed instance server configuration option. + +## Versions + +### [2022-08-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zcWwvbWFuYWdlZGluc3RhbmNlcy97fS9zZXJ2ZXJjb25maWd1cmF0aW9ub3B0aW9ucy97fQ==/2022-08-01-preview.xml) **Stable** + + + +#### examples + +- Show server configuration option allowPolybaseExport on ManagedInstance_1 in ResourceGroup_1 + ```bash + sql mi server-configuration-option show -g 'ResourceGroup_1' --mi 'ManagedInstance_1' --name allowPolybaseExport + ``` diff --git a/Commands/sql/mi/server-configuration-option/readme.md b/Commands/sql/mi/server-configuration-option/readme.md new file mode 100644 index 00000000000..73ad65aea4f --- /dev/null +++ b/Commands/sql/mi/server-configuration-option/readme.md @@ -0,0 +1,14 @@ +# [Group] _sql mi server-configuration-option_ + +Server configuration option management commands. + +## Commands + +- [list](/Commands/sql/mi/server-configuration-option/_list.md) +: List a list of managed instance server configuration options. + +- [set](/Commands/sql/mi/server-configuration-option/_set.md) +: Set managed instance server configuration option. + +- [show](/Commands/sql/mi/server-configuration-option/_show.md) +: Get managed instance server configuration option. diff --git a/Commands/tree.json b/Commands/tree.json index 29a4338fb19..c8047c404bd 100644 --- a/Commands/tree.json +++ b/Commands/tree.json @@ -61343,6 +61343,148 @@ "commandGroups": { "mi": { "commandGroups": { + "dtc": { + "commands": { + "create": { + "help": { + "short": "Create managed instance DTC settings." + }, + "names": [ + "sql", + "mi", + "dtc", + "create" + ], + "versions": [ + { + "name": "2022-08-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.sql/managedinstances/{}/dtc/{}", + "plane": "mgmt-plane", + "version": "2022-08-01-preview" + } + ] + } + ] + }, + "list": { + "help": { + "short": "List a list of managed instance DTC settings." + }, + "names": [ + "sql", + "mi", + "dtc", + "list" + ], + "versions": [ + { + "name": "2022-08-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.sql/managedinstances/{}/dtc", + "plane": "mgmt-plane", + "version": "2022-08-01-preview" + } + ] + } + ] + }, + "show": { + "help": { + "lines": [ + "This command gets managed instance DTC settings." + ], + "short": "Get managed instance DTC settings." + }, + "names": [ + "sql", + "mi", + "dtc", + "show" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "sql mi dtc show --g resourceGroup1 --managed-instance-name managedInstance1" + ], + "name": "Gets the managed instance DTC" + }, + { + "commands": [ + "sql mi dtc show --ids /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/ResourceGroup1/providers/Microsoft.Sql/managedInstances/ManagedInstance1/dtc/current" + ], + "name": "Gets the managed instance DTC with the specified resource ID" + } + ], + "name": "2022-08-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.sql/managedinstances/{}/dtc/{}", + "plane": "mgmt-plane", + "version": "2022-08-01-preview" + } + ] + } + ] + }, + "update": { + "help": { + "lines": [ + "This command updates the managed instance DTC settings. All parameters are optional." + ], + "short": "Update managed instance DTC settings." + }, + "names": [ + "sql", + "mi", + "dtc", + "update" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "sql mi dtc update -g resourceGroup1 --mi managedInstance1 --dtc-enabled true", + "sql mi dtc update --ids /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/ResourceGroup1/providers/Microsoft.Sql/managedInstances/ManagedInstance1/dtc/current --dtc-enabled true" + ], + "name": "Enable DTC on a managed instance" + }, + { + "commands": [ + "sql mi dtc update -g resourceGroup1 --mi managedInstance1 --xa-transactions-enabled true" + ], + "name": "Allow XA transactions for managed instance DTC" + } + ], + "name": "2022-08-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.sql/managedinstances/{}/dtc/{}", + "plane": "mgmt-plane", + "version": "2022-08-01-preview" + } + ] + } + ] + } + }, + "help": { + "lines": [ + "The managed instance DTC object can be fetched and updated using these commands." + ], + "short": "Commands related to managed instance DTC management." + }, + "names": [ + "sql", + "mi", + "dtc" + ] + }, "endpoint-cert": { "commands": { "list": { @@ -61654,6 +61796,111 @@ "mi", "partner-cert" ] + }, + "server-configuration-option": { + "commands": { + "list": { + "help": { + "short": "List a list of managed instance server configuration options." + }, + "names": [ + "sql", + "mi", + "server-configuration-option", + "list" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "sql mi server-configuration-option list -g 'ResourceGroup_1' --mi 'ManagedInstance_1'" + ], + "name": "List server configuration options on ManagedInstance_1 in ResourceGroup_1" + } + ], + "name": "2022-08-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.sql/managedinstances/{}/serverconfigurationoptions", + "plane": "mgmt-plane", + "version": "2022-08-01-preview" + } + ] + } + ] + }, + "set": { + "help": { + "short": "Set managed instance server configuration option." + }, + "names": [ + "sql", + "mi", + "server-configuration-option", + "set" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "mi server-configuration-option set -g 'ResourceGroup_1' --mi 'ManagedInstance_1' --name 'allowPolybaseExport' --value '1'" + ], + "name": "Create server configuration option on ManagedInstance_1 in ResourceGroup_1" + } + ], + "name": "2022-08-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.sql/managedinstances/{}/serverconfigurationoptions/{}", + "plane": "mgmt-plane", + "version": "2022-08-01-preview" + } + ] + } + ] + }, + "show": { + "help": { + "short": "Get managed instance server configuration option." + }, + "names": [ + "sql", + "mi", + "server-configuration-option", + "show" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "sql mi server-configuration-option show -g 'ResourceGroup_1' --mi 'ManagedInstance_1' --name allowPolybaseExport" + ], + "name": "Show server configuration option allowPolybaseExport on ManagedInstance_1 in ResourceGroup_1" + } + ], + "name": "2022-08-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.sql/managedinstances/{}/serverconfigurationoptions/{}", + "plane": "mgmt-plane", + "version": "2022-08-01-preview" + } + ] + } + ] + } + }, + "help": { + "short": "Server configuration option management commands." + }, + "names": [ + "sql", + "mi", + "server-configuration-option" + ] } }, "help": { diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zcWwvbWFuYWdlZGluc3RhbmNlcy97fS9kdGM=/2022-08-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zcWwvbWFuYWdlZGluc3RhbmNlcy97fS9kdGM=/2022-08-01-preview.json new file mode 100644 index 00000000000..94542f43c2d --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zcWwvbWFuYWdlZGluc3RhbmNlcy97fS9kdGM=/2022-08-01-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.sql/managedinstances/{}/dtc", "version": "2022-08-01-preview", "swagger": "mgmt-plane/sql/ResourceProviders/Microsoft.Sql/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL21hbmFnZWRJbnN0YW5jZXMve21hbmFnZWRJbnN0YW5jZU5hbWV9L2R0Yw==/V/MjAyMi0wOC0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "sql mi dtc", "commands": [{"name": "list", "version": "2022-08-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.sql/managedinstances/{}/dtc", "version": "2022-08-01-preview", "swagger": "mgmt-plane/sql/ResourceProviders/Microsoft.Sql/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL21hbmFnZWRJbnN0YW5jZXMve21hbmFnZWRJbnN0YW5jZU5hbWV9L2R0Yw==/V/MjAyMi0wOC0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.managedInstanceName", "options": ["managed-instance-name"], "required": true, "idPart": "name", "help": {"short": "The name of the managed instance."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "ManagedInstanceDtcs_ListByManagedInstance", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/dtc", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "managedInstanceName", "arg": "$Path.managedInstanceName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-08-01-preview"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "nextLink"}, {"readOnly": true, "type": "array", "name": "value", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Sql/managedInstances/{}/dtc/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "dtcEnabled"}, {"readOnly": true, "type": "string", "name": "dtcHostNameDnsSuffix"}, {"type": "array", "name": "externalDnsSuffixSearchList", "item": {"type": "string"}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Created"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "Succeeded"}]}}, {"type": "object", "name": "securitySettings", "props": [{"type": "boolean", "name": "snaLu6point2TransactionsEnabled"}, {"type": "object", "name": "transactionManagerCommunicationSettings", "props": [{"type": "boolean", "name": "allowInboundEnabled"}, {"type": "boolean", "name": "allowOutboundEnabled"}, {"type": "string", "name": "authentication"}]}, {"type": "integer32", "name": "xaTransactionsDefaultTimeout"}, {"type": "boolean", "name": "xaTransactionsEnabled"}, {"type": "integer32", "name": "xaTransactionsMaximumTimeout"}]}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zcWwvbWFuYWdlZGluc3RhbmNlcy97fS9kdGM=/2022-08-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zcWwvbWFuYWdlZGluc3RhbmNlcy97fS9kdGM=/2022-08-01-preview.xml new file mode 100644 index 00000000000..5e70a10f604 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zcWwvbWFuYWdlZGluc3RhbmNlcy97fS9kdGM=/2022-08-01-preview.xml @@ -0,0 +1,85 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zcWwvbWFuYWdlZGluc3RhbmNlcy97fS9kdGMve30=/2022-08-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zcWwvbWFuYWdlZGluc3RhbmNlcy97fS9kdGMve30=/2022-08-01-preview.json new file mode 100644 index 00000000000..8ea464c4e28 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zcWwvbWFuYWdlZGluc3RhbmNlcy97fS9kdGMve30=/2022-08-01-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.sql/managedinstances/{}/dtc/{}", "version": "2022-08-01-preview", "swagger": "mgmt-plane/sql/ResourceProviders/Microsoft.Sql/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL21hbmFnZWRJbnN0YW5jZXMve21hbmFnZWRJbnN0YW5jZU5hbWV9L2R0Yy97ZHRjTmFtZX0=/V/MjAyMi0wOC0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "sql mi dtc", "commands": [{"name": "show", "version": "2022-08-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.sql/managedinstances/{}/dtc/{}", "version": "2022-08-01-preview", "swagger": "mgmt-plane/sql/ResourceProviders/Microsoft.Sql/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL21hbmFnZWRJbnN0YW5jZXMve21hbmFnZWRJbnN0YW5jZU5hbWV9L2R0Yy97ZHRjTmFtZX0=/V/MjAyMi0wOC0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.dtcName", "options": ["n", "name", "dtc-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the managed instance DTC."}, "enum": {"items": [{"name": "current", "value": "current"}]}}, {"type": "string", "var": "$Path.managedInstanceName", "options": ["managed-instance-name"], "required": true, "idPart": "name", "help": {"short": "The name of the managed instance."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "ManagedInstanceDtcs_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/dtc/{dtcName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "dtcName", "arg": "$Path.dtcName", "required": true, "enum": {"items": [{"value": "current"}]}}, {"type": "string", "name": "managedInstanceName", "arg": "$Path.managedInstanceName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-08-01-preview"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Sql/managedInstances/{}/dtc/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "dtcEnabled"}, {"readOnly": true, "type": "string", "name": "dtcHostNameDnsSuffix"}, {"type": "array", "name": "externalDnsSuffixSearchList", "item": {"type": "string"}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Created"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "Succeeded"}]}}, {"type": "object", "name": "securitySettings", "props": [{"type": "boolean", "name": "snaLu6point2TransactionsEnabled"}, {"type": "object", "name": "transactionManagerCommunicationSettings", "props": [{"type": "boolean", "name": "allowInboundEnabled"}, {"type": "boolean", "name": "allowOutboundEnabled"}, {"type": "string", "name": "authentication"}]}, {"type": "integer32", "name": "xaTransactionsDefaultTimeout"}, {"type": "boolean", "name": "xaTransactionsEnabled"}, {"type": "integer32", "name": "xaTransactionsMaximumTimeout"}]}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}, {"name": "create", "version": "2022-08-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.sql/managedinstances/{}/dtc/{}", "version": "2022-08-01-preview", "swagger": "mgmt-plane/sql/ResourceProviders/Microsoft.Sql/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL21hbmFnZWRJbnN0YW5jZXMve21hbmFnZWRJbnN0YW5jZU5hbWV9L2R0Yy97ZHRjTmFtZX0=/V/MjAyMi0wOC0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.dtcName", "options": ["n", "name", "dtc-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the managed instance DTC."}, "enum": {"items": [{"name": "current", "value": "current"}]}}, {"type": "string", "var": "$Path.managedInstanceName", "options": ["managed-instance-name"], "required": true, "idPart": "name", "help": {"short": "The name of the managed instance."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Properties", "args": [{"type": "boolean", "var": "$parameters.properties.dtcEnabled", "options": ["dtc-enabled"], "group": "Properties", "help": {"short": "Active status of managed instance DTC."}}, {"type": "array", "var": "$parameters.properties.externalDnsSuffixSearchList", "options": ["external-dns-suffix-search-list"], "group": "Properties", "help": {"short": "External dns suffix search list of managed instance DTC."}, "item": {"type": "string"}}, {"type": "object", "var": "$parameters.properties.securitySettings", "options": ["security-settings"], "group": "Properties", "help": {"short": "Security settings of managed instance DTC."}, "args": [{"type": "boolean", "var": "$parameters.properties.securitySettings.snaLu6point2TransactionsEnabled", "options": ["sna-lu6point2-transactions-enabled"], "help": {"short": "Allow SNA LU 6.2 Transactions to managed instance DTC."}}, {"type": "object", "var": "$parameters.properties.securitySettings.transactionManagerCommunicationSettings", "options": ["transaction-manager-communication-settings"], "help": {"short": "Transaction Manager communication settings of managed instance DTC."}, "args": [{"type": "boolean", "var": "$parameters.properties.securitySettings.transactionManagerCommunicationSettings.allowInboundEnabled", "options": ["allow-inbound-enabled"], "help": {"short": "Allow Inbound traffic to managed instance DTC."}}, {"type": "boolean", "var": "$parameters.properties.securitySettings.transactionManagerCommunicationSettings.allowOutboundEnabled", "options": ["allow-outbound-enabled"], "help": {"short": "Allow Outbound traffic of managed instance DTC."}}, {"type": "string", "var": "$parameters.properties.securitySettings.transactionManagerCommunicationSettings.authentication", "options": ["authentication"], "help": {"short": "Authentication type of managed instance DTC."}}]}, {"type": "integer32", "var": "$parameters.properties.securitySettings.xaTransactionsDefaultTimeout", "options": ["xa-transactions-default-timeout"], "help": {"short": "Default timeout for XA Transactions (in seconds)."}}, {"type": "boolean", "var": "$parameters.properties.securitySettings.xaTransactionsEnabled", "options": ["xa-transactions-enabled"], "help": {"short": "Allow XA Transactions to managed instance DTC."}}, {"type": "integer32", "var": "$parameters.properties.securitySettings.xaTransactionsMaximumTimeout", "options": ["xa-transactions-maximum-timeout"], "help": {"short": "Maximum timeout for XA Transactions (in seconds)."}}]}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "ManagedInstanceDtcs_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/dtc/{dtcName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "dtcName", "arg": "$Path.dtcName", "required": true, "enum": {"items": [{"value": "current"}]}}, {"type": "string", "name": "managedInstanceName", "arg": "$Path.managedInstanceName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-08-01-preview"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"schema": {"type": "object", "name": "parameters", "required": true, "props": [{"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "dtcEnabled", "arg": "$parameters.properties.dtcEnabled"}, {"type": "array", "name": "externalDnsSuffixSearchList", "arg": "$parameters.properties.externalDnsSuffixSearchList", "item": {"type": "string"}}, {"type": "object", "name": "securitySettings", "arg": "$parameters.properties.securitySettings", "props": [{"type": "boolean", "name": "snaLu6point2TransactionsEnabled", "arg": "$parameters.properties.securitySettings.snaLu6point2TransactionsEnabled"}, {"type": "object", "name": "transactionManagerCommunicationSettings", "arg": "$parameters.properties.securitySettings.transactionManagerCommunicationSettings", "props": [{"type": "boolean", "name": "allowInboundEnabled", "arg": "$parameters.properties.securitySettings.transactionManagerCommunicationSettings.allowInboundEnabled"}, {"type": "boolean", "name": "allowOutboundEnabled", "arg": "$parameters.properties.securitySettings.transactionManagerCommunicationSettings.allowOutboundEnabled"}, {"type": "string", "name": "authentication", "arg": "$parameters.properties.securitySettings.transactionManagerCommunicationSettings.authentication"}]}, {"type": "integer32", "name": "xaTransactionsDefaultTimeout", "arg": "$parameters.properties.securitySettings.xaTransactionsDefaultTimeout"}, {"type": "boolean", "name": "xaTransactionsEnabled", "arg": "$parameters.properties.securitySettings.xaTransactionsEnabled"}, {"type": "integer32", "name": "xaTransactionsMaximumTimeout", "arg": "$parameters.properties.securitySettings.xaTransactionsMaximumTimeout"}]}], "clientFlatten": true}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Sql/managedInstances/{}/dtc/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "dtcEnabled"}, {"readOnly": true, "type": "string", "name": "dtcHostNameDnsSuffix"}, {"type": "array", "name": "externalDnsSuffixSearchList", "item": {"type": "string"}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Created"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "Succeeded"}]}}, {"type": "object", "name": "securitySettings", "props": [{"type": "boolean", "name": "snaLu6point2TransactionsEnabled"}, {"type": "object", "name": "transactionManagerCommunicationSettings", "props": [{"type": "boolean", "name": "allowInboundEnabled"}, {"type": "boolean", "name": "allowOutboundEnabled"}, {"type": "string", "name": "authentication"}]}, {"type": "integer32", "name": "xaTransactionsDefaultTimeout"}, {"type": "boolean", "name": "xaTransactionsEnabled"}, {"type": "integer32", "name": "xaTransactionsMaximumTimeout"}]}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "update", "version": "2022-08-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.sql/managedinstances/{}/dtc/{}", "version": "2022-08-01-preview", "swagger": "mgmt-plane/sql/ResourceProviders/Microsoft.Sql/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL21hbmFnZWRJbnN0YW5jZXMve21hbmFnZWRJbnN0YW5jZU5hbWV9L2R0Yy97ZHRjTmFtZX0=/V/MjAyMi0wOC0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.dtcName", "options": ["n", "name", "dtc-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the managed instance DTC."}, "enum": {"items": [{"name": "current", "value": "current"}]}}, {"type": "string", "var": "$Path.managedInstanceName", "options": ["managed-instance-name"], "required": true, "idPart": "name", "help": {"short": "The name of the managed instance."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Properties", "args": [{"nullable": true, "type": "boolean", "var": "$parameters.properties.dtcEnabled", "options": ["dtc-enabled"], "group": "Properties", "help": {"short": "Active status of managed instance DTC."}}, {"nullable": true, "type": "array", "var": "$parameters.properties.externalDnsSuffixSearchList", "options": ["external-dns-suffix-search-list"], "group": "Properties", "help": {"short": "External dns suffix search list of managed instance DTC."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "object", "var": "$parameters.properties.securitySettings", "options": ["security-settings"], "group": "Properties", "help": {"short": "Security settings of managed instance DTC."}, "args": [{"nullable": true, "type": "boolean", "var": "$parameters.properties.securitySettings.snaLu6point2TransactionsEnabled", "options": ["sna-lu6point2-transactions-enabled"], "help": {"short": "Allow SNA LU 6.2 Transactions to managed instance DTC."}}, {"nullable": true, "type": "object", "var": "$parameters.properties.securitySettings.transactionManagerCommunicationSettings", "options": ["transaction-manager-communication-settings"], "help": {"short": "Transaction Manager communication settings of managed instance DTC."}, "args": [{"nullable": true, "type": "boolean", "var": "$parameters.properties.securitySettings.transactionManagerCommunicationSettings.allowInboundEnabled", "options": ["allow-inbound-enabled"], "help": {"short": "Allow Inbound traffic to managed instance DTC."}}, {"nullable": true, "type": "boolean", "var": "$parameters.properties.securitySettings.transactionManagerCommunicationSettings.allowOutboundEnabled", "options": ["allow-outbound-enabled"], "help": {"short": "Allow Outbound traffic of managed instance DTC."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.securitySettings.transactionManagerCommunicationSettings.authentication", "options": ["authentication"], "help": {"short": "Authentication type of managed instance DTC."}}]}, {"nullable": true, "type": "integer32", "var": "$parameters.properties.securitySettings.xaTransactionsDefaultTimeout", "options": ["xa-transactions-default-timeout"], "help": {"short": "Default timeout for XA Transactions (in seconds)."}}, {"nullable": true, "type": "boolean", "var": "$parameters.properties.securitySettings.xaTransactionsEnabled", "options": ["xa-transactions-enabled"], "help": {"short": "Allow XA Transactions to managed instance DTC."}}, {"nullable": true, "type": "integer32", "var": "$parameters.properties.securitySettings.xaTransactionsMaximumTimeout", "options": ["xa-transactions-maximum-timeout"], "help": {"short": "Maximum timeout for XA Transactions (in seconds)."}}]}]}], "operations": [{"operationId": "ManagedInstanceDtcs_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/dtc/{dtcName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "dtcName", "arg": "$Path.dtcName", "required": true, "enum": {"items": [{"value": "current"}]}}, {"type": "string", "name": "managedInstanceName", "arg": "$Path.managedInstanceName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-08-01-preview"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Sql/managedInstances/{}/dtc/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "dtcEnabled"}, {"readOnly": true, "type": "string", "name": "dtcHostNameDnsSuffix"}, {"type": "array", "name": "externalDnsSuffixSearchList", "item": {"type": "string"}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Created"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "Succeeded"}]}}, {"type": "object", "name": "securitySettings", "props": [{"type": "boolean", "name": "snaLu6point2TransactionsEnabled"}, {"type": "object", "name": "transactionManagerCommunicationSettings", "props": [{"type": "boolean", "name": "allowInboundEnabled"}, {"type": "boolean", "name": "allowOutboundEnabled"}, {"type": "string", "name": "authentication"}]}, {"type": "integer32", "name": "xaTransactionsDefaultTimeout"}, {"type": "boolean", "name": "xaTransactionsEnabled"}, {"type": "integer32", "name": "xaTransactionsMaximumTimeout"}]}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "ManagedInstanceDtc_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "parameters", "required": true, "props": [{"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "dtcEnabled", "arg": "$parameters.properties.dtcEnabled"}, {"type": "array", "name": "externalDnsSuffixSearchList", "arg": "$parameters.properties.externalDnsSuffixSearchList", "item": {"type": "string"}}, {"type": "object", "name": "securitySettings", "arg": "$parameters.properties.securitySettings", "props": [{"type": "boolean", "name": "snaLu6point2TransactionsEnabled", "arg": "$parameters.properties.securitySettings.snaLu6point2TransactionsEnabled"}, {"type": "object", "name": "transactionManagerCommunicationSettings", "arg": "$parameters.properties.securitySettings.transactionManagerCommunicationSettings", "props": [{"type": "boolean", "name": "allowInboundEnabled", "arg": "$parameters.properties.securitySettings.transactionManagerCommunicationSettings.allowInboundEnabled"}, {"type": "boolean", "name": "allowOutboundEnabled", "arg": "$parameters.properties.securitySettings.transactionManagerCommunicationSettings.allowOutboundEnabled"}, {"type": "string", "name": "authentication", "arg": "$parameters.properties.securitySettings.transactionManagerCommunicationSettings.authentication"}]}, {"type": "integer32", "name": "xaTransactionsDefaultTimeout", "arg": "$parameters.properties.securitySettings.xaTransactionsDefaultTimeout"}, {"type": "boolean", "name": "xaTransactionsEnabled", "arg": "$parameters.properties.securitySettings.xaTransactionsEnabled"}, {"type": "integer32", "name": "xaTransactionsMaximumTimeout", "arg": "$parameters.properties.securitySettings.xaTransactionsMaximumTimeout"}]}], "clientFlatten": true}], "clientFlatten": true}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "ManagedInstanceDtcs_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/dtc/{dtcName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "dtcName", "arg": "$Path.dtcName", "required": true, "enum": {"items": [{"value": "current"}]}}, {"type": "string", "name": "managedInstanceName", "arg": "$Path.managedInstanceName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-08-01-preview"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "@ManagedInstanceDtc_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zcWwvbWFuYWdlZGluc3RhbmNlcy97fS9kdGMve30=/2022-08-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zcWwvbWFuYWdlZGluc3RhbmNlcy97fS9kdGMve30=/2022-08-01-preview.xml new file mode 100644 index 00000000000..2da2ecdd549 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zcWwvbWFuYWdlZGluc3RhbmNlcy97fS9kdGMve30=/2022-08-01-preview.xml @@ -0,0 +1,421 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zcWwvbWFuYWdlZGluc3RhbmNlcy97fS9zZXJ2ZXJjb25maWd1cmF0aW9ub3B0aW9ucw==/2022-08-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zcWwvbWFuYWdlZGluc3RhbmNlcy97fS9zZXJ2ZXJjb25maWd1cmF0aW9ub3B0aW9ucw==/2022-08-01-preview.json new file mode 100644 index 00000000000..3fa3e75bf07 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zcWwvbWFuYWdlZGluc3RhbmNlcy97fS9zZXJ2ZXJjb25maWd1cmF0aW9ub3B0aW9ucw==/2022-08-01-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.sql/managedinstances/{}/serverconfigurationoptions", "version": "2022-08-01-preview", "swagger": "mgmt-plane/sql/ResourceProviders/Microsoft.Sql/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL21hbmFnZWRJbnN0YW5jZXMve21hbmFnZWRJbnN0YW5jZU5hbWV9L3NlcnZlckNvbmZpZ3VyYXRpb25PcHRpb25z/V/MjAyMi0wOC0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "sql mi server-configuration-option", "commands": [{"name": "list", "version": "2022-08-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.sql/managedinstances/{}/serverconfigurationoptions", "version": "2022-08-01-preview", "swagger": "mgmt-plane/sql/ResourceProviders/Microsoft.Sql/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL21hbmFnZWRJbnN0YW5jZXMve21hbmFnZWRJbnN0YW5jZU5hbWV9L3NlcnZlckNvbmZpZ3VyYXRpb25PcHRpb25z/V/MjAyMi0wOC0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.managedInstanceName", "options": ["mi", "instance-name", "managed-instance", "managed-instance-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Name of the managed instance."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "ServerConfigurationOptions_ListByManagedInstance", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/serverConfigurationOptions", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "managedInstanceName", "arg": "$Path.managedInstanceName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-08-01-preview"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "nextLink"}, {"readOnly": true, "type": "array", "name": "value", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Sql/managedInstances/{}/serverConfigurationOptions/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Created"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "Succeeded"}]}}, {"type": "integer32", "name": "serverConfigurationOptionValue", "required": true}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zcWwvbWFuYWdlZGluc3RhbmNlcy97fS9zZXJ2ZXJjb25maWd1cmF0aW9ub3B0aW9ucw==/2022-08-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zcWwvbWFuYWdlZGluc3RhbmNlcy97fS9zZXJ2ZXJjb25maWd1cmF0aW9ub3B0aW9ucw==/2022-08-01-preview.xml new file mode 100644 index 00000000000..112ea9ce760 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zcWwvbWFuYWdlZGluc3RhbmNlcy97fS9zZXJ2ZXJjb25maWd1cmF0aW9ub3B0aW9ucw==/2022-08-01-preview.xml @@ -0,0 +1,70 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zcWwvbWFuYWdlZGluc3RhbmNlcy97fS9zZXJ2ZXJjb25maWd1cmF0aW9ub3B0aW9ucy97fQ==/2022-08-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zcWwvbWFuYWdlZGluc3RhbmNlcy97fS9zZXJ2ZXJjb25maWd1cmF0aW9ub3B0aW9ucy97fQ==/2022-08-01-preview.json new file mode 100644 index 00000000000..da3b22083d7 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zcWwvbWFuYWdlZGluc3RhbmNlcy97fS9zZXJ2ZXJjb25maWd1cmF0aW9ub3B0aW9ucy97fQ==/2022-08-01-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.sql/managedinstances/{}/serverconfigurationoptions/{}", "version": "2022-08-01-preview", "swagger": "mgmt-plane/sql/ResourceProviders/Microsoft.Sql/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL21hbmFnZWRJbnN0YW5jZXMve21hbmFnZWRJbnN0YW5jZU5hbWV9L3NlcnZlckNvbmZpZ3VyYXRpb25PcHRpb25zL3tzZXJ2ZXJDb25maWd1cmF0aW9uT3B0aW9uTmFtZX0=/V/MjAyMi0wOC0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "sql mi server-configuration-option", "commands": [{"name": "show", "version": "2022-08-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.sql/managedinstances/{}/serverconfigurationoptions/{}", "version": "2022-08-01-preview", "swagger": "mgmt-plane/sql/ResourceProviders/Microsoft.Sql/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL21hbmFnZWRJbnN0YW5jZXMve21hbmFnZWRJbnN0YW5jZU5hbWV9L3NlcnZlckNvbmZpZ3VyYXRpb25PcHRpb25zL3tzZXJ2ZXJDb25maWd1cmF0aW9uT3B0aW9uTmFtZX0=/V/MjAyMi0wOC0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.managedInstanceName", "options": ["mi", "instance-name", "managed-instance", "managed-instance-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Name of the managed instance."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serverConfigurationOptionName", "options": ["n", "name", "server-configuration-option-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "Name of the server configuration option."}, "enum": {"items": [{"name": "allowPolybaseExport", "value": "allowPolybaseExport"}]}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "ServerConfigurationOptions_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/serverConfigurationOptions/{serverConfigurationOptionName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "managedInstanceName", "arg": "$Path.managedInstanceName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "serverConfigurationOptionName", "arg": "$Path.serverConfigurationOptionName", "required": true, "enum": {"items": [{"value": "allowPolybaseExport"}]}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-08-01-preview"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Sql/managedInstances/{}/serverConfigurationOptions/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Created"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "Succeeded"}]}}, {"type": "integer32", "name": "serverConfigurationOptionValue", "required": true}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "set", "version": "2022-08-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.sql/managedinstances/{}/serverconfigurationoptions/{}", "version": "2022-08-01-preview", "swagger": "mgmt-plane/sql/ResourceProviders/Microsoft.Sql/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL21hbmFnZWRJbnN0YW5jZXMve21hbmFnZWRJbnN0YW5jZU5hbWV9L3NlcnZlckNvbmZpZ3VyYXRpb25PcHRpb25zL3tzZXJ2ZXJDb25maWd1cmF0aW9uT3B0aW9uTmFtZX0=/V/MjAyMi0wOC0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.managedInstanceName", "options": ["mi", "instance-name", "managed-instance", "managed-instance-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Name of the managed instance."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serverConfigurationOptionName", "options": ["n", "name", "server-configuration-option-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "Name of the server configuration option."}, "enum": {"items": [{"name": "allowPolybaseExport", "value": "allowPolybaseExport"}]}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Properties", "args": [{"type": "integer32", "var": "$parameters.properties.serverConfigurationOptionValue", "options": ["value", "server-configuration-option-value"], "group": "Properties", "help": {"short": "Value of the server configuration option."}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "ServerConfigurationOptions_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/serverConfigurationOptions/{serverConfigurationOptionName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "managedInstanceName", "arg": "$Path.managedInstanceName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "serverConfigurationOptionName", "arg": "$Path.serverConfigurationOptionName", "required": true, "enum": {"items": [{"value": "allowPolybaseExport"}]}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-08-01-preview"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"schema": {"type": "object", "name": "parameters", "required": true, "props": [{"type": "object", "name": "properties", "props": [{"type": "integer32", "name": "serverConfigurationOptionValue", "arg": "$parameters.properties.serverConfigurationOptionValue", "required": true}], "clientFlatten": true}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Sql/managedInstances/{}/serverConfigurationOptions/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Created"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "Succeeded"}]}}, {"type": "integer32", "name": "serverConfigurationOptionValue", "required": true}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zcWwvbWFuYWdlZGluc3RhbmNlcy97fS9zZXJ2ZXJjb25maWd1cmF0aW9ub3B0aW9ucy97fQ==/2022-08-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zcWwvbWFuYWdlZGluc3RhbmNlcy97fS9zZXJ2ZXJjb25maWd1cmF0aW9ub3B0aW9ucy97fQ==/2022-08-01-preview.xml new file mode 100644 index 00000000000..d60beca865a --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zcWwvbWFuYWdlZGluc3RhbmNlcy97fS9zZXJ2ZXJjb25maWd1cmF0aW9ub3B0aW9ucy97fQ==/2022-08-01-preview.xml @@ -0,0 +1,161 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +