From a0abcc3ff499430cfa6beb1e0d29371781901987 Mon Sep 17 00:00:00 2001 From: Feiyue Yu Date: Fri, 11 Dec 2020 14:04:45 +0800 Subject: [PATCH 1/3] ssh config --- .../compute/resource-manager/readme.az.md | 21 +++++++++++++++++++ .../compute/resource-manager/readme.cli.md | 4 ++++ 2 files changed, 25 insertions(+) create mode 100644 specification/compute/resource-manager/readme.az.md create mode 100644 specification/compute/resource-manager/readme.cli.md diff --git a/specification/compute/resource-manager/readme.az.md b/specification/compute/resource-manager/readme.az.md new file mode 100644 index 000000000000..4648143665ea --- /dev/null +++ b/specification/compute/resource-manager/readme.az.md @@ -0,0 +1,21 @@ +## AZ + +These settings apply only when `--az` is specified on the command line. + +``` yaml $(az) +az: + extensions: vm + namespace: azure.mgmt.vm + package-name: azure-mgmt-vm +az-output-folder: $(azure-cli-folder)/src/azure-cli/azure/cli/command_modules/vm +cli: + cli-directive: + - where: + group: "*" + op: "*" + hidden: true + - where: + group: "SshPublicKeys" + op: "*" + hidden: false +``` \ No newline at end of file diff --git a/specification/compute/resource-manager/readme.cli.md b/specification/compute/resource-manager/readme.cli.md new file mode 100644 index 000000000000..179636a56760 --- /dev/null +++ b/specification/compute/resource-manager/readme.cli.md @@ -0,0 +1,4 @@ +``` yaml +# add any configuration here for all CLI languages +# refer to the faq.md for more details +``` \ No newline at end of file From 878b5b364cb6f6cee2b029b4152628a56d84fbc6 Mon Sep 17 00:00:00 2001 From: Feiyue Yu Date: Mon, 14 Dec 2020 16:09:03 +0800 Subject: [PATCH 2/3] update --- specification/compute/resource-manager/readme.az.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/specification/compute/resource-manager/readme.az.md b/specification/compute/resource-manager/readme.az.md index 4648143665ea..9f02a48939bd 100644 --- a/specification/compute/resource-manager/readme.az.md +++ b/specification/compute/resource-manager/readme.az.md @@ -2,12 +2,13 @@ These settings apply only when `--az` is specified on the command line. -``` yaml $(az) +``` yaml $(az) && $(target-mode) == "core" az: extensions: vm - namespace: azure.mgmt.vm - package-name: azure-mgmt-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" cli: cli-directive: - where: From 75ca7dbc3305946f47a60be8b8160bc9edfd8d09 Mon Sep 17 00:00:00 2001 From: Feiyue Yu Date: Tue, 15 Dec 2020 10:57:14 +0800 Subject: [PATCH 3/3] update --- specification/compute/resource-manager/readme.az.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/specification/compute/resource-manager/readme.az.md b/specification/compute/resource-manager/readme.az.md index 9f02a48939bd..2533ccb99814 100644 --- a/specification/compute/resource-manager/readme.az.md +++ b/specification/compute/resource-manager/readme.az.md @@ -19,4 +19,9 @@ cli: group: "SshPublicKeys" op: "*" hidden: false +directive: + - where: + command: vm ssh-public-key + set: + command: sshkey ``` \ No newline at end of file