Skip to content

Commit

Permalink
Connected machine az cli (Azure#10640)
Browse files Browse the repository at this point in the history
  • Loading branch information
TylerLeonhardt authored and nitegupt committed Sep 25, 2020
1 parent ea24add commit dcf40f4
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 12 deletions.
23 changes: 23 additions & 0 deletions specification/hybridcompute/resource-manager/readme.az.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# AZ HybridCompute

These settings apply only when `--az` is specified on the command line.

``` yaml $(az)
az:
extensions: connectedmachine
namespace: azure.mgmt.connectedmachine
package-name: azure-mgmt-connectedmachine
az-output-folder: $(azure-cli-extension-folder)/src/connectedmachine
python-sdk-output-folder: "$(az-output-folder)/azext_connectedmachine/vendored_sdks/connectedmachine"
directive:
- where:
subject: MachineExtension
parameter-name: name
set:
parameter-name: machine-name
- where:
subject: MachineExtension
parameter-name: extension-name
set:
parameter-name: name
```
17 changes: 5 additions & 12 deletions specification/hybridcompute/resource-manager/readme.cli.md
Original file line number Diff line number Diff line change
@@ -1,27 +1,20 @@
<!-- region Generated -->
# Dns
This directory contains the Cli common model for the Dns service.
# CLI HybridCompute

This directory contains the Cli common model for the Hybrid Compute service.

> Metadata
``` yaml
# Migrated from Powershell's readme

title: 'ConnectedMachine'

cli:
cli-directive:
- select: 'operationGroup'
where:
operatoinGroup: 'operations'
operationGroup: 'operations'
hidden: true
- select: 'operation'
where:
operationGroup: 'machines'
operation: '(reconnect|createOrUpdate|update)'
removed: true
- select: 'operation'
where:
operationGroup: 'machineExtensions'
operation: '(createOrUpdate|update|delete|get|list)'
removed: true
```
```
5 changes: 5 additions & 0 deletions specification/hybridcompute/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ swagger-to-sdk:
- repo: azure-sdk-for-java
- repo: azure-sdk-for-go
- repo: azure-sdk-for-js
- repo: azure-cli-extensions
- repo: azure-resource-manager-schemas
after_scripts:
- node sdkauto_afterscript.js hybridcompute/resource-manager
Expand All @@ -111,6 +112,10 @@ swagger-to-sdk:

See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md)

## az CLI

See configuration in [readme.az.md](./readme.az.md) and [readme.cli.md](./readme.cli.md)

## C#

See configuration in [readme.csharp.md](./readme.csharp.md)
Expand Down

0 comments on commit dcf40f4

Please sign in to comment.