Skip to content

Commit

Permalink
[Hub Generated] Review request for Microsoft.HybridCompute to add ver…
Browse files Browse the repository at this point in the history
…sion stable/2020-08-02 (Azure#11285)

* try to rename the command

* renamed a submodule

* try out another renaming

* update

* update

* update

* update

* update

* reverted a change

* updated cli md

* removed test scenarios and modified specs

* renamed type_properties_type

* fixed typo
  • Loading branch information
dorothyhu authored and mkarmark committed Jul 20, 2021
1 parent 9eccb50 commit f54b761
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@
}
},
"x-ms-examples": {
"List Machines by resource group": {
"List Machines by subscription": {
"$ref": "./examples/Machines_ListBySubscription.json"
}
},
Expand Down Expand Up @@ -402,7 +402,7 @@
}
},
"x-ms-examples": {
"Create or Update a Machine Extension": {
"Create or Update a Machine Extension (PUT)": {
"$ref": "./examples/PUTExtension.json"
}
},
Expand Down Expand Up @@ -464,7 +464,7 @@
}
},
"x-ms-examples": {
"Create or Update a Machine Extension": {
"Create or Update a Machine Extension (PATCH)": {
"$ref": "./examples/UpdateExtension.json"
}
},
Expand Down
13 changes: 13 additions & 0 deletions specification/hybridcompute/resource-manager/readme.az.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,17 @@ directive:
parameter-name: extension-name
set:
parameter-name: name
- where:
subject: MachineExtension
parameter-name: type-properties-type
set:
parameter-name: type
- where:
group: connectedmachine machine$
set:
group: connectedmachine
- where:
group: connectedmachine machine-extension$
set:
group: connectedmachine extension
```
42 changes: 21 additions & 21 deletions specification/hybridcompute/resource-manager/readme.cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,25 +7,25 @@ This directory contains the Cli common model for the Hybrid Compute service.
title: 'ConnectedMachine'

cli:
cli-directive:
- select: 'operationGroup'
where:
operationGroup: 'operations'
hidden: true
- select: 'operation'
where:
operationGroup: 'machines'
operation: '(reconnect|createOrUpdate|update)'
removed: true
- where:
param: 'autoUpgradeMinorVersion'
alias:
- auto_upgrade_minor
- where:
operationGroup: 'machineExtensions'
param: 'extensionName'
alias:
- n
- extension_name
- name
cli-directive:
- select: 'operationGroup'
where:
operationGroup: 'operations'
hidden: true
- select: 'operation'
where:
operationGroup: 'machines'
operation: '(reconnect|createOrUpdate|update)'
removed: true
- where:
param: 'autoUpgradeMinorVersion'
alias:
- auto_upgrade_minor
- where:
operationGroup: 'machineExtensions'
param: 'extensionName'
alias:
- n
- extension_name
- name
```

0 comments on commit f54b761

Please sign in to comment.