Skip to content

Commit a95864b

Browse files
greenmsvl8163264128Victor LiuWodansSonworldhello126
authored
Update redisenterprise readme files for Azure CLI (#13083)
* 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>
1 parent 5cdf211 commit a95864b

File tree

2 files changed

+94
-15
lines changed

2 files changed

+94
-15
lines changed

specification/redisenterprise/resource-manager/readme.az.md

Lines changed: 64 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -21,30 +21,82 @@ python-sdk-output-folder: "$(az-output-folder)/vendored_sdks/redisenterprise"
2121
2222
Additional configuration specific for Azure CLI
2323
24-
``` yaml
24+
``` yaml $(az)
2525
extension-mode: stable
2626

27+
directive:
28+
- where:
29+
group: redisenterprise redis-enterprise
30+
set:
31+
group: redisenterprise
32+
- where:
33+
command: redisenterprise database list-key
34+
set:
35+
command: redisenterprise database list-keys
36+
2737
cli:
2838
cli-directive:
39+
- where:
40+
group: '*'
41+
op: '*'
42+
param: 'sku'
43+
cli-flatten: true
44+
- where:
45+
group: 'RedisEnterprise'
46+
op: 'Create'
47+
param: 'name'
48+
required: true
49+
- where:
50+
group: '*'
51+
op: '*'
52+
param: 'name'
53+
name: 'sku'
2954
- where:
3055
group: '*'
3156
op: '*'
3257
param: 'clusterName'
3358
alias:
34-
- cluster_name
35-
- name
36-
- n
59+
- 'cluster_name'
60+
- 'name'
61+
- 'n'
3762
- where:
3863
group: '*'
3964
op: '*'
4065
param: 'zones'
4166
alias:
42-
- zones
43-
- z
44-
45-
directive:
46-
- where:
47-
group: redisenterprise redis-enterprise
48-
set:
49-
group: redisenterprise
67+
- 'zones'
68+
- 'z'
69+
- where:
70+
group: 'Databases'
71+
op: 'Update'
72+
param: 'clusteringPolicy'
73+
hidden: true
74+
- where:
75+
group: 'Databases'
76+
op: 'Update'
77+
param: 'modules'
78+
hidden: true
79+
- where:
80+
group: 'Databases'
81+
op: 'Update'
82+
param: 'port'
83+
hidden: true
84+
- where:
85+
group: '*'
86+
op: '*'
87+
param: 'databaseName'
88+
default-value: 'default'
89+
hidden: true
90+
- where:
91+
group: 'PrivateEndpointConnections'
92+
hidden: true
93+
- where:
94+
group: 'PrivateLinkResources'
95+
hidden: true
96+
- where:
97+
group: '*'
98+
op: '*'
99+
param: 'persistence'
100+
set:
101+
extensionMode: 'preview'
50102
```
Lines changed: 30 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,31 @@
1-
``` yaml
2-
# add any configuration here for all CLI languages
3-
# refer to the faq.md for more details
1+
## CLI
2+
3+
These settings apply only when `--cli` is specified on the command line.
4+
5+
``` yaml $(cli)
6+
cli:
7+
cli-name: redisenterprise
8+
test-scenario:
9+
redisenterprise_scenario1:
10+
- name: /RedisEnterprise/put/RedisEnterpriseCreate
11+
- name: /RedisEnterprise/get/RedisEnterpriseGet
12+
- name: /RedisEnterprise/get/RedisEnterpriseList
13+
- name: /RedisEnterprise/get/RedisEnterpriseListByResourceGroup
14+
- name: /Databases/get/RedisEnterpriseDatabasesGet
15+
- name: /Databases/get/RedisEnterpriseDatabasesListByCluster
16+
- name: /Databases/post/RedisEnterpriseDatabasesListKeys
17+
- name: /Databases/post/RedisEnterpriseDatabasesRegenerateKey
18+
- name: /RedisEnterprise/delete/RedisEnterpriseDelete
19+
redisenterprise_scenario2:
20+
- name: /RedisEnterprise/put/RedisEnterpriseCreate
21+
- name: /RedisEnterprise/get/RedisEnterpriseGet
22+
- name: /RedisEnterprise/get/RedisEnterpriseList
23+
- name: /RedisEnterprise/get/RedisEnterpriseListByResourceGroup
24+
- name: /Databases/put/RedisEnterpriseDatabasesCreate
25+
- name: /Databases/get/RedisEnterpriseDatabasesGet
26+
- name: /Databases/get/RedisEnterpriseDatabasesListByCluster
27+
- name: /Databases/post/RedisEnterpriseDatabasesListKeys
28+
- name: /Databases/post/RedisEnterpriseDatabasesRegenerateKey
29+
- name: /Databases/delete/RedisEnterpriseDatabasesDelete
30+
- name: /RedisEnterprise/delete/RedisEnterpriseDelete
431
```

0 commit comments

Comments
 (0)