Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update redisenterprise readme files for Azure CLI #13083

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
7826399
Merge remote-tracking branch 'upstream/master' into master
greenms Feb 10, 2021
dd12fe8
Merge remote-tracking branch 'upstream/master' into master
greenms Feb 12, 2021
975e5c9
Merge remote-tracking branch 'upstream/master' into master
greenms Feb 17, 2021
a4ceb72
Add ADLS Gen2 data source type (#12277)
vl8163264128 Feb 17, 2021
e479059
add missing packages to readme.go.md (#13008)
WodansSon Feb 18, 2021
58a80a0
Correct output folder for code generation (#13022)
greenms Feb 18, 2021
8e7f8f1
[Hub Generated] Review request for Microsoft.ContainerInstance to add…
worldhello126 Feb 18, 2021
5fa7a3f
Revert "Update PR Assignment for CNY (#12850)" (#13025)
Feb 18, 2021
ea7034e
Adding value array to Tag. (#12555)
sofisa16 Feb 18, 2021
1ceb6c6
Add 2020-03-01-preview version to Authorization (#12691)
jdhms Feb 18, 2021
cd90117
Consolidating APIs in latest version[s360] (#12888)
pratimaupadhyay02 Feb 18, 2021
a36e0da
[Microsoft.Storage] Add Jan21 api-version. (#12807)
tonykjose Feb 18, 2021
ffaa2d4
Exposing RoleAssignmentApproval APIs (#12108)
shubhamguptacal Feb 18, 2021
2786862
Add descriptions for errors (#11789)
yangyuan Feb 18, 2021
bbd3438
{storage} Add new api version in readme (#13034)
Juliehzl Feb 18, 2021
76d311d
[Hub Generated] Review request for Microsoft.ImportExport to add vers…
nivats Feb 18, 2021
3adafdd
Incorrect tag specified assume it was a copy and paste error (#13018)
taliesins Feb 18, 2021
97101a5
Fix content-type in examples for ACS AUTH REST API version 2020-07-20…
alexandra142 Feb 18, 2021
7a9be6f
fix linter errors on x-ms-enum names (#13040)
ahermas Feb 18, 2021
05ce908
Correcting azure-arm to be false (#13023)
bquantump Feb 19, 2021
e410a41
ANF-8872 Fix examples for integers (#12367)
audunn Feb 19, 2021
4f1a1c5
fix readme (#13032)
yungezz Feb 19, 2021
e5071b4
[Service Fabric Managed Clusters] Adding missing property ClusterUpgr…
a-santamaria Feb 19, 2021
84a0a25
AVS 2021-01-01-preview (#12879)
cataggar Feb 19, 2021
2fb6ee6
Merge remote-tracking branch 'upstream/master' into master
greenms Feb 19, 2021
64d5d12
Merge remote-tracking branch 'upstream/master' into master
greenms Feb 19, 2021
59ff6ef
Second round of updates for Azure CLI code generation
greenms Feb 22, 2021
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
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
```