forked from Azure/azure-cli-extensions
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request Azure#152 from ostojicb/ob_cetas
Bump `az sql mi` models
- Loading branch information
Showing
19 changed files
with
1,140 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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** | ||
|
||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.sql/managedinstances/{}/dtc/{} 2022-08-01-preview --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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** | ||
|
||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.sql/managedinstances/{}/dtc 2022-08-01-preview --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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** | ||
|
||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.sql/managedinstances/{}/dtc/{} 2022-08-01-preview --> | ||
|
||
#### 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 | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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** | ||
|
||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.sql/managedinstances/{}/dtc/{} 2022-08-01-preview --> | ||
|
||
#### 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 | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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** | ||
|
||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.sql/managedinstances/{}/serverconfigurationoptions 2022-08-01-preview --> | ||
|
||
#### examples | ||
|
||
- List server configuration options on ManagedInstance_1 in ResourceGroup_1 | ||
```bash | ||
sql mi server-configuration-option list -g 'ResourceGroup_1' --mi 'ManagedInstance_1' | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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** | ||
|
||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.sql/managedinstances/{}/serverconfigurationoptions/{} 2022-08-01-preview --> | ||
|
||
#### 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' | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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** | ||
|
||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.sql/managedinstances/{}/serverconfigurationoptions/{} 2022-08-01-preview --> | ||
|
||
#### 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 | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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. |
Oops, something went wrong.