Skip to content

Commit

Permalink
Merge pull request Azure#152 from ostojicb/ob_cetas
Browse files Browse the repository at this point in the history
Bump `az sql mi` models
  • Loading branch information
kairu-ms authored May 12, 2023
2 parents 4706dd2 + 9b7f752 commit a56fe70
Show file tree
Hide file tree
Showing 19 changed files with 1,140 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Commands/sql/mi/dtc/_create.md
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 -->
9 changes: 9 additions & 0 deletions Commands/sql/mi/dtc/_list.md
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 -->
23 changes: 23 additions & 0 deletions Commands/sql/mi/dtc/_show.md
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
```
24 changes: 24 additions & 0 deletions Commands/sql/mi/dtc/_update.md
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
```
19 changes: 19 additions & 0 deletions Commands/sql/mi/dtc/readme.md
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.
6 changes: 6 additions & 0 deletions Commands/sql/mi/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand All @@ -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.
16 changes: 16 additions & 0 deletions Commands/sql/mi/server-configuration-option/_list.md
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'
```
16 changes: 16 additions & 0 deletions Commands/sql/mi/server-configuration-option/_set.md
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'
```
16 changes: 16 additions & 0 deletions Commands/sql/mi/server-configuration-option/_show.md
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
```
14 changes: 14 additions & 0 deletions Commands/sql/mi/server-configuration-option/readme.md
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.
Loading

0 comments on commit a56fe70

Please sign in to comment.