From dfbbdd2cb202c7f543845241f330c958786e6e4a Mon Sep 17 00:00:00 2001 From: Feiyue Yu Date: Wed, 17 Mar 2021 15:19:58 +0800 Subject: [PATCH] Updating azure-rest-api-specs\specification\compute\resource-manager\readme.az.md (#13436) * readme.az.md * update * fix --- .../compute/resource-manager/readme.az.md | 55 ++++++++++++++++++- 1 file changed, 53 insertions(+), 2 deletions(-) diff --git a/specification/compute/resource-manager/readme.az.md b/specification/compute/resource-manager/readme.az.md index 0c0bef6618ee..bc12b50feae6 100644 --- a/specification/compute/resource-manager/readme.az.md +++ b/specification/compute/resource-manager/readme.az.md @@ -2,13 +2,60 @@ These settings apply only when `--az` is specified on the command line. +``` yaml $(az) && $(cloudservice) +tag: package-2020-10-01-preview-only +az: + extensions: cloud-service + namespace: azure.mgmt.compute + package-name: azure-mgmt-compute +az-output-folder: $(azure-cli-extension-folder)/src/cloudservice +python-sdk-output-folder: $(az-output-folder)/azext_cloudservice/vendored_sdks/cloudservice +cli: + cli-directive: + - where: + group: "*" + op: "*" + hidden: true + - where: + group: "CloudServiceRoleInstances" + op: "*" + hidden: false + - where: + group: "CloudServiceRoles" + op: "*" + hidden: false + - where: + group: "CloudServices" + op: "*" + hidden: false + - where: + group: "CloudServicesUpdateDomain" + op: "*" + hidden: false +directive: + - where: + group: cloud-service cloud-service-role-instance + set: + group: cloud-service role-instance + - where: + group: cloud-service cloud-service-role + set: + group: cloud-service role + - where: + group: cloud-service cloud-service-update-domain + set: + group: cloud-service update-domain +``` + ``` yaml $(az) && $(target-mode) == "core" +tag: package-2020-12-01-only az: extensions: vm namespace: azure.mgmt.compute package-name: azure-mgmt-compute az-output-folder: $(azure-cli-folder)/src/azure-cli/azure/cli/command_modules/vm python-sdk-output-folder: "$(az-output-folder)/vendored_sdks/vm" +extension-mode: stable compatible-level: track2 cli: cli-directive: @@ -20,6 +67,10 @@ cli: group: "SshPublicKeys" op: "*" hidden: false + - where: + group: "SshPublicKeys" + op: "GenerateKeyPair" + hidden: true - where: group: "*" op: "*" @@ -27,7 +78,7 @@ cli: alias: name directive: - where: - command: vm ssh-public-key + group: vm ssh-public-key set: - command: sshkey + group: sshkey ```