Skip to content

Commit

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

* add adlsgen2

* add adlsgen2

* add custom word 'adlsgen'

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

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

* Correct output folder for code generation (Azure#13022)

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

* update response code from 204 to 201 for start operation

* update

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

This reverts commit 827de60.

* Adding value array to Tag. (Azure#12555)

* Add 2020-03-01-preview version to Authorization (Azure#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] (Azure#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. (Azure#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 (Azure#12108)

* Add descriptions for errors (Azure#11789)

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

* add api

* refine

* [Hub Generated] Review request for Microsoft.ImportExport to add version preview/2021-01-01 (Azure#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 (Azure#13018)

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

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

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

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

* Correcting azure-arm to be false

* Update readme.csharp.md

* Update based on comments

* Update readme.md

* ANF-8872 Fix examples for integers (Azure#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 (Azure#13032)

* [Service Fabric Managed Clusters] Adding missing property ClusterUpgradeCadence (Azure#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 (Azure#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
26 people authored and mkarmark committed Jul 20, 2021
1 parent cf915bd commit 15d0f78
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 15d0f78

Please sign in to comment.