File tree Expand file tree Collapse file tree 6 files changed +80
-1
lines changed
specification/redisenterprise/resource-manager Expand file tree Collapse file tree 6 files changed +80
-1
lines changed Original file line number Diff line number Diff line change 1+ ## AZ
2+
3+ These settings apply only when ` --az ` is specified on the command line.
4+
5+ ``` yaml $(az) && $(target-mode) != 'core'
6+ az :
7+ extensions : redisenterprise
8+ namespace : azure.mgmt.redisenterprise
9+ package-name : azure-mgmt-redisenterprise
10+ az-output-folder : $(azure-cli-extension-folder)/src/redisenterprise
11+ python-sdk-output-folder : " $(az-output-folder)/azext_redisenterprise/vendored_sdks/redisenterprise"
12+ ` ` `
13+ ` ` ` yaml $(az) && $(target-mode) == 'core'
14+ az :
15+ extensions : redisenterprise
16+ namespace : azure.mgmt.redisenterprise
17+ package-name : azure-mgmt-redisenterprise
18+ az-output-folder : $(azure-cli-folder)/src/azure-cli/azure/cli/command_modules/redisenterprise
19+ python-sdk-output-folder : " $(az-output-folder)/vendored_sdks/redisenterprise"
20+ ` ` `
21+
22+ Additional configuration specific for Azure CLI
23+
24+ ` ` ` yaml
25+ extension-mode : stable
26+
27+ cli :
28+ cli-directive :
29+ - where :
30+ group : ' *'
31+ op : ' *'
32+ param : ' clusterName'
33+ alias :
34+ - cluster_name
35+ - name
36+ - n
37+ - where :
38+ group : ' *'
39+ op : ' *'
40+ param : ' zones'
41+ alias :
42+ - zones
43+ - z
44+
45+ directive :
46+ - where :
47+ group : redisenterprise redis-enterprise
48+ set :
49+ group : redisenterprise
50+ ` ` `
Original file line number Diff line number Diff line change @@ -6,12 +6,24 @@ These settings apply only when `--azureresourceschema` is specified on the comma
66
77``` yaml $(azureresourceschema) && $(multiapi)
88batch :
9+ - tag : schema-cache-2021-03-01
910 - tag : schema-cache-2020-10-01-preview
1011
1112```
1213
1314Please also specify ` --azureresourceschema-folder=<path to the root directory of your azure-resource-manager-schemas clone> ` .
1415
16+ ### Tag: schema-cache-2021-03-01 and azureresourceschema
17+
18+ ``` yaml $(tag) == 'schema-cache-2021-03-01' && $(azureresourceschema)
19+ output-folder : $(azureresourceschema-folder)/schemas
20+
21+ # all the input files in this apiVersion
22+ input-file :
23+ - Microsoft.Cache/stable/2021-03-01/redisenterprise.json
24+
25+ ```
26+
1527### Tag: schema-cache-2020-10-01-preview and azureresourceschema
1628
1729``` yaml $(tag) == 'schema-cache-2020-10-01-preview' && $(azureresourceschema)
Original file line number Diff line number Diff line change 1+ ``` yaml
2+ # add any configuration here for all CLI languages
3+ # refer to the faq.md for more details
4+ ```
Original file line number Diff line number Diff line change @@ -12,4 +12,15 @@ csharp:
1212 client-side-validation : false
1313 namespace : Microsoft.Azure.Management.RedisEnterprise
1414 output-folder : $(csharp-sdks-folder)/redisenterprise/Microsoft.Azure.Management.RedisEnterprise/src/Generated
15+
16+ directive :
17+ # Rename constants in the generated code
18+ - from : source-file-csharp
19+ where : $
20+ transform : >-
21+ return $.
22+ replace( /public const string Ones /g, "public const string OneSecond " ).
23+ replace( /public const string Oneh /g, "public const string OneHour " ).
24+ replace( /public const string Sixh /g, "public const string SixHours " ).
25+ replace( /public const string OneTwoh /g, "public const string TwelveHours " )
1526` ` `
Original file line number Diff line number Diff line change @@ -33,4 +33,4 @@ Please also specify `--go-sdk-folder=<path to the root directory of your azure-s
3333
3434` ` ` yaml $(tag) == 'package-2020-10-01-preview' && $(go)
3535output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2020-10-01-preview/$(namespace)
36- ` ` `
36+ ` ` `
Original file line number Diff line number Diff line change @@ -66,6 +66,8 @@ swagger-to-sdk:
6666 - repo: azure-sdk-for-ruby
6767 after_scripts:
6868 - bundle install && rake arm:regen_all_profiles['azure_mgmt_redisenterprise']
69+ - repo: azure-resource-manager-schemas
70+ - repo: azure-cli-extensions
6971` ` `
7072
7173# # Go
You can’t perform that action at this time.
0 commit comments