diff --git a/specification/communication/resource-manager/readme.az.md b/specification/communication/resource-manager/readme.az.md new file mode 100644 index 000000000000..100de551bd7f --- /dev/null +++ b/specification/communication/resource-manager/readme.az.md @@ -0,0 +1,42 @@ +## AZ + +These settings apply only when `--az` is specified on the command line. + +``` yaml $(az) && $(target-mode) != 'core' +az: + extensions: communication + namespace: azure.mgmt.communication + package-name: azure-mgmt-communication +az-output-folder: $(azure-cli-extension-folder)/src/communication +python-sdk-output-folder: "$(az-output-folder)/azext_communication/vendored_sdks/communication" +# add additinal configuration here specific for Azure CLI +# refer to the faq.md for more details +``` + +# Az.Communication + +``` yaml +extension-mode: preview + +cli: + cli-directive: + +# -------- CommunicationService -------- + - where: + group: CommunicationService + set: + name: service + - where: + group: CommunicationService + param: CommunicationServiceName + name: name + alias: + - name + - n + +# -------- OperationStatuses -------- + - where: + group: OperationStatuses + set: + name: status +``` diff --git a/specification/communication/resource-manager/readme.cli.md b/specification/communication/resource-manager/readme.cli.md new file mode 100644 index 000000000000..73709bacea41 --- /dev/null +++ b/specification/communication/resource-manager/readme.cli.md @@ -0,0 +1,9 @@ + +# Az.Communication +This directory contains the Cli common model for the Spool Communication service. + +> Metadata +``` yaml +# Migrated from Powershell's readme + +``` diff --git a/specification/communication/resource-manager/readme.md b/specification/communication/resource-manager/readme.md index ecbda968e72b..7a2e2d116712 100644 --- a/specification/communication/resource-manager/readme.md +++ b/specification/communication/resource-manager/readme.md @@ -55,6 +55,7 @@ swagger-to-sdk: - repo: azure-sdk-for-go - repo: azure-sdk-for-js - repo: azure-sdk-for-java + - repo: azure-cli-extensions ``` ## CSharp diff --git a/specification/communication/resource-manager/readme.python.md b/specification/communication/resource-manager/readme.python.md index 18112d3b5145..74a33158e6ad 100644 --- a/specification/communication/resource-manager/readme.python.md +++ b/specification/communication/resource-manager/readme.python.md @@ -17,6 +17,19 @@ python: clear-output-folder: true ``` +``` yaml $(python) && $(python-mode) == 'update' && !$(track2) +python: + no-namespace-folders: true + output-folder: $(python-sdks-folder)/communication/azure-mgmt-communication/azure/mgmt/communication +``` + +``` yaml $(python) && $(python-mode) == 'create' && !$(track2) +python: + basic-setup-py: true + output-folder: $(python-sdks-folder)/communication/azure/mgmt/communication +``` + + These settings apply only when `--track2` is specified on the command line. ``` yaml $(track2) @@ -27,18 +40,12 @@ no-namespace-folders: true package-version: 1.0.0rc1 ``` -```yaml $(python) && $(python-mode) == 'update' -python: - no-namespace-folders: true - output-folder: $(python-sdks-folder)/communication/azure-mgmt-communication/azure/mgmt/communication +```yaml $(python) && $(python-mode) == 'update' && $(track2) no-namespace-folders: true output-folder: $(python-sdks-folder)/communication/azure-mgmt-communication/azure/mgmt/communication ``` -```yaml $(python) && $(python-mode) == 'create' -python: - basic-setup-py: true - output-folder: $(python-sdks-folder)/communication/azure-mgmt-communication +```yaml $(python) && $(python-mode) == 'create' && $(track2) basic-setup-py: true -output-folder: $(python-sdks-folder)/communication/azure-mgmt-communication +output-folder: $(python-sdks-folder)/communication/azure/mgmt/communication ```