-
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.
Dev redis microsoft.cache 2020 06 01 (#11011)
* Private link api * Change types to version 2 * Add default response to everything * Fix json positioning * Added 204 response * Added 200 status code * Added delete to linkedServer * Fixed README comments Fix readme preview label. Remove added space just in case * fixed trailing slash * Run prettier * Fixed Naming comments
- Loading branch information
1 parent
1568435
commit 8b447ea
Showing
32 changed files
with
3,753 additions
and
1 deletion.
There are no files selected for viewing
13 changes: 13 additions & 0 deletions
13
...e-manager/Microsoft.Cache/stable/2020-06-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": "2020-06-01", | ||
"subscriptionId": "subid", | ||
"parameters": { | ||
"type": "Microsoft.Cache/Redis", | ||
"name": "cacheName" | ||
} | ||
}, | ||
"responses": { | ||
"200": {} | ||
} | ||
} |
178 changes: 178 additions & 0 deletions
178
...n/redis/resource-manager/Microsoft.Cache/stable/2020-06-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,178 @@ | ||
{ | ||
"parameters": { | ||
"name": "cache1", | ||
"resourceGroupName": "rg1", | ||
"api-version": "2020-06-01", | ||
"subscriptionId": "subid", | ||
"parameters": { | ||
"location": "West US", | ||
"zones": [ | ||
"1" | ||
], | ||
"properties": { | ||
"sku": { | ||
"name": "Premium", | ||
"family": "P", | ||
"capacity": 1 | ||
}, | ||
"enableNonSslPort": true, | ||
"shardCount": 2, | ||
"replicasPerMaster": 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": "secretkey1", | ||
"secondaryKey": "secretKey2" | ||
}, | ||
"provisioningState": "Succeeded", | ||
"redisVersion": "3.0", | ||
"sku": { | ||
"name": "Premium", | ||
"family": "P", | ||
"capacity": 1 | ||
}, | ||
"enableNonSslPort": false, | ||
"replicasPerMaster": 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 | ||
}, | ||
{ | ||
"sslPort": 15001, | ||
"nonSslPort": 13001, | ||
"zone": "1", | ||
"shardId": 0 | ||
}, | ||
{ | ||
"sslPort": 15002, | ||
"nonSslPort": 13002, | ||
"zone": "1", | ||
"shardId": 0 | ||
}, | ||
{ | ||
"sslPort": 15003, | ||
"nonSslPort": 13003, | ||
"zone": "1", | ||
"shardId": 1 | ||
}, | ||
{ | ||
"sslPort": 15004, | ||
"nonSslPort": 13004, | ||
"zone": "1", | ||
"shardId": 1 | ||
}, | ||
{ | ||
"sslPort": 15005, | ||
"nonSslPort": 13005, | ||
"zone": "1", | ||
"shardId": 1 | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
"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": "secretkey1", | ||
"secondaryKey": "secretKey2" | ||
}, | ||
"provisioningState": "Succeeded", | ||
"redisVersion": "3.0", | ||
"sku": { | ||
"name": "Premium", | ||
"family": "P", | ||
"capacity": 1 | ||
}, | ||
"enableNonSslPort": false, | ||
"replicasPerMaster": 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 | ||
}, | ||
{ | ||
"sslPort": 15001, | ||
"nonSslPort": 13001, | ||
"zone": "1", | ||
"shardId": 0 | ||
}, | ||
{ | ||
"sslPort": 15002, | ||
"nonSslPort": 13002, | ||
"zone": "1", | ||
"shardId": 0 | ||
}, | ||
{ | ||
"sslPort": 15003, | ||
"nonSslPort": 13003, | ||
"zone": "1", | ||
"shardId": 1 | ||
}, | ||
{ | ||
"sslPort": 15004, | ||
"nonSslPort": 13004, | ||
"zone": "1", | ||
"shardId": 1 | ||
}, | ||
{ | ||
"sslPort": 15005, | ||
"nonSslPort": 13005, | ||
"zone": "1", | ||
"shardId": 1 | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
...n/redis/resource-manager/Microsoft.Cache/stable/2020-06-01/examples/RedisCacheDelete.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,17 @@ | ||
{ | ||
"parameters": { | ||
"name": "cache1", | ||
"resourceGroupName": "rg1", | ||
"api-version": "2020-06-01", | ||
"subscriptionId": "subid" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"202": { | ||
"headers": { | ||
"location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Cache/...pathToOperationResult..." | ||
} | ||
}, | ||
"204": {} | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
...Microsoft.Cache/stable/2020-06-01/examples/RedisCacheDeletePrivateEndpointConnection.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": { | ||
"subscriptionId": "{subscriptionId}", | ||
"resourceGroupName": "rgtest01", | ||
"cacheName": "cachetest01", | ||
"privateEndpointConnectionName": "pectest01", | ||
"api-version": "2020-06-01" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"204": {} | ||
} | ||
} |
22 changes: 22 additions & 0 deletions
22
...n/redis/resource-manager/Microsoft.Cache/stable/2020-06-01/examples/RedisCacheExport.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": { | ||
"name": "cache1", | ||
"resourceGroupName": "rg1", | ||
"api-version": "2020-06-01", | ||
"subscriptionId": "subid", | ||
"parameters": { | ||
"format": "RDB", | ||
"prefix": "datadump1", | ||
"container": "https://contosostorage.blob.core.window.net/urltoBlobContainer?sasKeyParameters" | ||
} | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"202": { | ||
"headers": { | ||
"location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Cache/...pathToOperationResult..." | ||
} | ||
}, | ||
"204": {} | ||
} | ||
} |
39 changes: 39 additions & 0 deletions
39
...urce-manager/Microsoft.Cache/stable/2020-06-01/examples/RedisCacheFirewallRuleCreate.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,39 @@ | ||
{ | ||
"parameters": { | ||
"ruleName": "rule1", | ||
"cacheName": "cache1", | ||
"resourceGroupName": "rg1", | ||
"api-version": "2020-06-01", | ||
"subscriptionId": "subid", | ||
"parameters": { | ||
"properties": { | ||
"startIP": "192.168.1.1", | ||
"endIP": "192.168.1.4" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cache/Redis/cache1/firewallRules/rule1", | ||
"name": "cache1/rule1", | ||
"type": "Microsoft.Cache/Redis/firewallRules", | ||
"properties": { | ||
"startIP": "192.168.1.1", | ||
"endIP": "192.168.1.4" | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cache/Redis/cache1/firewallRules/rule1", | ||
"name": "cache1/rule1", | ||
"type": "Microsoft.Cache/Redis/firewallRules", | ||
"properties": { | ||
"startIP": "192.168.1.1", | ||
"endIP": "192.168.1.4" | ||
} | ||
} | ||
} | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
...urce-manager/Microsoft.Cache/stable/2020-06-01/examples/RedisCacheFirewallRuleDelete.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": { | ||
"ruleName": "rule1", | ||
"cacheName": "cache1", | ||
"resourceGroupName": "rg1", | ||
"api-version": "2020-06-01", | ||
"subscriptionId": "subid" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"204": {} | ||
} | ||
} |
22 changes: 22 additions & 0 deletions
22
...esource-manager/Microsoft.Cache/stable/2020-06-01/examples/RedisCacheFirewallRuleGet.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": { | ||
"ruleName": "rule1", | ||
"cacheName": "cache1", | ||
"resourceGroupName": "rg1", | ||
"api-version": "2020-06-01", | ||
"subscriptionId": "subid" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cache/Redis/cache1/firewallRules/rule1", | ||
"name": "cache1/rule1", | ||
"type": "Microsoft.Cache/Redis/firewallRules", | ||
"properties": { | ||
"startIP": "192.168.1.1", | ||
"endIP": "192.168.1.4" | ||
} | ||
} | ||
} | ||
} | ||
} |
34 changes: 34 additions & 0 deletions
34
...ource-manager/Microsoft.Cache/stable/2020-06-01/examples/RedisCacheFirewallRulesList.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,34 @@ | ||
{ | ||
"parameters": { | ||
"cacheName": "cache1", | ||
"resourceGroupName": "rg1", | ||
"api-version": "2020-06-01", | ||
"subscriptionId": "subid" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cache/Redis/cache1/firewallRules/rule1", | ||
"name": "rule1", | ||
"type": "Microsoft.Cache/Redis/firewallRules", | ||
"properties": { | ||
"startIP": "192.168.1.1", | ||
"endIP": "192.168.1.4" | ||
} | ||
}, | ||
{ | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cache/Redis/cache1/firewallRules/rule2", | ||
"name": "rule2", | ||
"type": "Microsoft.Cache/Redis/firewallRules", | ||
"properties": { | ||
"startIP": "192.169.1.0", | ||
"endIP": "192.169.1.255" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
23 changes: 23 additions & 0 deletions
23
...is/resource-manager/Microsoft.Cache/stable/2020-06-01/examples/RedisCacheForceReboot.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,23 @@ | ||
{ | ||
"parameters": { | ||
"name": "cache1", | ||
"resourceGroupName": "rg1", | ||
"api-version": "2020-06-01", | ||
"subscriptionId": "subid", | ||
"parameters": { | ||
"shardId": 0, | ||
"rebootType": "AllNodes", | ||
"ports": [ | ||
13000, | ||
15001 | ||
] | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"message": "reboot operation enqueued" | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.