-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
API 2023-04-01: A new property "storage-subscription-id" added in red…
…isConfiguration (#23726) * Adds base for updating Microsoft.Cache from version stable/2022-06-01 to version 2023-04-01 * Updates readme * Updates API version in new specs and examples * Added new storage-subscription-id parameter for api version 2023-04-01 * test examples modified with new parameter * Post review rephrasing of new parameter desc. * Trigger Build
- Loading branch information
1 parent
e7e775e
commit fd36ce7
Showing
36 changed files
with
5,164 additions
and
2 deletions.
There are no files selected for viewing
22 changes: 22 additions & 0 deletions
22
...ce-manager/Microsoft.Cache/stable/2023-04-01/examples/RedisCacheAsyncOperationStatus.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"parameters": { | ||
"location": "East US", | ||
"api-version": "2023-04-01", | ||
"subscriptionId": "subid", | ||
"operationId": "c7ba2bf5-5939-4d79-b037-2964ccf097da" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/subid/providers/Microsoft.Cache/locations/East US/asyncOperations/c7ba2bf5-5939-4d79-b037-2964ccf097da", | ||
"name": "c7ba2bf5-5939-4d79-b037-2964ccf097da", | ||
"status": "Succeeded", | ||
"startTime": null, | ||
"endTime": null, | ||
"percentComplete": null, | ||
"properties": null, | ||
"error": null | ||
} | ||
} | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
...e-manager/Microsoft.Cache/stable/2023-04-01/examples/RedisCacheCheckNameAvailability.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-04-01", | ||
"subscriptionId": "subid", | ||
"parameters": { | ||
"type": "Microsoft.Cache/Redis", | ||
"name": "cacheName" | ||
} | ||
}, | ||
"responses": { | ||
"200": {} | ||
} | ||
} |
205 changes: 205 additions & 0 deletions
205
...n/redis/resource-manager/Microsoft.Cache/stable/2023-04-01/examples/RedisCacheCreate.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,205 @@ | ||
{ | ||
"parameters": { | ||
"name": "cache1", | ||
"resourceGroupName": "rg1", | ||
"api-version": "2023-04-01", | ||
"subscriptionId": "subid", | ||
"parameters": { | ||
"location": "West US", | ||
"zones": [ | ||
"1" | ||
], | ||
"properties": { | ||
"sku": { | ||
"name": "Premium", | ||
"family": "P", | ||
"capacity": 1 | ||
}, | ||
"redisVersion": "4", | ||
"enableNonSslPort": true, | ||
"shardCount": 2, | ||
"replicasPerPrimary": 2, | ||
"redisConfiguration": { | ||
"maxmemory-policy": "allkeys-lru" | ||
}, | ||
"subnetId": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/network1/subnets/subnet1", | ||
"staticIP": "192.168.0.5", | ||
"minimumTlsVersion": "1.2" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cache/Redis/cache1", | ||
"location": "West US", | ||
"zones": [ | ||
"1" | ||
], | ||
"name": "cache1", | ||
"type": "Microsoft.Cache/Redis", | ||
"tags": {}, | ||
"properties": { | ||
"accessKeys": { | ||
"primaryKey": "<primaryKey>", | ||
"secondaryKey": "<secondaryKey>" | ||
}, | ||
"provisioningState": "Succeeded", | ||
"redisVersion": "4.0.14", | ||
"sku": { | ||
"name": "Premium", | ||
"family": "P", | ||
"capacity": 1 | ||
}, | ||
"enableNonSslPort": false, | ||
"replicasPerMaster": 2, | ||
"replicasPerPrimary": 2, | ||
"redisConfiguration": { | ||
"maxmemory-policy": "allkeys-lru" | ||
}, | ||
"hostName": "cache1.redis.cache.windows.net", | ||
"port": 6379, | ||
"sslPort": 6380, | ||
"minimumTlsVersion": "1.2", | ||
"instances": [ | ||
{ | ||
"sslPort": 15000, | ||
"nonSslPort": 13000, | ||
"zone": "1", | ||
"shardId": 0, | ||
"isMaster": true, | ||
"isPrimary": true | ||
}, | ||
{ | ||
"sslPort": 15001, | ||
"nonSslPort": 13001, | ||
"zone": "1", | ||
"shardId": 0, | ||
"isMaster": false, | ||
"isPrimary": false | ||
}, | ||
{ | ||
"sslPort": 15002, | ||
"nonSslPort": 13002, | ||
"zone": "1", | ||
"shardId": 0, | ||
"isMaster": false, | ||
"isPrimary": false | ||
}, | ||
{ | ||
"sslPort": 15003, | ||
"nonSslPort": 13003, | ||
"zone": "1", | ||
"shardId": 1, | ||
"isMaster": true, | ||
"isPrimary": true | ||
}, | ||
{ | ||
"sslPort": 15004, | ||
"nonSslPort": 13004, | ||
"zone": "1", | ||
"shardId": 1, | ||
"isMaster": false, | ||
"isPrimary": false | ||
}, | ||
{ | ||
"sslPort": 15005, | ||
"nonSslPort": 13005, | ||
"zone": "1", | ||
"shardId": 1, | ||
"isMaster": false, | ||
"isPrimary": false | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cache/Redis/cache1", | ||
"location": "West US", | ||
"zones": [ | ||
"1" | ||
], | ||
"name": "cache1", | ||
"type": "Microsoft.Cache/Redis", | ||
"tags": {}, | ||
"properties": { | ||
"accessKeys": { | ||
"primaryKey": "<primaryKey>", | ||
"secondaryKey": "<secondaryKey>" | ||
}, | ||
"provisioningState": "Succeeded", | ||
"redisVersion": "4.0.14", | ||
"sku": { | ||
"name": "Premium", | ||
"family": "P", | ||
"capacity": 1 | ||
}, | ||
"enableNonSslPort": false, | ||
"replicasPerMaster": 2, | ||
"replicasPerPrimary": 2, | ||
"redisConfiguration": { | ||
"maxclients": "1000", | ||
"maxmemory-reserved": "50", | ||
"maxmemory-delta": "50" | ||
}, | ||
"hostName": "cache1.redis.cache.windows.net", | ||
"port": 6379, | ||
"sslPort": 6380, | ||
"minimumTlsVersion": "1.2", | ||
"instances": [ | ||
{ | ||
"sslPort": 15000, | ||
"nonSslPort": 13000, | ||
"zone": "1", | ||
"shardId": 0, | ||
"isMaster": true, | ||
"isPrimary": true | ||
}, | ||
{ | ||
"sslPort": 15001, | ||
"nonSslPort": 13001, | ||
"zone": "1", | ||
"shardId": 0, | ||
"isMaster": false, | ||
"isPrimary": false | ||
}, | ||
{ | ||
"sslPort": 15002, | ||
"nonSslPort": 13002, | ||
"zone": "1", | ||
"shardId": 0, | ||
"isMaster": false, | ||
"isPrimary": false | ||
}, | ||
{ | ||
"sslPort": 15003, | ||
"nonSslPort": 13003, | ||
"zone": "1", | ||
"shardId": 1, | ||
"isMaster": true, | ||
"isPrimary": true | ||
}, | ||
{ | ||
"sslPort": 15004, | ||
"nonSslPort": 13004, | ||
"zone": "1", | ||
"shardId": 1, | ||
"isMaster": false, | ||
"isPrimary": false | ||
}, | ||
{ | ||
"sslPort": 15005, | ||
"nonSslPort": 13005, | ||
"zone": "1", | ||
"shardId": 1, | ||
"isMaster": false, | ||
"isPrimary": false | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.