From a399068a359a292e657946e83e1442769af3c1aa Mon Sep 17 00:00:00 2001 From: Bogdan Ostojic Date: Wed, 24 Aug 2022 14:08:59 +0200 Subject: [PATCH 1/3] Add models for az sql mi link, partner-cert and endpoint-cert --- Commands/readme.md | 3 + Commands/sql/mi/endpoint-cert/_list.md | 9 + Commands/sql/mi/endpoint-cert/_show.md | 9 + Commands/sql/mi/endpoint-cert/readme.md | 11 + Commands/sql/mi/link/_create.md | 9 + Commands/sql/mi/link/_delete.md | 9 + Commands/sql/mi/link/_list.md | 9 + Commands/sql/mi/link/_show.md | 9 + Commands/sql/mi/link/_update.md | 9 + Commands/sql/mi/link/readme.md | 20 + Commands/sql/mi/partner-cert/_create.md | 9 + Commands/sql/mi/partner-cert/_delete.md | 9 + Commands/sql/mi/partner-cert/_list.md | 9 + Commands/sql/mi/partner-cert/_show.md | 9 + Commands/sql/mi/partner-cert/_update.md | 9 + Commands/sql/mi/partner-cert/readme.md | 20 + Commands/sql/mi/readme.md | 14 + Commands/sql/readme.md | 8 + Commands/tree.json | 333 +++++ .../2022-02-01-preview.json | 248 ++++ .../2022-02-01-preview.xml | 75 + .../2022-02-01-preview.json | 1218 +++++++++++++++++ .../2022-02-01-preview.xml | 369 +++++ .../2022-02-01-preview.json | 193 +++ .../2022-02-01-preview.xml | 61 + .../2022-02-01-preview.json | 197 +++ .../2022-02-01-preview.xml | 60 + .../2022-02-01-preview.json | 203 +++ .../2022-02-01-preview.xml | 63 + .../2022-02-01-preview.json | 919 +++++++++++++ .../2022-02-01-preview.xml | 283 ++++ 31 files changed, 4406 insertions(+) create mode 100644 Commands/sql/mi/endpoint-cert/_list.md create mode 100644 Commands/sql/mi/endpoint-cert/_show.md create mode 100644 Commands/sql/mi/endpoint-cert/readme.md create mode 100644 Commands/sql/mi/link/_create.md create mode 100644 Commands/sql/mi/link/_delete.md create mode 100644 Commands/sql/mi/link/_list.md create mode 100644 Commands/sql/mi/link/_show.md create mode 100644 Commands/sql/mi/link/_update.md create mode 100644 Commands/sql/mi/link/readme.md create mode 100644 Commands/sql/mi/partner-cert/_create.md create mode 100644 Commands/sql/mi/partner-cert/_delete.md create mode 100644 Commands/sql/mi/partner-cert/_list.md create mode 100644 Commands/sql/mi/partner-cert/_show.md create mode 100644 Commands/sql/mi/partner-cert/_update.md create mode 100644 Commands/sql/mi/partner-cert/readme.md create mode 100644 Commands/sql/mi/readme.md create mode 100644 Commands/sql/readme.md create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zcWwvbWFuYWdlZGluc3RhbmNlcy97fS9kaXN0cmlidXRlZGF2YWlsYWJpbGl0eWdyb3Vwcw==/2022-02-01-preview.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zcWwvbWFuYWdlZGluc3RhbmNlcy97fS9kaXN0cmlidXRlZGF2YWlsYWJpbGl0eWdyb3Vwcw==/2022-02-01-preview.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zcWwvbWFuYWdlZGluc3RhbmNlcy97fS9kaXN0cmlidXRlZGF2YWlsYWJpbGl0eWdyb3Vwcy97fQ==/2022-02-01-preview.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zcWwvbWFuYWdlZGluc3RhbmNlcy97fS9kaXN0cmlidXRlZGF2YWlsYWJpbGl0eWdyb3Vwcy97fQ==/2022-02-01-preview.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zcWwvbWFuYWdlZGluc3RhbmNlcy97fS9lbmRwb2ludGNlcnRpZmljYXRlcw==/2022-02-01-preview.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zcWwvbWFuYWdlZGluc3RhbmNlcy97fS9lbmRwb2ludGNlcnRpZmljYXRlcw==/2022-02-01-preview.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zcWwvbWFuYWdlZGluc3RhbmNlcy97fS9lbmRwb2ludGNlcnRpZmljYXRlcy97fQ==/2022-02-01-preview.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zcWwvbWFuYWdlZGluc3RhbmNlcy97fS9lbmRwb2ludGNlcnRpZmljYXRlcy97fQ==/2022-02-01-preview.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zcWwvbWFuYWdlZGluc3RhbmNlcy97fS9zZXJ2ZXJ0cnVzdGNlcnRpZmljYXRlcw==/2022-02-01-preview.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zcWwvbWFuYWdlZGluc3RhbmNlcy97fS9zZXJ2ZXJ0cnVzdGNlcnRpZmljYXRlcw==/2022-02-01-preview.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zcWwvbWFuYWdlZGluc3RhbmNlcy97fS9zZXJ2ZXJ0cnVzdGNlcnRpZmljYXRlcy97fQ==/2022-02-01-preview.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zcWwvbWFuYWdlZGluc3RhbmNlcy97fS9zZXJ2ZXJ0cnVzdGNlcnRpZmljYXRlcy97fQ==/2022-02-01-preview.xml diff --git a/Commands/readme.md b/Commands/readme.md index c2635e485..d238bd3de 100644 --- a/Commands/readme.md +++ b/Commands/readme.md @@ -4,3 +4,6 @@ - [change-analysis](/Commands/change-analysis/readme.md) : List changes for resources + +- [sql](/Commands/sql/readme.md) +: Sql diff --git a/Commands/sql/mi/endpoint-cert/_list.md b/Commands/sql/mi/endpoint-cert/_list.md new file mode 100644 index 000000000..b04af7ad0 --- /dev/null +++ b/Commands/sql/mi/endpoint-cert/_list.md @@ -0,0 +1,9 @@ +# [Command] _sql mi endpoint-cert list_ + +List certificates used on endpoints on the target instance. + +## Versions + +### [2022-02-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zcWwvbWFuYWdlZGluc3RhbmNlcy97fS9lbmRwb2ludGNlcnRpZmljYXRlcw==/2022-02-01-preview.xml) **Stable** + + diff --git a/Commands/sql/mi/endpoint-cert/_show.md b/Commands/sql/mi/endpoint-cert/_show.md new file mode 100644 index 000000000..77f883240 --- /dev/null +++ b/Commands/sql/mi/endpoint-cert/_show.md @@ -0,0 +1,9 @@ +# [Command] _sql mi endpoint-cert show_ + +Gets a certificate used on the endpoint with the given id. + +## Versions + +### [2022-02-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zcWwvbWFuYWdlZGluc3RhbmNlcy97fS9lbmRwb2ludGNlcnRpZmljYXRlcy97fQ==/2022-02-01-preview.xml) **Stable** + + diff --git a/Commands/sql/mi/endpoint-cert/readme.md b/Commands/sql/mi/endpoint-cert/readme.md new file mode 100644 index 000000000..f8531ceb1 --- /dev/null +++ b/Commands/sql/mi/endpoint-cert/readme.md @@ -0,0 +1,11 @@ +# [Group] _sql mi endpoint-cert_ + +Returns information about one or more instance of endpoint certificate on an Azure SQL Managed Instance. + +## 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. diff --git a/Commands/sql/mi/link/_create.md b/Commands/sql/mi/link/_create.md new file mode 100644 index 000000000..901fe012d --- /dev/null +++ b/Commands/sql/mi/link/_create.md @@ -0,0 +1,9 @@ +# [Command] _sql mi link create_ + +Creates a distributed availability group between Sql On-Prem and Sql Managed Instance. + +## Versions + +### [2022-02-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zcWwvbWFuYWdlZGluc3RhbmNlcy97fS9kaXN0cmlidXRlZGF2YWlsYWJpbGl0eWdyb3Vwcy97fQ==/2022-02-01-preview.xml) **Stable** + + diff --git a/Commands/sql/mi/link/_delete.md b/Commands/sql/mi/link/_delete.md new file mode 100644 index 000000000..7b5d55cb8 --- /dev/null +++ b/Commands/sql/mi/link/_delete.md @@ -0,0 +1,9 @@ +# [Command] _sql mi link delete_ + +Drops a distributed availability group between Sql On-Prem and Sql Managed Instance. + +## Versions + +### [2022-02-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zcWwvbWFuYWdlZGluc3RhbmNlcy97fS9kaXN0cmlidXRlZGF2YWlsYWJpbGl0eWdyb3Vwcy97fQ==/2022-02-01-preview.xml) **Stable** + + diff --git a/Commands/sql/mi/link/_list.md b/Commands/sql/mi/link/_list.md new file mode 100644 index 000000000..b1e71be25 --- /dev/null +++ b/Commands/sql/mi/link/_list.md @@ -0,0 +1,9 @@ +# [Command] _sql mi link list_ + +Gets a list of a distributed availability groups in instance. + +## Versions + +### [2022-02-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zcWwvbWFuYWdlZGluc3RhbmNlcy97fS9kaXN0cmlidXRlZGF2YWlsYWJpbGl0eWdyb3Vwcw==/2022-02-01-preview.xml) **Stable** + + diff --git a/Commands/sql/mi/link/_show.md b/Commands/sql/mi/link/_show.md new file mode 100644 index 000000000..d121d0b21 --- /dev/null +++ b/Commands/sql/mi/link/_show.md @@ -0,0 +1,9 @@ +# [Command] _sql mi link show_ + +Gets a distributed availability group info. + +## Versions + +### [2022-02-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zcWwvbWFuYWdlZGluc3RhbmNlcy97fS9kaXN0cmlidXRlZGF2YWlsYWJpbGl0eWdyb3Vwcy97fQ==/2022-02-01-preview.xml) **Stable** + + diff --git a/Commands/sql/mi/link/_update.md b/Commands/sql/mi/link/_update.md new file mode 100644 index 000000000..664373f65 --- /dev/null +++ b/Commands/sql/mi/link/_update.md @@ -0,0 +1,9 @@ +# [Command] _sql mi link update_ + +Creates a distributed availability group between Sql On-Prem and Sql Managed Instance. + +## Versions + +### [2022-02-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zcWwvbWFuYWdlZGluc3RhbmNlcy97fS9kaXN0cmlidXRlZGF2YWlsYWJpbGl0eWdyb3Vwcy97fQ==/2022-02-01-preview.xml) **Stable** + + diff --git a/Commands/sql/mi/link/readme.md b/Commands/sql/mi/link/readme.md new file mode 100644 index 000000000..adcb18d8e --- /dev/null +++ b/Commands/sql/mi/link/readme.md @@ -0,0 +1,20 @@ +# [Group] _sql mi link_ + +Instance link management commands. + +## Commands + +- [create](/Commands/sql/mi/link/_create.md) +: Creates a distributed availability group between Sql On-Prem and Sql Managed Instance. + +- [delete](/Commands/sql/mi/link/_delete.md) +: Drops a distributed availability group between Sql On-Prem and Sql Managed Instance. + +- [list](/Commands/sql/mi/link/_list.md) +: Gets a list of a distributed availability groups in instance. + +- [show](/Commands/sql/mi/link/_show.md) +: Gets a distributed availability group info. + +- [update](/Commands/sql/mi/link/_update.md) +: Creates a distributed availability group between Sql On-Prem and Sql Managed Instance. diff --git a/Commands/sql/mi/partner-cert/_create.md b/Commands/sql/mi/partner-cert/_create.md new file mode 100644 index 000000000..33a991a1b --- /dev/null +++ b/Commands/sql/mi/partner-cert/_create.md @@ -0,0 +1,9 @@ +# [Command] _sql mi partner-cert create_ + +Uploads a server trust certificate from box to Sql Managed Instance. + +## Versions + +### [2022-02-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zcWwvbWFuYWdlZGluc3RhbmNlcy97fS9zZXJ2ZXJ0cnVzdGNlcnRpZmljYXRlcy97fQ==/2022-02-01-preview.xml) **Stable** + + diff --git a/Commands/sql/mi/partner-cert/_delete.md b/Commands/sql/mi/partner-cert/_delete.md new file mode 100644 index 000000000..57ba10492 --- /dev/null +++ b/Commands/sql/mi/partner-cert/_delete.md @@ -0,0 +1,9 @@ +# [Command] _sql mi partner-cert delete_ + +Deletes a server trust certificate that was uploaded from box to Sql Managed Instance. + +## Versions + +### [2022-02-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zcWwvbWFuYWdlZGluc3RhbmNlcy97fS9zZXJ2ZXJ0cnVzdGNlcnRpZmljYXRlcy97fQ==/2022-02-01-preview.xml) **Stable** + + diff --git a/Commands/sql/mi/partner-cert/_list.md b/Commands/sql/mi/partner-cert/_list.md new file mode 100644 index 000000000..18e9e532a --- /dev/null +++ b/Commands/sql/mi/partner-cert/_list.md @@ -0,0 +1,9 @@ +# [Command] _sql mi partner-cert list_ + +Gets a list of server trust certificates that were uploaded from box to the given Sql Managed Instance. + +## Versions + +### [2022-02-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zcWwvbWFuYWdlZGluc3RhbmNlcy97fS9zZXJ2ZXJ0cnVzdGNlcnRpZmljYXRlcw==/2022-02-01-preview.xml) **Stable** + + diff --git a/Commands/sql/mi/partner-cert/_show.md b/Commands/sql/mi/partner-cert/_show.md new file mode 100644 index 000000000..eedc2759c --- /dev/null +++ b/Commands/sql/mi/partner-cert/_show.md @@ -0,0 +1,9 @@ +# [Command] _sql mi partner-cert show_ + +Gets a server trust certificate that was uploaded from box to Sql Managed Instance. + +## Versions + +### [2022-02-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zcWwvbWFuYWdlZGluc3RhbmNlcy97fS9zZXJ2ZXJ0cnVzdGNlcnRpZmljYXRlcy97fQ==/2022-02-01-preview.xml) **Stable** + + diff --git a/Commands/sql/mi/partner-cert/_update.md b/Commands/sql/mi/partner-cert/_update.md new file mode 100644 index 000000000..6f4786b15 --- /dev/null +++ b/Commands/sql/mi/partner-cert/_update.md @@ -0,0 +1,9 @@ +# [Command] _sql mi partner-cert update_ + +Uploads a server trust certificate from box to Sql Managed Instance. + +## Versions + +### [2022-02-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zcWwvbWFuYWdlZGluc3RhbmNlcy97fS9zZXJ2ZXJ0cnVzdGNlcnRpZmljYXRlcy97fQ==/2022-02-01-preview.xml) **Stable** + + diff --git a/Commands/sql/mi/partner-cert/readme.md b/Commands/sql/mi/partner-cert/readme.md new file mode 100644 index 000000000..1ef9060dd --- /dev/null +++ b/Commands/sql/mi/partner-cert/readme.md @@ -0,0 +1,20 @@ +# [Group] _sql mi partner-cert_ + +Server trust certificate management API. + +## Commands + +- [create](/Commands/sql/mi/partner-cert/_create.md) +: Uploads 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. + +- [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. + +- [show](/Commands/sql/mi/partner-cert/_show.md) +: Gets 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. diff --git a/Commands/sql/mi/readme.md b/Commands/sql/mi/readme.md new file mode 100644 index 000000000..c9d719f51 --- /dev/null +++ b/Commands/sql/mi/readme.md @@ -0,0 +1,14 @@ +# [Group] _sql mi_ + +az sql + +## 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. + +- [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. diff --git a/Commands/sql/readme.md b/Commands/sql/readme.md new file mode 100644 index 000000000..0c7ef4590 --- /dev/null +++ b/Commands/sql/readme.md @@ -0,0 +1,8 @@ +# [Group] _sql_ + +Sql + +## Subgroups + +- [mi](/Commands/sql/mi/readme.md) +: az sql diff --git a/Commands/tree.json b/Commands/tree.json index c7a7363bb..15dfc6c34 100644 --- a/Commands/tree.json +++ b/Commands/tree.json @@ -81,6 +81,339 @@ "names": [ "change-analysis" ] + }, + "sql": { + "commandGroups": { + "mi": { + "commandGroups": { + "endpoint-cert": { + "commands": { + "list": { + "help": { + "short": "List certificates used on endpoints on the target instance." + }, + "names": [ + "sql", + "mi", + "endpoint-cert", + "list" + ], + "versions": [ + { + "name": "2022-02-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.sql/managedinstances/{}/endpointcertificates", + "plane": "mgmt-plane", + "version": "2022-02-01-preview" + } + ] + } + ] + }, + "show": { + "help": { + "short": "Gets a certificate used on the endpoint with the given id." + }, + "names": [ + "sql", + "mi", + "endpoint-cert", + "show" + ], + "versions": [ + { + "name": "2022-02-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.sql/managedinstances/{}/endpointcertificates/{}", + "plane": "mgmt-plane", + "version": "2022-02-01-preview" + } + ] + } + ] + } + }, + "help": { + "short": "Returns information about one or more instance of endpoint certificate on an Azure SQL Managed Instance." + }, + "names": [ + "sql", + "mi", + "endpoint-cert" + ] + }, + "link": { + "commands": { + "create": { + "help": { + "short": "Creates a distributed availability group between Sql On-Prem and Sql Managed Instance." + }, + "names": [ + "sql", + "mi", + "link", + "create" + ], + "versions": [ + { + "name": "2022-02-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.sql/managedinstances/{}/distributedavailabilitygroups/{}", + "plane": "mgmt-plane", + "version": "2022-02-01-preview" + } + ] + } + ] + }, + "delete": { + "help": { + "short": "Drops a distributed availability group between Sql On-Prem and Sql Managed Instance." + }, + "names": [ + "sql", + "mi", + "link", + "delete" + ], + "versions": [ + { + "name": "2022-02-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.sql/managedinstances/{}/distributedavailabilitygroups/{}", + "plane": "mgmt-plane", + "version": "2022-02-01-preview" + } + ] + } + ] + }, + "list": { + "help": { + "short": "Gets a list of a distributed availability groups in instance." + }, + "names": [ + "sql", + "mi", + "link", + "list" + ], + "versions": [ + { + "name": "2022-02-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.sql/managedinstances/{}/distributedavailabilitygroups", + "plane": "mgmt-plane", + "version": "2022-02-01-preview" + } + ] + } + ] + }, + "show": { + "help": { + "short": "Gets a distributed availability group info." + }, + "names": [ + "sql", + "mi", + "link", + "show" + ], + "versions": [ + { + "name": "2022-02-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.sql/managedinstances/{}/distributedavailabilitygroups/{}", + "plane": "mgmt-plane", + "version": "2022-02-01-preview" + } + ] + } + ] + }, + "update": { + "help": { + "short": "Creates a distributed availability group between Sql On-Prem and Sql Managed Instance." + }, + "names": [ + "sql", + "mi", + "link", + "update" + ], + "versions": [ + { + "name": "2022-02-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.sql/managedinstances/{}/distributedavailabilitygroups/{}", + "plane": "mgmt-plane", + "version": "2022-02-01-preview" + } + ] + } + ] + } + }, + "help": { + "short": "Instance link management commands." + }, + "names": [ + "sql", + "mi", + "link" + ] + }, + "partner-cert": { + "commands": { + "create": { + "help": { + "short": "Uploads a server trust certificate from box to Sql Managed Instance." + }, + "names": [ + "sql", + "mi", + "partner-cert", + "create" + ], + "versions": [ + { + "name": "2022-02-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.sql/managedinstances/{}/servertrustcertificates/{}", + "plane": "mgmt-plane", + "version": "2022-02-01-preview" + } + ] + } + ] + }, + "delete": { + "help": { + "short": "Deletes a server trust certificate that was uploaded from box to Sql Managed Instance." + }, + "names": [ + "sql", + "mi", + "partner-cert", + "delete" + ], + "versions": [ + { + "name": "2022-02-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.sql/managedinstances/{}/servertrustcertificates/{}", + "plane": "mgmt-plane", + "version": "2022-02-01-preview" + } + ] + } + ] + }, + "list": { + "help": { + "short": "Gets a list of server trust certificates that were uploaded from box to the given Sql Managed Instance." + }, + "names": [ + "sql", + "mi", + "partner-cert", + "list" + ], + "versions": [ + { + "name": "2022-02-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.sql/managedinstances/{}/servertrustcertificates", + "plane": "mgmt-plane", + "version": "2022-02-01-preview" + } + ] + } + ] + }, + "show": { + "help": { + "short": "Gets a server trust certificate that was uploaded from box to Sql Managed Instance." + }, + "names": [ + "sql", + "mi", + "partner-cert", + "show" + ], + "versions": [ + { + "name": "2022-02-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.sql/managedinstances/{}/servertrustcertificates/{}", + "plane": "mgmt-plane", + "version": "2022-02-01-preview" + } + ] + } + ] + }, + "update": { + "help": { + "short": "Uploads a server trust certificate from box to Sql Managed Instance." + }, + "names": [ + "sql", + "mi", + "partner-cert", + "update" + ], + "versions": [ + { + "name": "2022-02-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.sql/managedinstances/{}/servertrustcertificates/{}", + "plane": "mgmt-plane", + "version": "2022-02-01-preview" + } + ] + } + ] + } + }, + "help": { + "short": "Server trust certificate management API." + }, + "names": [ + "sql", + "mi", + "partner-cert" + ] + } + }, + "help": { + "short": "az sql" + }, + "names": [ + "sql", + "mi" + ] + } + }, + "help": { + "short": "Sql" + }, + "names": [ + "sql" + ] } }, "names": [ diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zcWwvbWFuYWdlZGluc3RhbmNlcy97fS9kaXN0cmlidXRlZGF2YWlsYWJpbGl0eWdyb3Vwcw==/2022-02-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zcWwvbWFuYWdlZGluc3RhbmNlcy97fS9kaXN0cmlidXRlZGF2YWlsYWJpbGl0eWdyb3Vwcw==/2022-02-01-preview.json new file mode 100644 index 000000000..360f3aa0d --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zcWwvbWFuYWdlZGluc3RhbmNlcy97fS9kaXN0cmlidXRlZGF2YWlsYWJpbGl0eWdyb3Vwcw==/2022-02-01-preview.json @@ -0,0 +1,248 @@ +{ + "plane": "mgmt-plane", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.sql/managedinstances/{}/distributedavailabilitygroups", + "version": "2022-02-01-preview", + "swagger": "mgmt-plane/sql/ResourceProviders/Microsoft.Sql/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL21hbmFnZWRJbnN0YW5jZXMve21hbmFnZWRJbnN0YW5jZU5hbWV9L2Rpc3RyaWJ1dGVkQXZhaWxhYmlsaXR5R3JvdXBz/V/MjAyMi0wMi0wMS1wcmV2aWV3" + } + ], + "commandGroups": [ + { + "name": "sql mi link", + "commands": [ + { + "name": "list", + "version": "2022-02-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.sql/managedinstances/{}/distributedavailabilitygroups", + "version": "2022-02-01-preview", + "swagger": "mgmt-plane/sql/ResourceProviders/Microsoft.Sql/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL21hbmFnZWRJbnN0YW5jZXMve21hbmFnZWRJbnN0YW5jZU5hbWV9L2Rpc3RyaWJ1dGVkQXZhaWxhYmlsaXR5R3JvdXBz/V/MjAyMi0wMi0wMS1wcmV2aWV3" + } + ], + "argGroups": [ + { + "name": "", + "args": [ + { + "type": "string", + "var": "$Path.managedInstanceName", + "options": [ + "instance-name", + "managed-instance-name" + ], + "required": true, + "help": { + "short": "The name of the managed instance." + } + }, + { + "type": "ResourceGroupName", + "var": "$Path.resourceGroupName", + "options": [ + "g", + "resource-group" + ], + "required": true + }, + { + "type": "SubscriptionId", + "var": "$Path.subscriptionId", + "options": [ + "subscription" + ], + "required": true + } + ] + } + ], + "operations": [ + { + "operationId": "DistributedAvailabilityGroups_ListByInstance", + "http": { + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/distributedAvailabilityGroups", + "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-02-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": { + "readOnly": true, + "type": "object", + "props": [ + { + "readOnly": true, + "type": "ResourceId", + "name": "id", + "format": { + "template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Sql/managedInstances/{}/distributedAvailabilityGroups/{}" + } + }, + { + "readOnly": true, + "type": "string", + "name": "name" + }, + { + "readOnly": true, + "type": "object", + "name": "properties", + "props": [ + { + "readOnly": true, + "type": "uuid", + "name": "distributedAvailabilityGroupId" + }, + { + "readOnly": true, + "type": "string", + "name": "lastHardenedLsn" + }, + { + "readOnly": true, + "type": "string", + "name": "linkState" + }, + { + "readOnly": true, + "type": "string", + "name": "primaryAvailabilityGroupName" + }, + { + "readOnly": true, + "type": "string", + "name": "replicationMode", + "enum": { + "items": [ + { + "value": "Async" + }, + { + "value": "Sync" + } + ] + } + }, + { + "readOnly": true, + "type": "string", + "name": "secondaryAvailabilityGroupName" + }, + { + "readOnly": true, + "type": "string", + "name": "sourceEndpoint" + }, + { + "readOnly": true, + "type": "uuid", + "name": "sourceReplicaId" + }, + { + "readOnly": true, + "type": "string", + "name": "targetDatabase" + }, + { + "readOnly": true, + "type": "uuid", + "name": "targetReplicaId" + } + ], + "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/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zcWwvbWFuYWdlZGluc3RhbmNlcy97fS9kaXN0cmlidXRlZGF2YWlsYWJpbGl0eWdyb3Vwcw==/2022-02-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zcWwvbWFuYWdlZGluc3RhbmNlcy97fS9kaXN0cmlidXRlZGF2YWlsYWJpbGl0eWdyb3Vwcw==/2022-02-01-preview.xml new file mode 100644 index 000000000..45c72702c --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zcWwvbWFuYWdlZGluc3RhbmNlcy97fS9kaXN0cmlidXRlZGF2YWlsYWJpbGl0eWdyb3Vwcw==/2022-02-01-preview.xml @@ -0,0 +1,75 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zcWwvbWFuYWdlZGluc3RhbmNlcy97fS9kaXN0cmlidXRlZGF2YWlsYWJpbGl0eWdyb3Vwcy97fQ==/2022-02-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zcWwvbWFuYWdlZGluc3RhbmNlcy97fS9kaXN0cmlidXRlZGF2YWlsYWJpbGl0eWdyb3Vwcy97fQ==/2022-02-01-preview.json new file mode 100644 index 000000000..c82957363 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zcWwvbWFuYWdlZGluc3RhbmNlcy97fS9kaXN0cmlidXRlZGF2YWlsYWJpbGl0eWdyb3Vwcy97fQ==/2022-02-01-preview.json @@ -0,0 +1,1218 @@ +{ + "plane": "mgmt-plane", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.sql/managedinstances/{}/distributedavailabilitygroups/{}", + "version": "2022-02-01-preview", + "swagger": "mgmt-plane/sql/ResourceProviders/Microsoft.Sql/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL21hbmFnZWRJbnN0YW5jZXMve21hbmFnZWRJbnN0YW5jZU5hbWV9L2Rpc3RyaWJ1dGVkQXZhaWxhYmlsaXR5R3JvdXBzL3tkaXN0cmlidXRlZEF2YWlsYWJpbGl0eUdyb3VwTmFtZX0=/V/MjAyMi0wMi0wMS1wcmV2aWV3" + } + ], + "commandGroups": [ + { + "name": "sql mi link", + "commands": [ + { + "name": "show", + "version": "2022-02-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.sql/managedinstances/{}/distributedavailabilitygroups/{}", + "version": "2022-02-01-preview", + "swagger": "mgmt-plane/sql/ResourceProviders/Microsoft.Sql/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL21hbmFnZWRJbnN0YW5jZXMve21hbmFnZWRJbnN0YW5jZU5hbWV9L2Rpc3RyaWJ1dGVkQXZhaWxhYmlsaXR5R3JvdXBzL3tkaXN0cmlidXRlZEF2YWlsYWJpbGl0eUdyb3VwTmFtZX0=/V/MjAyMi0wMi0wMS1wcmV2aWV3" + } + ], + "argGroups": [ + { + "name": "", + "args": [ + { + "type": "string", + "var": "$Path.distributedAvailabilityGroupName", + "options": [ + "n", + "name", + "distributed-availability-group-name" + ], + "required": true, + "idPart": "child_name_1", + "help": { + "short": "The distributed availability group name." + } + }, + { + "type": "string", + "var": "$Path.managedInstanceName", + "options": [ + "instance-name", + "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": "DistributedAvailabilityGroups_Get", + "http": { + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/distributedAvailabilityGroups/{distributedAvailabilityGroupName}", + "request": { + "method": "get", + "path": { + "params": [ + { + "type": "string", + "name": "distributedAvailabilityGroupName", + "arg": "$Path.distributedAvailabilityGroupName", + "required": true + }, + { + "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-02-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/{}/distributedAvailabilityGroups/{}" + } + }, + { + "readOnly": true, + "type": "string", + "name": "name" + }, + { + "type": "object", + "name": "properties", + "props": [ + { + "readOnly": true, + "type": "uuid", + "name": "distributedAvailabilityGroupId" + }, + { + "readOnly": true, + "type": "string", + "name": "lastHardenedLsn" + }, + { + "readOnly": true, + "type": "string", + "name": "linkState" + }, + { + "type": "string", + "name": "primaryAvailabilityGroupName" + }, + { + "type": "string", + "name": "replicationMode", + "enum": { + "items": [ + { + "value": "Async" + }, + { + "value": "Sync" + } + ] + } + }, + { + "type": "string", + "name": "secondaryAvailabilityGroupName" + }, + { + "type": "string", + "name": "sourceEndpoint" + }, + { + "readOnly": true, + "type": "uuid", + "name": "sourceReplicaId" + }, + { + "type": "string", + "name": "targetDatabase" + }, + { + "readOnly": true, + "type": "uuid", + "name": "targetReplicaId" + } + ], + "clientFlatten": true + }, + { + "readOnly": true, + "type": "string", + "name": "type" + } + ] + } + } + } + }, + { + "isError": true, + "body": { + "json": { + "schema": { + "type": "@ODataV4Format" + } + } + } + } + ] + } + } + ], + "outputs": [ + { + "type": "object", + "ref": "$Instance", + "clientFlatten": true + } + ] + }, + { + "name": "delete", + "version": "2022-02-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.sql/managedinstances/{}/distributedavailabilitygroups/{}", + "version": "2022-02-01-preview", + "swagger": "mgmt-plane/sql/ResourceProviders/Microsoft.Sql/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL21hbmFnZWRJbnN0YW5jZXMve21hbmFnZWRJbnN0YW5jZU5hbWV9L2Rpc3RyaWJ1dGVkQXZhaWxhYmlsaXR5R3JvdXBzL3tkaXN0cmlidXRlZEF2YWlsYWJpbGl0eUdyb3VwTmFtZX0=/V/MjAyMi0wMi0wMS1wcmV2aWV3" + } + ], + "argGroups": [ + { + "name": "", + "args": [ + { + "type": "string", + "var": "$Path.distributedAvailabilityGroupName", + "options": [ + "n", + "name", + "distributed-availability-group-name" + ], + "required": true, + "idPart": "child_name_1", + "help": { + "short": "The distributed availability group name." + } + }, + { + "type": "string", + "var": "$Path.managedInstanceName", + "options": [ + "instance-name", + "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": [ + { + "longRunning": { + "finalStateVia": "azure-async-operation" + }, + "operationId": "DistributedAvailabilityGroups_Delete", + "http": { + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/distributedAvailabilityGroups/{distributedAvailabilityGroupName}", + "request": { + "method": "delete", + "path": { + "params": [ + { + "type": "string", + "name": "distributedAvailabilityGroupName", + "arg": "$Path.distributedAvailabilityGroupName", + "required": true + }, + { + "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-02-01-preview" + }, + "type": "string", + "name": "api-version", + "required": true + } + ] + } + }, + "responses": [ + { + "statusCode": [ + 200 + ] + }, + { + "statusCode": [ + 202 + ] + }, + { + "statusCode": [ + 204 + ] + }, + { + "isError": true, + "body": { + "json": { + "schema": { + "type": "@ODataV4Format" + } + } + } + } + ] + } + } + ], + "confirmation": "Are you sure you want to perform this operation?" + }, + { + "name": "create", + "version": "2022-02-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.sql/managedinstances/{}/distributedavailabilitygroups/{}", + "version": "2022-02-01-preview", + "swagger": "mgmt-plane/sql/ResourceProviders/Microsoft.Sql/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL21hbmFnZWRJbnN0YW5jZXMve21hbmFnZWRJbnN0YW5jZU5hbWV9L2Rpc3RyaWJ1dGVkQXZhaWxhYmlsaXR5R3JvdXBzL3tkaXN0cmlidXRlZEF2YWlsYWJpbGl0eUdyb3VwTmFtZX0=/V/MjAyMi0wMi0wMS1wcmV2aWV3" + } + ], + "argGroups": [ + { + "name": "", + "args": [ + { + "type": "string", + "var": "$Path.distributedAvailabilityGroupName", + "options": [ + "n", + "name", + "distributed-availability-group-name" + ], + "required": true, + "idPart": "child_name_1", + "help": { + "short": "The distributed availability group name." + } + }, + { + "type": "string", + "var": "$Path.managedInstanceName", + "options": [ + "instance-name", + "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": "string", + "var": "$parameters.properties.primaryAvailabilityGroupName", + "options": [ + "primary-availability-group-name" + ], + "group": "Properties", + "help": { + "short": "The primary availability group name" + } + }, + { + "type": "string", + "var": "$parameters.properties.replicationMode", + "options": [ + "replication-mode" + ], + "group": "Properties", + "help": { + "short": "The replication mode of a distributed availability group. Parameter will be ignored during link creation." + }, + "enum": { + "items": [ + { + "name": "Async", + "value": "Async" + }, + { + "name": "Sync", + "value": "Sync" + } + ] + } + }, + { + "type": "string", + "var": "$parameters.properties.secondaryAvailabilityGroupName", + "options": [ + "secondary-availability-group-name" + ], + "group": "Properties", + "help": { + "short": "The secondary availability group name" + } + }, + { + "type": "string", + "var": "$parameters.properties.sourceEndpoint", + "options": [ + "source-endpoint" + ], + "group": "Properties", + "help": { + "short": "The source endpoint" + } + }, + { + "type": "string", + "var": "$parameters.properties.targetDatabase", + "options": [ + "target-database" + ], + "group": "Properties", + "help": { + "short": "The name of the target database" + } + } + ] + } + ], + "operations": [ + { + "longRunning": { + "finalStateVia": "azure-async-operation" + }, + "operationId": "DistributedAvailabilityGroups_CreateOrUpdate", + "http": { + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/distributedAvailabilityGroups/{distributedAvailabilityGroupName}", + "request": { + "method": "put", + "path": { + "params": [ + { + "type": "string", + "name": "distributedAvailabilityGroupName", + "arg": "$Path.distributedAvailabilityGroupName", + "required": true + }, + { + "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-02-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": "string", + "name": "primaryAvailabilityGroupName", + "arg": "$parameters.properties.primaryAvailabilityGroupName" + }, + { + "type": "string", + "name": "replicationMode", + "arg": "$parameters.properties.replicationMode", + "enum": { + "items": [ + { + "value": "Async" + }, + { + "value": "Sync" + } + ] + } + }, + { + "type": "string", + "name": "secondaryAvailabilityGroupName", + "arg": "$parameters.properties.secondaryAvailabilityGroupName" + }, + { + "type": "string", + "name": "sourceEndpoint", + "arg": "$parameters.properties.sourceEndpoint" + }, + { + "type": "string", + "name": "targetDatabase", + "arg": "$parameters.properties.targetDatabase" + } + ], + "clientFlatten": true + } + ], + "clientFlatten": true + } + } + } + }, + "responses": [ + { + "statusCode": [ + 200, + 201 + ], + "body": { + "json": { + "var": "$Instance", + "schema": { + "type": "object", + "props": [ + { + "readOnly": true, + "type": "ResourceId", + "name": "id", + "format": { + "template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Sql/managedInstances/{}/distributedAvailabilityGroups/{}" + } + }, + { + "readOnly": true, + "type": "string", + "name": "name" + }, + { + "type": "object", + "name": "properties", + "props": [ + { + "readOnly": true, + "type": "uuid", + "name": "distributedAvailabilityGroupId" + }, + { + "readOnly": true, + "type": "string", + "name": "lastHardenedLsn" + }, + { + "readOnly": true, + "type": "string", + "name": "linkState" + }, + { + "type": "string", + "name": "primaryAvailabilityGroupName" + }, + { + "type": "string", + "name": "replicationMode", + "enum": { + "items": [ + { + "value": "Async" + }, + { + "value": "Sync" + } + ] + } + }, + { + "type": "string", + "name": "secondaryAvailabilityGroupName" + }, + { + "type": "string", + "name": "sourceEndpoint" + }, + { + "readOnly": true, + "type": "uuid", + "name": "sourceReplicaId" + }, + { + "type": "string", + "name": "targetDatabase" + }, + { + "readOnly": true, + "type": "uuid", + "name": "targetReplicaId" + } + ], + "clientFlatten": true + }, + { + "readOnly": true, + "type": "string", + "name": "type" + } + ] + } + } + } + }, + { + "statusCode": [ + 202 + ] + }, + { + "isError": true, + "body": { + "json": { + "schema": { + "type": "@ODataV4Format" + } + } + } + } + ] + } + } + ], + "outputs": [ + { + "type": "object", + "ref": "$Instance", + "clientFlatten": true + } + ] + }, + { + "name": "update", + "version": "2022-02-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.sql/managedinstances/{}/distributedavailabilitygroups/{}", + "version": "2022-02-01-preview", + "swagger": "mgmt-plane/sql/ResourceProviders/Microsoft.Sql/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL21hbmFnZWRJbnN0YW5jZXMve21hbmFnZWRJbnN0YW5jZU5hbWV9L2Rpc3RyaWJ1dGVkQXZhaWxhYmlsaXR5R3JvdXBzL3tkaXN0cmlidXRlZEF2YWlsYWJpbGl0eUdyb3VwTmFtZX0=/V/MjAyMi0wMi0wMS1wcmV2aWV3" + } + ], + "argGroups": [ + { + "name": "", + "args": [ + { + "type": "string", + "var": "$Path.distributedAvailabilityGroupName", + "options": [ + "n", + "name", + "distributed-availability-group-name" + ], + "required": true, + "idPart": "child_name_1", + "help": { + "short": "The distributed availability group name." + } + }, + { + "type": "string", + "var": "$Path.managedInstanceName", + "options": [ + "instance-name", + "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": "string", + "var": "$parameters.properties.primaryAvailabilityGroupName", + "options": [ + "primary-availability-group-name" + ], + "group": "Properties", + "help": { + "short": "The primary availability group name" + } + }, + { + "nullable": true, + "type": "string", + "var": "$parameters.properties.replicationMode", + "options": [ + "replication-mode" + ], + "group": "Properties", + "help": { + "short": "The replication mode of a distributed availability group. Parameter will be ignored during link creation." + }, + "enum": { + "items": [ + { + "name": "Async", + "value": "Async" + }, + { + "name": "Sync", + "value": "Sync" + } + ] + } + }, + { + "nullable": true, + "type": "string", + "var": "$parameters.properties.secondaryAvailabilityGroupName", + "options": [ + "secondary-availability-group-name" + ], + "group": "Properties", + "help": { + "short": "The secondary availability group name" + } + }, + { + "nullable": true, + "type": "string", + "var": "$parameters.properties.sourceEndpoint", + "options": [ + "source-endpoint" + ], + "group": "Properties", + "help": { + "short": "The source endpoint" + } + }, + { + "nullable": true, + "type": "string", + "var": "$parameters.properties.targetDatabase", + "options": [ + "target-database" + ], + "group": "Properties", + "help": { + "short": "The name of the target database" + } + } + ] + } + ], + "operations": [ + { + "operationId": "DistributedAvailabilityGroups_Get", + "http": { + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/distributedAvailabilityGroups/{distributedAvailabilityGroupName}", + "request": { + "method": "get", + "path": { + "params": [ + { + "type": "string", + "name": "distributedAvailabilityGroupName", + "arg": "$Path.distributedAvailabilityGroupName", + "required": true + }, + { + "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-02-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/{}/distributedAvailabilityGroups/{}" + } + }, + { + "readOnly": true, + "type": "string", + "name": "name" + }, + { + "type": "object", + "name": "properties", + "props": [ + { + "readOnly": true, + "type": "uuid", + "name": "distributedAvailabilityGroupId" + }, + { + "readOnly": true, + "type": "string", + "name": "lastHardenedLsn" + }, + { + "readOnly": true, + "type": "string", + "name": "linkState" + }, + { + "type": "string", + "name": "primaryAvailabilityGroupName" + }, + { + "type": "string", + "name": "replicationMode", + "enum": { + "items": [ + { + "value": "Async" + }, + { + "value": "Sync" + } + ] + } + }, + { + "type": "string", + "name": "secondaryAvailabilityGroupName" + }, + { + "type": "string", + "name": "sourceEndpoint" + }, + { + "readOnly": true, + "type": "uuid", + "name": "sourceReplicaId" + }, + { + "type": "string", + "name": "targetDatabase" + }, + { + "readOnly": true, + "type": "uuid", + "name": "targetReplicaId" + } + ], + "clientFlatten": true + }, + { + "readOnly": true, + "type": "string", + "name": "type" + } + ], + "cls": "DistributedAvailabilityGroup_read" + } + } + } + }, + { + "isError": true, + "body": { + "json": { + "schema": { + "type": "@ODataV4Format" + } + } + } + } + ] + } + }, + { + "instanceUpdate": { + "instance": "$Instance", + "json": { + "schema": { + "type": "object", + "name": "parameters", + "required": true, + "props": [ + { + "type": "object", + "name": "properties", + "props": [ + { + "type": "string", + "name": "primaryAvailabilityGroupName", + "arg": "$parameters.properties.primaryAvailabilityGroupName" + }, + { + "type": "string", + "name": "replicationMode", + "arg": "$parameters.properties.replicationMode", + "enum": { + "items": [ + { + "value": "Async" + }, + { + "value": "Sync" + } + ] + } + }, + { + "type": "string", + "name": "secondaryAvailabilityGroupName", + "arg": "$parameters.properties.secondaryAvailabilityGroupName" + }, + { + "type": "string", + "name": "sourceEndpoint", + "arg": "$parameters.properties.sourceEndpoint" + }, + { + "type": "string", + "name": "targetDatabase", + "arg": "$parameters.properties.targetDatabase" + } + ], + "clientFlatten": true + } + ], + "clientFlatten": true + } + } + } + }, + { + "longRunning": { + "finalStateVia": "azure-async-operation" + }, + "operationId": "DistributedAvailabilityGroups_CreateOrUpdate", + "http": { + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/distributedAvailabilityGroups/{distributedAvailabilityGroupName}", + "request": { + "method": "put", + "path": { + "params": [ + { + "type": "string", + "name": "distributedAvailabilityGroupName", + "arg": "$Path.distributedAvailabilityGroupName", + "required": true + }, + { + "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-02-01-preview" + }, + "type": "string", + "name": "api-version", + "required": true + } + ] + }, + "body": { + "json": { + "ref": "$Instance" + } + } + }, + "responses": [ + { + "statusCode": [ + 200, + 201 + ], + "body": { + "json": { + "var": "$Instance", + "schema": { + "type": "@DistributedAvailabilityGroup_read" + } + } + } + }, + { + "statusCode": [ + 202 + ] + }, + { + "isError": true, + "body": { + "json": { + "schema": { + "type": "@ODataV4Format" + } + } + } + } + ] + } + } + ], + "outputs": [ + { + "type": "object", + "ref": "$Instance", + "clientFlatten": true + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zcWwvbWFuYWdlZGluc3RhbmNlcy97fS9kaXN0cmlidXRlZGF2YWlsYWJpbGl0eWdyb3Vwcy97fQ==/2022-02-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zcWwvbWFuYWdlZGluc3RhbmNlcy97fS9kaXN0cmlidXRlZGF2YWlsYWJpbGl0eWdyb3Vwcy97fQ==/2022-02-01-preview.xml new file mode 100644 index 000000000..9cf2e5383 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zcWwvbWFuYWdlZGluc3RhbmNlcy97fS9kaXN0cmlidXRlZGF2YWlsYWJpbGl0eWdyb3Vwcy97fQ==/2022-02-01-preview.xml @@ -0,0 +1,369 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zcWwvbWFuYWdlZGluc3RhbmNlcy97fS9lbmRwb2ludGNlcnRpZmljYXRlcw==/2022-02-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zcWwvbWFuYWdlZGluc3RhbmNlcy97fS9lbmRwb2ludGNlcnRpZmljYXRlcw==/2022-02-01-preview.json new file mode 100644 index 000000000..daebef772 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zcWwvbWFuYWdlZGluc3RhbmNlcy97fS9lbmRwb2ludGNlcnRpZmljYXRlcw==/2022-02-01-preview.json @@ -0,0 +1,193 @@ +{ + "plane": "mgmt-plane", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.sql/managedinstances/{}/endpointcertificates", + "version": "2022-02-01-preview", + "swagger": "mgmt-plane/sql/ResourceProviders/Microsoft.Sql/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL21hbmFnZWRJbnN0YW5jZXMve21hbmFnZWRJbnN0YW5jZU5hbWV9L2VuZHBvaW50Q2VydGlmaWNhdGVz/V/MjAyMi0wMi0wMS1wcmV2aWV3" + } + ], + "commandGroups": [ + { + "name": "sql mi endpoint-cert", + "commands": [ + { + "name": "list", + "version": "2022-02-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.sql/managedinstances/{}/endpointcertificates", + "version": "2022-02-01-preview", + "swagger": "mgmt-plane/sql/ResourceProviders/Microsoft.Sql/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL21hbmFnZWRJbnN0YW5jZXMve21hbmFnZWRJbnN0YW5jZU5hbWV9L2VuZHBvaW50Q2VydGlmaWNhdGVz/V/MjAyMi0wMi0wMS1wcmV2aWV3" + } + ], + "argGroups": [ + { + "name": "", + "args": [ + { + "type": "string", + "var": "$Path.managedInstanceName", + "options": [ + "instance-name", + "managed-instance-name" + ], + "required": true, + "help": { + "short": "Name of the managed instance." + } + }, + { + "type": "ResourceGroupName", + "var": "$Path.resourceGroupName", + "options": [ + "g", + "resource-group" + ], + "required": true + }, + { + "type": "SubscriptionId", + "var": "$Path.subscriptionId", + "options": [ + "subscription" + ], + "required": true + } + ] + } + ], + "operations": [ + { + "operationId": "EndpointCertificates_ListByInstance", + "http": { + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/endpointCertificates", + "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-02-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": { + "readOnly": true, + "type": "object", + "props": [ + { + "readOnly": true, + "type": "ResourceId", + "name": "id", + "format": { + "template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Sql/managedInstances/{}/endpointCertificates/{}" + } + }, + { + "readOnly": true, + "type": "string", + "name": "name" + }, + { + "readOnly": true, + "type": "object", + "name": "properties", + "props": [ + { + "readOnly": true, + "type": "string", + "name": "publicBlob" + } + ], + "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/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zcWwvbWFuYWdlZGluc3RhbmNlcy97fS9lbmRwb2ludGNlcnRpZmljYXRlcw==/2022-02-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zcWwvbWFuYWdlZGluc3RhbmNlcy97fS9lbmRwb2ludGNlcnRpZmljYXRlcw==/2022-02-01-preview.xml new file mode 100644 index 000000000..092233f85 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zcWwvbWFuYWdlZGluc3RhbmNlcy97fS9lbmRwb2ludGNlcnRpZmljYXRlcw==/2022-02-01-preview.xml @@ -0,0 +1,61 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zcWwvbWFuYWdlZGluc3RhbmNlcy97fS9lbmRwb2ludGNlcnRpZmljYXRlcy97fQ==/2022-02-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zcWwvbWFuYWdlZGluc3RhbmNlcy97fS9lbmRwb2ludGNlcnRpZmljYXRlcy97fQ==/2022-02-01-preview.json new file mode 100644 index 000000000..8f07c6c56 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zcWwvbWFuYWdlZGluc3RhbmNlcy97fS9lbmRwb2ludGNlcnRpZmljYXRlcy97fQ==/2022-02-01-preview.json @@ -0,0 +1,197 @@ +{ + "plane": "mgmt-plane", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.sql/managedinstances/{}/endpointcertificates/{}", + "version": "2022-02-01-preview", + "swagger": "mgmt-plane/sql/ResourceProviders/Microsoft.Sql/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL21hbmFnZWRJbnN0YW5jZXMve21hbmFnZWRJbnN0YW5jZU5hbWV9L2VuZHBvaW50Q2VydGlmaWNhdGVzL3tlbmRwb2ludFR5cGV9/V/MjAyMi0wMi0wMS1wcmV2aWV3" + } + ], + "commandGroups": [ + { + "name": "sql mi endpoint-cert", + "commands": [ + { + "name": "show", + "version": "2022-02-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.sql/managedinstances/{}/endpointcertificates/{}", + "version": "2022-02-01-preview", + "swagger": "mgmt-plane/sql/ResourceProviders/Microsoft.Sql/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL21hbmFnZWRJbnN0YW5jZXMve21hbmFnZWRJbnN0YW5jZU5hbWV9L2VuZHBvaW50Q2VydGlmaWNhdGVzL3tlbmRwb2ludFR5cGV9/V/MjAyMi0wMi0wMS1wcmV2aWV3" + } + ], + "argGroups": [ + { + "name": "", + "args": [ + { + "type": "string", + "var": "$Path.endpointType", + "options": [ + "n", + "name", + "endpoint-type" + ], + "required": true, + "idPart": "child_name_1", + "help": { + "short": "Type of the endpoint whose certificate the customer is looking for." + } + }, + { + "type": "string", + "var": "$Path.managedInstanceName", + "options": [ + "instance-name", + "managed-instance-name" + ], + "required": true, + "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": "EndpointCertificates_Get", + "http": { + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/endpointCertificates/{endpointType}", + "request": { + "method": "get", + "path": { + "params": [ + { + "type": "string", + "name": "endpointType", + "arg": "$Path.endpointType", + "required": true + }, + { + "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-02-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/{}/endpointCertificates/{}" + } + }, + { + "readOnly": true, + "type": "string", + "name": "name" + }, + { + "type": "object", + "name": "properties", + "props": [ + { + "type": "string", + "name": "publicBlob" + } + ], + "clientFlatten": true + }, + { + "readOnly": true, + "type": "string", + "name": "type" + } + ] + } + } + } + }, + { + "isError": true, + "body": { + "json": { + "schema": { + "type": "@ODataV4Format" + } + } + } + } + ] + } + } + ], + "outputs": [ + { + "type": "object", + "ref": "$Instance", + "clientFlatten": true + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zcWwvbWFuYWdlZGluc3RhbmNlcy97fS9lbmRwb2ludGNlcnRpZmljYXRlcy97fQ==/2022-02-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zcWwvbWFuYWdlZGluc3RhbmNlcy97fS9lbmRwb2ludGNlcnRpZmljYXRlcy97fQ==/2022-02-01-preview.xml new file mode 100644 index 000000000..866bc2600 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zcWwvbWFuYWdlZGluc3RhbmNlcy97fS9lbmRwb2ludGNlcnRpZmljYXRlcy97fQ==/2022-02-01-preview.xml @@ -0,0 +1,60 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zcWwvbWFuYWdlZGluc3RhbmNlcy97fS9zZXJ2ZXJ0cnVzdGNlcnRpZmljYXRlcw==/2022-02-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zcWwvbWFuYWdlZGluc3RhbmNlcy97fS9zZXJ2ZXJ0cnVzdGNlcnRpZmljYXRlcw==/2022-02-01-preview.json new file mode 100644 index 000000000..072007cb8 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zcWwvbWFuYWdlZGluc3RhbmNlcy97fS9zZXJ2ZXJ0cnVzdGNlcnRpZmljYXRlcw==/2022-02-01-preview.json @@ -0,0 +1,203 @@ +{ + "plane": "mgmt-plane", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.sql/managedinstances/{}/servertrustcertificates", + "version": "2022-02-01-preview", + "swagger": "mgmt-plane/sql/ResourceProviders/Microsoft.Sql/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL21hbmFnZWRJbnN0YW5jZXMve21hbmFnZWRJbnN0YW5jZU5hbWV9L3NlcnZlclRydXN0Q2VydGlmaWNhdGVz/V/MjAyMi0wMi0wMS1wcmV2aWV3" + } + ], + "commandGroups": [ + { + "name": "sql mi partner-cert", + "commands": [ + { + "name": "list", + "version": "2022-02-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.sql/managedinstances/{}/servertrustcertificates", + "version": "2022-02-01-preview", + "swagger": "mgmt-plane/sql/ResourceProviders/Microsoft.Sql/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL21hbmFnZWRJbnN0YW5jZXMve21hbmFnZWRJbnN0YW5jZU5hbWV9L3NlcnZlclRydXN0Q2VydGlmaWNhdGVz/V/MjAyMi0wMi0wMS1wcmV2aWV3" + } + ], + "argGroups": [ + { + "name": "", + "args": [ + { + "type": "string", + "var": "$Path.managedInstanceName", + "options": [ + "instance-name", + "managed-instance-name" + ], + "required": true, + "help": { + "short": "The name of the managed instance." + } + }, + { + "type": "ResourceGroupName", + "var": "$Path.resourceGroupName", + "options": [ + "g", + "resource-group" + ], + "required": true + }, + { + "type": "SubscriptionId", + "var": "$Path.subscriptionId", + "options": [ + "subscription" + ], + "required": true + } + ] + } + ], + "operations": [ + { + "operationId": "ServerTrustCertificates_ListByInstance", + "http": { + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/serverTrustCertificates", + "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-02-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": { + "readOnly": true, + "type": "object", + "props": [ + { + "readOnly": true, + "type": "ResourceId", + "name": "id", + "format": { + "template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Sql/managedInstances/{}/serverTrustCertificates/{}" + } + }, + { + "readOnly": true, + "type": "string", + "name": "name" + }, + { + "readOnly": true, + "type": "object", + "name": "properties", + "props": [ + { + "readOnly": true, + "type": "string", + "name": "certificateName" + }, + { + "readOnly": true, + "type": "string", + "name": "publicBlob" + }, + { + "readOnly": true, + "type": "string", + "name": "thumbprint" + } + ], + "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/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zcWwvbWFuYWdlZGluc3RhbmNlcy97fS9zZXJ2ZXJ0cnVzdGNlcnRpZmljYXRlcw==/2022-02-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zcWwvbWFuYWdlZGluc3RhbmNlcy97fS9zZXJ2ZXJ0cnVzdGNlcnRpZmljYXRlcw==/2022-02-01-preview.xml new file mode 100644 index 000000000..a0da83308 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zcWwvbWFuYWdlZGluc3RhbmNlcy97fS9zZXJ2ZXJ0cnVzdGNlcnRpZmljYXRlcw==/2022-02-01-preview.xml @@ -0,0 +1,63 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zcWwvbWFuYWdlZGluc3RhbmNlcy97fS9zZXJ2ZXJ0cnVzdGNlcnRpZmljYXRlcy97fQ==/2022-02-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zcWwvbWFuYWdlZGluc3RhbmNlcy97fS9zZXJ2ZXJ0cnVzdGNlcnRpZmljYXRlcy97fQ==/2022-02-01-preview.json new file mode 100644 index 000000000..3a9621f75 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zcWwvbWFuYWdlZGluc3RhbmNlcy97fS9zZXJ2ZXJ0cnVzdGNlcnRpZmljYXRlcy97fQ==/2022-02-01-preview.json @@ -0,0 +1,919 @@ +{ + "plane": "mgmt-plane", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.sql/managedinstances/{}/servertrustcertificates/{}", + "version": "2022-02-01-preview", + "swagger": "mgmt-plane/sql/ResourceProviders/Microsoft.Sql/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL21hbmFnZWRJbnN0YW5jZXMve21hbmFnZWRJbnN0YW5jZU5hbWV9L3NlcnZlclRydXN0Q2VydGlmaWNhdGVzL3tjZXJ0aWZpY2F0ZU5hbWV9/V/MjAyMi0wMi0wMS1wcmV2aWV3" + } + ], + "commandGroups": [ + { + "name": "sql mi partner-cert", + "commands": [ + { + "name": "show", + "version": "2022-02-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.sql/managedinstances/{}/servertrustcertificates/{}", + "version": "2022-02-01-preview", + "swagger": "mgmt-plane/sql/ResourceProviders/Microsoft.Sql/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL21hbmFnZWRJbnN0YW5jZXMve21hbmFnZWRJbnN0YW5jZU5hbWV9L3NlcnZlclRydXN0Q2VydGlmaWNhdGVzL3tjZXJ0aWZpY2F0ZU5hbWV9/V/MjAyMi0wMi0wMS1wcmV2aWV3" + } + ], + "argGroups": [ + { + "name": "", + "args": [ + { + "type": "string", + "var": "$Path.certificateName", + "options": [ + "n", + "name", + "certificate-name" + ], + "required": true, + "idPart": "child_name_1", + "help": { + "short": "Name of of the certificate to get." + } + }, + { + "type": "string", + "var": "$Path.managedInstanceName", + "options": [ + "instance-name", + "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": "ServerTrustCertificates_Get", + "http": { + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/serverTrustCertificates/{certificateName}", + "request": { + "method": "get", + "path": { + "params": [ + { + "type": "string", + "name": "certificateName", + "arg": "$Path.certificateName", + "required": true + }, + { + "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-02-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/{}/serverTrustCertificates/{}" + } + }, + { + "readOnly": true, + "type": "string", + "name": "name" + }, + { + "type": "object", + "name": "properties", + "props": [ + { + "readOnly": true, + "type": "string", + "name": "certificateName" + }, + { + "type": "string", + "name": "publicBlob" + }, + { + "readOnly": true, + "type": "string", + "name": "thumbprint" + } + ], + "clientFlatten": true + }, + { + "readOnly": true, + "type": "string", + "name": "type" + } + ] + } + } + } + }, + { + "isError": true, + "body": { + "json": { + "schema": { + "type": "@ODataV4Format" + } + } + } + } + ] + } + } + ], + "outputs": [ + { + "type": "object", + "ref": "$Instance", + "clientFlatten": true + } + ] + }, + { + "name": "delete", + "version": "2022-02-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.sql/managedinstances/{}/servertrustcertificates/{}", + "version": "2022-02-01-preview", + "swagger": "mgmt-plane/sql/ResourceProviders/Microsoft.Sql/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL21hbmFnZWRJbnN0YW5jZXMve21hbmFnZWRJbnN0YW5jZU5hbWV9L3NlcnZlclRydXN0Q2VydGlmaWNhdGVzL3tjZXJ0aWZpY2F0ZU5hbWV9/V/MjAyMi0wMi0wMS1wcmV2aWV3" + } + ], + "argGroups": [ + { + "name": "", + "args": [ + { + "type": "string", + "var": "$Path.certificateName", + "options": [ + "n", + "name", + "certificate-name" + ], + "required": true, + "idPart": "child_name_1", + "help": { + "short": "Name of of the certificate to delete." + } + }, + { + "type": "string", + "var": "$Path.managedInstanceName", + "options": [ + "instance-name", + "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": [ + { + "longRunning": { + "finalStateVia": "azure-async-operation" + }, + "operationId": "ServerTrustCertificates_Delete", + "http": { + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/serverTrustCertificates/{certificateName}", + "request": { + "method": "delete", + "path": { + "params": [ + { + "type": "string", + "name": "certificateName", + "arg": "$Path.certificateName", + "required": true + }, + { + "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-02-01-preview" + }, + "type": "string", + "name": "api-version", + "required": true + } + ] + } + }, + "responses": [ + { + "statusCode": [ + 200 + ] + }, + { + "statusCode": [ + 202 + ] + }, + { + "statusCode": [ + 204 + ] + }, + { + "isError": true, + "body": { + "json": { + "schema": { + "type": "@ODataV4Format" + } + } + } + } + ] + } + } + ], + "confirmation": "Are you sure you want to perform this operation?" + }, + { + "name": "create", + "version": "2022-02-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.sql/managedinstances/{}/servertrustcertificates/{}", + "version": "2022-02-01-preview", + "swagger": "mgmt-plane/sql/ResourceProviders/Microsoft.Sql/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL21hbmFnZWRJbnN0YW5jZXMve21hbmFnZWRJbnN0YW5jZU5hbWV9L3NlcnZlclRydXN0Q2VydGlmaWNhdGVzL3tjZXJ0aWZpY2F0ZU5hbWV9/V/MjAyMi0wMi0wMS1wcmV2aWV3" + } + ], + "argGroups": [ + { + "name": "", + "args": [ + { + "type": "string", + "var": "$Path.certificateName", + "options": [ + "n", + "name", + "certificate-name" + ], + "required": true, + "idPart": "child_name_1", + "help": { + "short": "Name of of the certificate to upload." + } + }, + { + "type": "string", + "var": "$Path.managedInstanceName", + "options": [ + "instance-name", + "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": "string", + "var": "$parameters.properties.publicBlob", + "options": [ + "public-blob" + ], + "group": "Properties", + "help": { + "short": "The certificate public blob" + } + } + ] + } + ], + "operations": [ + { + "longRunning": { + "finalStateVia": "azure-async-operation" + }, + "operationId": "ServerTrustCertificates_CreateOrUpdate", + "http": { + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/serverTrustCertificates/{certificateName}", + "request": { + "method": "put", + "path": { + "params": [ + { + "type": "string", + "name": "certificateName", + "arg": "$Path.certificateName", + "required": true + }, + { + "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-02-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": "string", + "name": "publicBlob", + "arg": "$parameters.properties.publicBlob" + } + ], + "clientFlatten": true + } + ], + "clientFlatten": true + } + } + } + }, + "responses": [ + { + "statusCode": [ + 200, + 201 + ], + "body": { + "json": { + "var": "$Instance", + "schema": { + "type": "object", + "props": [ + { + "readOnly": true, + "type": "ResourceId", + "name": "id", + "format": { + "template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Sql/managedInstances/{}/serverTrustCertificates/{}" + } + }, + { + "readOnly": true, + "type": "string", + "name": "name" + }, + { + "type": "object", + "name": "properties", + "props": [ + { + "readOnly": true, + "type": "string", + "name": "certificateName" + }, + { + "type": "string", + "name": "publicBlob" + }, + { + "readOnly": true, + "type": "string", + "name": "thumbprint" + } + ], + "clientFlatten": true + }, + { + "readOnly": true, + "type": "string", + "name": "type" + } + ] + } + } + } + }, + { + "statusCode": [ + 202 + ] + }, + { + "isError": true, + "body": { + "json": { + "schema": { + "type": "@ODataV4Format" + } + } + } + } + ] + } + } + ], + "outputs": [ + { + "type": "object", + "ref": "$Instance", + "clientFlatten": true + } + ] + }, + { + "name": "update", + "version": "2022-02-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.sql/managedinstances/{}/servertrustcertificates/{}", + "version": "2022-02-01-preview", + "swagger": "mgmt-plane/sql/ResourceProviders/Microsoft.Sql/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL21hbmFnZWRJbnN0YW5jZXMve21hbmFnZWRJbnN0YW5jZU5hbWV9L3NlcnZlclRydXN0Q2VydGlmaWNhdGVzL3tjZXJ0aWZpY2F0ZU5hbWV9/V/MjAyMi0wMi0wMS1wcmV2aWV3" + } + ], + "argGroups": [ + { + "name": "", + "args": [ + { + "type": "string", + "var": "$Path.certificateName", + "options": [ + "n", + "name", + "certificate-name" + ], + "required": true, + "idPart": "child_name_1", + "help": { + "short": "Name of of the certificate to get." + } + }, + { + "type": "string", + "var": "$Path.managedInstanceName", + "options": [ + "instance-name", + "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": "string", + "var": "$parameters.properties.publicBlob", + "options": [ + "public-blob" + ], + "group": "Properties", + "help": { + "short": "The certificate public blob" + } + } + ] + } + ], + "operations": [ + { + "operationId": "ServerTrustCertificates_Get", + "http": { + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/serverTrustCertificates/{certificateName}", + "request": { + "method": "get", + "path": { + "params": [ + { + "type": "string", + "name": "certificateName", + "arg": "$Path.certificateName", + "required": true + }, + { + "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-02-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/{}/serverTrustCertificates/{}" + } + }, + { + "readOnly": true, + "type": "string", + "name": "name" + }, + { + "type": "object", + "name": "properties", + "props": [ + { + "readOnly": true, + "type": "string", + "name": "certificateName" + }, + { + "type": "string", + "name": "publicBlob" + }, + { + "readOnly": true, + "type": "string", + "name": "thumbprint" + } + ], + "clientFlatten": true + }, + { + "readOnly": true, + "type": "string", + "name": "type" + } + ], + "cls": "ServerTrustCertificate_read" + } + } + } + }, + { + "isError": true, + "body": { + "json": { + "schema": { + "type": "@ODataV4Format" + } + } + } + } + ] + } + }, + { + "instanceUpdate": { + "instance": "$Instance", + "json": { + "schema": { + "type": "object", + "name": "parameters", + "required": true, + "props": [ + { + "type": "object", + "name": "properties", + "props": [ + { + "type": "string", + "name": "publicBlob", + "arg": "$parameters.properties.publicBlob" + } + ], + "clientFlatten": true + } + ], + "clientFlatten": true + } + } + } + }, + { + "longRunning": { + "finalStateVia": "azure-async-operation" + }, + "operationId": "ServerTrustCertificates_CreateOrUpdate", + "http": { + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/serverTrustCertificates/{certificateName}", + "request": { + "method": "put", + "path": { + "params": [ + { + "type": "string", + "name": "certificateName", + "arg": "$Path.certificateName", + "required": true + }, + { + "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-02-01-preview" + }, + "type": "string", + "name": "api-version", + "required": true + } + ] + }, + "body": { + "json": { + "ref": "$Instance" + } + } + }, + "responses": [ + { + "statusCode": [ + 200, + 201 + ], + "body": { + "json": { + "var": "$Instance", + "schema": { + "type": "@ServerTrustCertificate_read" + } + } + } + }, + { + "statusCode": [ + 202 + ] + }, + { + "isError": true, + "body": { + "json": { + "schema": { + "type": "@ODataV4Format" + } + } + } + } + ] + } + } + ], + "outputs": [ + { + "type": "object", + "ref": "$Instance", + "clientFlatten": true + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zcWwvbWFuYWdlZGluc3RhbmNlcy97fS9zZXJ2ZXJ0cnVzdGNlcnRpZmljYXRlcy97fQ==/2022-02-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zcWwvbWFuYWdlZGluc3RhbmNlcy97fS9zZXJ2ZXJ0cnVzdGNlcnRpZmljYXRlcy97fQ==/2022-02-01-preview.xml new file mode 100644 index 000000000..2bbbae33a --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zcWwvbWFuYWdlZGluc3RhbmNlcy97fS9zZXJ2ZXJ0cnVzdGNlcnRpZmljYXRlcy97fQ==/2022-02-01-preview.xml @@ -0,0 +1,283 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + From f66021942392a7a53e6c2a536aba73e02267a095 Mon Sep 17 00:00:00 2001 From: Bogdan Ostojic Date: Wed, 24 Aug 2022 15:23:09 +0200 Subject: [PATCH 2/3] resolve tree.json conflict --- Commands/tree.json | 7681 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 7681 insertions(+) diff --git a/Commands/tree.json b/Commands/tree.json index 15dfc6c34..de9a8069c 100644 --- a/Commands/tree.json +++ b/Commands/tree.json @@ -82,6 +82,7687 @@ "change-analysis" ] }, + "fluid-relay": { + "commandGroups": { + "container": { + "commands": { + "delete": { + "help": { + "short": "Delete a Fluid Relay container." + }, + "names": [ + "fluid-relay", + "container", + "delete" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "fluid-relay container delete -g MyResourceGroup --server-name MyServerName -n MyContainerName" + ], + "name": "FluidRelayContainer_Delete" + } + ], + "name": "2022-06-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.fluidrelay/fluidrelayservers/{}/fluidrelaycontainers/{}", + "plane": "mgmt-plane", + "version": "2022-06-01" + } + ] + } + ] + }, + "list": { + "help": { + "short": "List all Fluid Relay containers which are children of a given Fluid Relay server." + }, + "names": [ + "fluid-relay", + "container", + "list" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "fluid-relay container list -g MyResourceGroup --server-name MyServerName" + ], + "name": "FluidRelayContainer_List" + } + ], + "name": "2022-06-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.fluidrelay/fluidrelayservers/{}/fluidrelaycontainers", + "plane": "mgmt-plane", + "version": "2022-06-01" + } + ] + } + ] + }, + "show": { + "help": { + "short": "Get a Fluid Relay container." + }, + "names": [ + "fluid-relay", + "container", + "show" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "fluid-relay container show -g MyResourceGroup --server-name MyServerName -n MyContainerName" + ], + "name": "FluidRelayContainer_Show" + } + ], + "name": "2022-06-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.fluidrelay/fluidrelayservers/{}/fluidrelaycontainers/{}", + "plane": "mgmt-plane", + "version": "2022-06-01" + } + ] + } + ] + } + }, + "help": { + "short": "Manage Fluid Relay Container." + }, + "names": [ + "fluid-relay", + "container" + ] + }, + "server": { + "commands": { + "create": { + "help": { + "short": "Create a Fluid Relay server." + }, + "names": [ + "fluid-relay", + "server", + "create" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "fluid-relay server create -n TestFluidRelay -l westus2 -g MyResourceGroup --sku standard --tags category=sales --identity type=\"SystemAssigned\"", + "fluid-relay server create -n TestFluidRelay -l westus2 -g MyResourceGroup --sku standard --tags category=sales --identity type=\"SystemAssigned, UserAssigned\" user-assigned-identities={\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1\",\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id2\"}" + ], + "name": "FluidRelayServer_Create" + } + ], + "name": "2022-06-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.fluidrelay/fluidrelayservers/{}", + "plane": "mgmt-plane", + "version": "2022-06-01" + } + ] + } + ] + }, + "delete": { + "help": { + "short": "Delete a Fluid Relay server." + }, + "names": [ + "fluid-relay", + "server", + "delete" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "fluid-relay server delete -n testFluidRelay -g MyResourceGroup -y" + ], + "name": "FluidRelayServer_Delete" + } + ], + "name": "2022-06-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.fluidrelay/fluidrelayservers/{}", + "plane": "mgmt-plane", + "version": "2022-06-01" + } + ] + } + ] + }, + "list": { + "help": { + "short": "List all Fluid Relay servers." + }, + "names": [ + "fluid-relay", + "server", + "list" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "fluid-relay server list --subscription 00000000-0000-0000-0000-000000000000", + "fluid-relay server list -g MyResourceGroup" + ], + "name": "FluidRelayServer_List" + } + ], + "name": "2022-06-01", + "resources": [ + { + "id": "/subscriptions/{}/providers/microsoft.fluidrelay/fluidrelayservers", + "plane": "mgmt-plane", + "version": "2022-06-01" + }, + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.fluidrelay/fluidrelayservers", + "plane": "mgmt-plane", + "version": "2022-06-01" + } + ] + } + ] + }, + "list-key": { + "help": { + "short": "Get primary and secondary key for this server." + }, + "names": [ + "fluid-relay", + "server", + "list-key" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "fluid-relay server list-key -g MyResourceGroup --server-name MyServerName" + ], + "name": "FluidRelayServer_List-key" + } + ], + "name": "2022-06-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.fluidrelay/fluidrelayservers/{}/listkeys", + "plane": "mgmt-plane", + "version": "2022-06-01" + } + ] + } + ] + }, + "regenerate-key": { + "help": { + "short": "Regenerate the primary or secondary key for this server." + }, + "names": [ + "fluid-relay", + "server", + "regenerate-key" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "fluid-relay server regenerate-key -g MyResourceGroup --server-name MyServerName --key-name key1" + ], + "name": "FluidRelayServer_Regenerate-key" + } + ], + "name": "2022-06-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.fluidrelay/fluidrelayservers/{}/regeneratekey", + "plane": "mgmt-plane", + "version": "2022-06-01" + } + ] + } + ] + }, + "show": { + "help": { + "short": "Get a Fluid Relay server." + }, + "names": [ + "fluid-relay", + "server", + "show" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "fluid-relay server show -g MyResourceGroup -n MyFluidRelay" + ], + "name": "FluidRelayServer_Show" + } + ], + "name": "2022-06-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.fluidrelay/fluidrelayservers/{}", + "plane": "mgmt-plane", + "version": "2022-06-01" + } + ] + } + ] + }, + "update": { + "help": { + "short": "Update a Fluid Relay server." + }, + "names": [ + "fluid-relay", + "server", + "update" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "fluid-relay server update -n MyFluidRelay -l westus2 -g MyResourceGroup --tags category=sale" + ], + "name": "FluidRelayServer_Update" + } + ], + "name": "2022-06-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.fluidrelay/fluidrelayservers/{}", + "plane": "mgmt-plane", + "version": "2022-06-01" + } + ] + } + ] + } + }, + "help": { + "short": "Manage Fluid Relay Server." + }, + "names": [ + "fluid-relay", + "server" + ] + } + }, + "help": { + "short": "Manage Fluid Relay" + }, + "names": [ + "fluid-relay" + ] + }, + "monitor": { + "commandGroups": { + "log-analytics": { + "commandGroups": { + "cluster": { + "commands": { + "create": { + "help": { + "short": "Create a cluster instance." + }, + "names": [ + "monitor", + "log-analytics", + "cluster", + "create" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "monitor log-analytics cluster create -g MyResourceGroup -n MyCluster --sku-capacity 1000" + ], + "name": "Create a cluster instance." + } + ], + "name": "2021-06-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/clusters/{}", + "plane": "mgmt-plane", + "version": "2021-06-01" + } + ] + } + ] + }, + "delete": { + "help": { + "short": "Deletes a cluster instance." + }, + "names": [ + "monitor", + "log-analytics", + "cluster", + "delete" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "monitor log-analytics cluster delete -g MyResourceGroup -n MyCluster" + ], + "name": "Delete a cluster instance." + } + ], + "name": "2021-06-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/clusters/{}", + "plane": "mgmt-plane", + "version": "2021-06-01" + } + ] + } + ] + }, + "list": { + "help": { + "short": "List all cluster instances in a resource group or in current subscription." + }, + "names": [ + "monitor", + "log-analytics", + "cluster", + "list" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "monitor log-analytics cluster list -g MyResourceGroup" + ], + "name": "List all cluster instances in a resource group." + }, + { + "commands": [ + "monitor log-analytics cluster list" + ], + "name": "List all cluster instances in current subscription." + } + ], + "name": "2021-06-01", + "resources": [ + { + "id": "/subscriptions/{}/providers/microsoft.operationalinsights/clusters", + "plane": "mgmt-plane", + "version": "2021-06-01" + }, + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/clusters", + "plane": "mgmt-plane", + "version": "2021-06-01" + } + ] + } + ] + }, + "show": { + "help": { + "short": "Show the properties of a cluster instance." + }, + "names": [ + "monitor", + "log-analytics", + "cluster", + "show" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "monitor log-analytics cluster show -g MyResourceGroup -n MyCluster" + ], + "name": "Show the properties of a cluster instance." + } + ], + "name": "2021-06-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/clusters/{}", + "plane": "mgmt-plane", + "version": "2021-06-01" + } + ] + } + ] + }, + "update": { + "help": { + "lines": [ + "Update a cluster instance." + ], + "short": "Create or update a Log Analytics cluster." + }, + "names": [ + "monitor", + "log-analytics", + "cluster", + "update" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "monitor log-analytics cluster update -g MyResourceGroup -n MyCluster --key-vault-uri https://myvault.vault.azure.net/ --key-name my-key --key-version fe0adcedd8014aed9c22e9aefb81a1ds --sku-capacity 1000" + ], + "name": "Update a cluster instance." + } + ], + "name": "2021-06-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/clusters/{}", + "plane": "mgmt-plane", + "version": "2021-06-01" + } + ] + } + ] + } + }, + "help": { + "short": "Manage Azure log analytics cluster." + }, + "names": [ + "monitor", + "log-analytics", + "cluster" + ] + }, + "query-pack": { + "commandGroups": { + "query": { + "commands": { + "create": { + "help": { + "short": "Create a specific query within a log analytics query pack." + }, + "names": [ + "monitor", + "log-analytics", + "query-pack", + "query", + "create" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "monitor log-analytics query-pack query create --query-id 112c6b1f-5a86-4f01-a2d7-efb8e31f930f --display-name queryName -g resourceGroupName --query-pack-name queryPackName --body \"heartbeat | take 10\" --description \"some description\" --categories \"[network,monitor]\" --resource-types \"[microsoft.network/loadbalancers,microsoft.insights/autoscalesettings]\" --solutions \"[networkmonitoring]\" --tags \"{version:[v2022-01-01,v2021-12-01]}\"" + ], + "name": "Create a query in a query pack" + } + ], + "name": "2019-09-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/querypacks/{}/queries/{}", + "plane": "mgmt-plane", + "version": "2019-09-01" + } + ], + "stage": "Preview" + } + ] + }, + "delete": { + "help": { + "short": "Delete a specific query defined within a log analytics query pack." + }, + "names": [ + "monitor", + "log-analytics", + "query-pack", + "query", + "delete" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "monitor log-analytics query-pack query delete --query-id 112c6b1f-5a86-4f01-a2d7-efb8e31f930f -g resourceGroup --query-pack-name queryPackName" + ], + "name": "Delete a query in a query pack" + } + ], + "name": "2019-09-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/querypacks/{}/queries/{}", + "plane": "mgmt-plane", + "version": "2019-09-01" + } + ], + "stage": "Preview" + } + ] + }, + "list": { + "help": { + "short": "List queries defined within a log analytics query pack." + }, + "names": [ + "monitor", + "log-analytics", + "query-pack", + "query", + "list" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "monitor log-analytics query-pack query list -g resourceGroupName --query-pack-name queryPackName" + ], + "name": "List queries in a query pack" + }, + { + "commands": [ + "monitor log-analytics query-pack query list -g resourceGroupName --query-pack-name queryPackName --include-body false" + ], + "name": "List queries in a query pack without query body content" + } + ], + "name": "2019-09-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/querypacks/{}/queries", + "plane": "mgmt-plane", + "version": "2019-09-01" + } + ], + "stage": "Preview" + } + ] + }, + "search": { + "help": { + "short": "Search a list of queries defined within a log analytics query pack according to given search properties." + }, + "names": [ + "monitor", + "log-analytics", + "query-pack", + "query", + "search" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "monitor log-analytics query-pack query search -g resourceGroupName --query-pack-name queryPackName --categories network --resource-types microsoft.insights/autoscalesettings --solutions networkmonitoring --tags version=\"[v2021-12-01]\"" + ], + "name": "Search queries in a query pack" + }, + { + "commands": [ + "monitor log-analytics query-pack query search -g resourceGroupName --query-pack-name queryPackName --categories network --resource-types microsoft.insights/autoscalesettings --solutions networkmonitoring --tags version=\"[v2021-12-01]\" --include-body false" + ], + "name": "Search queries in a query pack without query body content" + } + ], + "name": "2019-09-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/querypacks/{}/queries/search", + "plane": "mgmt-plane", + "version": "2019-09-01" + } + ], + "stage": "Preview" + } + ] + }, + "show": { + "help": { + "short": "Show a specific query defined within a log analytics query pack." + }, + "names": [ + "monitor", + "log-analytics", + "query-pack", + "query", + "show" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "monitor log-analytics query-pack query show --query-id 112c6b1f-5a86-4f01-a2d7-efb8e31f930f -g resourceGroup --query-pack-name queryPackName" + ], + "name": "Show a query in a query pack" + } + ], + "name": "2019-09-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/querypacks/{}/queries/{}", + "plane": "mgmt-plane", + "version": "2019-09-01" + } + ], + "stage": "Preview" + } + ] + }, + "update": { + "help": { + "short": "Update a specific query within a log analytics query pack." + }, + "names": [ + "monitor", + "log-analytics", + "query-pack", + "query", + "update" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "monitor log-analytics query-pack query update --query-id 112c6b1f-5a86-4f01-a2d7-efb8e31f930f -g resourceGroup --query-pack-name queryPackName --body \"heartbeat | take 20\" --categories [2]=databases --tags version[0]=null" + ], + "name": "Update a query in a query pack" + } + ], + "name": "2019-09-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/querypacks/{}/queries/{}", + "plane": "mgmt-plane", + "version": "2019-09-01" + } + ], + "stage": "Preview" + } + ] + } + }, + "help": { + "short": "Manage the query of log analytics query pack" + }, + "names": [ + "monitor", + "log-analytics", + "query-pack", + "query" + ] + } + }, + "commands": { + "create": { + "help": { + "short": "Create a log analytics query pack." + }, + "names": [ + "monitor", + "log-analytics", + "query-pack", + "create" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "monitor log-analytics query-pack create -g resourceGroup -n queryPackName --location eastus2" + ], + "name": "Create a query pack" + } + ], + "name": "2019-09-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/querypacks/{}", + "plane": "mgmt-plane", + "version": "2019-09-01" + } + ], + "stage": "Preview" + } + ] + }, + "delete": { + "help": { + "short": "Delete a log analytics query pack." + }, + "names": [ + "monitor", + "log-analytics", + "query-pack", + "delete" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "monitor log-analytics query-pack delete-g resourceGroup -n queryPackName" + ], + "name": "Delete a query pack" + } + ], + "name": "2019-09-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/querypacks/{}", + "plane": "mgmt-plane", + "version": "2019-09-01" + } + ], + "stage": "Preview" + } + ] + }, + "list": { + "help": { + "short": "List of all log analytics query packs." + }, + "names": [ + "monitor", + "log-analytics", + "query-pack", + "list" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "monitor log-analytics query-pack list" + ], + "name": "List query packs in a specific subscription" + }, + { + "commands": [ + "monitor log-analytics query-pack list -g resourceGroup" + ], + "name": "List query packs in a specific resource group" + } + ], + "name": "2019-09-01", + "resources": [ + { + "id": "/subscriptions/{}/providers/microsoft.operationalinsights/querypacks", + "plane": "mgmt-plane", + "version": "2019-09-01" + }, + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/querypacks", + "plane": "mgmt-plane", + "version": "2019-09-01" + } + ], + "stage": "Preview" + } + ] + }, + "show": { + "help": { + "short": "Show a log analytics query pack." + }, + "names": [ + "monitor", + "log-analytics", + "query-pack", + "show" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "monitor log-analytics query-pack show -g resourceGroup -n queryPackName" + ], + "name": "Show a query pack" + } + ], + "name": "2019-09-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/querypacks/{}", + "plane": "mgmt-plane", + "version": "2019-09-01" + } + ], + "stage": "Preview" + } + ] + }, + "update": { + "help": { + "short": "Update a log analytics query pack." + }, + "names": [ + "monitor", + "log-analytics", + "query-pack", + "update" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "monitor log-analytics query-pack update -g resourceGroupName -n queryPackName --tags label1=value1" + ], + "name": "Update a query pack" + } + ], + "name": "2019-09-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/querypacks/{}", + "plane": "mgmt-plane", + "version": "2019-09-01" + } + ], + "stage": "Preview" + } + ] + } + }, + "help": { + "short": "Manage Azure log analytics query pack." + }, + "names": [ + "monitor", + "log-analytics", + "query-pack" + ] + } + }, + "help": { + "short": "Manage Azure log analytics." + }, + "names": [ + "monitor", + "log-analytics" + ] + } + }, + "help": { + "short": "Manage the Azure Monitor Service." + }, + "names": [ + "monitor" + ] + }, + "network": { + "commandGroups": { + "asg": { + "commands": { + "create": { + "help": { + "short": "Create an application security group." + }, + "names": [ + "network", + "asg", + "create" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "network asg create -g MyResourceGroup -n MyAsg --tags MyWebApp, CostCenter=Marketing" + ], + "name": "Create an application security group." + } + ], + "name": "2021-08-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/applicationsecuritygroups/{}", + "plane": "mgmt-plane", + "version": "2021-08-01" + } + ] + } + ] + }, + "delete": { + "help": { + "short": "Delete an application security group." + }, + "names": [ + "network", + "asg", + "delete" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "network asg delete -g MyResourceGroup -n MyAsg" + ], + "name": "Delete an application security group." + } + ], + "name": "2021-08-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/applicationsecuritygroups/{}", + "plane": "mgmt-plane", + "version": "2021-08-01" + } + ] + } + ] + }, + "list": { + "help": { + "short": "List all application security groups." + }, + "names": [ + "network", + "asg", + "list" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "network asg list -g MyResourceGroup" + ], + "name": "List all application security groups in a resource group." + } + ], + "name": "2021-08-01", + "resources": [ + { + "id": "/subscriptions/{}/providers/microsoft.network/applicationsecuritygroups", + "plane": "mgmt-plane", + "version": "2021-08-01" + }, + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/applicationsecuritygroups", + "plane": "mgmt-plane", + "version": "2021-08-01" + } + ] + } + ] + }, + "show": { + "help": { + "short": "Get details of an application security group." + }, + "names": [ + "network", + "asg", + "show" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "network asg show -g MyResourceGroup -n MyAsg" + ], + "name": "Get details of an application security group." + } + ], + "name": "2021-08-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/applicationsecuritygroups/{}", + "plane": "mgmt-plane", + "version": "2021-08-01" + } + ] + } + ] + }, + "update": { + "help": { + "lines": [ + "This command can only be used to update the tags for an application security group. Name and resource group are immutable and cannot be updated." + ], + "short": "Update an application security group." + }, + "names": [ + "network", + "asg", + "update" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "network asg update -g MyResourceGroup -n MyAsg --tags CostCenter=MyBusinessGroup" + ], + "name": "Update an application security group with a modified tag value." + } + ], + "name": "2021-08-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/applicationsecuritygroups/{}", + "plane": "mgmt-plane", + "version": "2021-08-01" + } + ] + } + ] + } + }, + "help": { + "lines": [ + "You can configure network security as a natural extension of an application's structure, ASG allows you to group virtual machines and define network security policies based on those groups. You can specify an application security group as the source and destination in a NSG security rule. For more information, visit https://docs.microsoft.com/azure/virtual-network/create-network-security-group-preview." + ], + "short": "Manage application security groups (ASGs)." + }, + "names": [ + "network", + "asg" + ] + }, + "local-gateway": { + "commands": { + "create": { + "help": { + "short": "Create a local VPN gateway." + }, + "names": [ + "network", + "local-gateway", + "create" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "network local-gateway create -g MyResourceGroup -n MyLocalGateway --gateway-ip-address 23.99.221.164 --local-address-prefixes 10.0.0.0/24 20.0.0.0/24" + ], + "name": "Create a Local Network Gateway to represent your on-premises site." + } + ], + "name": "2021-08-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/localnetworkgateways/{}", + "plane": "mgmt-plane", + "version": "2021-08-01" + } + ] + }, + { + "examples": [ + { + "commands": [ + "network local-gateway create -g MyResourceGroup -n MyLocalGateway --gateway-ip-address 23.99.221.164 --local-address-prefixes 10.0.0.0/24 20.0.0.0/24" + ], + "name": "Create a Local Network Gateway to represent your on-premises site." + } + ], + "name": "2015-06-15", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/localnetworkgateways/{}", + "plane": "mgmt-plane", + "version": "2015-06-15" + } + ] + }, + { + "examples": [ + { + "commands": [ + "network local-gateway create -g MyResourceGroup -n MyLocalGateway --gateway-ip-address 23.99.221.164 --local-address-prefixes 10.0.0.0/24 20.0.0.0/24" + ], + "name": "Create a Local Network Gateway to represent your on-premises site." + } + ], + "name": "2017-10-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/localnetworkgateways/{}", + "plane": "mgmt-plane", + "version": "2017-10-01" + } + ] + }, + { + "examples": [ + { + "commands": [ + "network local-gateway create -g MyResourceGroup -n MyLocalGateway --gateway-ip-address 23.99.221.164 --local-address-prefixes 10.0.0.0/24 20.0.0.0/24" + ], + "name": "Create a Local Network Gateway to represent your on-premises site." + } + ], + "name": "2018-11-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/localnetworkgateways/{}", + "plane": "mgmt-plane", + "version": "2018-11-01" + } + ] + } + ] + }, + "delete": { + "help": { + "lines": [ + "In order to delete a Local Network Gateway, you must first delete ALL Connection objects in Azure that are connected to the Gateway. After deleting the Gateway, proceed to delete other resources now not in use. For more information, follow the order of instructions on this page: https://docs.microsoft.com/azure/vpn-gateway/vpn-gateway-delete-vnet-gateway-portal" + ], + "short": "Delete a local VPN gateway." + }, + "names": [ + "network", + "local-gateway", + "delete" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "network local-gateway delete -g MyResourceGroup -n MyLocalGateway" + ], + "name": "Delete a Local Network Gateway." + }, + { + "commands": [ + "network local-gateway delete --name MyLocalGateway --resource-group MyResourceGroup --subscription MySubscription" + ], + "name": "Delete a local VPN gateway. (autogenerated)" + } + ], + "name": "2021-08-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/localnetworkgateways/{}", + "plane": "mgmt-plane", + "version": "2021-08-01" + } + ] + }, + { + "examples": [ + { + "commands": [ + "network local-gateway delete -g MyResourceGroup -n MyLocalGateway" + ], + "name": "Delete a Local Network Gateway." + }, + { + "commands": [ + "network local-gateway delete --name MyLocalGateway --resource-group MyResourceGroup --subscription MySubscription" + ], + "name": "Delete a local VPN gateway. (autogenerated)" + } + ], + "name": "2015-06-15", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/localnetworkgateways/{}", + "plane": "mgmt-plane", + "version": "2015-06-15" + } + ] + }, + { + "examples": [ + { + "commands": [ + "network local-gateway delete -g MyResourceGroup -n MyLocalGateway" + ], + "name": "Delete a Local Network Gateway." + }, + { + "commands": [ + "network local-gateway delete --name MyLocalGateway --resource-group MyResourceGroup --subscription MySubscription" + ], + "name": "Delete a local VPN gateway. (autogenerated)" + } + ], + "name": "2017-10-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/localnetworkgateways/{}", + "plane": "mgmt-plane", + "version": "2017-10-01" + } + ] + }, + { + "examples": [ + { + "commands": [ + "network local-gateway delete -g MyResourceGroup -n MyLocalGateway" + ], + "name": "Delete a Local Network Gateway." + }, + { + "commands": [ + "network local-gateway delete --name MyLocalGateway --resource-group MyResourceGroup --subscription MySubscription" + ], + "name": "Delete a local VPN gateway. (autogenerated)" + } + ], + "name": "2018-11-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/localnetworkgateways/{}", + "plane": "mgmt-plane", + "version": "2018-11-01" + } + ] + } + ] + }, + "list": { + "help": { + "short": "List all local VPN gateways in a resource group." + }, + "names": [ + "network", + "local-gateway", + "list" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "network local-gateway list -g MyResourceGroup" + ], + "name": "List all local VPN gateways in a resource group." + } + ], + "name": "2021-08-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/localnetworkgateways", + "plane": "mgmt-plane", + "version": "2021-08-01" + } + ] + }, + { + "examples": [ + { + "commands": [ + "network local-gateway list -g MyResourceGroup" + ], + "name": "List all local VPN gateways in a resource group." + } + ], + "name": "2015-06-15", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/localnetworkgateways", + "plane": "mgmt-plane", + "version": "2015-06-15" + } + ] + }, + { + "examples": [ + { + "commands": [ + "network local-gateway list -g MyResourceGroup" + ], + "name": "List all local VPN gateways in a resource group." + } + ], + "name": "2017-10-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/localnetworkgateways", + "plane": "mgmt-plane", + "version": "2017-10-01" + } + ] + }, + { + "examples": [ + { + "commands": [ + "network local-gateway list -g MyResourceGroup" + ], + "name": "List all local VPN gateways in a resource group." + } + ], + "name": "2018-11-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/localnetworkgateways", + "plane": "mgmt-plane", + "version": "2018-11-01" + } + ] + } + ] + }, + "show": { + "help": { + "short": "Get the details of a local VPN gateway." + }, + "names": [ + "network", + "local-gateway", + "show" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "network local-gateway show -g MyResourceGroup -n MyLocalGateway" + ], + "name": "Get the details of a local VPN gateway." + } + ], + "name": "2021-08-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/localnetworkgateways/{}", + "plane": "mgmt-plane", + "version": "2021-08-01" + } + ] + }, + { + "examples": [ + { + "commands": [ + "network local-gateway show -g MyResourceGroup -n MyLocalGateway" + ], + "name": "Get the details of a local VPN gateway." + } + ], + "name": "2015-06-15", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/localnetworkgateways/{}", + "plane": "mgmt-plane", + "version": "2015-06-15" + } + ] + }, + { + "examples": [ + { + "commands": [ + "network local-gateway show -g MyResourceGroup -n MyLocalGateway" + ], + "name": "Get the details of a local VPN gateway." + } + ], + "name": "2017-10-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/localnetworkgateways/{}", + "plane": "mgmt-plane", + "version": "2017-10-01" + } + ] + }, + { + "examples": [ + { + "commands": [ + "network local-gateway show -g MyResourceGroup -n MyLocalGateway" + ], + "name": "Get the details of a local VPN gateway." + } + ], + "name": "2018-11-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/localnetworkgateways/{}", + "plane": "mgmt-plane", + "version": "2018-11-01" + } + ] + } + ] + }, + "update": { + "help": { + "short": "Update a local VPN gateway." + }, + "names": [ + "network", + "local-gateway", + "update" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "network local-gateway update -g MyResourceGroup -n MyLocalGateway --address-prefixes 10.0.0.0/24 20.0.0.0/24 30.0.0.0/24" + ], + "name": "Update a Local Network Gateway provisioned with a 10.0.0.0/24 address prefix with additional prefixes." + }, + { + "commands": [ + "network local-gateway update --gateway-ip-address 23.99.221.164 --name MyLocalGateway --resource-group MyResourceGroup" + ], + "name": "Update a local VPN gateway. (autogenerated)" + } + ], + "name": "2021-08-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/localnetworkgateways/{}", + "plane": "mgmt-plane", + "version": "2021-08-01" + } + ] + }, + { + "examples": [ + { + "commands": [ + "network local-gateway update -g MyResourceGroup -n MyLocalGateway --address-prefixes 10.0.0.0/24 20.0.0.0/24 30.0.0.0/24" + ], + "name": "Update a Local Network Gateway provisioned with a 10.0.0.0/24 address prefix with additional prefixes." + }, + { + "commands": [ + "network local-gateway update --gateway-ip-address 23.99.221.164 --name MyLocalGateway --resource-group MyResourceGroup" + ], + "name": "Update a local VPN gateway. (autogenerated)" + } + ], + "name": "2015-06-15", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/localnetworkgateways/{}", + "plane": "mgmt-plane", + "version": "2015-06-15" + } + ] + }, + { + "examples": [ + { + "commands": [ + "network local-gateway update -g MyResourceGroup -n MyLocalGateway --address-prefixes 10.0.0.0/24 20.0.0.0/24 30.0.0.0/24" + ], + "name": "Update a Local Network Gateway provisioned with a 10.0.0.0/24 address prefix with additional prefixes." + }, + { + "commands": [ + "network local-gateway update --gateway-ip-address 23.99.221.164 --name MyLocalGateway --resource-group MyResourceGroup" + ], + "name": "Update a local VPN gateway. (autogenerated)" + } + ], + "name": "2017-10-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/localnetworkgateways/{}", + "plane": "mgmt-plane", + "version": "2017-10-01" + } + ] + }, + { + "examples": [ + { + "commands": [ + "network local-gateway update -g MyResourceGroup -n MyLocalGateway --address-prefixes 10.0.0.0/24 20.0.0.0/24 30.0.0.0/24" + ], + "name": "Update a Local Network Gateway provisioned with a 10.0.0.0/24 address prefix with additional prefixes." + }, + { + "commands": [ + "network local-gateway update --gateway-ip-address 23.99.221.164 --name MyLocalGateway --resource-group MyResourceGroup" + ], + "name": "Update a local VPN gateway. (autogenerated)" + } + ], + "name": "2018-11-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/localnetworkgateways/{}", + "plane": "mgmt-plane", + "version": "2018-11-01" + } + ] + } + ] + } + }, + "help": { + "lines": [ + "For more information on local gateways, visit:", + "https://docs.microsoft.com/azure/vpn-gateway/vpn-gateway-howto-site-to-site-resource-manager-cli#localnet." + ], + "short": "Manage local gateways." + }, + "names": [ + "network", + "local-gateway" + ] + }, + "route-filter": { + "commandGroups": { + "rule": { + "commands": { + "create": { + "help": { + "short": "Create a rule in a route filter." + }, + "names": [ + "network", + "route-filter", + "rule", + "create" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "network route-filter rule create -g MyResourceGroup --filter-name MyRouteFilter -n MyRouteFilterRule --communities 12076:5040 --access Allow" + ], + "name": "Create a rule in a route filter to allow Dynamics 365." + } + ], + "name": "2021-08-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/routefilters/{}/routefilterrules/{}", + "plane": "mgmt-plane", + "version": "2021-08-01" + } + ], + "stage": "Preview" + } + ] + }, + "delete": { + "help": { + "short": "Delete a rule from a route filter." + }, + "names": [ + "network", + "route-filter", + "rule", + "delete" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "network route-filter rule delete -g MyResourceGroup --filter-name MyRouteFilter -n MyRouteFilterRule" + ], + "name": "Delete a rule from a route filter." + } + ], + "name": "2021-08-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/routefilters/{}/routefilterrules/{}", + "plane": "mgmt-plane", + "version": "2021-08-01" + } + ], + "stage": "Preview" + } + ] + }, + "list": { + "help": { + "short": "List rules in a route filter." + }, + "names": [ + "network", + "route-filter", + "rule", + "list" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "network route-filter rule list -g MyResourceGroup --filter-name MyRouteFilter" + ], + "name": "List rules in a route filter." + } + ], + "name": "2021-08-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/routefilters/{}/routefilterrules", + "plane": "mgmt-plane", + "version": "2021-08-01" + } + ], + "stage": "Preview" + } + ] + }, + "list-service-communities": { + "help": { + "short": "Gets all the available BGP service communities." + }, + "names": [ + "network", + "route-filter", + "rule", + "list-service-communities" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "network route-filter rule list-service-communities -o table" + ], + "name": "Gets all the available BGP service communities." + }, + { + "commands": [ + "network route-filter rule list-service-communities --query '[].bgpCommunities[?communityName==`Exchange`].[communityValue][][]' -o tsv" + ], + "name": "Get the community value for Exchange." + } + ], + "name": "2021-08-01", + "resources": [ + { + "id": "/subscriptions/{}/providers/microsoft.network/bgpservicecommunities", + "plane": "mgmt-plane", + "version": "2021-08-01" + } + ], + "stage": "Preview" + } + ] + }, + "show": { + "help": { + "short": "Get the details of a rule in a route filter." + }, + "names": [ + "network", + "route-filter", + "rule", + "show" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "network route-filter rule show -g MyResourceGroup --filter-name MyRouteFilter -n MyRouteFilterRule" + ], + "name": "Get the details of a rule in a route filter." + } + ], + "name": "2021-08-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/routefilters/{}/routefilterrules/{}", + "plane": "mgmt-plane", + "version": "2021-08-01" + } + ], + "stage": "Preview" + } + ] + }, + "update": { + "help": { + "short": "Update a rule in a route filter." + }, + "names": [ + "network", + "route-filter", + "rule", + "update" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "network route-filter rule update -g MyResourceGroup --filter-name MyRouteFilter -n MyRouteFilterRule --add communities='12076:5010'" + ], + "name": "Update a rule in a route filter to add Exchange to rule list." + } + ], + "name": "2021-08-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/routefilters/{}/routefilterrules/{}", + "plane": "mgmt-plane", + "version": "2021-08-01" + } + ], + "stage": "Preview" + } + ] + } + }, + "help": { + "short": "Manage rules in a route filter." + }, + "names": [ + "network", + "route-filter", + "rule" + ] + } + }, + "commands": { + "create": { + "help": { + "short": "Create a route filter." + }, + "names": [ + "network", + "route-filter", + "create" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "network route-filter create -g MyResourceGroup -n MyRouteFilter" + ], + "name": "Create a route filter." + }, + { + "commands": [ + "network route-filter create --location westus2 --name MyRouteFilter --resource-group MyResourceGroup" + ], + "name": "Create a route filter. (autogenerated)" + } + ], + "name": "2021-08-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/routefilters/{}", + "plane": "mgmt-plane", + "version": "2021-08-01" + } + ], + "stage": "Preview" + } + ] + }, + "delete": { + "help": { + "short": "Delete a route filter." + }, + "names": [ + "network", + "route-filter", + "delete" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "network route-filter delete -g MyResourceGroup -n MyRouteFilter" + ], + "name": "Delete a route filter." + } + ], + "name": "2021-08-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/routefilters/{}", + "plane": "mgmt-plane", + "version": "2021-08-01" + } + ], + "stage": "Preview" + } + ] + }, + "list": { + "help": { + "short": "List route filters." + }, + "names": [ + "network", + "route-filter", + "list" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "network route-filter list -g MyResourceGroup" + ], + "name": "List route filters in a resource group." + } + ], + "name": "2021-08-01", + "resources": [ + { + "id": "/subscriptions/{}/providers/microsoft.network/routefilters", + "plane": "mgmt-plane", + "version": "2021-08-01" + }, + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/routefilters", + "plane": "mgmt-plane", + "version": "2021-08-01" + } + ], + "stage": "Preview" + } + ] + }, + "show": { + "help": { + "short": "Get the details of a route filter." + }, + "names": [ + "network", + "route-filter", + "show" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "network route-filter show -g MyResourceGroup -n MyRouteFilter" + ], + "name": "Get the details of a route filter." + }, + { + "commands": [ + "network route-filter show --expand peerings --name MyRouteFilter --resource-group MyResourceGroup" + ], + "name": "Get the details of a route filter. (autogenerated)" + } + ], + "name": "2021-08-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/routefilters/{}", + "plane": "mgmt-plane", + "version": "2021-08-01" + } + ], + "stage": "Preview" + } + ] + }, + "update": { + "help": { + "short": "Update a route filter." + }, + "names": [ + "network", + "route-filter", + "update" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "network route-filter update -g MyResourceGroup -n MyRouteFilter --set tags.CostCenter=MyBusinessGroup" + ], + "name": "Update the tags on a route filter." + } + ], + "name": "2021-08-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/routefilters/{}", + "plane": "mgmt-plane", + "version": "2021-08-01" + } + ], + "stage": "Preview" + } + ] + } + }, + "help": { + "short": "Manage route filters." + }, + "names": [ + "network", + "route-filter" + ] + }, + "route-table": { + "commandGroups": { + "route": { + "commands": { + "create": { + "help": { + "short": "Create a route in a route table." + }, + "names": [ + "network", + "route-table", + "route", + "create" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "network route-table route create -g MyResourceGroup --route-table-name MyRouteTable -n MyRoute --next-hop-type VirtualAppliance --address-prefix 10.0.0.0/16 --next-hop-ip-address 10.0.100.4" + ], + "name": "Create a route that forces all inbound traffic to a Network Virtual Appliance." + } + ], + "name": "2021-08-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/routetables/{}/routes/{}", + "plane": "mgmt-plane", + "version": "2021-08-01" + } + ] + }, + { + "examples": [ + { + "commands": [ + "network route-table route create -g MyResourceGroup --route-table-name MyRouteTable -n MyRoute --next-hop-type VirtualAppliance --address-prefix 10.0.0.0/16 --next-hop-ip-address 10.0.100.4" + ], + "name": "Create a route that forces all inbound traffic to a Network Virtual Appliance." + } + ], + "name": "2017-10-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/routetables/{}/routes/{}", + "plane": "mgmt-plane", + "version": "2017-10-01" + } + ] + }, + { + "examples": [ + { + "commands": [ + "network route-table route create -g MyResourceGroup --route-table-name MyRouteTable -n MyRoute --next-hop-type VirtualAppliance --address-prefix 10.0.0.0/16 --next-hop-ip-address 10.0.100.4" + ], + "name": "Create a route that forces all inbound traffic to a Network Virtual Appliance." + } + ], + "name": "2015-06-15", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/routetables/{}/routes/{}", + "plane": "mgmt-plane", + "version": "2015-06-15" + } + ] + } + ] + }, + "delete": { + "help": { + "short": "Delete a route from a route table." + }, + "names": [ + "network", + "route-table", + "route", + "delete" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "network route-table route delete -g MyResourceGroup --route-table-name MyRouteTable -n MyRoute" + ], + "name": "Delete a route from a route table." + } + ], + "name": "2021-08-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/routetables/{}/routes/{}", + "plane": "mgmt-plane", + "version": "2021-08-01" + } + ] + }, + { + "examples": [ + { + "commands": [ + "network route-table route delete -g MyResourceGroup --route-table-name MyRouteTable -n MyRoute" + ], + "name": "Delete a route from a route table." + } + ], + "name": "2017-10-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/routetables/{}/routes/{}", + "plane": "mgmt-plane", + "version": "2017-10-01" + } + ] + }, + { + "examples": [ + { + "commands": [ + "network route-table route delete -g MyResourceGroup --route-table-name MyRouteTable -n MyRoute" + ], + "name": "Delete a route from a route table." + } + ], + "name": "2015-06-15", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/routetables/{}/routes/{}", + "plane": "mgmt-plane", + "version": "2015-06-15" + } + ] + } + ] + }, + "list": { + "help": { + "short": "List routes in a route table." + }, + "names": [ + "network", + "route-table", + "route", + "list" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "network route-table route list -g MyResourceGroup --route-table-name MyRouteTable" + ], + "name": "List routes in a route table." + } + ], + "name": "2021-08-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/routetables/{}/routes", + "plane": "mgmt-plane", + "version": "2021-08-01" + } + ] + }, + { + "examples": [ + { + "commands": [ + "network route-table route list -g MyResourceGroup --route-table-name MyRouteTable" + ], + "name": "List routes in a route table." + } + ], + "name": "2017-10-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/routetables/{}/routes", + "plane": "mgmt-plane", + "version": "2017-10-01" + } + ] + }, + { + "examples": [ + { + "commands": [ + "network route-table route list -g MyResourceGroup --route-table-name MyRouteTable" + ], + "name": "List routes in a route table." + } + ], + "name": "2015-06-15", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/routetables/{}/routes", + "plane": "mgmt-plane", + "version": "2015-06-15" + } + ] + } + ] + }, + "show": { + "help": { + "short": "Get the details of a route in a route table." + }, + "names": [ + "network", + "route-table", + "route", + "show" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "network route-table route show -g MyResourceGroup --route-table-name MyRouteTable -n MyRoute -o table" + ], + "name": "Get the details of a route in a route table." + } + ], + "name": "2021-08-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/routetables/{}/routes/{}", + "plane": "mgmt-plane", + "version": "2021-08-01" + } + ] + }, + { + "examples": [ + { + "commands": [ + "network route-table route show -g MyResourceGroup --route-table-name MyRouteTable -n MyRoute -o table" + ], + "name": "Get the details of a route in a route table." + } + ], + "name": "2017-10-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/routetables/{}/routes/{}", + "plane": "mgmt-plane", + "version": "2017-10-01" + } + ] + }, + { + "examples": [ + { + "commands": [ + "network route-table route show -g MyResourceGroup --route-table-name MyRouteTable -n MyRoute -o table" + ], + "name": "Get the details of a route in a route table." + } + ], + "name": "2015-06-15", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/routetables/{}/routes/{}", + "plane": "mgmt-plane", + "version": "2015-06-15" + } + ] + } + ] + }, + "update": { + "help": { + "short": "Update a route in a route table." + }, + "names": [ + "network", + "route-table", + "route", + "update" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "network route-table route update -g MyResourceGroup --route-table-name MyRouteTable -n MyRoute --next-hop-ip-address 10.0.100.5" + ], + "name": "Update a route in a route table to change the next hop ip address." + }, + { + "commands": [ + "network route-table route update --address-prefix 10.0.0.0/16 --name MyRoute --next-hop-ip-address 10.0.100.5 --next-hop-type VirtualNetworkGateway --resource-group MyResourceGroup --route-table-name MyRouteTable" + ], + "name": "Update a route in a route table." + } + ], + "name": "2021-08-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/routetables/{}/routes/{}", + "plane": "mgmt-plane", + "version": "2021-08-01" + } + ] + }, + { + "examples": [ + { + "commands": [ + "network route-table route update -g MyResourceGroup --route-table-name MyRouteTable -n MyRoute --next-hop-ip-address 10.0.100.5" + ], + "name": "Update a route in a route table to change the next hop ip address." + }, + { + "commands": [ + "network route-table route update --address-prefix 10.0.0.0/16 --name MyRoute --next-hop-ip-address 10.0.100.5 --next-hop-type VirtualNetworkGateway --resource-group MyResourceGroup --route-table-name MyRouteTable" + ], + "name": "Update a route in a route table." + } + ], + "name": "2017-10-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/routetables/{}/routes/{}", + "plane": "mgmt-plane", + "version": "2017-10-01" + } + ] + }, + { + "examples": [ + { + "commands": [ + "network route-table route update -g MyResourceGroup --route-table-name MyRouteTable -n MyRoute --next-hop-ip-address 10.0.100.5" + ], + "name": "Update a route in a route table to change the next hop ip address." + }, + { + "commands": [ + "network route-table route update --address-prefix 10.0.0.0/16 --name MyRoute --next-hop-ip-address 10.0.100.5 --next-hop-type VirtualNetworkGateway --resource-group MyResourceGroup --route-table-name MyRouteTable" + ], + "name": "Update a route in a route table." + } + ], + "name": "2015-06-15", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/routetables/{}/routes/{}", + "plane": "mgmt-plane", + "version": "2015-06-15" + } + ] + } + ] + } + }, + "help": { + "short": "Manage routes in a route table." + }, + "names": [ + "network", + "route-table", + "route" + ] + } + }, + "commands": { + "create": { + "help": { + "short": "Create a route table." + }, + "names": [ + "network", + "route-table", + "create" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "network route-table create -g MyResourceGroup -n MyRouteTable" + ], + "name": "Create a route table." + } + ], + "name": "2021-08-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/routetables/{}", + "plane": "mgmt-plane", + "version": "2021-08-01" + } + ] + }, + { + "examples": [ + { + "commands": [ + "network route-table create -g MyResourceGroup -n MyRouteTable" + ], + "name": "Create a route table." + } + ], + "name": "2017-10-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/routetables/{}", + "plane": "mgmt-plane", + "version": "2017-10-01" + } + ] + }, + { + "examples": [ + { + "commands": [ + "network route-table create -g MyResourceGroup -n MyRouteTable" + ], + "name": "Create a route table." + } + ], + "name": "2015-06-15", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/routetables/{}", + "plane": "mgmt-plane", + "version": "2015-06-15" + } + ] + } + ] + }, + "delete": { + "help": { + "short": "Delete a route table." + }, + "names": [ + "network", + "route-table", + "delete" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "network route-table delete -g MyResourceGroup -n MyRouteTable" + ], + "name": "Delete a route table." + } + ], + "name": "2021-08-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/routetables/{}", + "plane": "mgmt-plane", + "version": "2021-08-01" + } + ] + }, + { + "examples": [ + { + "commands": [ + "network route-table delete -g MyResourceGroup -n MyRouteTable" + ], + "name": "Delete a route table." + } + ], + "name": "2017-10-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/routetables/{}", + "plane": "mgmt-plane", + "version": "2017-10-01" + } + ] + }, + { + "examples": [ + { + "commands": [ + "network route-table delete -g MyResourceGroup -n MyRouteTable" + ], + "name": "Delete a route table." + } + ], + "name": "2015-06-15", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/routetables/{}", + "plane": "mgmt-plane", + "version": "2015-06-15" + } + ] + } + ] + }, + "list": { + "help": { + "short": "List route tables." + }, + "names": [ + "network", + "route-table", + "list" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "network route-table list -g MyResourceGroup" + ], + "name": "List all route tables in a subscription." + } + ], + "name": "2021-08-01", + "resources": [ + { + "id": "/subscriptions/{}/providers/microsoft.network/routetables", + "plane": "mgmt-plane", + "version": "2021-08-01" + }, + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/routetables", + "plane": "mgmt-plane", + "version": "2021-08-01" + } + ] + }, + { + "examples": [ + { + "commands": [ + "network route-table list -g MyResourceGroup" + ], + "name": "List all route tables in a subscription." + } + ], + "name": "2017-10-01", + "resources": [ + { + "id": "/subscriptions/{}/providers/microsoft.network/routetables", + "plane": "mgmt-plane", + "version": "2017-10-01" + }, + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/routetables", + "plane": "mgmt-plane", + "version": "2017-10-01" + } + ] + }, + { + "examples": [ + { + "commands": [ + "network route-table list -g MyResourceGroup" + ], + "name": "List all route tables in a subscription." + } + ], + "name": "2015-06-15", + "resources": [ + { + "id": "/subscriptions/{}/providers/microsoft.network/routetables", + "plane": "mgmt-plane", + "version": "2015-06-15" + }, + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/routetables", + "plane": "mgmt-plane", + "version": "2015-06-15" + } + ] + } + ] + }, + "show": { + "help": { + "short": "Get the details of a route table." + }, + "names": [ + "network", + "route-table", + "show" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "network route-table show -g MyResourceGroup -n MyRouteTable" + ], + "name": "Get the details of a route table." + } + ], + "name": "2021-08-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/routetables/{}", + "plane": "mgmt-plane", + "version": "2021-08-01" + } + ] + }, + { + "examples": [ + { + "commands": [ + "network route-table show -g MyResourceGroup -n MyRouteTable" + ], + "name": "Get the details of a route table." + } + ], + "name": "2017-10-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/routetables/{}", + "plane": "mgmt-plane", + "version": "2017-10-01" + } + ] + }, + { + "examples": [ + { + "commands": [ + "network route-table show -g MyResourceGroup -n MyRouteTable" + ], + "name": "Get the details of a route table." + } + ], + "name": "2015-06-15", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/routetables/{}", + "plane": "mgmt-plane", + "version": "2015-06-15" + } + ] + } + ] + }, + "update": { + "help": { + "short": "Update a route table." + }, + "names": [ + "network", + "route-table", + "update" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "network route-table update -g MyResourceGroup -n MyRouteTable --disable-bgp-route-propagation true" + ], + "name": "Update a route table to disable BGP route propagation." + } + ], + "name": "2021-08-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/routetables/{}", + "plane": "mgmt-plane", + "version": "2021-08-01" + } + ] + }, + { + "examples": [ + { + "commands": [ + "network route-table update -g MyResourceGroup -n MyRouteTable --disable-bgp-route-propagation true" + ], + "name": "Update a route table to disable BGP route propagation." + } + ], + "name": "2017-10-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/routetables/{}", + "plane": "mgmt-plane", + "version": "2017-10-01" + } + ] + }, + { + "examples": [ + { + "commands": [ + "network route-table update -g MyResourceGroup -n MyRouteTable --disable-bgp-route-propagation true" + ], + "name": "Update a route table to disable BGP route propagation." + } + ], + "name": "2015-06-15", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/routetables/{}", + "plane": "mgmt-plane", + "version": "2015-06-15" + } + ] + } + ] + } + }, + "help": { + "short": "Manage route tables." + }, + "names": [ + "network", + "route-table" + ] + }, + "security-partner-provider": { + "commands": { + "create": { + "help": { + "short": "Create an Azure security partner provider." + }, + "names": [ + "network", + "security-partner-provider", + "create" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "network security-partner-provider create -n MyProvider -g MyResourceGroup --vhub MyVirtualHub --provider Checkpoint" + ], + "name": "Create a security partner provider." + } + ], + "name": "2021-08-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/securitypartnerproviders/{}", + "plane": "mgmt-plane", + "version": "2021-08-01" + } + ], + "stage": "Preview" + } + ] + }, + "delete": { + "help": { + "short": "Delete an Azure security partner provider." + }, + "names": [ + "network", + "security-partner-provider", + "delete" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "network security-partner-provider delete -n MyProvider -g MyResourceGroup" + ], + "name": "Delete a security partner provider." + } + ], + "name": "2021-08-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/securitypartnerproviders/{}", + "plane": "mgmt-plane", + "version": "2021-08-01" + } + ], + "stage": "Preview" + } + ] + }, + "list": { + "help": { + "short": "List all Azure security partner providers." + }, + "names": [ + "network", + "security-partner-provider", + "list" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "network security-partner-provider list -g MyResourceGroup" + ], + "name": "List all security partner providers in a resource group." + } + ], + "name": "2021-08-01", + "resources": [ + { + "id": "/subscriptions/{}/providers/microsoft.network/securitypartnerproviders", + "plane": "mgmt-plane", + "version": "2021-08-01" + }, + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/securitypartnerproviders", + "plane": "mgmt-plane", + "version": "2021-08-01" + } + ], + "stage": "Preview" + } + ] + }, + "show": { + "help": { + "short": "Show an Azure security partner provider." + }, + "names": [ + "network", + "security-partner-provider", + "show" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "network security-partner-provider show -n MyProvider -g MyResourceGroup" + ], + "name": "Get details of a security partner provider." + } + ], + "name": "2021-08-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/securitypartnerproviders/{}", + "plane": "mgmt-plane", + "version": "2021-08-01" + } + ], + "stage": "Preview" + } + ] + }, + "update": { + "help": { + "short": "Update an Azure security partner provider." + }, + "names": [ + "network", + "security-partner-provider", + "update" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "network security-partner-provider update -n MyProvider -g MyResourceGroup --tags a=b" + ], + "name": "Update a security partner provider." + } + ], + "name": "2021-08-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/securitypartnerproviders/{}", + "plane": "mgmt-plane", + "version": "2021-08-01" + } + ], + "stage": "Preview" + } + ] + } + }, + "help": { + "short": "Manage Azure security partner provider." + }, + "names": [ + "network", + "security-partner-provider" + ] + }, + "service-endpoint": { + "commandGroups": { + "policy": { + "commands": { + "create": { + "help": { + "short": "Create a service endpoint policy." + }, + "names": [ + "network", + "service-endpoint", + "policy", + "create" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "network service-endpoint policy create --name MyServiceEndpointPolicy --resource-group MyResourceGroup" + ], + "name": "Create a service endpoint policy." + } + ], + "name": "2021-08-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/serviceendpointpolicies/{}", + "plane": "mgmt-plane", + "version": "2021-08-01" + } + ] + } + ] + }, + "delete": { + "help": { + "short": "Delete a service endpoint policy." + }, + "names": [ + "network", + "service-endpoint", + "policy", + "delete" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "network service-endpoint policy delete -g MyResourceGroup -n MyPolicy" + ], + "name": "Delete a service endpoint policy." + } + ], + "name": "2021-08-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/serviceendpointpolicies/{}", + "plane": "mgmt-plane", + "version": "2021-08-01" + } + ] + } + ] + }, + "list": { + "help": { + "short": "List service endpoint policies." + }, + "names": [ + "network", + "service-endpoint", + "policy", + "list" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "network service-endpoint policy list --resource-group MyResourceGroup" + ], + "name": "List service endpoint policies." + } + ], + "name": "2021-08-01", + "resources": [ + { + "id": "/subscriptions/{}/providers/microsoft.network/serviceendpointpolicies", + "plane": "mgmt-plane", + "version": "2021-08-01" + }, + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/serviceendpointpolicies", + "plane": "mgmt-plane", + "version": "2021-08-01" + } + ] + } + ] + }, + "show": { + "help": { + "short": "Get the details of a service endpoint policy." + }, + "names": [ + "network", + "service-endpoint", + "policy", + "show" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "network service-endpoint policy show --name MyServiceEndpointPolicy --resource-group MyResourceGroup" + ], + "name": "Get the details of a service endpoint policy." + } + ], + "name": "2021-08-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/serviceendpointpolicies/{}", + "plane": "mgmt-plane", + "version": "2021-08-01" + } + ] + } + ] + }, + "update": { + "help": { + "short": "Update a service endpoint policy." + }, + "names": [ + "network", + "service-endpoint", + "policy", + "update" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "network service-endpoint policy update -g MyResourceGroup -n MyPolicy --tags test=nest" + ], + "name": "Update a service endpoint policy." + } + ], + "name": "2021-08-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/serviceendpointpolicies/{}", + "plane": "mgmt-plane", + "version": "2021-08-01" + } + ] + } + ] + } + }, + "help": { + "short": "Manage service endpoint policies." + }, + "names": [ + "network", + "service-endpoint", + "policy" + ] + }, + "policy-definition": { + "commands": { + "create": { + "help": { + "short": "Create a service endpoint policy definition." + }, + "names": [ + "network", + "service-endpoint", + "policy-definition", + "create" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "network service-endpoint policy-definition create -g MyResourceGroup --policy-name MyPolicy -n MyPolicyDefinition --service Microsoft.Storage --description \"Test Def\" --service-resources MyServiceResources" + ], + "name": "Create a service endpoint policy definition." + } + ], + "name": "2021-08-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/serviceendpointpolicies/{}/serviceendpointpolicydefinitions/{}", + "plane": "mgmt-plane", + "version": "2021-08-01" + } + ] + } + ] + }, + "delete": { + "help": { + "short": "Delete a service endpoint policy definition." + }, + "names": [ + "network", + "service-endpoint", + "policy-definition", + "delete" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "network service-endpoint policy-definition delete --name myserviceendpointpolicydefinition --policy-name mypolicy --resource-group myresourcegroup" + ], + "name": "Delete a service endpoint policy definition." + } + ], + "name": "2021-08-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/serviceendpointpolicies/{}/serviceendpointpolicydefinitions/{}", + "plane": "mgmt-plane", + "version": "2021-08-01" + } + ] + } + ] + }, + "list": { + "help": { + "short": "List service endpoint policy definitions." + }, + "names": [ + "network", + "service-endpoint", + "policy-definition", + "list" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "network service-endpoint policy-definition list --policy-name MyPolicy --resource-group MyResourceGroup" + ], + "name": "List service endpoint policy definitions." + } + ], + "name": "2021-08-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/serviceendpointpolicies/{}/serviceendpointpolicydefinitions", + "plane": "mgmt-plane", + "version": "2021-08-01" + } + ] + } + ] + }, + "show": { + "help": { + "short": "Get the details of a service endpoint policy definition." + }, + "names": [ + "network", + "service-endpoint", + "policy-definition", + "show" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "network service-endpoint policy-definition show --name myserviceendpointpolicydefinition --policy-name mypolicy --resource-group myresourcegroup" + ], + "name": "Get the details of a service endpoint policy definition." + } + ], + "name": "2021-08-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/serviceendpointpolicies/{}/serviceendpointpolicydefinitions/{}", + "plane": "mgmt-plane", + "version": "2021-08-01" + } + ] + } + ] + }, + "update": { + "help": { + "short": "Update a service endpoint policy definition." + }, + "names": [ + "network", + "service-endpoint", + "policy-definition", + "update" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "network service-endpoint policy-definition update --add communities='12076:5010' --name MyServiceEndpointPolicyDefinition --policy-name MyPolicy --resource-group MyResourceGroup --subscription MySubscription" + ], + "name": "Update a service endpoint policy definition." + } + ], + "name": "2021-08-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/serviceendpointpolicies/{}/serviceendpointpolicydefinitions/{}", + "plane": "mgmt-plane", + "version": "2021-08-01" + } + ] + } + ] + } + }, + "help": { + "short": "Manage service endpoint policy definitions." + }, + "names": [ + "network", + "service-endpoint", + "policy-definition" + ] + } + }, + "commands": { + "list": { + "help": { + "short": "List what values of endpoint services are available for use." + }, + "names": [ + "network", + "service-endpoint", + "list" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "network service-endpoint list -l MyLocation" + ], + "name": "List available endpoint services." + } + ], + "name": "2021-08-01", + "resources": [ + { + "id": "/subscriptions/{}/providers/microsoft.network/locations/{}/virtualnetworkavailableendpointservices", + "plane": "mgmt-plane", + "version": "2021-08-01" + } + ] + } + ] + } + }, + "help": { + "short": "Manage policies related to service endpoints." + }, + "names": [ + "network", + "service-endpoint" + ] + }, + "vhub": { + "commandGroups": { + "routing-intent": { + "commands": { + "create": { + "help": { + "short": "Create a routing intent in the virtual hub." + }, + "names": [ + "network", + "vhub", + "routing-intent", + "create" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "network vhub routing-intent create -n MyRoutingIntent -g MyResourceGroup --vhub MyVirtualHub --routing-policies \"[{name:InternetTraffic,destinations:[Internet],next-hop:MyFirewallId},{name:PrivateTrafficPolicy,destinations:[PrivateTraffic],next-hop:MyFirewallId}]\"" + ], + "name": "Create a routing intent with two routing policies." + } + ], + "name": "2021-05-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualhubs/{}/routingintent/{}", + "plane": "mgmt-plane", + "version": "2021-05-01" + } + ], + "stage": "Preview" + } + ] + }, + "delete": { + "help": { + "short": "Delete a routing intent in the virtual hub." + }, + "names": [ + "network", + "vhub", + "routing-intent", + "delete" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "network vhub routing-intent delete -n MyRoutingIntent -g MyResourceGroup --vhub MyVirtualHub --yes" + ], + "name": "Delete a routing intent in the virtual hub." + } + ], + "name": "2021-05-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualhubs/{}/routingintent/{}", + "plane": "mgmt-plane", + "version": "2021-05-01" + } + ], + "stage": "Preview" + } + ] + }, + "list": { + "help": { + "short": "Retrieve the details of all routing intent resources of the virtual hub." + }, + "names": [ + "network", + "vhub", + "routing-intent", + "list" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "network vhub routing-intent list -g MyResourceGroup --vhub MyVirtualHub" + ], + "name": "Retrieve the details of all routing intent resources of the virtual hub." + } + ], + "name": "2021-05-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualhubs/{}/routingintent", + "plane": "mgmt-plane", + "version": "2021-05-01" + } + ], + "stage": "Preview" + } + ] + }, + "show": { + "help": { + "short": "Retrieve the details of a routing intent." + }, + "names": [ + "network", + "vhub", + "routing-intent", + "show" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "network vhub routing-intent show -n MyRoutingIntent -g MyResourceGroup --vhub MyVirtualHub" + ], + "name": "Retrieve the details of a routing intent." + } + ], + "name": "2021-05-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualhubs/{}/routingintent/{}", + "plane": "mgmt-plane", + "version": "2021-05-01" + } + ], + "stage": "Preview" + } + ] + }, + "update": { + "help": { + "short": "Update a routing intent in the virtual hub." + }, + "names": [ + "network", + "vhub", + "routing-intent", + "update" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "network vhub routing-intent create -n MyRoutingIntent -g MyResourceGroup --vhub MyVirtualHub --routing-policies \"[{name:InternetTraffic,destinations:[Internet],next-hop:MyFirewallId}]\"" + ], + "name": "Update a routing intent in the virtual hub." + } + ], + "name": "2021-05-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualhubs/{}/routingintent/{}", + "plane": "mgmt-plane", + "version": "2021-05-01" + } + ], + "stage": "Preview" + } + ] + } + }, + "help": { + "short": "Manage routing intent in the virtual hub." + }, + "names": [ + "network", + "vhub", + "routing-intent" + ] + } + }, + "help": { + "short": "Manage virtual hubs." + }, + "names": [ + "network", + "vhub" + ] + }, + "virtual-appliance": { + "commandGroups": { + "site": { + "commands": { + "create": { + "help": { + "short": "Create an Azure network virtual appliance site." + }, + "names": [ + "network", + "virtual-appliance", + "site", + "create" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "network virtual-appliance site create -n MyName -g MyRG --appliance-name MyAppliance --address-prefix 10.0.0.0/24 --allow --default --optimize" + ], + "name": "Create an Azure network virtual appliance site." + } + ], + "name": "2021-08-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networkvirtualappliances/{}/virtualappliancesites/{}", + "plane": "mgmt-plane", + "version": "2021-08-01" + } + ], + "stage": "Preview" + } + ] + }, + "delete": { + "help": { + "short": "Delete an Azure network virtual appliance site." + }, + "names": [ + "network", + "virtual-appliance", + "site", + "delete" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "network virtual-appliance site delete -n MySite -g MyRG --appliance-name MyName -y" + ], + "name": "Delete an Azure network virtual appliance site." + } + ], + "name": "2021-08-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networkvirtualappliances/{}/virtualappliancesites/{}", + "plane": "mgmt-plane", + "version": "2021-08-01" + } + ], + "stage": "Preview" + } + ] + }, + "list": { + "help": { + "short": "List all Azure network virtual appliance site." + }, + "names": [ + "network", + "virtual-appliance", + "site", + "list" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "network virtual-appliance site list -g MyRG --appliance-name MyName" + ], + "name": "List all Azure network virtual appliance site." + } + ], + "name": "2021-08-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networkvirtualappliances/{}/virtualappliancesites", + "plane": "mgmt-plane", + "version": "2021-08-01" + } + ], + "stage": "Preview" + } + ] + }, + "show": { + "help": { + "short": "Show the detail of an Azure network virtual appliance site." + }, + "names": [ + "network", + "virtual-appliance", + "site", + "show" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "network virtual-appliance site show -n MySite -g MyRG --appliance-name MyName" + ], + "name": "Show the detail of an Azure network virtual appliance site." + } + ], + "name": "2021-08-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networkvirtualappliances/{}/virtualappliancesites/{}", + "plane": "mgmt-plane", + "version": "2021-08-01" + } + ], + "stage": "Preview" + } + ] + }, + "update": { + "help": { + "short": "Update an Azure network virtual appliance site." + }, + "names": [ + "network", + "virtual-appliance", + "site", + "update" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "network virtual-appliance site update -n MyName -g MyRG --appliance-name MyAppliance --address-prefix 10.0.0.0/24 --allow false --default false --optimize false" + ], + "name": "Update an Azure network virtual appliance site." + } + ], + "name": "2021-08-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networkvirtualappliances/{}/virtualappliancesites/{}", + "plane": "mgmt-plane", + "version": "2021-08-01" + } + ], + "stage": "Preview" + } + ] + } + }, + "help": { + "short": "Manage Azure Network Virtual Appliance Site." + }, + "names": [ + "network", + "virtual-appliance", + "site" + ] + }, + "sku": { + "commands": { + "list": { + "help": { + "short": "List all Azure network virtual appliance sku." + }, + "names": [ + "network", + "virtual-appliance", + "sku", + "list" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "network virtual-appliance sku list" + ], + "name": "List all Azure network virtual appliance sku." + } + ], + "name": "2021-08-01", + "resources": [ + { + "id": "/subscriptions/{}/providers/microsoft.network/networkvirtualapplianceskus", + "plane": "mgmt-plane", + "version": "2021-08-01" + } + ], + "stage": "Preview" + } + ] + }, + "show": { + "help": { + "short": "Show the detail of an Azure network virtual appliance sku." + }, + "names": [ + "network", + "virtual-appliance", + "sku", + "show" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "network virtual-appliance sku show --name \"barracudasdwanrelease\"" + ], + "name": "Show the detail of an Azure network virtual appliance sku." + } + ], + "name": "2021-08-01", + "resources": [ + { + "id": "/subscriptions/{}/providers/microsoft.network/networkvirtualapplianceskus/{}", + "plane": "mgmt-plane", + "version": "2021-08-01" + } + ], + "stage": "Preview" + } + ] + } + }, + "help": { + "short": "Manage Azure Network Virtual Appliance Sku." + }, + "names": [ + "network", + "virtual-appliance", + "sku" + ] + } + }, + "commands": { + "create": { + "help": { + "short": "Create an Azure network virtual appliance." + }, + "names": [ + "network", + "virtual-appliance", + "create" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "network virtual-appliance create -n MyName -g MyRG --vhub {vhubID} --vendor \"barracudasdwanrelease\" --scale-unit 2 -v latest --asn 10000 --init-config \"echo $hello\" --boot-blobs {blobUrl1} {blobUrl2} --cloud-blobs {blobUrl3} {blobUrl4}" + ], + "name": "Create an Azure network virtual appliance." + } + ], + "name": "2021-08-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networkvirtualappliances/{}", + "plane": "mgmt-plane", + "version": "2021-08-01" + } + ], + "stage": "Preview" + } + ] + }, + "delete": { + "help": { + "short": "Delete an Azure network virtual appliance." + }, + "names": [ + "network", + "virtual-appliance", + "delete" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "network virtual-appliance delete -n MyName -g MyRG -y" + ], + "name": "Delete an Azure network virtual appliance." + } + ], + "name": "2021-08-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networkvirtualappliances/{}", + "plane": "mgmt-plane", + "version": "2021-08-01" + } + ], + "stage": "Preview" + } + ] + }, + "list": { + "help": { + "short": "List all Azure network virtual appliance." + }, + "names": [ + "network", + "virtual-appliance", + "list" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "network virtual-appliance list -g MyRG" + ], + "name": "List all Azure network virtual appliances." + } + ], + "name": "2021-08-01", + "resources": [ + { + "id": "/subscriptions/{}/providers/microsoft.network/networkvirtualappliances", + "plane": "mgmt-plane", + "version": "2021-08-01" + }, + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networkvirtualappliances", + "plane": "mgmt-plane", + "version": "2021-08-01" + } + ], + "stage": "Preview" + } + ] + }, + "show": { + "help": { + "short": "Show the detail of an Azure network virtual appliance." + }, + "names": [ + "network", + "virtual-appliance", + "show" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "network virtual-appliance show -n MyName -g MyRG" + ], + "name": "Show the detail of an Azure network virtual appliance." + } + ], + "name": "2021-08-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networkvirtualappliances/{}", + "plane": "mgmt-plane", + "version": "2021-08-01" + } + ], + "stage": "Preview" + } + ] + }, + "update": { + "help": { + "short": "Update an Azure network virtual appliance." + }, + "names": [ + "network", + "virtual-appliance", + "update" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "network virtual-appliance update -n MyName -g MyRG --asn 20000 --init-config \"echo $hello\"" + ], + "name": "Update an Azure network virtual appliance." + } + ], + "name": "2021-08-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networkvirtualappliances/{}", + "plane": "mgmt-plane", + "version": "2021-08-01" + } + ], + "stage": "Preview" + } + ] + } + }, + "help": { + "short": "Manage Azure Network Virtual Appliance." + }, + "names": [ + "network", + "virtual-appliance" + ] + } + }, + "help": { + "short": "Manage Azure Network resources." + }, + "names": [ + "network" + ] + }, + "orbital": { + "commandGroups": { + "available-ground-station": { + "commands": { + "list": { + "help": { + "short": "List available ground stations." + }, + "names": [ + "orbital", + "available-ground-station", + "list" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "orbital available-ground-station list --capability \"EarthObservation\"" + ], + "name": "List Available Ground Station by Capability" + } + ], + "name": "2022-03-01", + "resources": [ + { + "id": "/subscriptions/{}/providers/microsoft.orbital/availablegroundstations", + "plane": "mgmt-plane", + "version": "2022-03-01" + } + ] + } + ] + }, + "show": { + "help": { + "short": "Get the specified available ground station." + }, + "names": [ + "orbital", + "available-ground-station", + "show" + ], + "versions": [ + { + "name": "2022-03-01", + "resources": [ + { + "id": "/subscriptions/{}/providers/microsoft.orbital/availablegroundstations/{}", + "plane": "mgmt-plane", + "version": "2022-03-01" + } + ] + } + ] + } + }, + "help": { + "short": "Ground stations available to schedule contacts." + }, + "names": [ + "orbital", + "available-ground-station" + ] + }, + "contact-profile": { + "commands": { + "create": { + "help": { + "short": "Create a contact profile." + }, + "names": [ + "orbital", + "contact-profile", + "create" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "orbital contact-profile create --resource-group --name --location \"westus2\" --auto-tracking-configuration \"disabled\" --event-hub-uri --network-configuration \"{subnet-id:}\" --links \"[{name:Link1,polarization:RHCP,direction:Downlink,channels:[{name:channel1,center-frequency-m-hz:8160,bandwidth-m-hz:15,end-point:{end-point-name:AQUA_directplayback,ip-address:10.0.0.4,port:50000,protocol:TCP}}]}]\"" + ], + "name": "Create a Contact Profile" + } + ], + "name": "2022-03-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.orbital/contactprofiles/{}", + "plane": "mgmt-plane", + "version": "2022-03-01" + } + ] + } + ] + }, + "delete": { + "help": { + "short": "Delete a specified contact profile resource." + }, + "names": [ + "orbital", + "contact-profile", + "delete" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "orbital contact-profile delete -g -n " + ], + "name": "Delete Contact Profile" + } + ], + "name": "2022-03-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.orbital/contactprofiles/{}", + "plane": "mgmt-plane", + "version": "2022-03-01" + } + ] + } + ] + }, + "list": { + "help": { + "short": "List contact profiles." + }, + "names": [ + "orbital", + "contact-profile", + "list" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "orbital contact-profile list" + ], + "name": "List Contact Profiles by subscription" + }, + { + "commands": [ + "orbital contact-profile list -g " + ], + "name": "List Contact Profiles by resource group" + } + ], + "name": "2022-03-01", + "resources": [ + { + "id": "/subscriptions/{}/providers/microsoft.orbital/contactprofiles", + "plane": "mgmt-plane", + "version": "2022-03-01" + }, + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.orbital/contactprofiles", + "plane": "mgmt-plane", + "version": "2022-03-01" + } + ] + } + ] + }, + "show": { + "help": { + "short": "Get the specified contact Profile in a specified resource group." + }, + "names": [ + "orbital", + "contact-profile", + "show" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "orbital contact-profile show -g --name " + ], + "name": "Get Contact Profile" + } + ], + "name": "2022-03-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.orbital/contactprofiles/{}", + "plane": "mgmt-plane", + "version": "2022-03-01" + } + ] + } + ] + }, + "update": { + "help": { + "short": "Update contact profile." + }, + "names": [ + "orbital", + "contact-profile", + "update" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "orbital contact-profile update --name --resource-group --tags \"{tag1:value1,tag2:value2}\"" + ], + "name": "Update Contact Profile tags" + } + ], + "name": "2022-03-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.orbital/contactprofiles/{}", + "plane": "mgmt-plane", + "version": "2022-03-01" + } + ] + } + ] + } + }, + "help": { + "short": "Contact profile is a reusable contact configuration." + }, + "names": [ + "orbital", + "contact-profile" + ] + }, + "operation-result": { + "commands": { + "show": { + "help": { + "short": "Return operation results." + }, + "names": [ + "orbital", + "operation-result", + "show" + ], + "versions": [ + { + "name": "2022-03-01", + "resources": [ + { + "id": "/subscriptions/{}/providers/microsoft.orbital/locations/{}/operationresults/{}", + "plane": "mgmt-plane", + "version": "2022-03-01" + } + ] + } + ] + } + }, + "help": { + "short": "Result of a long running async operation." + }, + "names": [ + "orbital", + "operation-result" + ] + }, + "spacecraft": { + "commandGroups": { + "contact": { + "commands": { + "create": { + "help": { + "short": "Create a contact." + }, + "names": [ + "orbital", + "spacecraft", + "contact", + "create" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "orbital spacecraft contact create -g --name --spacecraft-name --contact-profile \"{id:}\" --ground-station-name --reservation-start-time \"2022-07-27T00:55:31.820Z\" --reservation-end-time \"2022-07-27T00:56:31.820Z\"" + ], + "name": "Create Contact" + } + ], + "name": "2022-03-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.orbital/spacecrafts/{}/contacts/{}", + "plane": "mgmt-plane", + "version": "2022-03-01" + } + ] + } + ] + }, + "delete": { + "help": { + "short": "Delete a specified contact." + }, + "names": [ + "orbital", + "spacecraft", + "contact", + "delete" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "orbital spacecraft contact delete -g --spacecraft-name --name " + ], + "name": "Delete Contact" + } + ], + "name": "2022-03-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.orbital/spacecrafts/{}/contacts/{}", + "plane": "mgmt-plane", + "version": "2022-03-01" + } + ] + } + ] + }, + "list": { + "help": { + "short": "List contacts by spacecraft." + }, + "names": [ + "orbital", + "spacecraft", + "contact", + "list" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "orbital spacecraft contact list -g --spacecraft-name " + ], + "name": "List Contacts" + } + ], + "name": "2022-03-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.orbital/spacecrafts/{}/contacts", + "plane": "mgmt-plane", + "version": "2022-03-01" + } + ] + } + ] + }, + "show": { + "help": { + "short": "Get the specified contact in a specified resource group." + }, + "names": [ + "orbital", + "spacecraft", + "contact", + "show" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "orbital spacecraft contact show -g --spacecraft-name --name " + ], + "name": "Get Contact" + } + ], + "name": "2022-03-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.orbital/spacecrafts/{}/contacts/{}", + "plane": "mgmt-plane", + "version": "2022-03-01" + } + ] + } + ] + }, + "update": { + "help": { + "short": "Creates a contact." + }, + "names": [ + "orbital", + "spacecraft", + "contact", + "update" + ], + "versions": [ + { + "name": "2022-03-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.orbital/spacecrafts/{}/contacts/{}", + "plane": "mgmt-plane", + "version": "2022-03-01" + } + ] + } + ] + } + }, + "help": { + "short": "At the scheduled time, the selected ground station will contact the spacecraft and start data retrieval/delivery using the contact profile." + }, + "names": [ + "orbital", + "spacecraft", + "contact" + ] + } + }, + "commands": { + "create": { + "help": { + "short": "Create a spacecraft resource." + }, + "names": [ + "orbital", + "spacecraft", + "create" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "orbital spacecraft create --name --resource-group -l eastus --norad-id 27424 --title-line \"AQUA\" --tle-line1 \"1 27424U 02022A 22192.74014189 .00000435 00000+0 10624-3 0 9992\" --tle-line2 \"2 27424 98.2482 134.4016 0001650 100.5984 12.3416 14.57323336 73769\" --links \"[{name:downlink,bandwidth-m-hz:15,center-frequency-m-hz:8160,polarization:RHCP,direction:Downlink}]\"" + ], + "name": "Create a Spacecraft" + } + ], + "name": "2022-03-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.orbital/spacecrafts/{}", + "plane": "mgmt-plane", + "version": "2022-03-01" + } + ] + } + ] + }, + "delete": { + "help": { + "short": "Delete a specified spacecraft resource." + }, + "names": [ + "orbital", + "spacecraft", + "delete" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "orbital spacecraft delete --name --resource-group " + ], + "name": "Delete Spacecraft" + } + ], + "name": "2022-03-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.orbital/spacecrafts/{}", + "plane": "mgmt-plane", + "version": "2022-03-01" + } + ] + } + ] + }, + "list": { + "help": { + "short": "List spacecrafts." + }, + "names": [ + "orbital", + "spacecraft", + "list" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "orbital spacecraft list" + ], + "name": "List Spacecrafts by Subscription" + }, + { + "commands": [ + "orbital spacecraft list -g " + ], + "name": "List Spacecrafts by Resource Group" + } + ], + "name": "2022-03-01", + "resources": [ + { + "id": "/subscriptions/{}/providers/microsoft.orbital/spacecrafts", + "plane": "mgmt-plane", + "version": "2022-03-01" + }, + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.orbital/spacecrafts", + "plane": "mgmt-plane", + "version": "2022-03-01" + } + ] + } + ] + }, + "list-available-contact": { + "help": { + "short": "List available contacts. A contact is available if the spacecraft is visible from the ground station for more than the minimum viable contact duration provided in the contact profile." + }, + "names": [ + "orbital", + "spacecraft", + "list-available-contact" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "orbital spacecraft list-available-contact -g --spacecraft-name --contact-profile \"{id:}\" --ground-station-name --start-time \"2022-11-14T00:55:31.820Z\" --end-time \"2022-11-15T00:55:31.820Z\"" + ], + "name": "List Available Contacts" + } + ], + "name": "2022-03-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.orbital/spacecrafts/{}/listavailablecontacts", + "plane": "mgmt-plane", + "version": "2022-03-01" + } + ] + } + ] + }, + "show": { + "help": { + "short": "Get the specified spacecraft in a specified resource group." + }, + "names": [ + "orbital", + "spacecraft", + "show" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "orbital spacecraft show --name --resource-group " + ], + "name": "Get Spacecraft" + } + ], + "name": "2022-03-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.orbital/spacecrafts/{}", + "plane": "mgmt-plane", + "version": "2022-03-01" + } + ] + } + ] + }, + "update": { + "help": { + "short": "Update spacecraft." + }, + "names": [ + "orbital", + "spacecraft", + "update" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "orbital spacecraft update --name --resource-group --tags \"{tag1:value1,tag2:value2}\"" + ], + "name": "Update Spacecraft Tags" + } + ], + "name": "2022-03-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.orbital/spacecrafts/{}", + "plane": "mgmt-plane", + "version": "2022-03-01" + } + ] + } + ] + } + }, + "help": { + "short": "Satellites must be registered as a spacecraft with Azure Orbital to establish contacts with the satellite." + }, + "names": [ + "orbital", + "spacecraft" + ] + } + }, + "help": { + "short": "Azure Orbital Ground Station as-a-Service (GSaaS)." + }, + "names": [ + "orbital" + ] + }, + "sentinel": { + "commandGroups": { + "alert-rule": { + "commandGroups": { + "action": { + "commands": { + "create": { + "help": { + "short": "Create the action of alert rule." + }, + "names": [ + "sentinel", + "alert-rule", + "action", + "create" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/alertrules/{}/actions/{}", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + }, + "delete": { + "help": { + "short": "Delete the action of alert rule." + }, + "names": [ + "sentinel", + "alert-rule", + "action", + "delete" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/alertrules/{}/actions/{}", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + }, + "list": { + "help": { + "short": "Get all actions of alert rule." + }, + "names": [ + "sentinel", + "alert-rule", + "action", + "list" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/alertrules/{}/actions", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + }, + "show": { + "help": { + "short": "Get the action of alert rule." + }, + "names": [ + "sentinel", + "alert-rule", + "action", + "show" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/alertrules/{}/actions/{}", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + }, + "update": { + "help": { + "short": "Update the action of alert rule." + }, + "names": [ + "sentinel", + "alert-rule", + "action", + "update" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/alertrules/{}/actions/{}", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + } + }, + "help": { + "short": "Manage alert rule action with sentinel." + }, + "names": [ + "sentinel", + "alert-rule", + "action" + ] + }, + "template": { + "commands": { + "list": { + "help": { + "short": "Get all alert rule templates." + }, + "names": [ + "sentinel", + "alert-rule", + "template", + "list" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/alertruletemplates", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + }, + "show": { + "help": { + "short": "Get the alert rule template." + }, + "names": [ + "sentinel", + "alert-rule", + "template", + "show" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/alertruletemplates/{}", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + } + }, + "help": { + "short": "Manage alert rule template with sentinel." + }, + "names": [ + "sentinel", + "alert-rule", + "template" + ] + } + }, + "commands": { + "create": { + "help": { + "short": "Create the alert rule." + }, + "names": [ + "sentinel", + "alert-rule", + "create" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/alertrules/{}", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + }, + "delete": { + "help": { + "short": "Delete the alert rule." + }, + "names": [ + "sentinel", + "alert-rule", + "delete" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/alertrules/{}", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + }, + "list": { + "help": { + "short": "Get all alert rules." + }, + "names": [ + "sentinel", + "alert-rule", + "list" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/alertrules", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + }, + "show": { + "help": { + "short": "Get the alert rule." + }, + "names": [ + "sentinel", + "alert-rule", + "show" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/alertrules/{}", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + }, + "update": { + "help": { + "short": "Update the alert rule." + }, + "names": [ + "sentinel", + "alert-rule", + "update" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/alertrules/{}", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + } + }, + "help": { + "short": "Manage alert rule with sentinel." + }, + "names": [ + "sentinel", + "alert-rule" + ] + }, + "analytics-setting": { + "commands": { + "create": { + "help": { + "short": "Create the Security ML Analytics Settings." + }, + "names": [ + "sentinel", + "analytics-setting", + "create" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/securitymlanalyticssettings/{}", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + }, + "delete": { + "help": { + "short": "Delete the Security ML Analytics Settings." + }, + "names": [ + "sentinel", + "analytics-setting", + "delete" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/securitymlanalyticssettings/{}", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + }, + "list": { + "help": { + "short": "Get all Security ML Analytics Settings." + }, + "names": [ + "sentinel", + "analytics-setting", + "list" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/securitymlanalyticssettings", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + }, + "show": { + "help": { + "short": "Get the Security ML Analytics Settings." + }, + "names": [ + "sentinel", + "analytics-setting", + "show" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/securitymlanalyticssettings/{}", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + }, + "update": { + "help": { + "short": "Update the Security ML Analytics Settings." + }, + "names": [ + "sentinel", + "analytics-setting", + "update" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/securitymlanalyticssettings/{}", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + } + }, + "help": { + "short": "Manage security ml analytics setting with sentinel." + }, + "names": [ + "sentinel", + "analytics-setting" + ] + }, + "automation-rule": { + "commands": { + "create": { + "help": { + "short": "Create the automation rule." + }, + "names": [ + "sentinel", + "automation-rule", + "create" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/automationrules/{}", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + }, + "delete": { + "help": { + "short": "Delete the automation rule." + }, + "names": [ + "sentinel", + "automation-rule", + "delete" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/automationrules/{}", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + }, + "list": { + "help": { + "short": "Get all automation rules." + }, + "names": [ + "sentinel", + "automation-rule", + "list" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/automationrules", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + }, + "show": { + "help": { + "short": "Get the automation rule." + }, + "names": [ + "sentinel", + "automation-rule", + "show" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/automationrules/{}", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + }, + "update": { + "help": { + "short": "Update the automation rule." + }, + "names": [ + "sentinel", + "automation-rule", + "update" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/automationrules/{}", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + } + }, + "help": { + "short": "Manage automation rule with sentinel." + }, + "names": [ + "sentinel", + "automation-rule" + ] + }, + "bookmark": { + "commandGroups": { + "relation": { + "commands": { + "create": { + "help": { + "short": "Create the bookmark relation." + }, + "names": [ + "sentinel", + "bookmark", + "relation", + "create" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/bookmarks/{}/relations/{}", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + }, + "delete": { + "help": { + "short": "Delete the bookmark relation." + }, + "names": [ + "sentinel", + "bookmark", + "relation", + "delete" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/bookmarks/{}/relations/{}", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + }, + "list": { + "help": { + "short": "Get all bookmark relations." + }, + "names": [ + "sentinel", + "bookmark", + "relation", + "list" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/bookmarks/{}/relations", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + }, + "show": { + "help": { + "short": "Get a bookmark relation." + }, + "names": [ + "sentinel", + "bookmark", + "relation", + "show" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/bookmarks/{}/relations/{}", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + }, + "update": { + "help": { + "short": "Update the bookmark relation." + }, + "names": [ + "sentinel", + "bookmark", + "relation", + "update" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/bookmarks/{}/relations/{}", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + } + }, + "help": { + "short": "Manage bookmark relation with sentinel." + }, + "names": [ + "sentinel", + "bookmark", + "relation" + ] + } + }, + "commands": { + "create": { + "help": { + "short": "Create the bookmark." + }, + "names": [ + "sentinel", + "bookmark", + "create" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/bookmarks/{}", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + }, + "delete": { + "help": { + "short": "Delete the bookmark." + }, + "names": [ + "sentinel", + "bookmark", + "delete" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/bookmarks/{}", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + }, + "expand": { + "help": { + "short": "Expand an bookmark" + }, + "names": [ + "sentinel", + "bookmark", + "expand" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/bookmarks/{}/expand", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + }, + "list": { + "help": { + "short": "Get all bookmarks." + }, + "names": [ + "sentinel", + "bookmark", + "list" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/bookmarks", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + }, + "show": { + "help": { + "short": "Get a bookmark." + }, + "names": [ + "sentinel", + "bookmark", + "show" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/bookmarks/{}", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + }, + "update": { + "help": { + "short": "Update the bookmark." + }, + "names": [ + "sentinel", + "bookmark", + "update" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/bookmarks/{}", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + } + }, + "help": { + "short": "Manage bookmark with sentinel." + }, + "names": [ + "sentinel", + "bookmark" + ] + }, + "data-connector": { + "commands": { + "connect": { + "help": { + "short": "Connect a data connector." + }, + "names": [ + "sentinel", + "data-connector", + "connect" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/dataconnectors/{}/connect", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + }, + "create": { + "help": { + "short": "Create the data connector." + }, + "names": [ + "sentinel", + "data-connector", + "create" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/dataconnectors/{}", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + }, + "delete": { + "help": { + "short": "Delete the data connector." + }, + "names": [ + "sentinel", + "data-connector", + "delete" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/dataconnectors/{}", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + }, + "disconnect": { + "help": { + "short": "Disconnect a data connector." + }, + "names": [ + "sentinel", + "data-connector", + "disconnect" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/dataconnectors/{}/disconnect", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + }, + "list": { + "help": { + "short": "Get all data connectors." + }, + "names": [ + "sentinel", + "data-connector", + "list" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/dataconnectors", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + }, + "show": { + "help": { + "short": "Get a data connector." + }, + "names": [ + "sentinel", + "data-connector", + "show" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/dataconnectors/{}", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + }, + "update": { + "help": { + "short": "Update the data connector." + }, + "names": [ + "sentinel", + "data-connector", + "update" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/dataconnectors/{}", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + } + }, + "help": { + "short": "Manage data connector with sentinel." + }, + "names": [ + "sentinel", + "data-connector" + ] + }, + "enrichment": { + "commandGroups": { + "domain-whois": { + "commands": { + "show": { + "help": { + "short": "Get whois information for a single domain name" + }, + "names": [ + "sentinel", + "enrichment", + "domain-whois", + "show" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.securityinsights/enrichment/domain/whois/", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + } + }, + "help": { + "short": "Manage domain whois with sentinel." + }, + "names": [ + "sentinel", + "enrichment", + "domain-whois" + ] + }, + "ip-geodata": { + "commands": { + "show": { + "help": { + "short": "Get geodata for a single IP address" + }, + "names": [ + "sentinel", + "enrichment", + "ip-geodata", + "show" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.securityinsights/enrichment/ip/geodata/", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + } + }, + "help": { + "short": "Manage ip geodata with sentinel." + }, + "names": [ + "sentinel", + "enrichment", + "ip-geodata" + ] + } + }, + "help": { + "short": "Manage enrichment with sentinel." + }, + "names": [ + "sentinel", + "enrichment" + ] + }, + "entity": { + "commandGroups": { + "relation": { + "commands": { + "list": { + "help": { + "short": "Get all relations of an entity." + }, + "names": [ + "sentinel", + "entity", + "relation", + "list" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/entities/{}/relations", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + }, + "show": { + "help": { + "short": "Get an entity relation." + }, + "names": [ + "sentinel", + "entity", + "relation", + "show" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/entities/{}/relations/{}", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + } + }, + "help": { + "short": "Manage entity relation with sentinel." + }, + "names": [ + "sentinel", + "entity", + "relation" + ] + } + }, + "commands": { + "expand": { + "help": { + "short": "Expand an entity." + }, + "names": [ + "sentinel", + "entity", + "expand" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/entities/{}/expand", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + }, + "get-insight": { + "help": { + "short": "Execute Insights for an entity." + }, + "names": [ + "sentinel", + "entity", + "get-insight" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/entities/{}/getinsights", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + }, + "get-query": { + "help": { + "short": "Get Insights and Activities for an entity." + }, + "names": [ + "sentinel", + "entity", + "get-query" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/entities/{}/queries", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + }, + "get-timeline": { + "help": { + "short": "Timeline for an entity." + }, + "names": [ + "sentinel", + "entity", + "get-timeline" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/entities/{}/gettimeline", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + }, + "list": { + "help": { + "short": "Get all entities." + }, + "names": [ + "sentinel", + "entity", + "list" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/entities", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + }, + "show": { + "help": { + "short": "Get an entity." + }, + "names": [ + "sentinel", + "entity", + "show" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/entities/{}", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + } + }, + "help": { + "short": "Manage entity with sentinel." + }, + "names": [ + "sentinel", + "entity" + ] + }, + "entity-query": { + "commandGroups": { + "template": { + "commands": { + "list": { + "help": { + "short": "Get all entity query templates." + }, + "names": [ + "sentinel", + "entity-query", + "template", + "list" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/entityquerytemplates", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + }, + "show": { + "help": { + "short": "Get an entity query." + }, + "names": [ + "sentinel", + "entity-query", + "template", + "show" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/entityquerytemplates/{}", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + } + }, + "help": { + "short": "Manage entity query template with sentinel." + }, + "names": [ + "sentinel", + "entity-query", + "template" + ] + } + }, + "commands": { + "create": { + "help": { + "short": "Create the entity query." + }, + "names": [ + "sentinel", + "entity-query", + "create" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/entityqueries/{}", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + }, + "delete": { + "help": { + "short": "Delete the entity query." + }, + "names": [ + "sentinel", + "entity-query", + "delete" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/entityqueries/{}", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + }, + "list": { + "help": { + "short": "Get all entity queries." + }, + "names": [ + "sentinel", + "entity-query", + "list" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/entityqueries", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + }, + "show": { + "help": { + "short": "Get an entity query." + }, + "names": [ + "sentinel", + "entity-query", + "show" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/entityqueries/{}", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + }, + "update": { + "help": { + "short": "Update the entity query." + }, + "names": [ + "sentinel", + "entity-query", + "update" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/entityqueries/{}", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + } + }, + "help": { + "short": "Manage entity query with sentinel." + }, + "names": [ + "sentinel", + "entity-query" + ] + }, + "incident": { + "commandGroups": { + "comment": { + "commands": { + "create": { + "help": { + "short": "Create the incident comment." + }, + "names": [ + "sentinel", + "incident", + "comment", + "create" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/incidents/{}/comments/{}", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + }, + "delete": { + "help": { + "short": "Delete the incident comment." + }, + "names": [ + "sentinel", + "incident", + "comment", + "delete" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/incidents/{}/comments/{}", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + }, + "list": { + "help": { + "short": "Get all incident comments." + }, + "names": [ + "sentinel", + "incident", + "comment", + "list" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/incidents/{}/comments", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + }, + "show": { + "help": { + "short": "Get an incident comment." + }, + "names": [ + "sentinel", + "incident", + "comment", + "show" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/incidents/{}/comments/{}", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + }, + "update": { + "help": { + "short": "Update the incident comment." + }, + "names": [ + "sentinel", + "incident", + "comment", + "update" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/incidents/{}/comments/{}", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + } + }, + "help": { + "short": "Manage incident comment with sentinel." + }, + "names": [ + "sentinel", + "incident", + "comment" + ] + }, + "relation": { + "commands": { + "create": { + "help": { + "short": "Create the incident relation." + }, + "names": [ + "sentinel", + "incident", + "relation", + "create" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/incidents/{}/relations/{}", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + }, + "delete": { + "help": { + "short": "Delete the incident relation." + }, + "names": [ + "sentinel", + "incident", + "relation", + "delete" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/incidents/{}/relations/{}", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + }, + "list": { + "help": { + "short": "Get all incident relations." + }, + "names": [ + "sentinel", + "incident", + "relation", + "list" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/incidents/{}/relations", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + }, + "show": { + "help": { + "short": "Get an incident relation." + }, + "names": [ + "sentinel", + "incident", + "relation", + "show" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/incidents/{}/relations/{}", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + }, + "update": { + "help": { + "short": "Update the incident relation." + }, + "names": [ + "sentinel", + "incident", + "relation", + "update" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/incidents/{}/relations/{}", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + } + }, + "help": { + "short": "Manage incident relation with sentinel." + }, + "names": [ + "sentinel", + "incident", + "relation" + ] + } + }, + "commands": { + "create": { + "help": { + "short": "Create the incident." + }, + "names": [ + "sentinel", + "incident", + "create" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/incidents/{}", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + }, + "create-team": { + "help": { + "short": "Create a Microsoft team to investigate the incident by sharing information and insights between participants." + }, + "names": [ + "sentinel", + "incident", + "create-team" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/incidents/{}/createteam", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + }, + "delete": { + "help": { + "short": "Delete the incident." + }, + "names": [ + "sentinel", + "incident", + "delete" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/incidents/{}", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + }, + "list": { + "help": { + "short": "Get all incidents." + }, + "names": [ + "sentinel", + "incident", + "list" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/incidents", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + }, + "list-alert": { + "help": { + "short": "Get all incident alerts." + }, + "names": [ + "sentinel", + "incident", + "list-alert" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/incidents/{}/alerts", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + }, + "list-bookmark": { + "help": { + "short": "Get all incident bookmarks." + }, + "names": [ + "sentinel", + "incident", + "list-bookmark" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/incidents/{}/bookmarks", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + }, + "list-entity": { + "help": { + "short": "Get all incident related entities." + }, + "names": [ + "sentinel", + "incident", + "list-entity" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/incidents/{}/entities", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + }, + "run-playbook": { + "help": { + "short": "Trigger playbook on a specific incident" + }, + "names": [ + "sentinel", + "incident", + "run-playbook" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/incidents/{}/runplaybook", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + }, + "show": { + "help": { + "short": "Get an incident." + }, + "names": [ + "sentinel", + "incident", + "show" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/incidents/{}", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + }, + "update": { + "help": { + "short": "Update the incident." + }, + "names": [ + "sentinel", + "incident", + "update" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/incidents/{}", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + } + }, + "help": { + "short": "Manage incident with sentinel." + }, + "names": [ + "sentinel", + "incident" + ] + }, + "metadata": { + "commands": { + "create": { + "help": { + "short": "Create a Metadata." + }, + "names": [ + "sentinel", + "metadata", + "create" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/metadata/{}", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + }, + "delete": { + "help": { + "short": "Delete a Metadata." + }, + "names": [ + "sentinel", + "metadata", + "delete" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/metadata/{}", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + }, + "list": { + "help": { + "short": "List of all metadata" + }, + "names": [ + "sentinel", + "metadata", + "list" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/metadata", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + }, + "show": { + "help": { + "short": "Get a Metadata." + }, + "names": [ + "sentinel", + "metadata", + "show" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/metadata/{}", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + }, + "update": { + "help": { + "short": "Update a Metadata." + }, + "names": [ + "sentinel", + "metadata", + "update" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/metadata/{}", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + } + }, + "help": { + "short": "Manage metadata with sentinel." + }, + "names": [ + "sentinel", + "metadata" + ] + }, + "office-consent": { + "commands": { + "delete": { + "help": { + "short": "Delete the office365 consent." + }, + "names": [ + "sentinel", + "office-consent", + "delete" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/officeconsents/{}", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + }, + "list": { + "help": { + "short": "Get all office365 consents." + }, + "names": [ + "sentinel", + "office-consent", + "list" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/officeconsents", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + }, + "show": { + "help": { + "short": "Get an office365 consent." + }, + "names": [ + "sentinel", + "office-consent", + "show" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/officeconsents/{}", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + } + }, + "help": { + "short": "Manage office consent with sentinel." + }, + "names": [ + "sentinel", + "office-consent" + ] + }, + "onboarding-state": { + "commands": { + "create": { + "help": { + "short": "Create Sentinel onboarding state" + }, + "names": [ + "sentinel", + "onboarding-state", + "create" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/onboardingstates/{}", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + }, + "delete": { + "help": { + "short": "Delete Sentinel onboarding state" + }, + "names": [ + "sentinel", + "onboarding-state", + "delete" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/onboardingstates/{}", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + }, + "list": { + "help": { + "short": "Get all Sentinel onboarding states" + }, + "names": [ + "sentinel", + "onboarding-state", + "list" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/onboardingstates", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + }, + "show": { + "help": { + "short": "Get Sentinel onboarding state" + }, + "names": [ + "sentinel", + "onboarding-state", + "show" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/onboardingstates/{}", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + }, + "update": { + "help": { + "short": "Update Sentinel onboarding state" + }, + "names": [ + "sentinel", + "onboarding-state", + "update" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/onboardingstates/{}", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + } + }, + "help": { + "short": "Manage onboarding state with sentinel." + }, + "names": [ + "sentinel", + "onboarding-state" + ] + }, + "setting": { + "commands": { + "create": { + "help": { + "short": "Create setting." + }, + "names": [ + "sentinel", + "setting", + "create" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/settings/{}", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + }, + "delete": { + "help": { + "short": "Delete setting of the product." + }, + "names": [ + "sentinel", + "setting", + "delete" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/settings/{}", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + }, + "list": { + "help": { + "short": "List of all the settings" + }, + "names": [ + "sentinel", + "setting", + "list" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/settings", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + }, + "show": { + "help": { + "short": "Get a setting." + }, + "names": [ + "sentinel", + "setting", + "show" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/settings/{}", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + }, + "update": { + "help": { + "short": "Update setting." + }, + "names": [ + "sentinel", + "setting", + "update" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/settings/{}", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + } + }, + "help": { + "short": "Manage setting with sentinel." + }, + "names": [ + "sentinel", + "setting" + ] + }, + "source-control": { + "commands": { + "create": { + "help": { + "short": "Create a source control." + }, + "names": [ + "sentinel", + "source-control", + "create" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/sourcecontrols/{}", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + }, + "delete": { + "help": { + "short": "Delete a source control." + }, + "names": [ + "sentinel", + "source-control", + "delete" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/sourcecontrols/{}", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + }, + "list": { + "help": { + "short": "Get all source controls, without source control items." + }, + "names": [ + "sentinel", + "source-control", + "list" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/sourcecontrols", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + }, + "list-repository": { + "help": { + "short": "Get a list of repositories metadata." + }, + "names": [ + "sentinel", + "source-control", + "list-repository" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/listrepositories", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + }, + "show": { + "help": { + "short": "Get a source control by its identifier." + }, + "names": [ + "sentinel", + "source-control", + "show" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/sourcecontrols/{}", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + }, + "update": { + "help": { + "short": "Create a source control." + }, + "names": [ + "sentinel", + "source-control", + "update" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/sourcecontrols/{}", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + } + }, + "help": { + "short": "Manage source control with sentinel." + }, + "names": [ + "sentinel", + "source-control" + ] + }, + "threat-indicator": { + "commandGroups": { + "metric": { + "commands": { + "list": { + "help": { + "short": "Get threat intelligence indicators metrics (Indicators counts by Type, Threat Type, Source)." + }, + "names": [ + "sentinel", + "threat-indicator", + "metric", + "list" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/threatintelligence/main/metrics", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ] + } + ] + } + }, + "help": { + "short": "Manage threat intelligence indicator metric with sentinel." + }, + "names": [ + "sentinel", + "threat-indicator", + "metric" + ] + } + }, + "commands": { + "append-tag": { + "help": { + "short": "Append tags to a threat intelligence indicator." + }, + "names": [ + "sentinel", + "threat-indicator", + "append-tag" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/threatintelligence/main/indicators/{}/appendtags", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + }, + "create": { + "help": { + "short": "Create a new threat intelligence indicator." + }, + "names": [ + "sentinel", + "threat-indicator", + "create" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/threatintelligence/main/createindicator", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + }, + "delete": { + "help": { + "short": "Delete a threat intelligence indicator." + }, + "names": [ + "sentinel", + "threat-indicator", + "delete" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/threatintelligence/main/indicators/{}", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + }, + "list": { + "help": { + "short": "Get all threat intelligence indicators." + }, + "names": [ + "sentinel", + "threat-indicator", + "list" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/threatintelligence/main/indicators", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + }, + "query": { + "help": { + "short": "Query threat intelligence indicators as per filtering criteria." + }, + "names": [ + "sentinel", + "threat-indicator", + "query" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/threatintelligence/main/queryindicators", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + }, + "replace-tag": { + "help": { + "short": "Replace tags added to a threat intelligence indicator." + }, + "names": [ + "sentinel", + "threat-indicator", + "replace-tag" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/threatintelligence/main/indicators/{}/replacetags", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + }, + "show": { + "help": { + "short": "View a threat intelligence indicator by name." + }, + "names": [ + "sentinel", + "threat-indicator", + "show" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/threatintelligence/main/indicators/{}", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + }, + "update": { + "help": { + "short": "Update a threat Intelligence indicator." + }, + "names": [ + "sentinel", + "threat-indicator", + "update" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/threatintelligence/main/indicators/{}", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + }, + "update2": { + "help": { + "short": "Update a threat Intelligence indicator." + }, + "names": [ + "sentinel", + "threat-indicator", + "update2" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/threatintelligence/main/indicators/{}", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + } + }, + "help": { + "short": "Manage threat intelligence indicator with sentinel." + }, + "names": [ + "sentinel", + "threat-indicator" + ] + }, + "watchlist": { + "commandGroups": { + "item": { + "commands": { + "create": { + "help": { + "short": "Create a watchlist item." + }, + "names": [ + "sentinel", + "watchlist", + "item", + "create" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/watchlists/{}/watchlistitems/{}", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + }, + "delete": { + "help": { + "short": "Delete a watchlist item." + }, + "names": [ + "sentinel", + "watchlist", + "item", + "delete" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/watchlists/{}/watchlistitems/{}", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + }, + "list": { + "help": { + "short": "Get all watchlist Items." + }, + "names": [ + "sentinel", + "watchlist", + "item", + "list" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/watchlists/{}/watchlistitems", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + }, + "show": { + "help": { + "short": "Get a watchlist, without its watchlist items." + }, + "names": [ + "sentinel", + "watchlist", + "item", + "show" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/watchlists/{}/watchlistitems/{}", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + }, + "update": { + "help": { + "short": "Update a watchlist item." + }, + "names": [ + "sentinel", + "watchlist", + "item", + "update" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/watchlists/{}/watchlistitems/{}", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + } + }, + "help": { + "short": "Manage watchlist item with sentinel." + }, + "names": [ + "sentinel", + "watchlist", + "item" + ] + } + }, + "commands": { + "create": { + "help": { + "short": "Create a Watchlist and its Watchlist Items (bulk creation, e.g. through text/csv content type). To create a Watchlist and its Items, we should call this endpoint with either rawContent or a valid SAR URI and contentType properties. The rawContent is mainly used for small watchlist (content size below 3.8 MB). The SAS URI enables the creation of large watchlist, where the content size can go up to 500 MB. The status of processing such large file can be polled through the URL returned in Azure-AsyncOperation header." + }, + "names": [ + "sentinel", + "watchlist", + "create" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/watchlists/{}", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + }, + "delete": { + "help": { + "short": "Delete a watchlist." + }, + "names": [ + "sentinel", + "watchlist", + "delete" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/watchlists/{}", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + }, + "list": { + "help": { + "short": "Get all watchlists, without watchlist items." + }, + "names": [ + "sentinel", + "watchlist", + "list" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/watchlists", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + }, + "show": { + "help": { + "short": "Get a watchlist, without its watchlist items." + }, + "names": [ + "sentinel", + "watchlist", + "show" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/watchlists/{}", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + }, + "update": { + "help": { + "short": "Update a Watchlist and its Watchlist Items (bulk creation, e.g. through text/csv content type). To create a Watchlist and its Items, we should call this endpoint with either rawContent or a valid SAR URI and contentType properties. The rawContent is mainly used for small watchlist (content size below 3.8 MB). The SAS URI enables the creation of large watchlist, where the content size can go up to 500 MB. The status of processing such large file can be polled through the URL returned in Azure-AsyncOperation header." + }, + "names": [ + "sentinel", + "watchlist", + "update" + ], + "versions": [ + { + "name": "2022-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/watchlists/{}", + "plane": "mgmt-plane", + "version": "2022-06-01-preview" + } + ], + "stage": "Experimental" + } + ] + } + }, + "help": { + "short": "Manage watchlist with sentinel." + }, + "names": [ + "sentinel", + "watchlist" + ] + } + }, + "help": { + "short": "Manage Microsoft Sentinel." + }, + "names": [ + "sentinel" + ] + }, "sql": { "commandGroups": { "mi": { From 0b84fb9e6be8b47d61b5a66235c171f6389e7de6 Mon Sep 17 00:00:00 2001 From: Bogdan Ostojic Date: Wed, 24 Aug 2022 15:44:33 +0200 Subject: [PATCH 3/3] bump link short args and descriptions --- Commands/sql/mi/link/_create.md | 2 +- Commands/sql/mi/link/_delete.md | 2 +- Commands/sql/mi/link/_list.md | 2 +- Commands/sql/mi/link/_show.md | 2 +- Commands/sql/mi/link/_update.md | 2 +- Commands/sql/mi/link/readme.md | 10 +++++----- Commands/tree.json | 10 +++++----- .../2022-02-01-preview.json | 14 +++++++++++++ .../2022-02-01-preview.xml | 20 +++++++++---------- 9 files changed, 39 insertions(+), 25 deletions(-) diff --git a/Commands/sql/mi/link/_create.md b/Commands/sql/mi/link/_create.md index 901fe012d..f942c2152 100644 --- a/Commands/sql/mi/link/_create.md +++ b/Commands/sql/mi/link/_create.md @@ -1,6 +1,6 @@ # [Command] _sql mi link create_ -Creates a distributed availability group between Sql On-Prem and Sql Managed Instance. +Create an Instace link between Sql On-Prem and Sql Managed Instance. ## Versions diff --git a/Commands/sql/mi/link/_delete.md b/Commands/sql/mi/link/_delete.md index 7b5d55cb8..e75d51497 100644 --- a/Commands/sql/mi/link/_delete.md +++ b/Commands/sql/mi/link/_delete.md @@ -1,6 +1,6 @@ # [Command] _sql mi link delete_ -Drops a distributed availability group between Sql On-Prem and Sql Managed Instance. +Drop an Instance link between Sql On-Prem and Sql Managed Instance. ## Versions diff --git a/Commands/sql/mi/link/_list.md b/Commands/sql/mi/link/_list.md index b1e71be25..b883a7871 100644 --- a/Commands/sql/mi/link/_list.md +++ b/Commands/sql/mi/link/_list.md @@ -1,6 +1,6 @@ # [Command] _sql mi link list_ -Gets a list of a distributed availability groups in instance. +Get a list of instance links on a given SQL Managed Instance. ## Versions diff --git a/Commands/sql/mi/link/_show.md b/Commands/sql/mi/link/_show.md index d121d0b21..83e6d7b3f 100644 --- a/Commands/sql/mi/link/_show.md +++ b/Commands/sql/mi/link/_show.md @@ -1,6 +1,6 @@ # [Command] _sql mi link show_ -Gets a distributed availability group info. +Get an Instance link. ## Versions diff --git a/Commands/sql/mi/link/_update.md b/Commands/sql/mi/link/_update.md index 664373f65..95616bc14 100644 --- a/Commands/sql/mi/link/_update.md +++ b/Commands/sql/mi/link/_update.md @@ -1,6 +1,6 @@ # [Command] _sql mi link update_ -Creates a distributed availability group between Sql On-Prem and Sql Managed Instance. +Update the Instance link between Sql On-Prem and Sql Managed Instance. ## Versions diff --git a/Commands/sql/mi/link/readme.md b/Commands/sql/mi/link/readme.md index adcb18d8e..933253387 100644 --- a/Commands/sql/mi/link/readme.md +++ b/Commands/sql/mi/link/readme.md @@ -5,16 +5,16 @@ Instance link management commands. ## Commands - [create](/Commands/sql/mi/link/_create.md) -: Creates a distributed availability group between Sql On-Prem and Sql Managed Instance. +: Create an Instace link between Sql On-Prem and Sql Managed Instance. - [delete](/Commands/sql/mi/link/_delete.md) -: Drops a distributed availability group between Sql On-Prem and Sql Managed Instance. +: Drop an Instance link between Sql On-Prem and Sql Managed Instance. - [list](/Commands/sql/mi/link/_list.md) -: Gets a list of a distributed availability groups in instance. +: Get a list of instance links on a given SQL Managed Instance. - [show](/Commands/sql/mi/link/_show.md) -: Gets a distributed availability group info. +: Get an Instance link. - [update](/Commands/sql/mi/link/_update.md) -: Creates a distributed availability group between Sql On-Prem and Sql Managed Instance. +: Update the Instance link between Sql On-Prem and Sql Managed Instance. diff --git a/Commands/tree.json b/Commands/tree.json index de9a8069c..fb391ee84 100644 --- a/Commands/tree.json +++ b/Commands/tree.json @@ -7829,7 +7829,7 @@ "commands": { "create": { "help": { - "short": "Creates a distributed availability group between Sql On-Prem and Sql Managed Instance." + "short": "Create an Instace link between Sql On-Prem and Sql Managed Instance." }, "names": [ "sql", @@ -7852,7 +7852,7 @@ }, "delete": { "help": { - "short": "Drops a distributed availability group between Sql On-Prem and Sql Managed Instance." + "short": "Drop an Instance link between Sql On-Prem and Sql Managed Instance." }, "names": [ "sql", @@ -7875,7 +7875,7 @@ }, "list": { "help": { - "short": "Gets a list of a distributed availability groups in instance." + "short": "Get a list of instance links on a given SQL Managed Instance." }, "names": [ "sql", @@ -7898,7 +7898,7 @@ }, "show": { "help": { - "short": "Gets a distributed availability group info." + "short": "Get an Instance link." }, "names": [ "sql", @@ -7921,7 +7921,7 @@ }, "update": { "help": { - "short": "Creates a distributed availability group between Sql On-Prem and Sql Managed Instance." + "short": "Update the Instance link between Sql On-Prem and Sql Managed Instance." }, "names": [ "sql", diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zcWwvbWFuYWdlZGluc3RhbmNlcy97fS9kaXN0cmlidXRlZGF2YWlsYWJpbGl0eWdyb3Vwcy97fQ==/2022-02-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zcWwvbWFuYWdlZGluc3RhbmNlcy97fS9kaXN0cmlidXRlZGF2YWlsYWJpbGl0eWdyb3Vwcy97fQ==/2022-02-01-preview.json index c82957363..3a961bdd3 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zcWwvbWFuYWdlZGluc3RhbmNlcy97fS9kaXN0cmlidXRlZGF2YWlsYWJpbGl0eWdyb3Vwcy97fQ==/2022-02-01-preview.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zcWwvbWFuYWdlZGluc3RhbmNlcy97fS9kaXN0cmlidXRlZGF2YWlsYWJpbGl0eWdyb3Vwcy97fQ==/2022-02-01-preview.json @@ -459,6 +459,7 @@ "type": "string", "var": "$parameters.properties.primaryAvailabilityGroupName", "options": [ + "primary-ag", "primary-availability-group-name" ], "group": "Properties", @@ -470,6 +471,7 @@ "type": "string", "var": "$parameters.properties.replicationMode", "options": [ + "repl-mode", "replication-mode" ], "group": "Properties", @@ -493,6 +495,7 @@ "type": "string", "var": "$parameters.properties.secondaryAvailabilityGroupName", "options": [ + "secondary-ag", "secondary-availability-group-name" ], "group": "Properties", @@ -504,6 +507,8 @@ "type": "string", "var": "$parameters.properties.sourceEndpoint", "options": [ + "endpoint", + "src-endpoint", "source-endpoint" ], "group": "Properties", @@ -515,6 +520,8 @@ "type": "string", "var": "$parameters.properties.targetDatabase", "options": [ + "db", + "target-db", "target-database" ], "group": "Properties", @@ -826,6 +833,7 @@ "type": "string", "var": "$parameters.properties.primaryAvailabilityGroupName", "options": [ + "primary-ag", "primary-availability-group-name" ], "group": "Properties", @@ -838,6 +846,7 @@ "type": "string", "var": "$parameters.properties.replicationMode", "options": [ + "repl-mode", "replication-mode" ], "group": "Properties", @@ -862,6 +871,7 @@ "type": "string", "var": "$parameters.properties.secondaryAvailabilityGroupName", "options": [ + "secondary-ag", "secondary-availability-group-name" ], "group": "Properties", @@ -874,6 +884,8 @@ "type": "string", "var": "$parameters.properties.sourceEndpoint", "options": [ + "endpoint", + "src-endpoint", "source-endpoint" ], "group": "Properties", @@ -886,6 +898,8 @@ "type": "string", "var": "$parameters.properties.targetDatabase", "options": [ + "db", + "target-db", "target-database" ], "group": "Properties", diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zcWwvbWFuYWdlZGluc3RhbmNlcy97fS9kaXN0cmlidXRlZGF2YWlsYWJpbGl0eWdyb3Vwcy97fQ==/2022-02-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zcWwvbWFuYWdlZGluc3RhbmNlcy97fS9kaXN0cmlidXRlZGF2YWlsYWJpbGl0eWdyb3Vwcy97fQ==/2022-02-01-preview.xml index 9cf2e5383..c50b42438 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zcWwvbWFuYWdlZGluc3RhbmNlcy97fS9kaXN0cmlidXRlZGF2YWlsYWJpbGl0eWdyb3Vwcy97fQ==/2022-02-01-preview.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zcWwvbWFuYWdlZGluc3RhbmNlcy97fS9kaXN0cmlidXRlZGF2YWlsYWJpbGl0eWdyb3Vwcy97fQ==/2022-02-01-preview.xml @@ -124,23 +124,23 @@ - + - + - + - + - + @@ -233,23 +233,23 @@ - + - + - + - + - +