Skip to content

Commit

Permalink
add config
Browse files Browse the repository at this point in the history
  • Loading branch information
Juliehzl committed Feb 19, 2021
1 parent 2462300 commit 8fd86ab
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 1 deletion.
27 changes: 27 additions & 0 deletions specification/storagepool/resource-manager/readme.az.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
## AZ

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

``` yaml $(az)
az:
extensions: diskpool
namespace: azure.mgmt.storagepool
package-name: azure-mgmt-storagepool
az-output-folder: $(azure-cli-extension-folder)/src/diskpool
python-sdk-output-folder: "$(az-output-folder)/azext_diskpool/vendored_sdks/storagepool"
# add additinal configuration here specific for Azure CLI
# refer to the faq.md for more details
```

## Az.DiskPool

``` yaml
cli:
cli-directive:
- where:
param: disks
set:
positional: true
positionalKeys:
- id
```
13 changes: 13 additions & 0 deletions specification/storagepool/resource-manager/readme.cli.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
``` yaml
# add any configuration here for all CLI languages
# refer to the faq.md for more details
directive:
- where:
group: diskpool disk-pool
set:
group: disk-pool
- where:
group: diskpool iscsi-target
set:
group: disk-pool iscsi-target
```
3 changes: 2 additions & 1 deletion specification/storagepool/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,14 @@ This is not used by Autorest itself.

```yaml $(swagger-to-sdk)
swagger-to-sdk:
- repo: azure-sdk-for-net
- repo: azure-sdk-for-python
- repo: azure-sdk-for-java
- repo: azure-sdk-for-go
- repo: azure-sdk-for-js
- repo: azure-sdk-for-ruby
after_scripts:
- bundle install && rake arm:regen_all_profiles['azure_mgmt_storagepool']
- repo: azure-cli
```

## Go
Expand Down

0 comments on commit 8fd86ab

Please sign in to comment.