Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
71 changes: 71 additions & 0 deletions specification/servicebus/resource-manager/readme.cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,77 @@ This directory contains the Cli common model for the Dns service.
``` yaml
# Migrated from Powershell's readme
cli:
cli-name: servicebus
package-name: azure-mgmt-servicebus
namespace: azure.mgmt.servicebus
test-scenario:
- name: /Namespaces/put/NameSpaceCreate
- name: /Topics/put/TopicCreate
- name: /Queues/put/QueueCreate
- name: /DisasterRecoveryConfigs/put/SBAliasCreate
- name: /MigrationConfigs/put/MigrationConfigurationsStartMigration
- name: /Namespaces/put/NameSpaceNetworkRuleSetCreate
- name: /Namespaces/put/NameSpaceAuthorizationRuleCreate
- name: /Subscriptions/put/SubscriptionCreate
- name: /Queues/put/QueueAuthorizationRuleCreate
- name: /Topics/put/TopicAuthorizationRuleCreate
- name: /Rules/put/RulesCreateCorrelationFilter
- name: /Rules/put/RulesCreateSqlFilter
- name: /Rules/put/RulesCreateOrUpdate
- name: /DisasterRecoveryConfigs/get/DisasterRecoveryConfigsAuthorizationRuleGet
- name: /Rules/get/RulesGet
- name: /Topics/get/TopicAuthorizationRuleGet
- name: /Queues/get/QueueAuthorizationRuleGet
- name: /Rules/get/RulesListBySubscriptions
- name: /Subscriptions/get/SubscriptionGet
- name: /Subscriptions/get/SubscriptionListByTopic
- name: /DisasterRecoveryConfigs/get/NameSpaceAuthorizationRuleListAll
- name: /Namespaces/get/NameSpaceAuthorizationRuleGet
- name: /Namespaces/get/NameSpaceNetworkRuleSetGet
- name: /Topics/get/TopicAuthorizationRuleListAll
- name: /Queues/get/QueueAuthorizationRuleListAll
- name: /MigrationConfigs/get/MigrationConfigurationsGet
- name: /DisasterRecoveryConfigs/get/SBAliasGet
- name: /DisasterRecoveryConfigs/get/SBAliasList
- name: /Queues/get/QueueGet
- name: /Topics/get/TopicGet
- name: /MigrationConfigs/get/MigrationConfigurationsList
- name: /Namespaces/get/NameSpaceAuthorizationRuleListAll
- name: /Namespaces/get/NameSpaceNetworkRuleSetList
- name: /EventHubs/get/RulesCreateOrUpdate
- name: /Topics/get/TopicGet
- name: /Queues/get/QueueListByNameSpace
- name: /Namespaces/get/NameSpaceGet
- name: /Namespaces/get/NameSpaceListByResourceGroup
- name: /PremiumMessagingRegions/get/PremiumMessagingRegionsList
- name: /Regions/get/RegionsListBySku
- name: /Namespaces/get/NameSpaceList
- name: /Operations/get/OperationsList
- name: /DisasterRecoveryConfigs/post/DisasterRecoveryConfigsAuthorizationRuleListKey
- name: /Topics/post/TopicAuthorizationRuleRegenerateKey
- name: /Queues/post/QueueAuthorizationRuleRegenerateKey
- name: /Topics/post/TopicAuthorizationRuleListKey
- name: /Queues/post/QueueAuthorizationRuleListKey
- name: /Namespaces/post/NameSpaceAuthorizationRuleRegenerateKey
- name: /DisasterRecoveryConfigs/post/AliasNameAvailability
- name: /Namespaces/post/NameSpaceAuthorizationRuleListKey
- name: /MigrationConfigs/post/MigrationConfigurationsCompleteMigration
- name: /MigrationConfigs/post/MigrationConfigurationsRevert
- name: /DisasterRecoveryConfigs/post/SBEHAliasBreakPairing
- name: /DisasterRecoveryConfigs/post/SBAliasFailOver
- name: /Namespaces/post/NameSpaceUpdate
- name: /Namespaces/patch/NameSpaceUpdate
- name: /Namespaces/post/NameSpaceCheckNameAvailability
- name: /Rules/delete/RulesDelete
- name: /Queues/delete/QueueAuthorizationRuleDelete
- name: /Topics/delete/TopicAuthorizationRuleDelete
- name: /Subscriptions/delete/SubscriptionDelete
- name: /Namespaces/delete/NameSpaceAuthorizationRuleDelete
- name: /MigrationConfigs/delete/MigrationConfigurationsDelete
- name: /DisasterRecoveryConfigs/delete/SBAliasDelete
- name: /Topics/delete/TopicDelete
- name: /Queues/delete/QueueDelete
- name: /Namespaces/delete/NameSpaceDelete
cli-directive:
- select: 'operation'
where:
Expand Down
16 changes: 15 additions & 1 deletion specification/servicebus/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ These settings apply only when `--python` is specified on the command line.
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.
Use `--python-mode=update` if you already have a setup.py and just want to update the code itself.

``` yaml $(python)
``` yaml $(python) && !$(track2)
python-mode: create
python:
azure-arm: true
Expand All @@ -116,12 +116,26 @@ python:
package-version: 0.5.0
clear-output-folder: true
```
``` yaml $(python) && $(track2)
python-mode: create
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
namespace: azure.mgmt.servicebus
package-name: azure-mgmt-servicebus
package-version: 0.5.0
clear-output-folder: true
```

``` yaml $(python) && $(python-mode) == 'update'
no-namespace-folders: true
output-folder: $(python-sdks-folder)/servicebus/azure-mgmt-servicebus/azure/mgmt/servicebus
python:
no-namespace-folders: true
output-folder: $(python-sdks-folder)/servicebus/azure-mgmt-servicebus/azure/mgmt/servicebus
```
``` yaml $(python) && $(python-mode) == 'create'
basic-setup-py: true
output-folder: $(python-sdks-folder)/servicebus/azure-mgmt-servicebus
python:
basic-setup-py: true
output-folder: $(python-sdks-folder)/servicebus/azure-mgmt-servicebus
Expand Down