Skip to content

Commit

Permalink
Merge pull request Azure#20 from ostojicb/ob_link_cert_models
Browse files Browse the repository at this point in the history
Refresh `az sql mi` models' descriptions
  • Loading branch information
necusjz authored Aug 30, 2022
2 parents d450a9e + 312b3a3 commit c28e8ae
Show file tree
Hide file tree
Showing 30 changed files with 135 additions and 119 deletions.
2 changes: 1 addition & 1 deletion Commands/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@
: Manage Microsoft Sentinel.

- [sql](/Commands/sql/readme.md)
: Sql
: Manage Azure SQL Databases and Data Warehouses.
2 changes: 1 addition & 1 deletion Commands/sql/mi/endpoint-cert/_show.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# [Command] _sql mi endpoint-cert show_

Gets a certificate used on the endpoint with the given id.
Get a certificate used on the endpoint with the given id.

## Versions

Expand Down
4 changes: 2 additions & 2 deletions Commands/sql/mi/endpoint-cert/readme.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# [Group] _sql mi endpoint-cert_

Returns information about one or more instance of endpoint certificate on an Azure SQL Managed Instance.
Endpoint certificates management commands.

## Commands

- [list](/Commands/sql/mi/endpoint-cert/_list.md)
: List certificates used on endpoints on the target instance.

- [show](/Commands/sql/mi/endpoint-cert/_show.md)
: Gets a certificate used on the endpoint with the given id.
: Get a certificate used on the endpoint with the given id.
2 changes: 1 addition & 1 deletion Commands/sql/mi/link/_create.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# [Command] _sql mi link create_

Create an Instace link between Sql On-Prem and Sql Managed Instance.
Create a distributed availability group between Sql On-Prem and Sql Managed Instance.

## Versions

Expand Down
2 changes: 1 addition & 1 deletion Commands/sql/mi/link/_delete.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# [Command] _sql mi link delete_

Drop an Instance link between Sql On-Prem and Sql Managed Instance.
Drop a distributed availability group between Sql On-Prem and Sql Managed Instance.

## Versions

Expand Down
2 changes: 1 addition & 1 deletion Commands/sql/mi/link/_list.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# [Command] _sql mi link list_

Get a list of instance links on a given SQL Managed Instance.
Get a list of a distributed availability groups in instance.

## Versions

Expand Down
2 changes: 1 addition & 1 deletion Commands/sql/mi/link/_show.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# [Command] _sql mi link show_

Get an Instance link.
Get a distributed availability group info.

## Versions

Expand Down
2 changes: 1 addition & 1 deletion Commands/sql/mi/link/_update.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# [Command] _sql mi link update_

Update the Instance link between Sql On-Prem and Sql Managed Instance.
Update a distributed availability group between Sql On-Prem and Sql Managed Instance.

## Versions

Expand Down
10 changes: 5 additions & 5 deletions Commands/sql/mi/link/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@ Instance link management commands.
## Commands

- [create](/Commands/sql/mi/link/_create.md)
: Create an Instace link between Sql On-Prem and Sql Managed Instance.
: Create a distributed availability group between Sql On-Prem and Sql Managed Instance.

- [delete](/Commands/sql/mi/link/_delete.md)
: Drop an Instance link between Sql On-Prem and Sql Managed Instance.
: Drop a distributed availability group between Sql On-Prem and Sql Managed Instance.

- [list](/Commands/sql/mi/link/_list.md)
: Get a list of instance links on a given SQL Managed Instance.
: Get a list of a distributed availability groups in instance.

- [show](/Commands/sql/mi/link/_show.md)
: Get an Instance link.
: Get a distributed availability group info.

- [update](/Commands/sql/mi/link/_update.md)
: Update the Instance link between Sql On-Prem and Sql Managed Instance.
: Update a distributed availability group between Sql On-Prem and Sql Managed Instance.
2 changes: 1 addition & 1 deletion Commands/sql/mi/partner-cert/_create.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# [Command] _sql mi partner-cert create_

Uploads a server trust certificate from box to Sql Managed Instance.
Upload a server trust certificate from box to Sql Managed Instance.

## Versions

Expand Down
2 changes: 1 addition & 1 deletion Commands/sql/mi/partner-cert/_delete.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# [Command] _sql mi partner-cert delete_

Deletes a server trust certificate that was uploaded from box to Sql Managed Instance.
Delete a server trust certificate that was uploaded from box to Sql Managed Instance.

## Versions

Expand Down
2 changes: 1 addition & 1 deletion Commands/sql/mi/partner-cert/_list.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# [Command] _sql mi partner-cert list_

Gets a list of server trust certificates that were uploaded from box to the given Sql Managed Instance.
Get a list of server trust certificates that were uploaded from box to the given Sql Managed Instance.

## Versions

Expand Down
2 changes: 1 addition & 1 deletion Commands/sql/mi/partner-cert/_show.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# [Command] _sql mi partner-cert show_

Gets a server trust certificate that was uploaded from box to Sql Managed Instance.
Get a server trust certificate that was uploaded from box to Sql Managed Instance.

## Versions

Expand Down
2 changes: 1 addition & 1 deletion Commands/sql/mi/partner-cert/_update.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# [Command] _sql mi partner-cert update_

Uploads a server trust certificate from box to Sql Managed Instance.
Upload a server trust certificate from box to Sql Managed Instance.

## Versions

Expand Down
12 changes: 6 additions & 6 deletions Commands/sql/mi/partner-cert/readme.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
# [Group] _sql mi partner-cert_

Server trust certificate management API.
Server trust certificate management commands.

## Commands

- [create](/Commands/sql/mi/partner-cert/_create.md)
: Uploads a server trust certificate from box to Sql Managed Instance.
: Upload a server trust certificate from box to Sql Managed Instance.

- [delete](/Commands/sql/mi/partner-cert/_delete.md)
: Deletes a server trust certificate that was uploaded from box to Sql Managed Instance.
: Delete a server trust certificate that was uploaded from box to Sql Managed Instance.

- [list](/Commands/sql/mi/partner-cert/_list.md)
: Gets a list of server trust certificates that were uploaded from box to the given Sql Managed Instance.
: Get a list of server trust certificates that were uploaded from box to the given Sql Managed Instance.

- [show](/Commands/sql/mi/partner-cert/_show.md)
: Gets a server trust certificate that was uploaded from box to Sql Managed Instance.
: Get a server trust certificate that was uploaded from box to Sql Managed Instance.

- [update](/Commands/sql/mi/partner-cert/_update.md)
: Uploads a server trust certificate from box to Sql Managed Instance.
: Upload a server trust certificate from box to Sql Managed Instance.
6 changes: 3 additions & 3 deletions Commands/sql/mi/readme.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# [Group] _sql mi_

az sql
Manage SQL managed instances.

## Subgroups

- [endpoint-cert](/Commands/sql/mi/endpoint-cert/readme.md)
: Returns information about one or more instance of endpoint certificate on an Azure SQL Managed Instance.
: Endpoint certificates management commands.

- [link](/Commands/sql/mi/link/readme.md)
: Instance link management commands.

- [partner-cert](/Commands/sql/mi/partner-cert/readme.md)
: Server trust certificate management API.
: Server trust certificate management commands.
4 changes: 2 additions & 2 deletions Commands/sql/readme.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# [Group] _sql_

Sql
Manage Azure SQL Databases and Data Warehouses.

## Subgroups

- [mi](/Commands/sql/mi/readme.md)
: az sql
: Manage SQL managed instances.
30 changes: 15 additions & 15 deletions Commands/tree.json
Original file line number Diff line number Diff line change
Expand Up @@ -8858,7 +8858,7 @@
},
"show": {
"help": {
"short": "Gets a certificate used on the endpoint with the given id."
"short": "Get a certificate used on the endpoint with the given id."
},
"names": [
"sql",
Expand All @@ -8881,7 +8881,7 @@
}
},
"help": {
"short": "Returns information about one or more instance of endpoint certificate on an Azure SQL Managed Instance."
"short": "Endpoint certificates management commands."
},
"names": [
"sql",
Expand All @@ -8893,7 +8893,7 @@
"commands": {
"create": {
"help": {
"short": "Create an Instace link between Sql On-Prem and Sql Managed Instance."
"short": "Create a distributed availability group between Sql On-Prem and Sql Managed Instance."
},
"names": [
"sql",
Expand All @@ -8916,7 +8916,7 @@
},
"delete": {
"help": {
"short": "Drop an Instance link between Sql On-Prem and Sql Managed Instance."
"short": "Drop a distributed availability group between Sql On-Prem and Sql Managed Instance."
},
"names": [
"sql",
Expand All @@ -8939,7 +8939,7 @@
},
"list": {
"help": {
"short": "Get a list of instance links on a given SQL Managed Instance."
"short": "Get a list of a distributed availability groups in instance."
},
"names": [
"sql",
Expand All @@ -8962,7 +8962,7 @@
},
"show": {
"help": {
"short": "Get an Instance link."
"short": "Get a distributed availability group info."
},
"names": [
"sql",
Expand All @@ -8985,7 +8985,7 @@
},
"update": {
"help": {
"short": "Update the Instance link between Sql On-Prem and Sql Managed Instance."
"short": "Update a distributed availability group between Sql On-Prem and Sql Managed Instance."
},
"names": [
"sql",
Expand Down Expand Up @@ -9020,7 +9020,7 @@
"commands": {
"create": {
"help": {
"short": "Uploads a server trust certificate from box to Sql Managed Instance."
"short": "Upload a server trust certificate from box to Sql Managed Instance."
},
"names": [
"sql",
Expand All @@ -9043,7 +9043,7 @@
},
"delete": {
"help": {
"short": "Deletes a server trust certificate that was uploaded from box to Sql Managed Instance."
"short": "Delete a server trust certificate that was uploaded from box to Sql Managed Instance."
},
"names": [
"sql",
Expand All @@ -9066,7 +9066,7 @@
},
"list": {
"help": {
"short": "Gets a list of server trust certificates that were uploaded from box to the given Sql Managed Instance."
"short": "Get a list of server trust certificates that were uploaded from box to the given Sql Managed Instance."
},
"names": [
"sql",
Expand All @@ -9089,7 +9089,7 @@
},
"show": {
"help": {
"short": "Gets a server trust certificate that was uploaded from box to Sql Managed Instance."
"short": "Get a server trust certificate that was uploaded from box to Sql Managed Instance."
},
"names": [
"sql",
Expand All @@ -9112,7 +9112,7 @@
},
"update": {
"help": {
"short": "Uploads a server trust certificate from box to Sql Managed Instance."
"short": "Upload a server trust certificate from box to Sql Managed Instance."
},
"names": [
"sql",
Expand All @@ -9135,7 +9135,7 @@
}
},
"help": {
"short": "Server trust certificate management API."
"short": "Server trust certificate management commands."
},
"names": [
"sql",
Expand All @@ -9145,7 +9145,7 @@
}
},
"help": {
"short": "az sql"
"short": "Manage SQL managed instances."
},
"names": [
"sql",
Expand All @@ -9154,7 +9154,7 @@
}
},
"help": {
"short": "Sql"
"short": "Manage Azure SQL Databases and Data Warehouses."
},
"names": [
"sql"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,14 @@
"type": "string",
"var": "$Path.managedInstanceName",
"options": [
"mi",
"instance-name",
"managed-instance",
"managed-instance-name"
],
"required": true,
"help": {
"short": "The name of the managed instance."
"short": "Name of the managed instance."
}
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<command name="list" version="2022-02-01-preview">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.sql/managedinstances/{}/distributedavailabilitygroups" version="2022-02-01-preview" swagger="mgmt-plane/sql/ResourceProviders/Microsoft.Sql/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL21hbmFnZWRJbnN0YW5jZXMve21hbmFnZWRJbnN0YW5jZU5hbWV9L2Rpc3RyaWJ1dGVkQXZhaWxhYmlsaXR5R3JvdXBz/V/MjAyMi0wMi0wMS1wcmV2aWV3"/>
<argGroup name="">
<arg type="string" var="$Path.managedInstanceName" options="managed-instance-name instance-name" required="True">
<help short="The name of the managed instance."/>
<arg type="string" var="$Path.managedInstanceName" options="managed-instance-name managed-instance instance-name mi" required="True">
<help short="Name of the managed instance."/>
</arg>
<arg type="ResourceGroupName" var="$Path.resourceGroupName" options="resource-group g" required="True"/>
<arg type="SubscriptionId" var="$Path.subscriptionId" options="subscription" required="True"/>
Expand Down
Loading

0 comments on commit c28e8ae

Please sign in to comment.