From 79f13474a896d907745f61757ae9c5ab37cd2ee8 Mon Sep 17 00:00:00 2001 From: Yan Zhu Date: Wed, 18 Jan 2023 19:56:55 +0800 Subject: [PATCH 1/3] sig gallery-application list/show/delete, vmss nic, vm host group list/show/delete --- Commands/readme.md | 3 + Commands/sig/gallery-application/_create.md | 16 + Commands/sig/gallery-application/_delete.md | 9 + Commands/sig/gallery-application/_list.md | 9 + Commands/sig/gallery-application/_show.md | 9 + Commands/sig/gallery-application/_update.md | 16 + Commands/sig/gallery-application/readme.md | 17 + Commands/tree.json | 377 +++++ Commands/vm/host/group/_create.md | 16 + Commands/vm/host/group/_delete.md | 9 + Commands/vm/host/group/_list.md | 12 + Commands/vm/host/group/_show.md | 16 + Commands/vm/host/group/_update.md | 9 + Commands/vm/host/group/readme.md | 20 + Commands/vm/host/readme.md | 8 + Commands/vm/readme.md | 8 + Commands/vmss/nic/_list-vm-nics.md | 9 + Commands/vmss/nic/_list.md | 9 + Commands/vmss/nic/_show.md | 9 + Commands/vmss/nic/readme.md | 14 + Commands/vmss/readme.md | 3 + .../2019-03-01.json | 419 +++++ .../2019-03-01.xml | 151 ++ .../2021-07-01.json | 247 +++ .../2021-07-01.xml | 81 + .../2021-07-01.json | 1398 +++++++++++++++++ .../2021-07-01.xml | 445 ++++++ .../2019-03-01.md | 1 + .../2019-03-01.json | 1109 +++++++++++++ .../2019-03-01.xml | 372 +++++ .../2016-03-30.json | 1045 ++++++++++++ .../2016-03-30.xml | 346 ++++ .../2016-03-30.json | 1065 +++++++++++++ .../2016-03-30.xml | 350 +++++ .../2016-03-30.json | 1090 +++++++++++++ .../2016-03-30.xml | 353 +++++ 36 files changed, 9070 insertions(+) create mode 100644 Commands/sig/gallery-application/_create.md create mode 100644 Commands/sig/gallery-application/_delete.md create mode 100644 Commands/sig/gallery-application/_list.md create mode 100644 Commands/sig/gallery-application/_show.md create mode 100644 Commands/sig/gallery-application/_update.md create mode 100644 Commands/vm/host/group/_create.md create mode 100644 Commands/vm/host/group/_delete.md create mode 100644 Commands/vm/host/group/_list.md create mode 100644 Commands/vm/host/group/_show.md create mode 100644 Commands/vm/host/group/_update.md create mode 100644 Commands/vm/host/group/readme.md create mode 100644 Commands/vm/host/readme.md create mode 100644 Commands/vm/readme.md create mode 100644 Commands/vmss/nic/_list-vm-nics.md create mode 100644 Commands/vmss/nic/_list.md create mode 100644 Commands/vmss/nic/_show.md create mode 100644 Commands/vmss/nic/readme.md create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2hvc3Rncm91cHM=/2019-03-01.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2hvc3Rncm91cHM=/2019-03-01.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2dhbGxlcmllcy97fS9hcHBsaWNhdGlvbnM=/2021-07-01.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2dhbGxlcmllcy97fS9hcHBsaWNhdGlvbnM=/2021-07-01.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2dhbGxlcmllcy97fS9hcHBsaWNhdGlvbnMve30=/2021-07-01.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2dhbGxlcmllcy97fS9hcHBsaWNhdGlvbnMve30=/2021-07-01.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2hvc3Rncm91cHM=/2019-03-01.md create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2hvc3Rncm91cHMve30=/2019-03-01.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2hvc3Rncm91cHMve30=/2019-03-01.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3ZpcnR1YWxtYWNoaW5lc2NhbGVzZXRzL3t9L25ldHdvcmtpbnRlcmZhY2Vz/2016-03-30.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3ZpcnR1YWxtYWNoaW5lc2NhbGVzZXRzL3t9L25ldHdvcmtpbnRlcmZhY2Vz/2016-03-30.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3ZpcnR1YWxtYWNoaW5lc2NhbGVzZXRzL3t9L3ZpcnR1YWxtYWNoaW5lcy97fS9uZXR3b3JraW50ZXJmYWNlcw==/2016-03-30.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3ZpcnR1YWxtYWNoaW5lc2NhbGVzZXRzL3t9L3ZpcnR1YWxtYWNoaW5lcy97fS9uZXR3b3JraW50ZXJmYWNlcw==/2016-03-30.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3ZpcnR1YWxtYWNoaW5lc2NhbGVzZXRzL3t9L3ZpcnR1YWxtYWNoaW5lcy97fS9uZXR3b3JraW50ZXJmYWNlcy97fQ==/2016-03-30.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3ZpcnR1YWxtYWNoaW5lc2NhbGVzZXRzL3t9L3ZpcnR1YWxtYWNoaW5lcy97fS9uZXR3b3JraW50ZXJmYWNlcy97fQ==/2016-03-30.xml diff --git a/Commands/readme.md b/Commands/readme.md index 118ddcbcb0d..1ff58b539c8 100644 --- a/Commands/readme.md +++ b/Commands/readme.md @@ -56,5 +56,8 @@ - [sql](/Commands/sql/readme.md) : Manage Azure SQL Databases and Data Warehouses. +- [vm](/Commands/vm/readme.md) +: Manage Linux or Windows virtual machines. + - [vmss](/Commands/vmss/readme.md) : Manage groupings of virtual machines in an Azure Virtual Machine Scale Set (VMSS). diff --git a/Commands/sig/gallery-application/_create.md b/Commands/sig/gallery-application/_create.md new file mode 100644 index 00000000000..e1ed5152417 --- /dev/null +++ b/Commands/sig/gallery-application/_create.md @@ -0,0 +1,16 @@ +# [Command] _sig gallery-application create_ + +Create a gallery Application Definition. + +## Versions + +### [2021-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2dhbGxlcmllcy97fS9hcHBsaWNhdGlvbnMve30=/2021-07-01.xml) **Stable** + + + +#### examples + +- Create a simple gallery Application. + ```bash + sig gallery-application create --gallery-name MyGallery --name AppName -g MyResourceGroup --os-type windows + ``` diff --git a/Commands/sig/gallery-application/_delete.md b/Commands/sig/gallery-application/_delete.md new file mode 100644 index 00000000000..1b19f77cdb1 --- /dev/null +++ b/Commands/sig/gallery-application/_delete.md @@ -0,0 +1,9 @@ +# [Command] _sig gallery-application delete_ + +Delete a gallery Application. + +## Versions + +### [2021-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2dhbGxlcmllcy97fS9hcHBsaWNhdGlvbnMve30=/2021-07-01.xml) **Stable** + + diff --git a/Commands/sig/gallery-application/_list.md b/Commands/sig/gallery-application/_list.md new file mode 100644 index 00000000000..d961f55d33f --- /dev/null +++ b/Commands/sig/gallery-application/_list.md @@ -0,0 +1,9 @@ +# [Command] _sig gallery-application list_ + +List gallery Application Definitions in a gallery. + +## Versions + +### [2021-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2dhbGxlcmllcy97fS9hcHBsaWNhdGlvbnM=/2021-07-01.xml) **Stable** + + diff --git a/Commands/sig/gallery-application/_show.md b/Commands/sig/gallery-application/_show.md new file mode 100644 index 00000000000..1993d5d2320 --- /dev/null +++ b/Commands/sig/gallery-application/_show.md @@ -0,0 +1,9 @@ +# [Command] _sig gallery-application show_ + +Get information about a gallery Application Definition. + +## Versions + +### [2021-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2dhbGxlcmllcy97fS9hcHBsaWNhdGlvbnMve30=/2021-07-01.xml) **Stable** + + diff --git a/Commands/sig/gallery-application/_update.md b/Commands/sig/gallery-application/_update.md new file mode 100644 index 00000000000..0499ce53961 --- /dev/null +++ b/Commands/sig/gallery-application/_update.md @@ -0,0 +1,16 @@ +# [Command] _sig gallery-application update_ + +Update a gallery Application Definition. + +## Versions + +### [2021-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2dhbGxlcmllcy97fS9hcHBsaWNhdGlvbnMve30=/2021-07-01.xml) **Stable** + + + +#### examples + +- Update a simple gallery Application. + ```bash + sig gallery-application update --gallery-name GalleryName --name AppName -g MyResourceGroup --description Description --tags tag=MyTag + ``` diff --git a/Commands/sig/gallery-application/readme.md b/Commands/sig/gallery-application/readme.md index a87fae5f818..04f4b65e364 100644 --- a/Commands/sig/gallery-application/readme.md +++ b/Commands/sig/gallery-application/readme.md @@ -6,3 +6,20 @@ Manage gallery application. - [version](/Commands/sig/gallery-application/version/readme.md) : Manage gallery application version. + +## Commands + +- [create](/Commands/sig/gallery-application/_create.md) +: Create a gallery Application Definition. + +- [delete](/Commands/sig/gallery-application/_delete.md) +: Delete a gallery Application. + +- [list](/Commands/sig/gallery-application/_list.md) +: List gallery Application Definitions in a gallery. + +- [show](/Commands/sig/gallery-application/_show.md) +: Get information about a gallery Application Definition. + +- [update](/Commands/sig/gallery-application/_update.md) +: Update a gallery Application Definition. diff --git a/Commands/tree.json b/Commands/tree.json index d2104b0381d..4f0cc858f2f 100644 --- a/Commands/tree.json +++ b/Commands/tree.json @@ -26437,6 +26437,134 @@ ] } }, + "commands": { + "create": { + "help": { + "short": "Create a gallery Application Definition." + }, + "names": [ + "sig", + "gallery-application", + "create" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "sig gallery-application create --gallery-name MyGallery --name AppName -g MyResourceGroup --os-type windows" + ], + "name": "Create a simple gallery Application." + } + ], + "name": "2021-07-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/galleries/{}/applications/{}", + "plane": "mgmt-plane", + "version": "2021-07-01" + } + ] + } + ] + }, + "delete": { + "help": { + "short": "Delete a gallery Application." + }, + "names": [ + "sig", + "gallery-application", + "delete" + ], + "versions": [ + { + "name": "2021-07-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/galleries/{}/applications/{}", + "plane": "mgmt-plane", + "version": "2021-07-01" + } + ] + } + ] + }, + "list": { + "help": { + "short": "List gallery Application Definitions in a gallery." + }, + "names": [ + "sig", + "gallery-application", + "list" + ], + "versions": [ + { + "name": "2021-07-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/galleries/{}/applications", + "plane": "mgmt-plane", + "version": "2021-07-01" + } + ] + } + ] + }, + "show": { + "help": { + "short": "Get information about a gallery Application Definition." + }, + "names": [ + "sig", + "gallery-application", + "show" + ], + "versions": [ + { + "name": "2021-07-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/galleries/{}/applications/{}", + "plane": "mgmt-plane", + "version": "2021-07-01" + } + ] + } + ] + }, + "update": { + "help": { + "short": "Update a gallery Application Definition." + }, + "names": [ + "sig", + "gallery-application", + "update" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "sig gallery-application update --gallery-name GalleryName --name AppName -g MyResourceGroup --description Description --tags tag=MyTag" + ], + "name": "Update a simple gallery Application." + } + ], + "name": "2021-07-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/galleries/{}/applications/{}", + "plane": "mgmt-plane", + "version": "2021-07-01" + } + ] + } + ] + } + }, "help": { "short": "Manage gallery application." }, @@ -26786,6 +26914,178 @@ "sql" ] }, + "vm": { + "commandGroups": { + "host": { + "commandGroups": { + "group": { + "commands": { + "create": { + "help": { + "short": "Create a dedicated host group." + }, + "names": [ + "vm", + "host", + "group", + "create" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "vm host group create --name MyDedicatedHostGroup --platform-fault-domain-count 2 --resource-group MyResourceGroup" + ], + "name": "Create a dedicated host group." + } + ], + "name": "2019-03-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/hostgroups/{}", + "plane": "mgmt-plane", + "version": "2019-03-01" + } + ] + } + ] + }, + "delete": { + "help": { + "short": "Delete a dedicated host group." + }, + "names": [ + "vm", + "host", + "group", + "delete" + ], + "versions": [ + { + "name": "2019-03-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/hostgroups/{}", + "plane": "mgmt-plane", + "version": "2019-03-01" + } + ] + } + ] + }, + "list": { + "help": { + "lines": [ + "Lists dedicated host groups by subscription. If resource group is specified, lists dedicated host groups by resource group." + ], + "short": "List dedicated host groups." + }, + "names": [ + "vm", + "host", + "group", + "list" + ], + "versions": [ + { + "name": "2019-03-01", + "resources": [ + { + "id": "/subscriptions/{}/providers/microsoft.compute/hostgroups", + "plane": "mgmt-plane", + "version": "2019-03-01" + }, + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/hostgroups", + "plane": "mgmt-plane", + "version": "2019-03-01" + } + ] + } + ] + }, + "show": { + "help": { + "short": "Get the details of a dedicated host group." + }, + "names": [ + "vm", + "host", + "group", + "show" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "vm host group show --name MyDedicatedHostGroup --resource-group MyResourceGroup" + ], + "name": "Get the details of a dedicated host group." + } + ], + "name": "2019-03-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/hostgroups/{}", + "plane": "mgmt-plane", + "version": "2019-03-01" + } + ] + } + ] + }, + "update": { + "help": { + "short": "Update a dedicated host group." + }, + "names": [ + "vm", + "host", + "group", + "update" + ], + "versions": [ + { + "name": "2019-03-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/hostgroups/{}", + "plane": "mgmt-plane", + "version": "2019-03-01" + } + ] + } + ] + } + }, + "help": { + "short": "Manage Dedicated Host Groups" + }, + "names": [ + "vm", + "host", + "group" + ] + } + }, + "help": { + "short": "Manage Dedicated Hosts for Virtual Machines" + }, + "names": [ + "vm", + "host" + ] + } + }, + "help": { + "short": "Manage Linux or Windows virtual machines." + }, + "names": [ + "vm" + ] + }, "vmss": { "commandGroups": { "extension": { @@ -26879,6 +27179,83 @@ "vmss", "extension" ] + }, + "nic": { + "commands": { + "list": { + "help": { + "short": "Gets all network interfaces in a virtual machine scale set." + }, + "names": [ + "vmss", + "nic", + "list" + ], + "versions": [ + { + "name": "2016-03-30", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/virtualmachinescalesets/{}/networkinterfaces", + "plane": "mgmt-plane", + "version": "2016-03-30" + } + ] + } + ] + }, + "list-vm-nics": { + "help": { + "short": "Gets information about all network interfaces in a virtual machine in a virtual machine scale set." + }, + "names": [ + "vmss", + "nic", + "list-vm-nics" + ], + "versions": [ + { + "name": "2016-03-30", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/virtualmachinescalesets/{}/virtualmachines/{}/networkinterfaces", + "plane": "mgmt-plane", + "version": "2016-03-30" + } + ] + } + ] + }, + "show": { + "help": { + "short": "Get the specified network interface in a virtual machine scale set." + }, + "names": [ + "vmss", + "nic", + "show" + ], + "versions": [ + { + "name": "2016-03-30", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/virtualmachinescalesets/{}/virtualmachines/{}/networkinterfaces/{}", + "plane": "mgmt-plane", + "version": "2016-03-30" + } + ] + } + ] + } + }, + "help": { + "short": "Manage network interfaces of a VMSS." + }, + "names": [ + "vmss", + "nic" + ] } }, "help": { diff --git a/Commands/vm/host/group/_create.md b/Commands/vm/host/group/_create.md new file mode 100644 index 00000000000..7ad5accc913 --- /dev/null +++ b/Commands/vm/host/group/_create.md @@ -0,0 +1,16 @@ +# [Command] _vm host group create_ + +Create a dedicated host group. + +## Versions + +### [2019-03-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2hvc3Rncm91cHMve30=/2019-03-01.xml) **Stable** + + + +#### examples + +- Create a dedicated host group. + ```bash + vm host group create --name MyDedicatedHostGroup --platform-fault-domain-count 2 --resource-group MyResourceGroup + ``` diff --git a/Commands/vm/host/group/_delete.md b/Commands/vm/host/group/_delete.md new file mode 100644 index 00000000000..6de32096988 --- /dev/null +++ b/Commands/vm/host/group/_delete.md @@ -0,0 +1,9 @@ +# [Command] _vm host group delete_ + +Delete a dedicated host group. + +## Versions + +### [2019-03-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2hvc3Rncm91cHMve30=/2019-03-01.xml) **Stable** + + diff --git a/Commands/vm/host/group/_list.md b/Commands/vm/host/group/_list.md new file mode 100644 index 00000000000..8d151158535 --- /dev/null +++ b/Commands/vm/host/group/_list.md @@ -0,0 +1,12 @@ +# [Command] _vm host group list_ + +List dedicated host groups. + +Lists dedicated host groups by subscription. If resource group is specified, lists dedicated host groups by resource group. + +## Versions + +### [2019-03-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2hvc3Rncm91cHM=/2019-03-01.xml) **Stable** + + + diff --git a/Commands/vm/host/group/_show.md b/Commands/vm/host/group/_show.md new file mode 100644 index 00000000000..191bee80476 --- /dev/null +++ b/Commands/vm/host/group/_show.md @@ -0,0 +1,16 @@ +# [Command] _vm host group show_ + +Get the details of a dedicated host group. + +## Versions + +### [2019-03-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2hvc3Rncm91cHMve30=/2019-03-01.xml) **Stable** + + + +#### examples + +- Get the details of a dedicated host group. + ```bash + vm host group show --name MyDedicatedHostGroup --resource-group MyResourceGroup + ``` diff --git a/Commands/vm/host/group/_update.md b/Commands/vm/host/group/_update.md new file mode 100644 index 00000000000..69e5ab913b6 --- /dev/null +++ b/Commands/vm/host/group/_update.md @@ -0,0 +1,9 @@ +# [Command] _vm host group update_ + +Update a dedicated host group. + +## Versions + +### [2019-03-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2hvc3Rncm91cHMve30=/2019-03-01.xml) **Stable** + + diff --git a/Commands/vm/host/group/readme.md b/Commands/vm/host/group/readme.md new file mode 100644 index 00000000000..19940708f9d --- /dev/null +++ b/Commands/vm/host/group/readme.md @@ -0,0 +1,20 @@ +# [Group] _vm host group_ + +Manage Dedicated Host Groups + +## Commands + +- [create](/Commands/vm/host/group/_create.md) +: Create a dedicated host group. + +- [delete](/Commands/vm/host/group/_delete.md) +: Delete a dedicated host group. + +- [list](/Commands/vm/host/group/_list.md) +: List dedicated host groups. + +- [show](/Commands/vm/host/group/_show.md) +: Get the details of a dedicated host group. + +- [update](/Commands/vm/host/group/_update.md) +: Update a dedicated host group. diff --git a/Commands/vm/host/readme.md b/Commands/vm/host/readme.md new file mode 100644 index 00000000000..a24a6bdcdd6 --- /dev/null +++ b/Commands/vm/host/readme.md @@ -0,0 +1,8 @@ +# [Group] _vm host_ + +Manage Dedicated Hosts for Virtual Machines + +## Subgroups + +- [group](/Commands/vm/host/group/readme.md) +: Manage Dedicated Host Groups diff --git a/Commands/vm/readme.md b/Commands/vm/readme.md new file mode 100644 index 00000000000..8f4a40a3407 --- /dev/null +++ b/Commands/vm/readme.md @@ -0,0 +1,8 @@ +# [Group] _vm_ + +Manage Linux or Windows virtual machines. + +## Subgroups + +- [host](/Commands/vm/host/readme.md) +: Manage Dedicated Hosts for Virtual Machines diff --git a/Commands/vmss/nic/_list-vm-nics.md b/Commands/vmss/nic/_list-vm-nics.md new file mode 100644 index 00000000000..e2c60bb0116 --- /dev/null +++ b/Commands/vmss/nic/_list-vm-nics.md @@ -0,0 +1,9 @@ +# [Command] _vmss nic list-vm-nics_ + +Gets information about all network interfaces in a virtual machine in a virtual machine scale set. + +## Versions + +### [2016-03-30](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3ZpcnR1YWxtYWNoaW5lc2NhbGVzZXRzL3t9L3ZpcnR1YWxtYWNoaW5lcy97fS9uZXR3b3JraW50ZXJmYWNlcw==/2016-03-30.xml) **Stable** + + diff --git a/Commands/vmss/nic/_list.md b/Commands/vmss/nic/_list.md new file mode 100644 index 00000000000..771cf41beb0 --- /dev/null +++ b/Commands/vmss/nic/_list.md @@ -0,0 +1,9 @@ +# [Command] _vmss nic list_ + +Gets all network interfaces in a virtual machine scale set. + +## Versions + +### [2016-03-30](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3ZpcnR1YWxtYWNoaW5lc2NhbGVzZXRzL3t9L25ldHdvcmtpbnRlcmZhY2Vz/2016-03-30.xml) **Stable** + + diff --git a/Commands/vmss/nic/_show.md b/Commands/vmss/nic/_show.md new file mode 100644 index 00000000000..dfc7d3860f8 --- /dev/null +++ b/Commands/vmss/nic/_show.md @@ -0,0 +1,9 @@ +# [Command] _vmss nic show_ + +Get the specified network interface in a virtual machine scale set. + +## Versions + +### [2016-03-30](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3ZpcnR1YWxtYWNoaW5lc2NhbGVzZXRzL3t9L3ZpcnR1YWxtYWNoaW5lcy97fS9uZXR3b3JraW50ZXJmYWNlcy97fQ==/2016-03-30.xml) **Stable** + + diff --git a/Commands/vmss/nic/readme.md b/Commands/vmss/nic/readme.md new file mode 100644 index 00000000000..16b2cbb9593 --- /dev/null +++ b/Commands/vmss/nic/readme.md @@ -0,0 +1,14 @@ +# [Group] _vmss nic_ + +Manage network interfaces of a VMSS. + +## Commands + +- [list](/Commands/vmss/nic/_list.md) +: Gets all network interfaces in a virtual machine scale set. + +- [list-vm-nics](/Commands/vmss/nic/_list-vm-nics.md) +: Gets information about all network interfaces in a virtual machine in a virtual machine scale set. + +- [show](/Commands/vmss/nic/_show.md) +: Get the specified network interface in a virtual machine scale set. diff --git a/Commands/vmss/readme.md b/Commands/vmss/readme.md index 17705c31a85..93bc14b15b2 100644 --- a/Commands/vmss/readme.md +++ b/Commands/vmss/readme.md @@ -6,3 +6,6 @@ Manage groupings of virtual machines in an Azure Virtual Machine Scale Set (VMSS - [extension](/Commands/vmss/extension/readme.md) : Manage extensions on a VM scale set. + +- [nic](/Commands/vmss/nic/readme.md) +: Manage network interfaces of a VMSS. diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2hvc3Rncm91cHM=/2019-03-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2hvc3Rncm91cHM=/2019-03-01.json new file mode 100644 index 00000000000..1a71a7b395f --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2hvc3Rncm91cHM=/2019-03-01.json @@ -0,0 +1,419 @@ +{ + "plane": "mgmt-plane", + "resources": [ + { + "id": "/subscriptions/{}/providers/microsoft.compute/hostgroups", + "version": "2019-03-01", + "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkNvbXB1dGUvaG9zdEdyb3Vwcw==/V/MjAxOS0wMy0wMQ==" + }, + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/hostgroups", + "version": "2019-03-01", + "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9ob3N0R3JvdXBz/V/MjAxOS0wMy0wMQ==" + } + ], + "commandGroups": [ + { + "name": "vm host group", + "commands": [ + { + "name": "list", + "version": "2019-03-01", + "resources": [ + { + "id": "/subscriptions/{}/providers/microsoft.compute/hostgroups", + "version": "2019-03-01", + "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkNvbXB1dGUvaG9zdEdyb3Vwcw==/V/MjAxOS0wMy0wMQ==" + }, + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/hostgroups", + "version": "2019-03-01", + "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9ob3N0R3JvdXBz/V/MjAxOS0wMy0wMQ==" + } + ], + "argGroups": [ + { + "name": "", + "args": [ + { + "type": "ResourceGroupName", + "var": "$Path.resourceGroupName", + "options": [ + "g", + "resource-group" + ], + "group": "", + "idPart": "resource_group", + "help": { + "short": "Name of resource group. You can configure the default group using `az configure --defaults group=`." + } + }, + { + "type": "SubscriptionId", + "var": "$Path.subscriptionId", + "options": [ + "subscription" + ], + "required": true, + "group": "", + "idPart": "subscription", + "help": { + "short": "Name or ID of subscription. You can configure the default subscription using `az account set -s NAME_OR_ID`." + } + } + ] + } + ], + "conditions": [ + { + "var": "$Condition_DedicatedHostGroups_ListByResourceGroup", + "operator": { + "type": "and", + "operators": [ + { + "type": "hasValue", + "arg": "$Path.resourceGroupName" + }, + { + "type": "hasValue", + "arg": "$Path.subscriptionId" + } + ] + } + }, + { + "var": "$Condition_DedicatedHostGroups_ListBySubscription", + "operator": { + "type": "and", + "operators": [ + { + "type": "hasValue", + "arg": "$Path.subscriptionId" + }, + { + "type": "not", + "operator": { + "type": "hasValue", + "arg": "$Path.resourceGroupName" + } + } + ] + } + } + ], + "operations": [ + { + "when": [ + "$Condition_DedicatedHostGroups_ListByResourceGroup" + ], + "operationId": "DedicatedHostGroups_ListByResourceGroup", + "http": { + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups", + "request": { + "method": "get", + "path": { + "params": [ + { + "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": "2019-03-01" + }, + "type": "string", + "name": "api-version", + "required": true + } + ] + } + }, + "responses": [ + { + "statusCode": [ + 200 + ], + "body": { + "json": { + "var": "$Instance", + "schema": { + "type": "object", + "props": [ + { + "type": "string", + "name": "nextLink" + }, + { + "type": "array", + "name": "value", + "required": true, + "item": { + "type": "object", + "props": [ + { + "readOnly": true, + "type": "ResourceId", + "name": "id", + "format": { + "template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Compute/hostGroups/{}" + } + }, + { + "type": "ResourceLocation", + "name": "location", + "required": true + }, + { + "readOnly": true, + "type": "string", + "name": "name" + }, + { + "type": "object", + "name": "properties", + "props": [ + { + "readOnly": true, + "type": "array", + "name": "hosts", + "item": { + "type": "object", + "props": [ + { + "readOnly": true, + "type": "string", + "name": "id" + } + ] + } + }, + { + "type": "integer32", + "name": "platformFaultDomainCount", + "required": true, + "format": { + "maximum": 3, + "minimum": 1 + } + } + ], + "clientFlatten": true + }, + { + "type": "object", + "name": "tags", + "additionalProps": { + "item": { + "type": "string" + } + } + }, + { + "readOnly": true, + "type": "string", + "name": "type" + }, + { + "type": "array", + "name": "zones", + "item": { + "type": "string" + } + } + ] + } + } + ] + } + } + } + }, + { + "isError": true, + "body": { + "json": { + "schema": { + "type": "@ODataV4Format" + } + } + } + } + ] + } + }, + { + "when": [ + "$Condition_DedicatedHostGroups_ListBySubscription" + ], + "operationId": "DedicatedHostGroups_ListBySubscription", + "http": { + "path": "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/hostGroups", + "request": { + "method": "get", + "path": { + "params": [ + { + "type": "string", + "name": "subscriptionId", + "arg": "$Path.subscriptionId", + "required": true + } + ] + }, + "query": { + "consts": [ + { + "readOnly": true, + "const": true, + "default": { + "value": "2019-03-01" + }, + "type": "string", + "name": "api-version", + "required": true + } + ] + } + }, + "responses": [ + { + "statusCode": [ + 200 + ], + "body": { + "json": { + "var": "$Instance", + "schema": { + "type": "object", + "props": [ + { + "type": "string", + "name": "nextLink" + }, + { + "type": "array", + "name": "value", + "required": true, + "item": { + "type": "object", + "props": [ + { + "readOnly": true, + "type": "ResourceId", + "name": "id", + "format": { + "template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Compute/hostGroups/{}" + } + }, + { + "type": "ResourceLocation", + "name": "location", + "required": true + }, + { + "readOnly": true, + "type": "string", + "name": "name" + }, + { + "type": "object", + "name": "properties", + "props": [ + { + "readOnly": true, + "type": "array", + "name": "hosts", + "item": { + "type": "object", + "props": [ + { + "readOnly": true, + "type": "string", + "name": "id" + } + ] + } + }, + { + "type": "integer32", + "name": "platformFaultDomainCount", + "required": true, + "format": { + "maximum": 3, + "minimum": 1 + } + } + ], + "clientFlatten": true + }, + { + "type": "object", + "name": "tags", + "additionalProps": { + "item": { + "type": "string" + } + } + }, + { + "readOnly": true, + "type": "string", + "name": "type" + }, + { + "type": "array", + "name": "zones", + "item": { + "type": "string" + } + } + ] + } + } + ] + } + } + } + }, + { + "isError": true, + "body": { + "json": { + "schema": { + "type": "@ODataV4Format" + } + } + } + } + ] + } + } + ], + "outputs": [ + { + "type": "array", + "ref": "$Instance.value", + "clientFlatten": true, + "nextLink": "$Instance.nextLink" + } + ], + "confirmation": "" + } + ] + } + ] +} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2hvc3Rncm91cHM=/2019-03-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2hvc3Rncm91cHM=/2019-03-01.xml new file mode 100644 index 00000000000..fd73b613c50 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2hvc3Rncm91cHM=/2019-03-01.xml @@ -0,0 +1,151 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2dhbGxlcmllcy97fS9hcHBsaWNhdGlvbnM=/2021-07-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2dhbGxlcmllcy97fS9hcHBsaWNhdGlvbnM=/2021-07-01.json new file mode 100644 index 00000000000..660af878518 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2dhbGxlcmllcy97fS9hcHBsaWNhdGlvbnM=/2021-07-01.json @@ -0,0 +1,247 @@ +{ + "plane": "mgmt-plane", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/galleries/{}/applications", + "version": "2021-07-01", + "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9nYWxsZXJpZXMve2dhbGxlcnlOYW1lfS9hcHBsaWNhdGlvbnM=/V/MjAyMS0wNy0wMQ==" + } + ], + "commandGroups": [ + { + "name": "sig gallery-application", + "commands": [ + { + "name": "list", + "version": "2021-07-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/galleries/{}/applications", + "version": "2021-07-01", + "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9nYWxsZXJpZXMve2dhbGxlcnlOYW1lfS9hcHBsaWNhdGlvbnM=/V/MjAyMS0wNy0wMQ==" + } + ], + "argGroups": [ + { + "name": "", + "args": [ + { + "type": "string", + "var": "$Path.galleryName", + "options": [ + "r", + "gallery-name" + ], + "required": true, + "group": "", + "idPart": "name", + "help": { + "short": "Gallery name." + } + }, + { + "type": "ResourceGroupName", + "var": "$Path.resourceGroupName", + "options": [ + "g", + "resource-group" + ], + "required": true, + "group": "", + "idPart": "resource_group", + "help": { + "short": "Name of resource group. You can configure the default group using `az configure --defaults group=`." + } + }, + { + "type": "SubscriptionId", + "var": "$Path.subscriptionId", + "options": [ + "subscription" + ], + "required": true, + "group": "", + "idPart": "subscription", + "help": { + "short": "Name or ID of subscription. You can configure the default subscription using `az account set -s NAME_OR_ID`." + } + } + ] + } + ], + "operations": [ + { + "operationId": "GalleryApplications_ListByGallery", + "http": { + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications", + "request": { + "method": "get", + "path": { + "params": [ + { + "type": "string", + "name": "galleryName", + "arg": "$Path.galleryName", + "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": "2021-07-01" + }, + "type": "string", + "name": "api-version", + "required": true + } + ] + } + }, + "responses": [ + { + "statusCode": [ + 200 + ], + "body": { + "json": { + "var": "$Instance", + "schema": { + "type": "object", + "props": [ + { + "type": "string", + "name": "nextLink" + }, + { + "type": "array", + "name": "value", + "required": true, + "item": { + "type": "object", + "props": [ + { + "readOnly": true, + "type": "ResourceId", + "name": "id", + "format": { + "template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Compute/galleries/{}/applications/{}" + } + }, + { + "type": "ResourceLocation", + "name": "location", + "required": true + }, + { + "readOnly": true, + "type": "string", + "name": "name" + }, + { + "type": "object", + "name": "properties", + "props": [ + { + "type": "string", + "name": "description" + }, + { + "type": "dateTime", + "name": "endOfLifeDate" + }, + { + "type": "string", + "name": "eula" + }, + { + "type": "string", + "name": "privacyStatementUri" + }, + { + "type": "string", + "name": "releaseNoteUri" + }, + { + "type": "string", + "name": "supportedOSType", + "required": true, + "enum": { + "items": [ + { + "value": "Linux" + }, + { + "value": "Windows" + } + ] + } + } + ], + "clientFlatten": true + }, + { + "type": "object", + "name": "tags", + "additionalProps": { + "item": { + "type": "string" + } + } + }, + { + "readOnly": true, + "type": "string", + "name": "type" + } + ] + } + } + ] + } + } + } + }, + { + "isError": true, + "body": { + "json": { + "schema": { + "type": "@ODataV4Format" + } + } + } + } + ] + } + } + ], + "outputs": [ + { + "type": "array", + "ref": "$Instance.value", + "clientFlatten": true, + "nextLink": "$Instance.nextLink" + } + ], + "confirmation": "" + } + ] + } + ] +} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2dhbGxlcmllcy97fS9hcHBsaWNhdGlvbnM=/2021-07-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2dhbGxlcmllcy97fS9hcHBsaWNhdGlvbnM=/2021-07-01.xml new file mode 100644 index 00000000000..92fd1a16000 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2dhbGxlcmllcy97fS9hcHBsaWNhdGlvbnM=/2021-07-01.xml @@ -0,0 +1,81 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2dhbGxlcmllcy97fS9hcHBsaWNhdGlvbnMve30=/2021-07-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2dhbGxlcmllcy97fS9hcHBsaWNhdGlvbnMve30=/2021-07-01.json new file mode 100644 index 00000000000..acaf44e2bd6 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2dhbGxlcmllcy97fS9hcHBsaWNhdGlvbnMve30=/2021-07-01.json @@ -0,0 +1,1398 @@ +{ + "plane": "mgmt-plane", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/galleries/{}/applications/{}", + "version": "2021-07-01", + "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9nYWxsZXJpZXMve2dhbGxlcnlOYW1lfS9hcHBsaWNhdGlvbnMve2dhbGxlcnlBcHBsaWNhdGlvbk5hbWV9/V/MjAyMS0wNy0wMQ==" + } + ], + "commandGroups": [ + { + "name": "sig gallery-application", + "commands": [ + { + "name": "show", + "version": "2021-07-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/galleries/{}/applications/{}", + "version": "2021-07-01", + "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9nYWxsZXJpZXMve2dhbGxlcnlOYW1lfS9hcHBsaWNhdGlvbnMve2dhbGxlcnlBcHBsaWNhdGlvbk5hbWV9/V/MjAyMS0wNy0wMQ==" + } + ], + "argGroups": [ + { + "name": "", + "args": [ + { + "type": "string", + "var": "$Path.galleryApplicationName", + "options": [ + "n", + "name", + "application-name", + "gallery-application-name" + ], + "required": true, + "group": "", + "idPart": "child_name_1", + "help": { + "short": "The name of the gallery application." + } + }, + { + "type": "string", + "var": "$Path.galleryName", + "options": [ + "r", + "gallery-name" + ], + "required": true, + "group": "", + "idPart": "name", + "help": { + "short": "Gallery name." + } + }, + { + "type": "ResourceGroupName", + "var": "$Path.resourceGroupName", + "options": [ + "g", + "resource-group" + ], + "required": true, + "group": "", + "idPart": "resource_group", + "help": { + "short": "Name of resource group. You can configure the default group using `az configure --defaults group=`." + } + }, + { + "type": "SubscriptionId", + "var": "$Path.subscriptionId", + "options": [ + "subscription" + ], + "required": true, + "group": "", + "idPart": "subscription", + "help": { + "short": "Name or ID of subscription. You can configure the default subscription using `az account set -s NAME_OR_ID`." + } + } + ] + } + ], + "operations": [ + { + "operationId": "GalleryApplications_Get", + "http": { + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{galleryApplicationName}", + "request": { + "method": "get", + "path": { + "params": [ + { + "type": "string", + "name": "galleryApplicationName", + "arg": "$Path.galleryApplicationName", + "required": true + }, + { + "type": "string", + "name": "galleryName", + "arg": "$Path.galleryName", + "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": "2021-07-01" + }, + "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.Compute/galleries/{}/applications/{}" + } + }, + { + "type": "ResourceLocation", + "name": "location", + "required": true + }, + { + "readOnly": true, + "type": "string", + "name": "name" + }, + { + "type": "object", + "name": "properties", + "props": [ + { + "type": "string", + "name": "description" + }, + { + "type": "dateTime", + "name": "endOfLifeDate" + }, + { + "type": "string", + "name": "eula" + }, + { + "type": "string", + "name": "privacyStatementUri" + }, + { + "type": "string", + "name": "releaseNoteUri" + }, + { + "type": "string", + "name": "supportedOSType", + "required": true, + "enum": { + "items": [ + { + "value": "Linux" + }, + { + "value": "Windows" + } + ] + } + } + ], + "clientFlatten": true + }, + { + "type": "object", + "name": "tags", + "additionalProps": { + "item": { + "type": "string" + } + } + }, + { + "readOnly": true, + "type": "string", + "name": "type" + } + ] + } + } + } + }, + { + "isError": true, + "body": { + "json": { + "schema": { + "type": "@ODataV4Format" + } + } + } + } + ] + } + } + ], + "outputs": [ + { + "type": "object", + "ref": "$Instance", + "clientFlatten": true + } + ] + }, + { + "name": "delete", + "version": "2021-07-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/galleries/{}/applications/{}", + "version": "2021-07-01", + "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9nYWxsZXJpZXMve2dhbGxlcnlOYW1lfS9hcHBsaWNhdGlvbnMve2dhbGxlcnlBcHBsaWNhdGlvbk5hbWV9/V/MjAyMS0wNy0wMQ==" + } + ], + "argGroups": [ + { + "name": "", + "args": [ + { + "type": "string", + "var": "$Path.galleryApplicationName", + "options": [ + "n", + "name", + "application-name", + "gallery-application-name" + ], + "required": true, + "group": "", + "idPart": "child_name_1", + "help": { + "short": "The name of the gallery application." + } + }, + { + "type": "string", + "var": "$Path.galleryName", + "options": [ + "r", + "gallery-name" + ], + "required": true, + "group": "", + "idPart": "name", + "help": { + "short": "Gallery name." + } + }, + { + "type": "ResourceGroupName", + "var": "$Path.resourceGroupName", + "options": [ + "g", + "resource-group" + ], + "required": true, + "group": "", + "idPart": "resource_group", + "help": { + "short": "Name of resource group. You can configure the default group using `az configure --defaults group=`." + } + }, + { + "type": "SubscriptionId", + "var": "$Path.subscriptionId", + "options": [ + "subscription" + ], + "required": true, + "group": "", + "idPart": "subscription", + "help": { + "short": "Name or ID of subscription. You can configure the default subscription using `az account set -s NAME_OR_ID`." + } + } + ] + } + ], + "operations": [ + { + "longRunning": { + "finalStateVia": "azure-async-operation" + }, + "operationId": "GalleryApplications_Delete", + "http": { + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{galleryApplicationName}", + "request": { + "method": "delete", + "path": { + "params": [ + { + "type": "string", + "name": "galleryApplicationName", + "arg": "$Path.galleryApplicationName", + "required": true + }, + { + "type": "string", + "name": "galleryName", + "arg": "$Path.galleryName", + "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": "2021-07-01" + }, + "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": "2021-07-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/galleries/{}/applications/{}", + "version": "2021-07-01", + "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9nYWxsZXJpZXMve2dhbGxlcnlOYW1lfS9hcHBsaWNhdGlvbnMve2dhbGxlcnlBcHBsaWNhdGlvbk5hbWV9/V/MjAyMS0wNy0wMQ==" + } + ], + "argGroups": [ + { + "name": "", + "args": [ + { + "type": "string", + "var": "$Path.galleryApplicationName", + "options": [ + "n", + "name", + "application-name", + "gallery-application-name" + ], + "required": true, + "group": "", + "idPart": "child_name_1", + "help": { + "short": "The name of the gallery application." + } + }, + { + "type": "string", + "var": "$Path.galleryName", + "options": [ + "r", + "gallery-name" + ], + "required": true, + "group": "", + "idPart": "name", + "help": { + "short": "Gallery name." + } + }, + { + "type": "ResourceGroupName", + "var": "$Path.resourceGroupName", + "options": [ + "g", + "resource-group" + ], + "required": true, + "group": "", + "idPart": "resource_group", + "help": { + "short": "Name of resource group. You can configure the default group using `az configure --defaults group=`." + } + }, + { + "type": "SubscriptionId", + "var": "$Path.subscriptionId", + "options": [ + "subscription" + ], + "required": true, + "group": "", + "idPart": "subscription", + "help": { + "short": "Name or ID of subscription. You can configure the default subscription using `az account set -s NAME_OR_ID`." + } + } + ] + }, + { + "name": "GalleryApplication", + "args": [ + { + "type": "ResourceLocation", + "var": "$galleryApplication.location", + "options": [ + "l", + "location" + ], + "required": true, + "group": "GalleryApplication", + "help": { + "short": "Resource location" + } + }, + { + "type": "object", + "var": "$galleryApplication.tags", + "options": [ + "tags" + ], + "group": "GalleryApplication", + "help": { + "short": "Resource tags" + }, + "additionalProps": { + "item": { + "type": "string" + } + } + } + ] + }, + { + "name": "Properties", + "args": [ + { + "type": "string", + "var": "$galleryApplication.properties.description", + "options": [ + "description" + ], + "group": "Properties", + "help": { + "short": "The description of this gallery Application Definition resource. This property is updatable." + } + }, + { + "type": "dateTime", + "var": "$galleryApplication.properties.endOfLifeDate", + "options": [ + "end-of-life-date" + ], + "group": "Properties", + "help": { + "short": "The end of life date of the gallery Application Definition. This property can be used for decommissioning purposes. This property is updatable." + } + }, + { + "type": "string", + "var": "$galleryApplication.properties.eula", + "options": [ + "eula" + ], + "group": "Properties", + "help": { + "short": "The Eula agreement for the gallery Application Definition." + } + }, + { + "type": "string", + "var": "$galleryApplication.properties.privacyStatementUri", + "options": [ + "privacy-statement-uri" + ], + "group": "Properties", + "help": { + "short": "The privacy statement uri." + } + }, + { + "type": "string", + "var": "$galleryApplication.properties.releaseNoteUri", + "options": [ + "release-note-uri" + ], + "group": "Properties", + "help": { + "short": "The release note uri." + } + }, + { + "type": "string", + "var": "$galleryApplication.properties.supportedOSType", + "options": [ + "supported-os-type" + ], + "group": "Properties", + "help": { + "short": "This property allows you to specify the supported type of the OS that application is built for.

Possible values are:

**Windows**

**Linux**" + }, + "enum": { + "items": [ + { + "name": "Linux", + "value": "Linux" + }, + { + "name": "Windows", + "value": "Windows" + } + ] + } + } + ] + } + ], + "operations": [ + { + "longRunning": { + "finalStateVia": "azure-async-operation" + }, + "operationId": "GalleryApplications_CreateOrUpdate", + "http": { + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{galleryApplicationName}", + "request": { + "method": "put", + "path": { + "params": [ + { + "type": "string", + "name": "galleryApplicationName", + "arg": "$Path.galleryApplicationName", + "required": true + }, + { + "type": "string", + "name": "galleryName", + "arg": "$Path.galleryName", + "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": "2021-07-01" + }, + "type": "string", + "name": "api-version", + "required": true + } + ] + }, + "body": { + "json": { + "schema": { + "type": "object", + "name": "galleryApplication", + "required": true, + "props": [ + { + "type": "ResourceLocation", + "name": "location", + "arg": "$galleryApplication.location", + "required": true + }, + { + "type": "object", + "name": "properties", + "props": [ + { + "type": "string", + "name": "description", + "arg": "$galleryApplication.properties.description" + }, + { + "type": "dateTime", + "name": "endOfLifeDate", + "arg": "$galleryApplication.properties.endOfLifeDate" + }, + { + "type": "string", + "name": "eula", + "arg": "$galleryApplication.properties.eula" + }, + { + "type": "string", + "name": "privacyStatementUri", + "arg": "$galleryApplication.properties.privacyStatementUri" + }, + { + "type": "string", + "name": "releaseNoteUri", + "arg": "$galleryApplication.properties.releaseNoteUri" + }, + { + "type": "string", + "name": "supportedOSType", + "arg": "$galleryApplication.properties.supportedOSType", + "required": true, + "enum": { + "items": [ + { + "value": "Linux" + }, + { + "value": "Windows" + } + ] + } + } + ], + "clientFlatten": true + }, + { + "type": "object", + "name": "tags", + "arg": "$galleryApplication.tags", + "additionalProps": { + "item": { + "type": "string" + } + } + } + ], + "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.Compute/galleries/{}/applications/{}" + } + }, + { + "type": "ResourceLocation", + "name": "location", + "required": true + }, + { + "readOnly": true, + "type": "string", + "name": "name" + }, + { + "type": "object", + "name": "properties", + "props": [ + { + "type": "string", + "name": "description" + }, + { + "type": "dateTime", + "name": "endOfLifeDate" + }, + { + "type": "string", + "name": "eula" + }, + { + "type": "string", + "name": "privacyStatementUri" + }, + { + "type": "string", + "name": "releaseNoteUri" + }, + { + "type": "string", + "name": "supportedOSType", + "required": true, + "enum": { + "items": [ + { + "value": "Linux" + }, + { + "value": "Windows" + } + ] + } + } + ], + "clientFlatten": true + }, + { + "type": "object", + "name": "tags", + "additionalProps": { + "item": { + "type": "string" + } + } + }, + { + "readOnly": true, + "type": "string", + "name": "type" + } + ], + "cls": "GalleryApplication_read" + } + } + } + }, + { + "statusCode": [ + 202 + ], + "body": { + "json": { + "var": "$Instance", + "schema": { + "type": "@GalleryApplication_read" + } + } + } + }, + { + "isError": true, + "body": { + "json": { + "schema": { + "type": "@ODataV4Format" + } + } + } + } + ] + } + } + ], + "outputs": [ + { + "type": "object", + "ref": "$Instance", + "clientFlatten": true + } + ], + "confirmation": "" + }, + { + "name": "update", + "version": "2021-07-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/galleries/{}/applications/{}", + "version": "2021-07-01", + "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9nYWxsZXJpZXMve2dhbGxlcnlOYW1lfS9hcHBsaWNhdGlvbnMve2dhbGxlcnlBcHBsaWNhdGlvbk5hbWV9/V/MjAyMS0wNy0wMQ==" + } + ], + "argGroups": [ + { + "name": "", + "args": [ + { + "type": "string", + "var": "$Path.galleryApplicationName", + "options": [ + "n", + "name", + "application-name", + "gallery-application-name" + ], + "required": true, + "group": "", + "idPart": "child_name_1", + "help": { + "short": "The name of the gallery application." + } + }, + { + "type": "string", + "var": "$Path.galleryName", + "options": [ + "r", + "gallery-name" + ], + "required": true, + "group": "", + "idPart": "name", + "help": { + "short": "Gallery name." + } + }, + { + "type": "ResourceGroupName", + "var": "$Path.resourceGroupName", + "options": [ + "g", + "resource-group" + ], + "required": true, + "group": "", + "idPart": "resource_group", + "help": { + "short": "Name of resource group. You can configure the default group using `az configure --defaults group=`." + } + }, + { + "type": "SubscriptionId", + "var": "$Path.subscriptionId", + "options": [ + "subscription" + ], + "required": true, + "group": "", + "idPart": "subscription", + "help": { + "short": "Name or ID of subscription. You can configure the default subscription using `az account set -s NAME_OR_ID`." + } + } + ] + }, + { + "name": "GalleryApplication", + "args": [ + { + "type": "ResourceLocation", + "var": "$galleryApplication.location", + "options": [ + "l", + "location" + ], + "group": "GalleryApplication", + "help": { + "short": "Resource location" + } + }, + { + "nullable": true, + "type": "object", + "var": "$galleryApplication.tags", + "options": [ + "tags" + ], + "group": "GalleryApplication", + "help": { + "short": "Resource tags" + }, + "additionalProps": { + "item": { + "nullable": true, + "type": "string" + } + } + } + ] + }, + { + "name": "Properties", + "args": [ + { + "nullable": true, + "type": "string", + "var": "$galleryApplication.properties.description", + "options": [ + "description" + ], + "group": "Properties", + "help": { + "short": "The description of this gallery Application Definition resource. This property is updatable." + } + }, + { + "nullable": true, + "type": "dateTime", + "var": "$galleryApplication.properties.endOfLifeDate", + "options": [ + "end-of-life-date" + ], + "group": "Properties", + "help": { + "short": "The end of life date of the gallery Application Definition. This property can be used for decommissioning purposes. This property is updatable." + } + }, + { + "nullable": true, + "type": "string", + "var": "$galleryApplication.properties.eula", + "options": [ + "eula" + ], + "group": "Properties", + "help": { + "short": "The Eula agreement for the gallery Application Definition." + } + }, + { + "nullable": true, + "type": "string", + "var": "$galleryApplication.properties.privacyStatementUri", + "options": [ + "privacy-statement-uri" + ], + "group": "Properties", + "help": { + "short": "The privacy statement uri." + } + }, + { + "nullable": true, + "type": "string", + "var": "$galleryApplication.properties.releaseNoteUri", + "options": [ + "release-note-uri" + ], + "group": "Properties", + "help": { + "short": "The release note uri." + } + }, + { + "type": "string", + "var": "$galleryApplication.properties.supportedOSType", + "options": [ + "supported-os-type" + ], + "group": "Properties", + "help": { + "short": "This property allows you to specify the supported type of the OS that application is built for.

Possible values are:

**Windows**

**Linux**" + }, + "enum": { + "items": [ + { + "name": "Linux", + "value": "Linux" + }, + { + "name": "Windows", + "value": "Windows" + } + ] + } + } + ] + } + ], + "operations": [ + { + "operationId": "GalleryApplications_Get", + "http": { + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{galleryApplicationName}", + "request": { + "method": "get", + "path": { + "params": [ + { + "type": "string", + "name": "galleryApplicationName", + "arg": "$Path.galleryApplicationName", + "required": true + }, + { + "type": "string", + "name": "galleryName", + "arg": "$Path.galleryName", + "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": "2021-07-01" + }, + "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.Compute/galleries/{}/applications/{}" + } + }, + { + "type": "ResourceLocation", + "name": "location", + "required": true + }, + { + "readOnly": true, + "type": "string", + "name": "name" + }, + { + "type": "object", + "name": "properties", + "props": [ + { + "type": "string", + "name": "description" + }, + { + "type": "dateTime", + "name": "endOfLifeDate" + }, + { + "type": "string", + "name": "eula" + }, + { + "type": "string", + "name": "privacyStatementUri" + }, + { + "type": "string", + "name": "releaseNoteUri" + }, + { + "type": "string", + "name": "supportedOSType", + "required": true, + "enum": { + "items": [ + { + "value": "Linux" + }, + { + "value": "Windows" + } + ] + } + } + ], + "clientFlatten": true + }, + { + "type": "object", + "name": "tags", + "additionalProps": { + "item": { + "type": "string" + } + } + }, + { + "readOnly": true, + "type": "string", + "name": "type" + } + ], + "cls": "GalleryApplication_read" + } + } + } + }, + { + "isError": true, + "body": { + "json": { + "schema": { + "type": "@ODataV4Format" + } + } + } + } + ] + } + }, + { + "instanceUpdate": { + "ref": "$Instance", + "json": { + "schema": { + "type": "object", + "name": "galleryApplication", + "required": true, + "props": [ + { + "type": "ResourceLocation", + "name": "location", + "arg": "$galleryApplication.location", + "required": true + }, + { + "type": "object", + "name": "properties", + "props": [ + { + "type": "string", + "name": "description", + "arg": "$galleryApplication.properties.description" + }, + { + "type": "dateTime", + "name": "endOfLifeDate", + "arg": "$galleryApplication.properties.endOfLifeDate" + }, + { + "type": "string", + "name": "eula", + "arg": "$galleryApplication.properties.eula" + }, + { + "type": "string", + "name": "privacyStatementUri", + "arg": "$galleryApplication.properties.privacyStatementUri" + }, + { + "type": "string", + "name": "releaseNoteUri", + "arg": "$galleryApplication.properties.releaseNoteUri" + }, + { + "type": "string", + "name": "supportedOSType", + "arg": "$galleryApplication.properties.supportedOSType", + "required": true, + "enum": { + "items": [ + { + "value": "Linux" + }, + { + "value": "Windows" + } + ] + } + } + ], + "clientFlatten": true + }, + { + "type": "object", + "name": "tags", + "arg": "$galleryApplication.tags", + "additionalProps": { + "item": { + "type": "string" + } + } + } + ], + "clientFlatten": true + } + } + } + }, + { + "longRunning": { + "finalStateVia": "azure-async-operation" + }, + "operationId": "GalleryApplications_CreateOrUpdate", + "http": { + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{galleryApplicationName}", + "request": { + "method": "put", + "path": { + "params": [ + { + "type": "string", + "name": "galleryApplicationName", + "arg": "$Path.galleryApplicationName", + "required": true + }, + { + "type": "string", + "name": "galleryName", + "arg": "$Path.galleryName", + "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": "2021-07-01" + }, + "type": "string", + "name": "api-version", + "required": true + } + ] + }, + "body": { + "json": { + "ref": "$Instance" + } + } + }, + "responses": [ + { + "statusCode": [ + 200, + 201 + ], + "body": { + "json": { + "var": "$Instance", + "schema": { + "type": "@GalleryApplication_read" + } + } + } + }, + { + "statusCode": [ + 202 + ], + "body": { + "json": { + "var": "$Instance", + "schema": { + "type": "@GalleryApplication_read" + } + } + } + }, + { + "isError": true, + "body": { + "json": { + "schema": { + "type": "@ODataV4Format" + } + } + } + } + ] + } + } + ], + "outputs": [ + { + "type": "object", + "ref": "$Instance", + "clientFlatten": true + } + ], + "confirmation": "" + } + ] + } + ] +} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2dhbGxlcmllcy97fS9hcHBsaWNhdGlvbnMve30=/2021-07-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2dhbGxlcmllcy97fS9hcHBsaWNhdGlvbnMve30=/2021-07-01.xml new file mode 100644 index 00000000000..e2318657a1c --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2dhbGxlcmllcy97fS9hcHBsaWNhdGlvbnMve30=/2021-07-01.xml @@ -0,0 +1,445 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2hvc3Rncm91cHM=/2019-03-01.md b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2hvc3Rncm91cHM=/2019-03-01.md new file mode 100644 index 00000000000..76eeba58af3 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2hvc3Rncm91cHM=/2019-03-01.md @@ -0,0 +1 @@ +Reference [/subscriptions/{}/providers/microsoft.compute/hostgroups 2019-03-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2hvc3Rncm91cHM=/2019-03-01.xml) diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2hvc3Rncm91cHMve30=/2019-03-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2hvc3Rncm91cHMve30=/2019-03-01.json new file mode 100644 index 00000000000..c4c09dc7d86 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2hvc3Rncm91cHMve30=/2019-03-01.json @@ -0,0 +1,1109 @@ +{ + "plane": "mgmt-plane", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/hostgroups/{}", + "version": "2019-03-01", + "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9ob3N0R3JvdXBzL3tob3N0R3JvdXBOYW1lfQ==/V/MjAxOS0wMy0wMQ==" + } + ], + "commandGroups": [ + { + "name": "vm host group", + "commands": [ + { + "name": "show", + "version": "2019-03-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/hostgroups/{}", + "version": "2019-03-01", + "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9ob3N0R3JvdXBzL3tob3N0R3JvdXBOYW1lfQ==/V/MjAxOS0wMy0wMQ==" + } + ], + "argGroups": [ + { + "name": "", + "args": [ + { + "type": "string", + "var": "$Path.hostGroupName", + "options": [ + "n", + "name", + "host-group-name" + ], + "required": true, + "group": "", + "idPart": "name", + "help": { + "short": "Name of the Dedicated Host Group." + } + }, + { + "type": "ResourceGroupName", + "var": "$Path.resourceGroupName", + "options": [ + "g", + "resource-group" + ], + "required": true, + "group": "", + "idPart": "resource_group", + "help": { + "short": "Name of resource group. You can configure the default group using `az configure --defaults group=`." + } + }, + { + "type": "SubscriptionId", + "var": "$Path.subscriptionId", + "options": [ + "subscription" + ], + "required": true, + "group": "", + "idPart": "subscription", + "help": { + "short": "Name or ID of subscription. You can configure the default subscription using `az account set -s NAME_OR_ID`." + } + } + ] + } + ], + "operations": [ + { + "operationId": "DedicatedHostGroups_Get", + "http": { + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}", + "request": { + "method": "get", + "path": { + "params": [ + { + "type": "string", + "name": "hostGroupName", + "arg": "$Path.hostGroupName", + "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": "2019-03-01" + }, + "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.Compute/hostGroups/{}" + } + }, + { + "type": "ResourceLocation", + "name": "location", + "required": true + }, + { + "readOnly": true, + "type": "string", + "name": "name" + }, + { + "type": "object", + "name": "properties", + "props": [ + { + "readOnly": true, + "type": "array", + "name": "hosts", + "item": { + "type": "object", + "props": [ + { + "readOnly": true, + "type": "string", + "name": "id" + } + ] + } + }, + { + "type": "integer32", + "name": "platformFaultDomainCount", + "required": true, + "format": { + "maximum": 3, + "minimum": 1 + } + } + ], + "clientFlatten": true + }, + { + "type": "object", + "name": "tags", + "additionalProps": { + "item": { + "type": "string" + } + } + }, + { + "readOnly": true, + "type": "string", + "name": "type" + }, + { + "type": "array", + "name": "zones", + "item": { + "type": "string" + } + } + ] + } + } + } + }, + { + "isError": true, + "body": { + "json": { + "schema": { + "type": "@ODataV4Format" + } + } + } + } + ] + } + } + ], + "outputs": [ + { + "type": "object", + "ref": "$Instance", + "clientFlatten": true + } + ], + "confirmation": "" + }, + { + "name": "delete", + "version": "2019-03-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/hostgroups/{}", + "version": "2019-03-01", + "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9ob3N0R3JvdXBzL3tob3N0R3JvdXBOYW1lfQ==/V/MjAxOS0wMy0wMQ==" + } + ], + "argGroups": [ + { + "name": "", + "args": [ + { + "type": "string", + "var": "$Path.hostGroupName", + "options": [ + "n", + "name", + "host-group-name" + ], + "required": true, + "group": "", + "idPart": "name", + "help": { + "short": "Name of the Dedicated Host Group." + } + }, + { + "type": "ResourceGroupName", + "var": "$Path.resourceGroupName", + "options": [ + "g", + "resource-group" + ], + "required": true, + "group": "", + "idPart": "resource_group", + "help": { + "short": "Name of resource group. You can configure the default group using `az configure --defaults group=`." + } + }, + { + "type": "SubscriptionId", + "var": "$Path.subscriptionId", + "options": [ + "subscription" + ], + "required": true, + "group": "", + "idPart": "subscription", + "help": { + "short": "Name or ID of subscription. You can configure the default subscription using `az account set -s NAME_OR_ID`." + } + } + ] + } + ], + "operations": [ + { + "operationId": "DedicatedHostGroups_Delete", + "http": { + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}", + "request": { + "method": "delete", + "path": { + "params": [ + { + "type": "string", + "name": "hostGroupName", + "arg": "$Path.hostGroupName", + "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": "2019-03-01" + }, + "type": "string", + "name": "api-version", + "required": true + } + ] + } + }, + "responses": [ + { + "statusCode": [ + 200 + ] + }, + { + "statusCode": [ + 204 + ] + }, + { + "isError": true, + "body": { + "json": { + "schema": { + "type": "@ODataV4Format" + } + } + } + } + ] + } + } + ], + "confirmation": "Are you sure you want to perform this operation?" + }, + { + "name": "create", + "version": "2019-03-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/hostgroups/{}", + "version": "2019-03-01", + "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9ob3N0R3JvdXBzL3tob3N0R3JvdXBOYW1lfQ==/V/MjAxOS0wMy0wMQ==" + } + ], + "argGroups": [ + { + "name": "", + "args": [ + { + "type": "string", + "var": "$Path.hostGroupName", + "options": [ + "n", + "name", + "host-group-name" + ], + "required": true, + "group": "", + "idPart": "name", + "help": { + "short": "Name of the Dedicated Host Group." + } + }, + { + "type": "ResourceGroupName", + "var": "$Path.resourceGroupName", + "options": [ + "g", + "resource-group" + ], + "required": true, + "group": "", + "idPart": "resource_group", + "help": { + "short": "Name of resource group. You can configure the default group using `az configure --defaults group=`." + } + }, + { + "type": "SubscriptionId", + "var": "$Path.subscriptionId", + "options": [ + "subscription" + ], + "required": true, + "group": "", + "idPart": "subscription", + "help": { + "short": "Name or ID of subscription. You can configure the default subscription using `az account set -s NAME_OR_ID`." + } + } + ] + }, + { + "name": "Parameters", + "args": [ + { + "type": "ResourceLocation", + "var": "$parameters.location", + "options": [ + "l", + "location" + ], + "required": true, + "group": "Parameters", + "help": { + "short": "Resource location" + } + }, + { + "type": "object", + "var": "$parameters.tags", + "options": [ + "tags" + ], + "group": "Parameters", + "help": { + "short": "Resource tags" + }, + "additionalProps": { + "item": { + "type": "string" + } + } + }, + { + "type": "array", + "var": "$parameters.zones", + "options": [ + "zones" + ], + "group": "Parameters", + "help": { + "short": "Availability Zone to use for this host group. Only single zone is supported. The zone can be assigned only during creation. If not provided, the group supports all zones in the region. If provided, enforces each host in the group to be in the same zone." + }, + "item": { + "type": "string" + } + } + ] + }, + { + "name": "Properties", + "args": [ + { + "type": "integer32", + "var": "$parameters.properties.platformFaultDomainCount", + "options": [ + "platform-fault-domain-count" + ], + "group": "Properties", + "help": { + "short": "Number of fault domains that the host group can span." + }, + "format": { + "maximum": 3, + "minimum": 1 + } + } + ] + } + ], + "operations": [ + { + "operationId": "DedicatedHostGroups_CreateOrUpdate", + "http": { + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}", + "request": { + "method": "put", + "path": { + "params": [ + { + "type": "string", + "name": "hostGroupName", + "arg": "$Path.hostGroupName", + "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": "2019-03-01" + }, + "type": "string", + "name": "api-version", + "required": true + } + ] + }, + "body": { + "json": { + "schema": { + "type": "object", + "name": "parameters", + "required": true, + "props": [ + { + "type": "ResourceLocation", + "name": "location", + "arg": "$parameters.location", + "required": true + }, + { + "type": "object", + "name": "properties", + "props": [ + { + "type": "integer32", + "name": "platformFaultDomainCount", + "arg": "$parameters.properties.platformFaultDomainCount", + "required": true, + "format": { + "maximum": 3, + "minimum": 1 + } + } + ], + "clientFlatten": true + }, + { + "type": "object", + "name": "tags", + "arg": "$parameters.tags", + "additionalProps": { + "item": { + "type": "string" + } + } + }, + { + "type": "array", + "name": "zones", + "arg": "$parameters.zones", + "item": { + "type": "string" + } + } + ], + "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.Compute/hostGroups/{}" + } + }, + { + "type": "ResourceLocation", + "name": "location", + "required": true + }, + { + "readOnly": true, + "type": "string", + "name": "name" + }, + { + "type": "object", + "name": "properties", + "props": [ + { + "readOnly": true, + "type": "array", + "name": "hosts", + "item": { + "type": "object", + "props": [ + { + "readOnly": true, + "type": "string", + "name": "id" + } + ] + } + }, + { + "type": "integer32", + "name": "platformFaultDomainCount", + "required": true, + "format": { + "maximum": 3, + "minimum": 1 + } + } + ], + "clientFlatten": true + }, + { + "type": "object", + "name": "tags", + "additionalProps": { + "item": { + "type": "string" + } + } + }, + { + "readOnly": true, + "type": "string", + "name": "type" + }, + { + "type": "array", + "name": "zones", + "item": { + "type": "string" + } + } + ] + } + } + } + }, + { + "isError": true, + "body": { + "json": { + "schema": { + "type": "@ODataV4Format" + } + } + } + } + ] + } + } + ], + "outputs": [ + { + "type": "object", + "ref": "$Instance", + "clientFlatten": true + } + ], + "confirmation": "" + }, + { + "name": "update", + "version": "2019-03-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/hostgroups/{}", + "version": "2019-03-01", + "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9ob3N0R3JvdXBzL3tob3N0R3JvdXBOYW1lfQ==/V/MjAxOS0wMy0wMQ==" + } + ], + "argGroups": [ + { + "name": "", + "args": [ + { + "type": "string", + "var": "$Path.hostGroupName", + "options": [ + "n", + "name", + "host-group-name" + ], + "required": true, + "group": "", + "idPart": "name", + "help": { + "short": "Name of the Dedicated Host Group." + } + }, + { + "type": "ResourceGroupName", + "var": "$Path.resourceGroupName", + "options": [ + "g", + "resource-group" + ], + "required": true, + "group": "", + "idPart": "resource_group", + "help": { + "short": "Name of resource group. You can configure the default group using `az configure --defaults group=`." + } + }, + { + "type": "SubscriptionId", + "var": "$Path.subscriptionId", + "options": [ + "subscription" + ], + "required": true, + "group": "", + "idPart": "subscription", + "help": { + "short": "Name or ID of subscription. You can configure the default subscription using `az account set -s NAME_OR_ID`." + } + } + ] + }, + { + "name": "Parameters", + "args": [ + { + "type": "ResourceLocation", + "var": "$parameters.location", + "options": [ + "l", + "location" + ], + "group": "Parameters", + "help": { + "short": "Resource location" + } + }, + { + "nullable": true, + "type": "object", + "var": "$parameters.tags", + "options": [ + "tags" + ], + "group": "Parameters", + "help": { + "short": "Resource tags" + }, + "additionalProps": { + "item": { + "nullable": true, + "type": "string" + } + } + }, + { + "nullable": true, + "type": "array", + "var": "$parameters.zones", + "options": [ + "zones" + ], + "group": "Parameters", + "help": { + "short": "Availability Zone to use for this host group. Only single zone is supported. The zone can be assigned only during creation. If not provided, the group supports all zones in the region. If provided, enforces each host in the group to be in the same zone." + }, + "item": { + "nullable": true, + "type": "string" + } + } + ] + }, + { + "name": "Properties", + "args": [ + { + "type": "integer32", + "var": "$parameters.properties.platformFaultDomainCount", + "options": [ + "platform-fault-domain-count" + ], + "group": "Properties", + "help": { + "short": "Number of fault domains that the host group can span." + }, + "format": { + "maximum": 3, + "minimum": 1 + } + } + ] + } + ], + "operations": [ + { + "operationId": "DedicatedHostGroups_Get", + "http": { + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}", + "request": { + "method": "get", + "path": { + "params": [ + { + "type": "string", + "name": "hostGroupName", + "arg": "$Path.hostGroupName", + "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": "2019-03-01" + }, + "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.Compute/hostGroups/{}" + } + }, + { + "type": "ResourceLocation", + "name": "location", + "required": true + }, + { + "readOnly": true, + "type": "string", + "name": "name" + }, + { + "type": "object", + "name": "properties", + "props": [ + { + "readOnly": true, + "type": "array", + "name": "hosts", + "item": { + "type": "object", + "props": [ + { + "readOnly": true, + "type": "string", + "name": "id" + } + ] + } + }, + { + "type": "integer32", + "name": "platformFaultDomainCount", + "required": true, + "format": { + "maximum": 3, + "minimum": 1 + } + } + ], + "clientFlatten": true + }, + { + "type": "object", + "name": "tags", + "additionalProps": { + "item": { + "type": "string" + } + } + }, + { + "readOnly": true, + "type": "string", + "name": "type" + }, + { + "type": "array", + "name": "zones", + "item": { + "type": "string" + } + } + ], + "cls": "DedicatedHostGroup_read" + } + } + } + }, + { + "isError": true, + "body": { + "json": { + "schema": { + "type": "@ODataV4Format" + } + } + } + } + ] + } + }, + { + "instanceUpdate": { + "ref": "$Instance", + "json": { + "schema": { + "type": "object", + "name": "parameters", + "required": true, + "props": [ + { + "type": "ResourceLocation", + "name": "location", + "arg": "$parameters.location", + "required": true + }, + { + "type": "object", + "name": "properties", + "props": [ + { + "type": "integer32", + "name": "platformFaultDomainCount", + "arg": "$parameters.properties.platformFaultDomainCount", + "required": true, + "format": { + "maximum": 3, + "minimum": 1 + } + } + ], + "clientFlatten": true + }, + { + "type": "object", + "name": "tags", + "arg": "$parameters.tags", + "additionalProps": { + "item": { + "type": "string" + } + } + }, + { + "type": "array", + "name": "zones", + "arg": "$parameters.zones", + "item": { + "type": "string" + } + } + ], + "clientFlatten": true + } + } + } + }, + { + "operationId": "DedicatedHostGroups_CreateOrUpdate", + "http": { + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}", + "request": { + "method": "put", + "path": { + "params": [ + { + "type": "string", + "name": "hostGroupName", + "arg": "$Path.hostGroupName", + "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": "2019-03-01" + }, + "type": "string", + "name": "api-version", + "required": true + } + ] + }, + "body": { + "json": { + "ref": "$Instance" + } + } + }, + "responses": [ + { + "statusCode": [ + 200, + 201 + ], + "body": { + "json": { + "var": "$Instance", + "schema": { + "type": "@DedicatedHostGroup_read" + } + } + } + }, + { + "isError": true, + "body": { + "json": { + "schema": { + "type": "@ODataV4Format" + } + } + } + } + ] + } + } + ], + "outputs": [ + { + "type": "object", + "ref": "$Instance", + "clientFlatten": true + } + ], + "confirmation": "" + } + ] + } + ] +} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2hvc3Rncm91cHMve30=/2019-03-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2hvc3Rncm91cHMve30=/2019-03-01.xml new file mode 100644 index 00000000000..5eecf861af0 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2hvc3Rncm91cHMve30=/2019-03-01.xml @@ -0,0 +1,372 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3ZpcnR1YWxtYWNoaW5lc2NhbGVzZXRzL3t9L25ldHdvcmtpbnRlcmZhY2Vz/2016-03-30.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3ZpcnR1YWxtYWNoaW5lc2NhbGVzZXRzL3t9L25ldHdvcmtpbnRlcmZhY2Vz/2016-03-30.json new file mode 100644 index 00000000000..8f607cb08cd --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3ZpcnR1YWxtYWNoaW5lc2NhbGVzZXRzL3t9L25ldHdvcmtpbnRlcmZhY2Vz/2016-03-30.json @@ -0,0 +1,1045 @@ +{ + "plane": "mgmt-plane", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/virtualmachinescalesets/{}/networkinterfaces", + "version": "2016-03-30", + "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9taWNyb3NvZnQuQ29tcHV0ZS92aXJ0dWFsTWFjaGluZVNjYWxlU2V0cy97dmlydHVhbE1hY2hpbmVTY2FsZVNldE5hbWV9L25ldHdvcmtJbnRlcmZhY2Vz/V/MjAxNi0wMy0zMA==" + } + ], + "commandGroups": [ + { + "name": "vmss nic", + "commands": [ + { + "name": "list", + "version": "2016-03-30", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/virtualmachinescalesets/{}/networkinterfaces", + "version": "2016-03-30", + "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9taWNyb3NvZnQuQ29tcHV0ZS92aXJ0dWFsTWFjaGluZVNjYWxlU2V0cy97dmlydHVhbE1hY2hpbmVTY2FsZVNldE5hbWV9L25ldHdvcmtJbnRlcmZhY2Vz/V/MjAxNi0wMy0zMA==" + } + ], + "argGroups": [ + { + "name": "", + "args": [ + { + "type": "ResourceGroupName", + "var": "$Path.resourceGroupName", + "options": [ + "g", + "resource-group" + ], + "required": true, + "group": "", + "idPart": "resource_group", + "help": { + "short": "Name of resource group. You can configure the default group using `az configure --defaults group=`." + } + }, + { + "type": "SubscriptionId", + "var": "$Path.subscriptionId", + "options": [ + "subscription" + ], + "required": true, + "group": "", + "idPart": "subscription", + "help": { + "short": "Name or ID of subscription. You can configure the default subscription using `az account set -s NAME_OR_ID`." + } + }, + { + "type": "string", + "var": "$Path.virtualMachineScaleSetName", + "options": [ + "vmss-name", + "virtual-machine-scale-set-name" + ], + "required": true, + "group": "", + "idPart": "name", + "help": { + "short": "Scale set name. You can configure the default using `az configure --defaults vmss=`" + } + } + ] + } + ], + "operations": [ + { + "operationId": "NetworkInterfaces_ListVirtualMachineScaleSetNetworkInterfaces", + "http": { + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/networkInterfaces", + "request": { + "method": "get", + "path": { + "params": [ + { + "type": "string", + "name": "resourceGroupName", + "arg": "$Path.resourceGroupName", + "required": true + }, + { + "type": "string", + "name": "subscriptionId", + "arg": "$Path.subscriptionId", + "required": true + }, + { + "type": "string", + "name": "virtualMachineScaleSetName", + "arg": "$Path.virtualMachineScaleSetName", + "required": true + } + ] + }, + "query": { + "consts": [ + { + "readOnly": true, + "const": true, + "default": { + "value": "2016-03-30" + }, + "type": "string", + "name": "api-version", + "required": true + } + ] + } + }, + "responses": [ + { + "statusCode": [ + 200 + ], + "body": { + "json": { + "var": "$Instance", + "schema": { + "type": "object", + "props": [ + { + "type": "string", + "name": "nextLink" + }, + { + "type": "array", + "name": "value", + "item": { + "type": "object", + "props": [ + { + "type": "string", + "name": "etag" + }, + { + "type": "ResourceId", + "name": "id" + }, + { + "type": "ResourceLocation", + "name": "location" + }, + { + "readOnly": true, + "type": "string", + "name": "name" + }, + { + "type": "object", + "name": "properties", + "props": [ + { + "type": "object", + "name": "dnsSettings", + "props": [ + { + "type": "array", + "name": "appliedDnsServers", + "item": { + "type": "string" + } + }, + { + "type": "array", + "name": "dnsServers", + "item": { + "type": "string" + } + }, + { + "type": "string", + "name": "internalDnsNameLabel" + }, + { + "type": "string", + "name": "internalDomainNameSuffix" + }, + { + "type": "string", + "name": "internalFqdn" + } + ] + }, + { + "type": "boolean", + "name": "enableIPForwarding" + }, + { + "type": "array", + "name": "ipConfigurations", + "item": { + "type": "object", + "props": [ + { + "type": "string", + "name": "etag" + }, + { + "type": "string", + "name": "id" + }, + { + "type": "string", + "name": "name" + }, + { + "type": "object", + "name": "properties", + "props": [ + { + "type": "array", + "name": "applicationGatewayBackendAddressPools", + "item": { + "type": "object", + "props": [ + { + "type": "string", + "name": "etag" + }, + { + "type": "string", + "name": "id" + }, + { + "type": "string", + "name": "name" + }, + { + "type": "object", + "name": "properties", + "props": [ + { + "type": "array", + "name": "backendAddresses", + "item": { + "type": "object", + "props": [ + { + "type": "string", + "name": "fqdn" + }, + { + "type": "string", + "name": "ipAddress" + } + ] + } + }, + { + "type": "array<@NetworkInterfaceIPConfiguration_read>", + "name": "backendIPConfigurations", + "item": { + "type": "@NetworkInterfaceIPConfiguration_read" + } + }, + { + "type": "string", + "name": "provisioningState" + } + ], + "clientFlatten": true + } + ] + } + }, + { + "type": "array", + "name": "loadBalancerBackendAddressPools", + "item": { + "type": "object", + "props": [ + { + "type": "string", + "name": "etag" + }, + { + "type": "string", + "name": "id" + }, + { + "type": "string", + "name": "name" + }, + { + "type": "object", + "name": "properties", + "props": [ + { + "type": "array<@NetworkInterfaceIPConfiguration_read>", + "name": "backendIPConfigurations", + "item": { + "type": "@NetworkInterfaceIPConfiguration_read" + } + }, + { + "type": "array<@SubResource_read>", + "name": "loadBalancingRules", + "item": { + "type": "@SubResource_read" + } + }, + { + "type": "@SubResource_read", + "name": "outboundNatRule" + }, + { + "type": "string", + "name": "provisioningState" + } + ], + "clientFlatten": true + } + ] + } + }, + { + "type": "array", + "name": "loadBalancerInboundNatRules", + "item": { + "type": "object", + "props": [ + { + "type": "string", + "name": "etag" + }, + { + "type": "string", + "name": "id" + }, + { + "type": "string", + "name": "name" + }, + { + "type": "object", + "name": "properties", + "props": [ + { + "type": "@NetworkInterfaceIPConfiguration_read", + "name": "backendIPConfiguration" + }, + { + "type": "integer32", + "name": "backendPort" + }, + { + "type": "boolean", + "name": "enableFloatingIP" + }, + { + "type": "@SubResource_read", + "name": "frontendIPConfiguration" + }, + { + "type": "integer32", + "name": "frontendPort" + }, + { + "type": "integer32", + "name": "idleTimeoutInMinutes" + }, + { + "type": "string", + "name": "protocol", + "enum": { + "items": [ + { + "value": "Tcp" + }, + { + "value": "Udp" + } + ] + } + }, + { + "type": "string", + "name": "provisioningState" + } + ], + "clientFlatten": true + } + ] + } + }, + { + "type": "boolean", + "name": "primary" + }, + { + "type": "string", + "name": "privateIPAddress" + }, + { + "type": "string", + "name": "privateIPAddressVersion", + "enum": { + "items": [ + { + "value": "IPv4" + }, + { + "value": "IPv6" + } + ] + } + }, + { + "type": "string", + "name": "privateIPAllocationMethod", + "enum": { + "items": [ + { + "value": "Dynamic" + }, + { + "value": "Static" + } + ] + } + }, + { + "type": "string", + "name": "provisioningState" + }, + { + "type": "@PublicIPAddress_read", + "name": "publicIPAddress" + }, + { + "type": "@Subnet_read", + "name": "subnet" + } + ], + "clientFlatten": true + } + ], + "cls": "NetworkInterfaceIPConfiguration_read" + } + }, + { + "type": "string", + "name": "macAddress" + }, + { + "type": "object", + "name": "networkSecurityGroup", + "props": [ + { + "type": "string", + "name": "etag" + }, + { + "type": "ResourceId", + "name": "id", + "format": { + "template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/networkSecurityGroups/{}" + } + }, + { + "type": "ResourceLocation", + "name": "location" + }, + { + "readOnly": true, + "type": "string", + "name": "name" + }, + { + "type": "object", + "name": "properties", + "props": [ + { + "type": "array<@SecurityRule_read>", + "name": "defaultSecurityRules", + "item": { + "type": "@SecurityRule_read" + } + }, + { + "type": "array<@NetworkInterface_read>", + "name": "networkInterfaces", + "item": { + "type": "@NetworkInterface_read" + } + }, + { + "type": "string", + "name": "provisioningState" + }, + { + "type": "string", + "name": "resourceGuid" + }, + { + "type": "array", + "name": "securityRules", + "item": { + "type": "object", + "props": [ + { + "type": "string", + "name": "etag" + }, + { + "type": "ResourceId", + "name": "id", + "format": { + "template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/networkSecurityGroups/{}/securityRules/{}" + } + }, + { + "type": "string", + "name": "name" + }, + { + "type": "object", + "name": "properties", + "props": [ + { + "type": "string", + "name": "access", + "required": true, + "enum": { + "items": [ + { + "value": "Allow" + }, + { + "value": "Deny" + } + ] + } + }, + { + "type": "string", + "name": "description" + }, + { + "type": "string", + "name": "destinationAddressPrefix", + "required": true + }, + { + "type": "string", + "name": "destinationPortRange" + }, + { + "type": "string", + "name": "direction", + "required": true, + "enum": { + "items": [ + { + "value": "Inbound" + }, + { + "value": "Outbound" + } + ] + } + }, + { + "type": "integer32", + "name": "priority" + }, + { + "type": "string", + "name": "protocol", + "required": true, + "enum": { + "items": [ + { + "value": "*" + }, + { + "value": "Tcp" + }, + { + "value": "Udp" + } + ] + } + }, + { + "type": "string", + "name": "provisioningState" + }, + { + "type": "string", + "name": "sourceAddressPrefix", + "required": true + }, + { + "type": "string", + "name": "sourcePortRange" + } + ], + "clientFlatten": true + } + ], + "cls": "SecurityRule_read" + } + }, + { + "type": "array", + "name": "subnets", + "item": { + "type": "object", + "props": [ + { + "type": "string", + "name": "etag" + }, + { + "type": "ResourceId", + "name": "id", + "format": { + "template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworks/{}/subnets/{}" + } + }, + { + "type": "string", + "name": "name" + }, + { + "type": "object", + "name": "properties", + "props": [ + { + "type": "string", + "name": "addressPrefix" + }, + { + "type": "array", + "name": "ipConfigurations", + "item": { + "type": "object", + "props": [ + { + "type": "string", + "name": "etag" + }, + { + "type": "string", + "name": "id" + }, + { + "type": "string", + "name": "name" + }, + { + "type": "object", + "name": "properties", + "props": [ + { + "type": "string", + "name": "privateIPAddress" + }, + { + "type": "string", + "name": "privateIPAllocationMethod", + "enum": { + "items": [ + { + "value": "Dynamic" + }, + { + "value": "Static" + } + ] + } + }, + { + "type": "string", + "name": "provisioningState" + }, + { + "type": "object", + "name": "publicIPAddress", + "props": [ + { + "type": "string", + "name": "etag" + }, + { + "type": "ResourceId", + "name": "id", + "format": { + "template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/publicIPAddresses/{}" + } + }, + { + "type": "ResourceLocation", + "name": "location" + }, + { + "readOnly": true, + "type": "string", + "name": "name" + }, + { + "type": "object", + "name": "properties", + "props": [ + { + "type": "object", + "name": "dnsSettings", + "props": [ + { + "type": "string", + "name": "domainNameLabel" + }, + { + "type": "string", + "name": "fqdn" + }, + { + "type": "string", + "name": "reverseFqdn" + } + ] + }, + { + "type": "integer32", + "name": "idleTimeoutInMinutes" + }, + { + "type": "string", + "name": "ipAddress" + }, + { + "type": "@IPConfiguration_read", + "name": "ipConfiguration" + }, + { + "type": "string", + "name": "provisioningState" + }, + { + "type": "string", + "name": "publicIPAddressVersion", + "enum": { + "items": [ + { + "value": "IPv4" + }, + { + "value": "IPv6" + } + ] + } + }, + { + "type": "string", + "name": "publicIPAllocationMethod", + "enum": { + "items": [ + { + "value": "Dynamic" + }, + { + "value": "Static" + } + ] + } + }, + { + "type": "string", + "name": "resourceGuid" + } + ], + "clientFlatten": true + }, + { + "type": "object", + "name": "tags", + "additionalProps": { + "item": { + "type": "string" + } + } + }, + { + "readOnly": true, + "type": "string", + "name": "type" + } + ], + "cls": "PublicIPAddress_read" + }, + { + "type": "@Subnet_read", + "name": "subnet" + } + ], + "clientFlatten": true + } + ], + "cls": "IPConfiguration_read" + } + }, + { + "type": "@NetworkSecurityGroup_read", + "name": "networkSecurityGroup" + }, + { + "type": "string", + "name": "provisioningState" + }, + { + "type": "object", + "name": "routeTable", + "props": [ + { + "type": "string", + "name": "etag" + }, + { + "type": "ResourceId", + "name": "id", + "format": { + "template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/routeTables/{}" + } + }, + { + "type": "ResourceLocation", + "name": "location" + }, + { + "readOnly": true, + "type": "string", + "name": "name" + }, + { + "type": "object", + "name": "properties", + "props": [ + { + "type": "string", + "name": "provisioningState" + }, + { + "type": "array", + "name": "routes", + "item": { + "type": "object", + "props": [ + { + "type": "string", + "name": "etag" + }, + { + "type": "ResourceId", + "name": "id", + "format": { + "template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/routeTables/{}/routes/{}" + } + }, + { + "type": "string", + "name": "name" + }, + { + "type": "object", + "name": "properties", + "props": [ + { + "type": "string", + "name": "addressPrefix" + }, + { + "type": "string", + "name": "nextHopIpAddress" + }, + { + "type": "string", + "name": "nextHopType", + "required": true, + "enum": { + "items": [ + { + "value": "Internet" + }, + { + "value": "None" + }, + { + "value": "VirtualAppliance" + }, + { + "value": "VirtualNetworkGateway" + }, + { + "value": "VnetLocal" + } + ] + } + }, + { + "type": "string", + "name": "provisioningState" + } + ], + "clientFlatten": true + } + ] + } + }, + { + "type": "array<@Subnet_read>", + "name": "subnets", + "item": { + "type": "@Subnet_read" + } + } + ], + "clientFlatten": true + }, + { + "type": "object", + "name": "tags", + "additionalProps": { + "item": { + "type": "string" + } + } + }, + { + "readOnly": true, + "type": "string", + "name": "type" + } + ] + } + ], + "clientFlatten": true + } + ], + "cls": "Subnet_read" + } + } + ], + "clientFlatten": true + }, + { + "type": "object", + "name": "tags", + "additionalProps": { + "item": { + "type": "string" + } + } + }, + { + "readOnly": true, + "type": "string", + "name": "type" + } + ], + "cls": "NetworkSecurityGroup_read" + }, + { + "type": "boolean", + "name": "primary" + }, + { + "type": "string", + "name": "provisioningState" + }, + { + "type": "string", + "name": "resourceGuid" + }, + { + "type": "object", + "name": "virtualMachine", + "props": [ + { + "type": "string", + "name": "id" + } + ], + "cls": "SubResource_read" + } + ], + "clientFlatten": true + }, + { + "type": "object", + "name": "tags", + "additionalProps": { + "item": { + "type": "string" + } + } + }, + { + "readOnly": true, + "type": "string", + "name": "type" + } + ], + "cls": "NetworkInterface_read" + } + } + ] + } + } + } + }, + { + "isError": true, + "body": { + "json": { + "schema": { + "type": "@ODataV4Format" + } + } + } + } + ] + } + } + ], + "outputs": [ + { + "type": "array", + "ref": "$Instance.value", + "clientFlatten": true, + "nextLink": "$Instance.nextLink" + } + ], + "confirmation": "" + } + ] + } + ] +} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3ZpcnR1YWxtYWNoaW5lc2NhbGVzZXRzL3t9L25ldHdvcmtpbnRlcmZhY2Vz/2016-03-30.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3ZpcnR1YWxtYWNoaW5lc2NhbGVzZXRzL3t9L25ldHdvcmtpbnRlcmZhY2Vz/2016-03-30.xml new file mode 100644 index 00000000000..4e09c5dac07 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3ZpcnR1YWxtYWNoaW5lc2NhbGVzZXRzL3t9L25ldHdvcmtpbnRlcmZhY2Vz/2016-03-30.xml @@ -0,0 +1,346 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3ZpcnR1YWxtYWNoaW5lc2NhbGVzZXRzL3t9L3ZpcnR1YWxtYWNoaW5lcy97fS9uZXR3b3JraW50ZXJmYWNlcw==/2016-03-30.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3ZpcnR1YWxtYWNoaW5lc2NhbGVzZXRzL3t9L3ZpcnR1YWxtYWNoaW5lcy97fS9uZXR3b3JraW50ZXJmYWNlcw==/2016-03-30.json new file mode 100644 index 00000000000..2948a32cc52 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3ZpcnR1YWxtYWNoaW5lc2NhbGVzZXRzL3t9L3ZpcnR1YWxtYWNoaW5lcy97fS9uZXR3b3JraW50ZXJmYWNlcw==/2016-03-30.json @@ -0,0 +1,1065 @@ +{ + "plane": "mgmt-plane", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/virtualmachinescalesets/{}/virtualmachines/{}/networkinterfaces", + "version": "2016-03-30", + "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9taWNyb3NvZnQuQ29tcHV0ZS92aXJ0dWFsTWFjaGluZVNjYWxlU2V0cy97dmlydHVhbE1hY2hpbmVTY2FsZVNldE5hbWV9L3ZpcnR1YWxNYWNoaW5lcy97dmlydHVhbG1hY2hpbmVJbmRleH0vbmV0d29ya0ludGVyZmFjZXM=/V/MjAxNi0wMy0zMA==" + } + ], + "commandGroups": [ + { + "name": "vmss nic", + "commands": [ + { + "name": "list-vm-nics", + "version": "2016-03-30", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/virtualmachinescalesets/{}/virtualmachines/{}/networkinterfaces", + "version": "2016-03-30", + "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9taWNyb3NvZnQuQ29tcHV0ZS92aXJ0dWFsTWFjaGluZVNjYWxlU2V0cy97dmlydHVhbE1hY2hpbmVTY2FsZVNldE5hbWV9L3ZpcnR1YWxNYWNoaW5lcy97dmlydHVhbG1hY2hpbmVJbmRleH0vbmV0d29ya0ludGVyZmFjZXM=/V/MjAxNi0wMy0zMA==" + } + ], + "argGroups": [ + { + "name": "", + "args": [ + { + "type": "ResourceGroupName", + "var": "$Path.resourceGroupName", + "options": [ + "g", + "resource-group" + ], + "required": true, + "group": "", + "idPart": "resource_group", + "help": { + "short": "Name of resource group. You can configure the default group using `az configure --defaults group=`." + } + }, + { + "type": "SubscriptionId", + "var": "$Path.subscriptionId", + "options": [ + "subscription" + ], + "required": true, + "group": "", + "idPart": "subscription", + "help": { + "short": "Name or ID of subscription. You can configure the default subscription using `az account set -s NAME_OR_ID`." + } + }, + { + "type": "string", + "var": "$Path.virtualMachineScaleSetName", + "options": [ + "vmss-name", + "virtual-machine-scale-set-name" + ], + "required": true, + "group": "", + "idPart": "name", + "help": { + "short": "Scale set name." + } + }, + { + "type": "string", + "var": "$Path.virtualmachineIndex", + "options": [ + "instance-id", + "virtualmachine-index" + ], + "required": true, + "group": "", + "idPart": "child_name_1", + "help": { + "short": "The virtual machine index." + } + } + ] + } + ], + "operations": [ + { + "operationId": "NetworkInterfaces_ListVirtualMachineScaleSetVMNetworkInterfaces", + "http": { + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/virtualMachines/{virtualmachineIndex}/networkInterfaces", + "request": { + "method": "get", + "path": { + "params": [ + { + "type": "string", + "name": "resourceGroupName", + "arg": "$Path.resourceGroupName", + "required": true + }, + { + "type": "string", + "name": "subscriptionId", + "arg": "$Path.subscriptionId", + "required": true + }, + { + "type": "string", + "name": "virtualMachineScaleSetName", + "arg": "$Path.virtualMachineScaleSetName", + "required": true + }, + { + "type": "string", + "name": "virtualmachineIndex", + "arg": "$Path.virtualmachineIndex", + "required": true + } + ] + }, + "query": { + "consts": [ + { + "readOnly": true, + "const": true, + "default": { + "value": "2016-03-30" + }, + "type": "string", + "name": "api-version", + "required": true + } + ] + } + }, + "responses": [ + { + "statusCode": [ + 200 + ], + "body": { + "json": { + "var": "$Instance", + "schema": { + "type": "object", + "props": [ + { + "type": "string", + "name": "nextLink" + }, + { + "type": "array", + "name": "value", + "item": { + "type": "object", + "props": [ + { + "type": "string", + "name": "etag" + }, + { + "type": "ResourceId", + "name": "id" + }, + { + "type": "ResourceLocation", + "name": "location" + }, + { + "readOnly": true, + "type": "string", + "name": "name" + }, + { + "type": "object", + "name": "properties", + "props": [ + { + "type": "object", + "name": "dnsSettings", + "props": [ + { + "type": "array", + "name": "appliedDnsServers", + "item": { + "type": "string" + } + }, + { + "type": "array", + "name": "dnsServers", + "item": { + "type": "string" + } + }, + { + "type": "string", + "name": "internalDnsNameLabel" + }, + { + "type": "string", + "name": "internalDomainNameSuffix" + }, + { + "type": "string", + "name": "internalFqdn" + } + ] + }, + { + "type": "boolean", + "name": "enableIPForwarding" + }, + { + "type": "array", + "name": "ipConfigurations", + "item": { + "type": "object", + "props": [ + { + "type": "string", + "name": "etag" + }, + { + "type": "string", + "name": "id" + }, + { + "type": "string", + "name": "name" + }, + { + "type": "object", + "name": "properties", + "props": [ + { + "type": "array", + "name": "applicationGatewayBackendAddressPools", + "item": { + "type": "object", + "props": [ + { + "type": "string", + "name": "etag" + }, + { + "type": "string", + "name": "id" + }, + { + "type": "string", + "name": "name" + }, + { + "type": "object", + "name": "properties", + "props": [ + { + "type": "array", + "name": "backendAddresses", + "item": { + "type": "object", + "props": [ + { + "type": "string", + "name": "fqdn" + }, + { + "type": "string", + "name": "ipAddress" + } + ] + } + }, + { + "type": "array<@NetworkInterfaceIPConfiguration_read>", + "name": "backendIPConfigurations", + "item": { + "type": "@NetworkInterfaceIPConfiguration_read" + } + }, + { + "type": "string", + "name": "provisioningState" + } + ], + "clientFlatten": true + } + ] + } + }, + { + "type": "array", + "name": "loadBalancerBackendAddressPools", + "item": { + "type": "object", + "props": [ + { + "type": "string", + "name": "etag" + }, + { + "type": "string", + "name": "id" + }, + { + "type": "string", + "name": "name" + }, + { + "type": "object", + "name": "properties", + "props": [ + { + "type": "array<@NetworkInterfaceIPConfiguration_read>", + "name": "backendIPConfigurations", + "item": { + "type": "@NetworkInterfaceIPConfiguration_read" + } + }, + { + "type": "array<@SubResource_read>", + "name": "loadBalancingRules", + "item": { + "type": "@SubResource_read" + } + }, + { + "type": "@SubResource_read", + "name": "outboundNatRule" + }, + { + "type": "string", + "name": "provisioningState" + } + ], + "clientFlatten": true + } + ] + } + }, + { + "type": "array", + "name": "loadBalancerInboundNatRules", + "item": { + "type": "object", + "props": [ + { + "type": "string", + "name": "etag" + }, + { + "type": "string", + "name": "id" + }, + { + "type": "string", + "name": "name" + }, + { + "type": "object", + "name": "properties", + "props": [ + { + "type": "@NetworkInterfaceIPConfiguration_read", + "name": "backendIPConfiguration" + }, + { + "type": "integer32", + "name": "backendPort" + }, + { + "type": "boolean", + "name": "enableFloatingIP" + }, + { + "type": "@SubResource_read", + "name": "frontendIPConfiguration" + }, + { + "type": "integer32", + "name": "frontendPort" + }, + { + "type": "integer32", + "name": "idleTimeoutInMinutes" + }, + { + "type": "string", + "name": "protocol", + "enum": { + "items": [ + { + "value": "Tcp" + }, + { + "value": "Udp" + } + ] + } + }, + { + "type": "string", + "name": "provisioningState" + } + ], + "clientFlatten": true + } + ] + } + }, + { + "type": "boolean", + "name": "primary" + }, + { + "type": "string", + "name": "privateIPAddress" + }, + { + "type": "string", + "name": "privateIPAddressVersion", + "enum": { + "items": [ + { + "value": "IPv4" + }, + { + "value": "IPv6" + } + ] + } + }, + { + "type": "string", + "name": "privateIPAllocationMethod", + "enum": { + "items": [ + { + "value": "Dynamic" + }, + { + "value": "Static" + } + ] + } + }, + { + "type": "string", + "name": "provisioningState" + }, + { + "type": "@PublicIPAddress_read", + "name": "publicIPAddress" + }, + { + "type": "@Subnet_read", + "name": "subnet" + } + ], + "clientFlatten": true + } + ], + "cls": "NetworkInterfaceIPConfiguration_read" + } + }, + { + "type": "string", + "name": "macAddress" + }, + { + "type": "object", + "name": "networkSecurityGroup", + "props": [ + { + "type": "string", + "name": "etag" + }, + { + "type": "ResourceId", + "name": "id", + "format": { + "template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/networkSecurityGroups/{}" + } + }, + { + "type": "ResourceLocation", + "name": "location" + }, + { + "readOnly": true, + "type": "string", + "name": "name" + }, + { + "type": "object", + "name": "properties", + "props": [ + { + "type": "array<@SecurityRule_read>", + "name": "defaultSecurityRules", + "item": { + "type": "@SecurityRule_read" + } + }, + { + "type": "array<@NetworkInterface_read>", + "name": "networkInterfaces", + "item": { + "type": "@NetworkInterface_read" + } + }, + { + "type": "string", + "name": "provisioningState" + }, + { + "type": "string", + "name": "resourceGuid" + }, + { + "type": "array", + "name": "securityRules", + "item": { + "type": "object", + "props": [ + { + "type": "string", + "name": "etag" + }, + { + "type": "ResourceId", + "name": "id", + "format": { + "template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/networkSecurityGroups/{}/securityRules/{}" + } + }, + { + "type": "string", + "name": "name" + }, + { + "type": "object", + "name": "properties", + "props": [ + { + "type": "string", + "name": "access", + "required": true, + "enum": { + "items": [ + { + "value": "Allow" + }, + { + "value": "Deny" + } + ] + } + }, + { + "type": "string", + "name": "description" + }, + { + "type": "string", + "name": "destinationAddressPrefix", + "required": true + }, + { + "type": "string", + "name": "destinationPortRange" + }, + { + "type": "string", + "name": "direction", + "required": true, + "enum": { + "items": [ + { + "value": "Inbound" + }, + { + "value": "Outbound" + } + ] + } + }, + { + "type": "integer32", + "name": "priority" + }, + { + "type": "string", + "name": "protocol", + "required": true, + "enum": { + "items": [ + { + "value": "*" + }, + { + "value": "Tcp" + }, + { + "value": "Udp" + } + ] + } + }, + { + "type": "string", + "name": "provisioningState" + }, + { + "type": "string", + "name": "sourceAddressPrefix", + "required": true + }, + { + "type": "string", + "name": "sourcePortRange" + } + ], + "clientFlatten": true + } + ], + "cls": "SecurityRule_read" + } + }, + { + "type": "array", + "name": "subnets", + "item": { + "type": "object", + "props": [ + { + "type": "string", + "name": "etag" + }, + { + "type": "ResourceId", + "name": "id", + "format": { + "template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworks/{}/subnets/{}" + } + }, + { + "type": "string", + "name": "name" + }, + { + "type": "object", + "name": "properties", + "props": [ + { + "type": "string", + "name": "addressPrefix" + }, + { + "type": "array", + "name": "ipConfigurations", + "item": { + "type": "object", + "props": [ + { + "type": "string", + "name": "etag" + }, + { + "type": "string", + "name": "id" + }, + { + "type": "string", + "name": "name" + }, + { + "type": "object", + "name": "properties", + "props": [ + { + "type": "string", + "name": "privateIPAddress" + }, + { + "type": "string", + "name": "privateIPAllocationMethod", + "enum": { + "items": [ + { + "value": "Dynamic" + }, + { + "value": "Static" + } + ] + } + }, + { + "type": "string", + "name": "provisioningState" + }, + { + "type": "object", + "name": "publicIPAddress", + "props": [ + { + "type": "string", + "name": "etag" + }, + { + "type": "ResourceId", + "name": "id", + "format": { + "template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/publicIPAddresses/{}" + } + }, + { + "type": "ResourceLocation", + "name": "location" + }, + { + "readOnly": true, + "type": "string", + "name": "name" + }, + { + "type": "object", + "name": "properties", + "props": [ + { + "type": "object", + "name": "dnsSettings", + "props": [ + { + "type": "string", + "name": "domainNameLabel" + }, + { + "type": "string", + "name": "fqdn" + }, + { + "type": "string", + "name": "reverseFqdn" + } + ] + }, + { + "type": "integer32", + "name": "idleTimeoutInMinutes" + }, + { + "type": "string", + "name": "ipAddress" + }, + { + "type": "@IPConfiguration_read", + "name": "ipConfiguration" + }, + { + "type": "string", + "name": "provisioningState" + }, + { + "type": "string", + "name": "publicIPAddressVersion", + "enum": { + "items": [ + { + "value": "IPv4" + }, + { + "value": "IPv6" + } + ] + } + }, + { + "type": "string", + "name": "publicIPAllocationMethod", + "enum": { + "items": [ + { + "value": "Dynamic" + }, + { + "value": "Static" + } + ] + } + }, + { + "type": "string", + "name": "resourceGuid" + } + ], + "clientFlatten": true + }, + { + "type": "object", + "name": "tags", + "additionalProps": { + "item": { + "type": "string" + } + } + }, + { + "readOnly": true, + "type": "string", + "name": "type" + } + ], + "cls": "PublicIPAddress_read" + }, + { + "type": "@Subnet_read", + "name": "subnet" + } + ], + "clientFlatten": true + } + ], + "cls": "IPConfiguration_read" + } + }, + { + "type": "@NetworkSecurityGroup_read", + "name": "networkSecurityGroup" + }, + { + "type": "string", + "name": "provisioningState" + }, + { + "type": "object", + "name": "routeTable", + "props": [ + { + "type": "string", + "name": "etag" + }, + { + "type": "ResourceId", + "name": "id", + "format": { + "template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/routeTables/{}" + } + }, + { + "type": "ResourceLocation", + "name": "location" + }, + { + "readOnly": true, + "type": "string", + "name": "name" + }, + { + "type": "object", + "name": "properties", + "props": [ + { + "type": "string", + "name": "provisioningState" + }, + { + "type": "array", + "name": "routes", + "item": { + "type": "object", + "props": [ + { + "type": "string", + "name": "etag" + }, + { + "type": "ResourceId", + "name": "id", + "format": { + "template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/routeTables/{}/routes/{}" + } + }, + { + "type": "string", + "name": "name" + }, + { + "type": "object", + "name": "properties", + "props": [ + { + "type": "string", + "name": "addressPrefix" + }, + { + "type": "string", + "name": "nextHopIpAddress" + }, + { + "type": "string", + "name": "nextHopType", + "required": true, + "enum": { + "items": [ + { + "value": "Internet" + }, + { + "value": "None" + }, + { + "value": "VirtualAppliance" + }, + { + "value": "VirtualNetworkGateway" + }, + { + "value": "VnetLocal" + } + ] + } + }, + { + "type": "string", + "name": "provisioningState" + } + ], + "clientFlatten": true + } + ] + } + }, + { + "type": "array<@Subnet_read>", + "name": "subnets", + "item": { + "type": "@Subnet_read" + } + } + ], + "clientFlatten": true + }, + { + "type": "object", + "name": "tags", + "additionalProps": { + "item": { + "type": "string" + } + } + }, + { + "readOnly": true, + "type": "string", + "name": "type" + } + ] + } + ], + "clientFlatten": true + } + ], + "cls": "Subnet_read" + } + } + ], + "clientFlatten": true + }, + { + "type": "object", + "name": "tags", + "additionalProps": { + "item": { + "type": "string" + } + } + }, + { + "readOnly": true, + "type": "string", + "name": "type" + } + ], + "cls": "NetworkSecurityGroup_read" + }, + { + "type": "boolean", + "name": "primary" + }, + { + "type": "string", + "name": "provisioningState" + }, + { + "type": "string", + "name": "resourceGuid" + }, + { + "type": "object", + "name": "virtualMachine", + "props": [ + { + "type": "string", + "name": "id" + } + ], + "cls": "SubResource_read" + } + ], + "clientFlatten": true + }, + { + "type": "object", + "name": "tags", + "additionalProps": { + "item": { + "type": "string" + } + } + }, + { + "readOnly": true, + "type": "string", + "name": "type" + } + ], + "cls": "NetworkInterface_read" + } + } + ] + } + } + } + }, + { + "isError": true, + "body": { + "json": { + "schema": { + "type": "@ODataV4Format" + } + } + } + } + ] + } + } + ], + "outputs": [ + { + "type": "array", + "ref": "$Instance.value", + "clientFlatten": true, + "nextLink": "$Instance.nextLink" + } + ], + "confirmation": "" + } + ] + } + ] +} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3ZpcnR1YWxtYWNoaW5lc2NhbGVzZXRzL3t9L3ZpcnR1YWxtYWNoaW5lcy97fS9uZXR3b3JraW50ZXJmYWNlcw==/2016-03-30.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3ZpcnR1YWxtYWNoaW5lc2NhbGVzZXRzL3t9L3ZpcnR1YWxtYWNoaW5lcy97fS9uZXR3b3JraW50ZXJmYWNlcw==/2016-03-30.xml new file mode 100644 index 00000000000..35474ad303f --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3ZpcnR1YWxtYWNoaW5lc2NhbGVzZXRzL3t9L3ZpcnR1YWxtYWNoaW5lcy97fS9uZXR3b3JraW50ZXJmYWNlcw==/2016-03-30.xml @@ -0,0 +1,350 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3ZpcnR1YWxtYWNoaW5lc2NhbGVzZXRzL3t9L3ZpcnR1YWxtYWNoaW5lcy97fS9uZXR3b3JraW50ZXJmYWNlcy97fQ==/2016-03-30.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3ZpcnR1YWxtYWNoaW5lc2NhbGVzZXRzL3t9L3ZpcnR1YWxtYWNoaW5lcy97fS9uZXR3b3JraW50ZXJmYWNlcy97fQ==/2016-03-30.json new file mode 100644 index 00000000000..06d01cb2bcf --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3ZpcnR1YWxtYWNoaW5lc2NhbGVzZXRzL3t9L3ZpcnR1YWxtYWNoaW5lcy97fS9uZXR3b3JraW50ZXJmYWNlcy97fQ==/2016-03-30.json @@ -0,0 +1,1090 @@ +{ + "plane": "mgmt-plane", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/virtualmachinescalesets/{}/virtualmachines/{}/networkinterfaces/{}", + "version": "2016-03-30", + "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9taWNyb3NvZnQuQ29tcHV0ZS92aXJ0dWFsTWFjaGluZVNjYWxlU2V0cy97dmlydHVhbE1hY2hpbmVTY2FsZVNldE5hbWV9L3ZpcnR1YWxNYWNoaW5lcy97dmlydHVhbG1hY2hpbmVJbmRleH0vbmV0d29ya0ludGVyZmFjZXMve25ldHdvcmtJbnRlcmZhY2VOYW1lfQ==/V/MjAxNi0wMy0zMA==" + } + ], + "commandGroups": [ + { + "name": "vmss nic", + "commands": [ + { + "name": "show", + "version": "2016-03-30", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/virtualmachinescalesets/{}/virtualmachines/{}/networkinterfaces/{}", + "version": "2016-03-30", + "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9taWNyb3NvZnQuQ29tcHV0ZS92aXJ0dWFsTWFjaGluZVNjYWxlU2V0cy97dmlydHVhbE1hY2hpbmVTY2FsZVNldE5hbWV9L3ZpcnR1YWxNYWNoaW5lcy97dmlydHVhbG1hY2hpbmVJbmRleH0vbmV0d29ya0ludGVyZmFjZXMve25ldHdvcmtJbnRlcmZhY2VOYW1lfQ==/V/MjAxNi0wMy0zMA==" + } + ], + "argGroups": [ + { + "name": "", + "args": [ + { + "type": "string", + "var": "$Path.networkInterfaceName", + "options": [ + "n", + "name", + "network-interface-name" + ], + "required": true, + "group": "", + "idPart": "child_name_2", + "help": { + "short": "The network interface (NIC)." + } + }, + { + "type": "ResourceGroupName", + "var": "$Path.resourceGroupName", + "options": [ + "g", + "resource-group" + ], + "required": true, + "group": "", + "idPart": "resource_group", + "help": { + "short": "Name of resource group. You can configure the default group using `az configure --defaults group=`." + } + }, + { + "type": "SubscriptionId", + "var": "$Path.subscriptionId", + "options": [ + "subscription" + ], + "required": true, + "group": "", + "idPart": "subscription", + "help": { + "short": "Name or ID of subscription. You can configure the default subscription using `az account set -s NAME_OR_ID`." + } + }, + { + "type": "string", + "var": "$Path.virtualMachineScaleSetName", + "options": [ + "vmss-name", + "virtual-machine-scale-set-name" + ], + "required": true, + "group": "", + "idPart": "name", + "help": { + "short": "Scale set name." + } + }, + { + "type": "string", + "var": "$Path.virtualmachineIndex", + "options": [ + "instance-id", + "virtualmachine-index" + ], + "required": true, + "group": "", + "idPart": "child_name_1", + "help": { + "short": "The virtual machine index." + } + }, + { + "type": "string", + "var": "$Query.expand", + "options": [ + "expand" + ], + "group": "", + "help": { + "short": "Expands referenced resources. Default value is None." + } + } + ] + } + ], + "operations": [ + { + "operationId": "NetworkInterfaces_GetVirtualMachineScaleSetNetworkInterface", + "http": { + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/virtualMachines/{virtualmachineIndex}/networkInterfaces/{networkInterfaceName}", + "request": { + "method": "get", + "path": { + "params": [ + { + "type": "string", + "name": "networkInterfaceName", + "arg": "$Path.networkInterfaceName", + "required": true + }, + { + "type": "string", + "name": "resourceGroupName", + "arg": "$Path.resourceGroupName", + "required": true + }, + { + "type": "string", + "name": "subscriptionId", + "arg": "$Path.subscriptionId", + "required": true + }, + { + "type": "string", + "name": "virtualMachineScaleSetName", + "arg": "$Path.virtualMachineScaleSetName", + "required": true + }, + { + "type": "string", + "name": "virtualmachineIndex", + "arg": "$Path.virtualmachineIndex", + "required": true + } + ] + }, + "query": { + "params": [ + { + "type": "string", + "name": "$expand", + "arg": "$Query.expand" + } + ], + "consts": [ + { + "readOnly": true, + "const": true, + "default": { + "value": "2016-03-30" + }, + "type": "string", + "name": "api-version", + "required": true + } + ] + } + }, + "responses": [ + { + "statusCode": [ + 200 + ], + "body": { + "json": { + "var": "$Instance", + "schema": { + "type": "object", + "props": [ + { + "type": "string", + "name": "etag" + }, + { + "type": "ResourceId", + "name": "id" + }, + { + "type": "ResourceLocation", + "name": "location" + }, + { + "readOnly": true, + "type": "string", + "name": "name" + }, + { + "type": "object", + "name": "properties", + "props": [ + { + "type": "object", + "name": "dnsSettings", + "props": [ + { + "type": "array", + "name": "appliedDnsServers", + "item": { + "type": "string" + } + }, + { + "type": "array", + "name": "dnsServers", + "item": { + "type": "string" + } + }, + { + "type": "string", + "name": "internalDnsNameLabel" + }, + { + "type": "string", + "name": "internalDomainNameSuffix" + }, + { + "type": "string", + "name": "internalFqdn" + } + ] + }, + { + "type": "boolean", + "name": "enableIPForwarding" + }, + { + "type": "array", + "name": "ipConfigurations", + "item": { + "type": "object", + "props": [ + { + "type": "string", + "name": "etag" + }, + { + "type": "string", + "name": "id" + }, + { + "type": "string", + "name": "name" + }, + { + "type": "object", + "name": "properties", + "props": [ + { + "type": "array", + "name": "applicationGatewayBackendAddressPools", + "item": { + "type": "object", + "props": [ + { + "type": "string", + "name": "etag" + }, + { + "type": "string", + "name": "id" + }, + { + "type": "string", + "name": "name" + }, + { + "type": "object", + "name": "properties", + "props": [ + { + "type": "array", + "name": "backendAddresses", + "item": { + "type": "object", + "props": [ + { + "type": "string", + "name": "fqdn" + }, + { + "type": "string", + "name": "ipAddress" + } + ] + } + }, + { + "type": "array<@NetworkInterfaceIPConfiguration_read>", + "name": "backendIPConfigurations", + "item": { + "type": "@NetworkInterfaceIPConfiguration_read" + } + }, + { + "type": "string", + "name": "provisioningState" + } + ], + "clientFlatten": true + } + ] + } + }, + { + "type": "array", + "name": "loadBalancerBackendAddressPools", + "item": { + "type": "object", + "props": [ + { + "type": "string", + "name": "etag" + }, + { + "type": "string", + "name": "id" + }, + { + "type": "string", + "name": "name" + }, + { + "type": "object", + "name": "properties", + "props": [ + { + "type": "array<@NetworkInterfaceIPConfiguration_read>", + "name": "backendIPConfigurations", + "item": { + "type": "@NetworkInterfaceIPConfiguration_read" + } + }, + { + "type": "array<@SubResource_read>", + "name": "loadBalancingRules", + "item": { + "type": "@SubResource_read" + } + }, + { + "type": "@SubResource_read", + "name": "outboundNatRule" + }, + { + "type": "string", + "name": "provisioningState" + } + ], + "clientFlatten": true + } + ] + } + }, + { + "type": "array", + "name": "loadBalancerInboundNatRules", + "item": { + "type": "object", + "props": [ + { + "type": "string", + "name": "etag" + }, + { + "type": "string", + "name": "id" + }, + { + "type": "string", + "name": "name" + }, + { + "type": "object", + "name": "properties", + "props": [ + { + "type": "@NetworkInterfaceIPConfiguration_read", + "name": "backendIPConfiguration" + }, + { + "type": "integer32", + "name": "backendPort" + }, + { + "type": "boolean", + "name": "enableFloatingIP" + }, + { + "type": "@SubResource_read", + "name": "frontendIPConfiguration" + }, + { + "type": "integer32", + "name": "frontendPort" + }, + { + "type": "integer32", + "name": "idleTimeoutInMinutes" + }, + { + "type": "string", + "name": "protocol", + "enum": { + "items": [ + { + "value": "Tcp" + }, + { + "value": "Udp" + } + ] + } + }, + { + "type": "string", + "name": "provisioningState" + } + ], + "clientFlatten": true + } + ] + } + }, + { + "type": "boolean", + "name": "primary" + }, + { + "type": "string", + "name": "privateIPAddress" + }, + { + "type": "string", + "name": "privateIPAddressVersion", + "enum": { + "items": [ + { + "value": "IPv4" + }, + { + "value": "IPv6" + } + ] + } + }, + { + "type": "string", + "name": "privateIPAllocationMethod", + "enum": { + "items": [ + { + "value": "Dynamic" + }, + { + "value": "Static" + } + ] + } + }, + { + "type": "string", + "name": "provisioningState" + }, + { + "type": "@PublicIPAddress_read", + "name": "publicIPAddress" + }, + { + "type": "@Subnet_read", + "name": "subnet" + } + ], + "clientFlatten": true + } + ], + "cls": "NetworkInterfaceIPConfiguration_read" + } + }, + { + "type": "string", + "name": "macAddress" + }, + { + "type": "object", + "name": "networkSecurityGroup", + "props": [ + { + "type": "string", + "name": "etag" + }, + { + "type": "ResourceId", + "name": "id", + "format": { + "template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/networkSecurityGroups/{}" + } + }, + { + "type": "ResourceLocation", + "name": "location" + }, + { + "readOnly": true, + "type": "string", + "name": "name" + }, + { + "type": "object", + "name": "properties", + "props": [ + { + "type": "array<@SecurityRule_read>", + "name": "defaultSecurityRules", + "item": { + "type": "@SecurityRule_read" + } + }, + { + "type": "array<@NetworkInterface_read>", + "name": "networkInterfaces", + "item": { + "type": "@NetworkInterface_read" + } + }, + { + "type": "string", + "name": "provisioningState" + }, + { + "type": "string", + "name": "resourceGuid" + }, + { + "type": "array", + "name": "securityRules", + "item": { + "type": "object", + "props": [ + { + "type": "string", + "name": "etag" + }, + { + "type": "ResourceId", + "name": "id", + "format": { + "template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/networkSecurityGroups/{}/securityRules/{}" + } + }, + { + "type": "string", + "name": "name" + }, + { + "type": "object", + "name": "properties", + "props": [ + { + "type": "string", + "name": "access", + "required": true, + "enum": { + "items": [ + { + "value": "Allow" + }, + { + "value": "Deny" + } + ] + } + }, + { + "type": "string", + "name": "description" + }, + { + "type": "string", + "name": "destinationAddressPrefix", + "required": true + }, + { + "type": "string", + "name": "destinationPortRange" + }, + { + "type": "string", + "name": "direction", + "required": true, + "enum": { + "items": [ + { + "value": "Inbound" + }, + { + "value": "Outbound" + } + ] + } + }, + { + "type": "integer32", + "name": "priority" + }, + { + "type": "string", + "name": "protocol", + "required": true, + "enum": { + "items": [ + { + "value": "*" + }, + { + "value": "Tcp" + }, + { + "value": "Udp" + } + ] + } + }, + { + "type": "string", + "name": "provisioningState" + }, + { + "type": "string", + "name": "sourceAddressPrefix", + "required": true + }, + { + "type": "string", + "name": "sourcePortRange" + } + ], + "clientFlatten": true + } + ], + "cls": "SecurityRule_read" + } + }, + { + "type": "array", + "name": "subnets", + "item": { + "type": "object", + "props": [ + { + "type": "string", + "name": "etag" + }, + { + "type": "ResourceId", + "name": "id", + "format": { + "template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworks/{}/subnets/{}" + } + }, + { + "type": "string", + "name": "name" + }, + { + "type": "object", + "name": "properties", + "props": [ + { + "type": "string", + "name": "addressPrefix" + }, + { + "type": "array", + "name": "ipConfigurations", + "item": { + "type": "object", + "props": [ + { + "type": "string", + "name": "etag" + }, + { + "type": "string", + "name": "id" + }, + { + "type": "string", + "name": "name" + }, + { + "type": "object", + "name": "properties", + "props": [ + { + "type": "string", + "name": "privateIPAddress" + }, + { + "type": "string", + "name": "privateIPAllocationMethod", + "enum": { + "items": [ + { + "value": "Dynamic" + }, + { + "value": "Static" + } + ] + } + }, + { + "type": "string", + "name": "provisioningState" + }, + { + "type": "object", + "name": "publicIPAddress", + "props": [ + { + "type": "string", + "name": "etag" + }, + { + "type": "ResourceId", + "name": "id", + "format": { + "template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/publicIPAddresses/{}" + } + }, + { + "type": "ResourceLocation", + "name": "location" + }, + { + "readOnly": true, + "type": "string", + "name": "name" + }, + { + "type": "object", + "name": "properties", + "props": [ + { + "type": "object", + "name": "dnsSettings", + "props": [ + { + "type": "string", + "name": "domainNameLabel" + }, + { + "type": "string", + "name": "fqdn" + }, + { + "type": "string", + "name": "reverseFqdn" + } + ] + }, + { + "type": "integer32", + "name": "idleTimeoutInMinutes" + }, + { + "type": "string", + "name": "ipAddress" + }, + { + "type": "@IPConfiguration_read", + "name": "ipConfiguration" + }, + { + "type": "string", + "name": "provisioningState" + }, + { + "type": "string", + "name": "publicIPAddressVersion", + "enum": { + "items": [ + { + "value": "IPv4" + }, + { + "value": "IPv6" + } + ] + } + }, + { + "type": "string", + "name": "publicIPAllocationMethod", + "enum": { + "items": [ + { + "value": "Dynamic" + }, + { + "value": "Static" + } + ] + } + }, + { + "type": "string", + "name": "resourceGuid" + } + ], + "clientFlatten": true + }, + { + "type": "object", + "name": "tags", + "additionalProps": { + "item": { + "type": "string" + } + } + }, + { + "readOnly": true, + "type": "string", + "name": "type" + } + ], + "cls": "PublicIPAddress_read" + }, + { + "type": "@Subnet_read", + "name": "subnet" + } + ], + "clientFlatten": true + } + ], + "cls": "IPConfiguration_read" + } + }, + { + "type": "@NetworkSecurityGroup_read", + "name": "networkSecurityGroup" + }, + { + "type": "string", + "name": "provisioningState" + }, + { + "type": "object", + "name": "routeTable", + "props": [ + { + "type": "string", + "name": "etag" + }, + { + "type": "ResourceId", + "name": "id", + "format": { + "template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/routeTables/{}" + } + }, + { + "type": "ResourceLocation", + "name": "location" + }, + { + "readOnly": true, + "type": "string", + "name": "name" + }, + { + "type": "object", + "name": "properties", + "props": [ + { + "type": "string", + "name": "provisioningState" + }, + { + "type": "array", + "name": "routes", + "item": { + "type": "object", + "props": [ + { + "type": "string", + "name": "etag" + }, + { + "type": "ResourceId", + "name": "id", + "format": { + "template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/routeTables/{}/routes/{}" + } + }, + { + "type": "string", + "name": "name" + }, + { + "type": "object", + "name": "properties", + "props": [ + { + "type": "string", + "name": "addressPrefix" + }, + { + "type": "string", + "name": "nextHopIpAddress" + }, + { + "type": "string", + "name": "nextHopType", + "required": true, + "enum": { + "items": [ + { + "value": "Internet" + }, + { + "value": "None" + }, + { + "value": "VirtualAppliance" + }, + { + "value": "VirtualNetworkGateway" + }, + { + "value": "VnetLocal" + } + ] + } + }, + { + "type": "string", + "name": "provisioningState" + } + ], + "clientFlatten": true + } + ] + } + }, + { + "type": "array<@Subnet_read>", + "name": "subnets", + "item": { + "type": "@Subnet_read" + } + } + ], + "clientFlatten": true + }, + { + "type": "object", + "name": "tags", + "additionalProps": { + "item": { + "type": "string" + } + } + }, + { + "readOnly": true, + "type": "string", + "name": "type" + } + ] + } + ], + "clientFlatten": true + } + ], + "cls": "Subnet_read" + } + } + ], + "clientFlatten": true + }, + { + "type": "object", + "name": "tags", + "additionalProps": { + "item": { + "type": "string" + } + } + }, + { + "readOnly": true, + "type": "string", + "name": "type" + } + ], + "cls": "NetworkSecurityGroup_read" + }, + { + "type": "boolean", + "name": "primary" + }, + { + "type": "string", + "name": "provisioningState" + }, + { + "type": "string", + "name": "resourceGuid" + }, + { + "type": "object", + "name": "virtualMachine", + "props": [ + { + "type": "string", + "name": "id" + } + ], + "cls": "SubResource_read" + } + ], + "clientFlatten": true + }, + { + "type": "object", + "name": "tags", + "additionalProps": { + "item": { + "type": "string" + } + } + }, + { + "readOnly": true, + "type": "string", + "name": "type" + } + ], + "cls": "NetworkInterface_read" + } + } + } + }, + { + "isError": true, + "body": { + "json": { + "schema": { + "type": "@ODataV4Format" + } + } + } + } + ] + } + } + ], + "outputs": [ + { + "type": "object", + "ref": "$Instance", + "clientFlatten": true + } + ], + "confirmation": "" + } + ] + } + ] +} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3ZpcnR1YWxtYWNoaW5lc2NhbGVzZXRzL3t9L3ZpcnR1YWxtYWNoaW5lcy97fS9uZXR3b3JraW50ZXJmYWNlcy97fQ==/2016-03-30.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3ZpcnR1YWxtYWNoaW5lc2NhbGVzZXRzL3t9L3ZpcnR1YWxtYWNoaW5lcy97fS9uZXR3b3JraW50ZXJmYWNlcy97fQ==/2016-03-30.xml new file mode 100644 index 00000000000..51af5d31766 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3ZpcnR1YWxtYWNoaW5lc2NhbGVzZXRzL3t9L3ZpcnR1YWxtYWNoaW5lcy97fS9uZXR3b3JraW50ZXJmYWNlcy97fQ==/2016-03-30.xml @@ -0,0 +1,353 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + From 683a85d6af171e5a7f7dd64fa2fc6e99af4eb45c Mon Sep 17 00:00:00 2001 From: Yan Zhu Date: Mon, 30 Jan 2023 16:16:32 +0800 Subject: [PATCH 2/3] fix help message --- Commands/tree.json | 6 +++--- Commands/vm/host/group/_list.md | 2 +- Commands/vmss/nic/_list-vm-nics.md | 2 +- Commands/vmss/nic/_list.md | 2 +- Commands/vmss/nic/readme.md | 4 ++-- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Commands/tree.json b/Commands/tree.json index 4f0cc858f2f..64b85dc1dec 100644 --- a/Commands/tree.json +++ b/Commands/tree.json @@ -26977,7 +26977,7 @@ "list": { "help": { "lines": [ - "Lists dedicated host groups by subscription. If resource group is specified, lists dedicated host groups by resource group." + "List dedicated host groups by subscription. If resource group is specified, lists dedicated host groups by resource group." ], "short": "List dedicated host groups." }, @@ -27184,7 +27184,7 @@ "commands": { "list": { "help": { - "short": "Gets all network interfaces in a virtual machine scale set." + "short": "Get all network interfaces in a virtual machine scale set." }, "names": [ "vmss", @@ -27206,7 +27206,7 @@ }, "list-vm-nics": { "help": { - "short": "Gets information about all network interfaces in a virtual machine in a virtual machine scale set." + "short": "Get information about all network interfaces in a virtual machine in a virtual machine scale set." }, "names": [ "vmss", diff --git a/Commands/vm/host/group/_list.md b/Commands/vm/host/group/_list.md index 8d151158535..2b6582706a0 100644 --- a/Commands/vm/host/group/_list.md +++ b/Commands/vm/host/group/_list.md @@ -2,7 +2,7 @@ List dedicated host groups. -Lists dedicated host groups by subscription. If resource group is specified, lists dedicated host groups by resource group. +List dedicated host groups by subscription. If resource group is specified, lists dedicated host groups by resource group. ## Versions diff --git a/Commands/vmss/nic/_list-vm-nics.md b/Commands/vmss/nic/_list-vm-nics.md index e2c60bb0116..ed3181bc487 100644 --- a/Commands/vmss/nic/_list-vm-nics.md +++ b/Commands/vmss/nic/_list-vm-nics.md @@ -1,6 +1,6 @@ # [Command] _vmss nic list-vm-nics_ -Gets information about all network interfaces in a virtual machine in a virtual machine scale set. +Get information about all network interfaces in a virtual machine in a virtual machine scale set. ## Versions diff --git a/Commands/vmss/nic/_list.md b/Commands/vmss/nic/_list.md index 771cf41beb0..bdcaaeeca36 100644 --- a/Commands/vmss/nic/_list.md +++ b/Commands/vmss/nic/_list.md @@ -1,6 +1,6 @@ # [Command] _vmss nic list_ -Gets all network interfaces in a virtual machine scale set. +Get all network interfaces in a virtual machine scale set. ## Versions diff --git a/Commands/vmss/nic/readme.md b/Commands/vmss/nic/readme.md index 16b2cbb9593..fe296f46f7f 100644 --- a/Commands/vmss/nic/readme.md +++ b/Commands/vmss/nic/readme.md @@ -5,10 +5,10 @@ Manage network interfaces of a VMSS. ## Commands - [list](/Commands/vmss/nic/_list.md) -: Gets all network interfaces in a virtual machine scale set. +: Get all network interfaces in a virtual machine scale set. - [list-vm-nics](/Commands/vmss/nic/_list-vm-nics.md) -: Gets information about all network interfaces in a virtual machine in a virtual machine scale set. +: Get information about all network interfaces in a virtual machine in a virtual machine scale set. - [show](/Commands/vmss/nic/_show.md) : Get the specified network interface in a virtual machine scale set. From 7a7ad9218481db7354002fc17790e8b2c01d51c0 Mon Sep 17 00:00:00 2001 From: Yan Zhu Date: Mon, 30 Jan 2023 21:55:39 +0800 Subject: [PATCH 3/3] fix help messages --- .../gallery-application/version/_create.md | 9 +- .../gallery-application/version/_delete.md | 2 +- .../sig/gallery-application/version/_show.md | 2 +- .../gallery-application/version/_update.md | 2 +- .../sig/gallery-application/version/readme.md | 8 +- Commands/tree.json | 16 +-- .../2022-01-03.json | 26 +--- .../2022-01-03.xml | 18 +-- .../2022-01-03.json | 119 +++++------------- .../2022-01-03.xml | 62 ++++----- 10 files changed, 91 insertions(+), 173 deletions(-) diff --git a/Commands/sig/gallery-application/version/_create.md b/Commands/sig/gallery-application/version/_create.md index 72020444cee..8526bfb3782 100644 --- a/Commands/sig/gallery-application/version/_create.md +++ b/Commands/sig/gallery-application/version/_create.md @@ -1,16 +1,9 @@ # [Command] _sig gallery-application version create_ -Create a gallery Application Version. +Create a gallery application version. ## Versions ### [2022-01-03](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2dhbGxlcmllcy97fS9hcHBsaWNhdGlvbnMve30vdmVyc2lvbnMve30=/2022-01-03.xml) **Stable** - -#### examples - -- Create a simple gallery Application Version. - ```bash - sig gallery-application version create --gallery-name myGalleryName --application-name myGalleryApplicationName -n 1.0.0 -g myResourceGroup --package-file-link https://{myStorageAccount}.blob.core.windows.net/{myStorageContainer}/{myStorageBlob} --install-command installCommand --remove-command removeCommand - ``` diff --git a/Commands/sig/gallery-application/version/_delete.md b/Commands/sig/gallery-application/version/_delete.md index 1a7f4beabff..10cce6e498c 100644 --- a/Commands/sig/gallery-application/version/_delete.md +++ b/Commands/sig/gallery-application/version/_delete.md @@ -1,6 +1,6 @@ # [Command] _sig gallery-application version delete_ -Delete a gallery Application Version. +Delete a gallery application version. ## Versions diff --git a/Commands/sig/gallery-application/version/_show.md b/Commands/sig/gallery-application/version/_show.md index a08653f15ea..5e62fd8ee3a 100644 --- a/Commands/sig/gallery-application/version/_show.md +++ b/Commands/sig/gallery-application/version/_show.md @@ -1,6 +1,6 @@ # [Command] _sig gallery-application version show_ -Get information about a gallery Application Version. +Get information about a gallery application version. ## Versions diff --git a/Commands/sig/gallery-application/version/_update.md b/Commands/sig/gallery-application/version/_update.md index e67bcaeb3a9..209d1bd8f46 100644 --- a/Commands/sig/gallery-application/version/_update.md +++ b/Commands/sig/gallery-application/version/_update.md @@ -1,6 +1,6 @@ # [Command] _sig gallery-application version update_ -Update a gallery Application Version. +Update a gallery application version. ## Versions diff --git a/Commands/sig/gallery-application/version/readme.md b/Commands/sig/gallery-application/version/readme.md index c8a66edeb99..3e421405a04 100644 --- a/Commands/sig/gallery-application/version/readme.md +++ b/Commands/sig/gallery-application/version/readme.md @@ -5,16 +5,16 @@ Manage gallery application version. ## Commands - [create](/Commands/sig/gallery-application/version/_create.md) -: Create a gallery Application Version. +: Create a gallery application version. - [delete](/Commands/sig/gallery-application/version/_delete.md) -: Delete a gallery Application Version. +: Delete a gallery application version. - [list](/Commands/sig/gallery-application/version/_list.md) : List gallery application versions. - [show](/Commands/sig/gallery-application/version/_show.md) -: Get information about a gallery Application Version. +: Get information about a gallery application version. - [update](/Commands/sig/gallery-application/version/_update.md) -: Update a gallery Application Version. +: Update a gallery application version. diff --git a/Commands/tree.json b/Commands/tree.json index 64b85dc1dec..3ebe9195c6a 100644 --- a/Commands/tree.json +++ b/Commands/tree.json @@ -26305,7 +26305,7 @@ "commands": { "create": { "help": { - "short": "Create a gallery Application Version." + "short": "Create a gallery application version." }, "names": [ "sig", @@ -26315,14 +26315,6 @@ ], "versions": [ { - "examples": [ - { - "commands": [ - "sig gallery-application version create --gallery-name myGalleryName --application-name myGalleryApplicationName -n 1.0.0 -g myResourceGroup --package-file-link https://{myStorageAccount}.blob.core.windows.net/{myStorageContainer}/{myStorageBlob} --install-command installCommand --remove-command removeCommand" - ], - "name": "Create a simple gallery Application Version." - } - ], "name": "2022-01-03", "resources": [ { @@ -26336,7 +26328,7 @@ }, "delete": { "help": { - "short": "Delete a gallery Application Version." + "short": "Delete a gallery application version." }, "names": [ "sig", @@ -26382,7 +26374,7 @@ }, "show": { "help": { - "short": "Get information about a gallery Application Version." + "short": "Get information about a gallery application version." }, "names": [ "sig", @@ -26405,7 +26397,7 @@ }, "update": { "help": { - "short": "Update a gallery Application Version." + "short": "Update a gallery application version." }, "names": [ "sig", diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2dhbGxlcmllcy97fS9hcHBsaWNhdGlvbnMve30vdmVyc2lvbnM=/2022-01-03.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2dhbGxlcmllcy97fS9hcHBsaWNhdGlvbnMve30vdmVyc2lvbnM=/2022-01-03.json index 1953fcc4810..eaa03323869 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2dhbGxlcmllcy97fS9hcHBsaWNhdGlvbnMve30vdmVyc2lvbnM=/2022-01-03.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2dhbGxlcmllcy97fS9hcHBsaWNhdGlvbnMve30vdmVyc2lvbnM=/2022-01-03.json @@ -34,9 +34,8 @@ ], "required": true, "group": "", - "idPart": "child_name_1", "help": { - "short": "The name of the gallery Application." + "short": "The name of the gallery application." } }, { @@ -48,7 +47,6 @@ ], "required": true, "group": "", - "idPart": "name", "help": { "short": "Gallery name." } @@ -62,7 +60,6 @@ ], "required": true, "group": "", - "idPart": "resource_group", "help": { "short": "Name of resource group. You can configure the default group using `az configure --defaults group=`." } @@ -75,7 +72,6 @@ ], "required": true, "group": "", - "idPart": "subscription", "help": { "short": "Name or ID of subscription. You can configure the default subscription using `az account set -s NAME_OR_ID`." } @@ -380,10 +376,7 @@ } } ] - }, - "identifiers": [ - "name" - ] + } }, { "type": "array", @@ -411,10 +404,7 @@ "required": true } ] - }, - "identifiers": [ - "lun" - ] + } }, { "type": "object", @@ -483,10 +473,7 @@ } } ] - }, - "identifiers": [ - "name" - ] + } } ] }, @@ -559,10 +546,7 @@ } } ] - }, - "identifiers": [ - "region" - ] + } } ] } diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2dhbGxlcmllcy97fS9hcHBsaWNhdGlvbnMve30vdmVyc2lvbnM=/2022-01-03.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2dhbGxlcmllcy97fS9hcHBsaWNhdGlvbnMve30vdmVyc2lvbnM=/2022-01-03.xml index f664f50ab01..6b896147500 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2dhbGxlcmllcy97fS9hcHBsaWNhdGlvbnMve30vdmVyc2lvbnM=/2022-01-03.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2dhbGxlcmllcy97fS9hcHBsaWNhdGlvbnMve30vdmVyc2lvbnM=/2022-01-03.xml @@ -5,16 +5,16 @@ - - + + - + - + - + @@ -93,7 +93,7 @@ - + @@ -116,10 +116,10 @@ - + - + @@ -160,7 +160,7 @@ - + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2dhbGxlcmllcy97fS9hcHBsaWNhdGlvbnMve30vdmVyc2lvbnMve30=/2022-01-03.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2dhbGxlcmllcy97fS9hcHBsaWNhdGlvbnMve30vdmVyc2lvbnMve30=/2022-01-03.json index b6d595bc8c0..5ed1d939cc6 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2dhbGxlcmllcy97fS9hcHBsaWNhdGlvbnMve30vdmVyc2lvbnMve30=/2022-01-03.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2dhbGxlcmllcy97fS9hcHBsaWNhdGlvbnMve30vdmVyc2lvbnMve30=/2022-01-03.json @@ -36,7 +36,7 @@ "group": "", "idPart": "child_name_1", "help": { - "short": "The name of the gallery Application." + "short": "The name of the gallery application." } }, { @@ -52,7 +52,7 @@ "group": "", "idPart": "child_name_2", "help": { - "short": "The name of the gallery Application Version." + "short": "The name of the gallery application version." } }, { @@ -424,10 +424,7 @@ } } ] - }, - "identifiers": [ - "name" - ] + } }, { "type": "array", @@ -455,10 +452,7 @@ "required": true } ] - }, - "identifiers": [ - "lun" - ] + } }, { "type": "object", @@ -527,10 +521,7 @@ } } ] - }, - "identifiers": [ - "name" - ] + } } ] }, @@ -603,10 +594,7 @@ } } ] - }, - "identifiers": [ - "region" - ] + } } ] } @@ -652,7 +640,8 @@ "ref": "$Instance", "clientFlatten": true } - ] + ], + "confirmation": "" }, { "name": "delete", @@ -679,7 +668,7 @@ "group": "", "idPart": "child_name_1", "help": { - "short": "The name of the gallery Application." + "short": "The name of the gallery application." } }, { @@ -695,7 +684,7 @@ "group": "", "idPart": "child_name_2", "help": { - "short": "The name of the gallery Application Version." + "short": "The name of the gallery application version." } }, { @@ -858,7 +847,7 @@ "group": "", "idPart": "child_name_1", "help": { - "short": "The name of the gallery Application." + "short": "The name of the gallery application." } }, { @@ -874,7 +863,7 @@ "group": "", "idPart": "child_name_2", "help": { - "short": "The name of the gallery Application Version." + "short": "The name of the gallery application version." } }, { @@ -944,7 +933,7 @@ ], "group": "GalleryApplicationVersion", "help": { - "short": "Space-separated tags: key[=value] [key[=value] ...]." + "short": "Resource tags" }, "additionalProps": { "item": { @@ -1745,10 +1734,7 @@ } } ] - }, - "identifiers": [ - "name" - ] + } }, { "type": "array", @@ -1781,10 +1767,7 @@ "required": true } ] - }, - "identifiers": [ - "lun" - ] + } }, { "type": "object", @@ -1861,10 +1844,7 @@ } } ] - }, - "identifiers": [ - "name" - ] + } } ] } @@ -2124,10 +2104,7 @@ } } ] - }, - "identifiers": [ - "name" - ] + } }, { "type": "array", @@ -2155,10 +2132,7 @@ "required": true } ] - }, - "identifiers": [ - "lun" - ] + } }, { "type": "object", @@ -2227,10 +2201,7 @@ } } ] - }, - "identifiers": [ - "name" - ] + } } ] }, @@ -2303,10 +2274,7 @@ } } ] - }, - "identifiers": [ - "region" - ] + } } ] } @@ -2366,7 +2334,8 @@ "ref": "$Instance", "clientFlatten": true } - ] + ], + "confirmation": "" }, { "name": "update", @@ -2393,7 +2362,7 @@ "group": "", "idPart": "child_name_1", "help": { - "short": "The name of the gallery Application." + "short": "The name of the gallery application." } }, { @@ -2409,7 +2378,7 @@ "group": "", "idPart": "child_name_2", "help": { - "short": "The name of the gallery Application Version." + "short": "The name of the gallery application version." } }, { @@ -2479,7 +2448,7 @@ ], "group": "GalleryApplicationVersion", "help": { - "short": "Space-separated tags: key[=value] [key[=value] ...]." + "short": "Resource tags" }, "additionalProps": { "item": { @@ -3331,10 +3300,7 @@ } } ] - }, - "identifiers": [ - "name" - ] + } }, { "type": "array", @@ -3362,10 +3328,7 @@ "required": true } ] - }, - "identifiers": [ - "lun" - ] + } }, { "type": "object", @@ -3434,10 +3397,7 @@ } } ] - }, - "identifiers": [ - "name" - ] + } } ] }, @@ -3510,10 +3470,7 @@ } } ] - }, - "identifiers": [ - "region" - ] + } } ] } @@ -3769,10 +3726,7 @@ } } ] - }, - "identifiers": [ - "name" - ] + } }, { "type": "array", @@ -3805,10 +3759,7 @@ "required": true } ] - }, - "identifiers": [ - "lun" - ] + } }, { "type": "object", @@ -3885,10 +3836,7 @@ } } ] - }, - "identifiers": [ - "name" - ] + } } ] } @@ -4022,7 +3970,8 @@ "ref": "$Instance", "clientFlatten": true } - ] + ], + "confirmation": "" } ] } diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2dhbGxlcmllcy97fS9hcHBsaWNhdGlvbnMve30vdmVyc2lvbnMve30=/2022-01-03.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2dhbGxlcmllcy97fS9hcHBsaWNhdGlvbnMve30vdmVyc2lvbnMve30=/2022-01-03.xml index 552673cc25d..a52329be0e7 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2dhbGxlcmllcy97fS9hcHBsaWNhdGlvbnMve30vdmVyc2lvbnMve30=/2022-01-03.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2dhbGxlcmllcy97fS9hcHBsaWNhdGlvbnMve30vdmVyc2lvbnMve30=/2022-01-03.xml @@ -2,14 +2,14 @@ - + - + - + @@ -105,7 +105,7 @@ - + @@ -128,10 +128,10 @@ - + - + @@ -172,7 +172,7 @@ - + @@ -214,10 +214,10 @@ - + - + @@ -259,14 +259,14 @@ - + - + - + @@ -283,7 +283,7 @@ - + @@ -497,7 +497,7 @@ - + @@ -520,10 +520,10 @@ - + - + @@ -622,7 +622,7 @@ - + @@ -645,10 +645,10 @@ - + - + @@ -689,7 +689,7 @@ - + @@ -734,14 +734,14 @@ - + - + - + @@ -758,7 +758,7 @@ - + @@ -988,7 +988,7 @@ - + @@ -1011,10 +1011,10 @@ - + - + @@ -1055,7 +1055,7 @@ - + @@ -1133,7 +1133,7 @@ - + @@ -1156,10 +1156,10 @@ - + - +