Skip to content

Commit

Permalink
Update redisenterprise readme files for Azure CLI (#13083)
Browse files Browse the repository at this point in the history
* Add ADLS Gen2 data source type (#12277)

* add adlsgen2

* add adlsgen2

* add custom word 'adlsgen'

Co-authored-by: Victor Liu <victliu@microsoft.com>

* add missing packages to readme.go.md (#13008)

* Correct output folder for code generation (#13022)

* [Hub Generated] Review request for Microsoft.ContainerInstance to add version stable/2021-03-01 (#12825)

* update response code from 204 to 201 for start operation

* update

* Revert "Update PR Assignment for CNY (#12850)" (#13025)

This reverts commit 827de60.

* Adding value array to Tag. (#12555)

* Add 2020-03-01-preview version to Authorization (#12691)

* authorization init 2020-03-01-preview

* authorization 2020-03-01-preview apply common types always, update examples, language

* trigger ci

* mark properties as readonly where appropriate

* fix format

* trigger ci

* Consolidating APIs in latest version[s360] (#12888)

* Consolidating APIs in latest version[s360]

* fixing additional correctness issue

* Fixing prettier

* Update

* Fixing semantic validation

Co-authored-by: Pratima Upadhyay <prupadhy@microsoft.com>

* [Microsoft.Storage] Add Jan21 api-version. (#12807)

* [Microsoft.Storage] Copy Aug20 preview version into new api-version Jan21.

* [Microsoft.Storage] Add Jan21 api-version new API changes.

* Fix api-version in swagger spec.

* Remove encryption.identity.type as it is read-only.

* Addressing PR comments.

* fix prettier check

* Add suppression for R4009. Fix remaining linter blockers.

* Re-attempt suppression on R4009.

* Suppress 4009.

* Addressing comments and fixing lintdiff syntax issue on suppression.

Co-authored-by: Zunli Hu <zuh@microsoft.com>

* Exposing RoleAssignmentApproval APIs (#12108)

* Add descriptions for errors (#11789)

* {storage} Add new api version in readme (#13034)

* add api

* refine

* [Hub Generated] Review request for Microsoft.ImportExport to add version preview/2021-01-01 (#12490)

* Adds base for updating Microsoft.ImportExport from version stable/2020-08-01 to version 2021-01-01

* Updates readme

* Updates API version in new specs and examples

* making changes to swagger for upgraded version

* prettier fix

* Incorrect tag specified assume it was a copy and paste error (#13018)

* Fix content-type in examples for ACS AUTH REST API version 2020-07-20-preview2 and 2021-03-07 (#13036)

Co-authored-by: Alexandra Lamiova Pistrakova <apistrak@microsoft.com>

* fix linter errors on x-ms-enum names (#13040)

* Correcting azure-arm to be false (#13023)

* Correcting azure-arm to be false

* Update readme.csharp.md

* Update based on comments

* Update readme.md

* ANF-8872 Fix examples for integers (#12367)

* ANF-8872 Fix examples for ints

* S360 findings

* S360 findings remove response code

* Fix authenticationid, protocoltypes

* Fix authenticationid, protocoltypes other versions

* Fix snapshotpolicy

* Fix snapshotpolicy update

* Fix snapshotpolicy update 3

* Fix protocoltype

* Fix protocoltype 07

* Remove name from volume properties, removed from service response

Co-authored-by: Audunn Baldvinsson <audunn.baldvinsson@netapp.com>

* fix readme (#13032)

* [Service Fabric Managed Clusters] Adding missing property ClusterUpgradeCadence (#12858)

* adding missing property ClusterUpgradeCadence

* change createdByType and lastModifiedAt to strings

* remove duplicate operations path

* fix sdk-net path typo

* commit to rerun automation

* remove x-ms-client-flatten for ServiceResource

* remove after_scripts automation was failing

* rename _Create to _CreateOrUpdate in apps

Co-authored-by: Alfredo Santamaria Gomez <alsantam@microsoft.com>

* AVS 2021-01-01-preview (#12879)

* use 2020-07-17-preview as base api

* 2021-01-01-preview API changes

* fix Java namespace & output-folder

* add body to Datastores_Create

* remove x-ms-azure-resource & properties suffix

* fix Datastores_Create responses

* "2021-01-01" to "2021-01-01-preview"

* Second round of updates for Azure CLI code generation

Co-authored-by: Victor Liu <vl8163264128@hotmail.com>
Co-authored-by: Victor Liu <victliu@microsoft.com>
Co-authored-by: WS <20408400+WodansSon@users.noreply.github.com>
Co-authored-by: worldhello126 <49164775+worldhello126@users.noreply.github.com>
Co-authored-by: Phoenix He <tih@microsoft.com>
Co-authored-by: Sofía Isadora Padilla Muñoz <sofisa16@gmail.com>
Co-authored-by: jdhms <77470403+jdhms@users.noreply.github.com>
Co-authored-by: Pratima Upadhyay <pratima.upadhyay02@gmail.com>
Co-authored-by: Pratima Upadhyay <prupadhy@microsoft.com>
Co-authored-by: Anthony Kunnel Jose <antjo@microsoft.com>
Co-authored-by: Zunli Hu <zuh@microsoft.com>
Co-authored-by: Shubham Gupta <shugup@microsoft.com>
Co-authored-by: Yang Yuan <yangyuan@users.noreply.github.com>
Co-authored-by: nivats <41890611+nivats@users.noreply.github.com>
Co-authored-by: Taliesin Sisson <taliesins@yahoo.com>
Co-authored-by: alexandra142 <alex.pistrakova@gmail.com>
Co-authored-by: Alexandra Lamiova Pistrakova <apistrak@microsoft.com>
Co-authored-by: ahermas <68354927+ahermas@users.noreply.github.com>
Co-authored-by: bquantump <53361486+bquantump@users.noreply.github.com>
Co-authored-by: Auðunn <audunn@netapp.com>
Co-authored-by: Audunn Baldvinsson <audunn.baldvinsson@netapp.com>
Co-authored-by: Yunge Zhu <yungez@microsoft.com>
Co-authored-by: Alfredo Santamaria <chino.sebastian@gmail.com>
Co-authored-by: Alfredo Santamaria Gomez <alsantam@microsoft.com>
Co-authored-by: Cameron Taggart <cameron.taggart@microsoft.com>
  • Loading branch information
1 parent 5cdf211 commit a95864b
Show file tree
Hide file tree
Showing 2 changed files with 94 additions and 15 deletions.
76 changes: 64 additions & 12 deletions specification/redisenterprise/resource-manager/readme.az.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,30 +21,82 @@ python-sdk-output-folder: "$(az-output-folder)/vendored_sdks/redisenterprise"
Additional configuration specific for Azure CLI
``` yaml
``` yaml $(az)
extension-mode: stable

directive:
- where:
group: redisenterprise redis-enterprise
set:
group: redisenterprise
- where:
command: redisenterprise database list-key
set:
command: redisenterprise database list-keys

cli:
cli-directive:
- where:
group: '*'
op: '*'
param: 'sku'
cli-flatten: true
- where:
group: 'RedisEnterprise'
op: 'Create'
param: 'name'
required: true
- where:
group: '*'
op: '*'
param: 'name'
name: 'sku'
- where:
group: '*'
op: '*'
param: 'clusterName'
alias:
- cluster_name
- name
- n
- 'cluster_name'
- 'name'
- 'n'
- where:
group: '*'
op: '*'
param: 'zones'
alias:
- zones
- z

directive:
- where:
group: redisenterprise redis-enterprise
set:
group: redisenterprise
- 'zones'
- 'z'
- where:
group: 'Databases'
op: 'Update'
param: 'clusteringPolicy'
hidden: true
- where:
group: 'Databases'
op: 'Update'
param: 'modules'
hidden: true
- where:
group: 'Databases'
op: 'Update'
param: 'port'
hidden: true
- where:
group: '*'
op: '*'
param: 'databaseName'
default-value: 'default'
hidden: true
- where:
group: 'PrivateEndpointConnections'
hidden: true
- where:
group: 'PrivateLinkResources'
hidden: true
- where:
group: '*'
op: '*'
param: 'persistence'
set:
extensionMode: 'preview'
```
33 changes: 30 additions & 3 deletions specification/redisenterprise/resource-manager/readme.cli.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,31 @@
``` yaml
# add any configuration here for all CLI languages
# refer to the faq.md for more details
## CLI

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

``` yaml $(cli)
cli:
cli-name: redisenterprise
test-scenario:
redisenterprise_scenario1:
- name: /RedisEnterprise/put/RedisEnterpriseCreate
- name: /RedisEnterprise/get/RedisEnterpriseGet
- name: /RedisEnterprise/get/RedisEnterpriseList
- name: /RedisEnterprise/get/RedisEnterpriseListByResourceGroup
- name: /Databases/get/RedisEnterpriseDatabasesGet
- name: /Databases/get/RedisEnterpriseDatabasesListByCluster
- name: /Databases/post/RedisEnterpriseDatabasesListKeys
- name: /Databases/post/RedisEnterpriseDatabasesRegenerateKey
- name: /RedisEnterprise/delete/RedisEnterpriseDelete
redisenterprise_scenario2:
- name: /RedisEnterprise/put/RedisEnterpriseCreate
- name: /RedisEnterprise/get/RedisEnterpriseGet
- name: /RedisEnterprise/get/RedisEnterpriseList
- name: /RedisEnterprise/get/RedisEnterpriseListByResourceGroup
- name: /Databases/put/RedisEnterpriseDatabasesCreate
- name: /Databases/get/RedisEnterpriseDatabasesGet
- name: /Databases/get/RedisEnterpriseDatabasesListByCluster
- name: /Databases/post/RedisEnterpriseDatabasesListKeys
- name: /Databases/post/RedisEnterpriseDatabasesRegenerateKey
- name: /Databases/delete/RedisEnterpriseDatabasesDelete
- name: /RedisEnterprise/delete/RedisEnterpriseDelete
```

0 comments on commit a95864b

Please sign in to comment.