Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating azure-rest-api-specs\specification\compute\resource-manager\readme.az.md #13436

Merged
merged 4 commits into from
Mar 17, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
55 changes: 53 additions & 2 deletions specification/compute/resource-manager/readme.az.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
qwordy marked this conversation as resolved.
Show resolved Hide resolved
cli:
cli-directive:
Expand All @@ -20,14 +67,18 @@ cli:
group: "SshPublicKeys"
op: "*"
hidden: false
- where:
group: "SshPublicKeys"
op: "GenerateKeyPair"
hidden: true
- where:
group: "*"
op: "*"
param: vmName
alias: name
qwordy marked this conversation as resolved.
Show resolved Hide resolved
directive:
- where:
command: vm ssh-public-key
group: vm ssh-public-key
set:
command: sshkey
group: sshkey
```