diff --git a/specification/hybridcompute/resource-manager/readme.az.md b/specification/hybridcompute/resource-manager/readme.az.md new file mode 100644 index 000000000000..fe93ce29dfae --- /dev/null +++ b/specification/hybridcompute/resource-manager/readme.az.md @@ -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 +``` diff --git a/specification/hybridcompute/resource-manager/readme.cli.md b/specification/hybridcompute/resource-manager/readme.cli.md index 98ef22df6da5..47bc1407e07e 100644 --- a/specification/hybridcompute/resource-manager/readme.cli.md +++ b/specification/hybridcompute/resource-manager/readme.cli.md @@ -1,27 +1,20 @@ - -# 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 -``` \ No newline at end of file +``` diff --git a/specification/hybridcompute/resource-manager/readme.md b/specification/hybridcompute/resource-manager/readme.md index 8a979ba5fe64..6f44b7cef442 100644 --- a/specification/hybridcompute/resource-manager/readme.md +++ b/specification/hybridcompute/resource-manager/readme.md @@ -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 @@ -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)