Skip to content

Commit

Permalink
Updating azure-rest-api-specs\specification\compute\resource-manager\…
Browse files Browse the repository at this point in the history
…readme.az.md (Azure#13436)

* readme.az.md

* update

* fix
  • Loading branch information
qwordy authored and MirzaSikander committed Mar 22, 2021
1 parent de455b5 commit 502163b
Showing 1 changed file with 53 additions and 2 deletions.
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
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
directive:
- where:
command: vm ssh-public-key
group: vm ssh-public-key
set:
command: sshkey
group: sshkey
```

0 comments on commit 502163b

Please sign in to comment.