forked from Azure/azure-rest-api-specs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Hub Generated] Review request for Microsoft.Cache to add version sta…
…ble/2022-01-01 (Azure#17437) * Adds base for updating Microsoft.Cache from version stable/2021-08-01 to version 2022-01-01 * Updates readme * Updates API version in new specs and examples * Add 2022-01-01 API version for redisenterprise which includes non-preview support for Active Geo Replication * Add missing example file for 2022-01-01 redisenterprise version * Add missing type properties to 2022-01-01 api version of redisenterprise * Add example for operations list action for redisenterprise * Fix api version in redisenterprise OperationsList example * Remove extra property from OperationsList redisenterprise example * Fix formatting of OperationList.json
- Loading branch information
Showing
26 changed files
with
2,732 additions
and
2 deletions.
There are no files selected for viewing
31 changes: 31 additions & 0 deletions
31
...nterprise/resource-manager/Microsoft.Cache/stable/2022-01-01/examples/OperationsList.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,31 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-03-01" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"name": "Microsoft.Cache/redisEnterprise/read", | ||
"display": { | ||
"provider": "Microsoft Cache", | ||
"resource": "Redis Enterprise cache", | ||
"operation": "Manage Redis Enterprise cache (read)", | ||
"description": "View the Redis Enterprise cache's settings and configuration in the management portal" | ||
} | ||
}, | ||
{ | ||
"name": "Microsoft.Cache/redisEnterprise/write", | ||
"display": { | ||
"provider": "Microsoft Cache", | ||
"resource": "Redis Enterprise cache", | ||
"operation": "Manage Redis Enterprise cache (write)", | ||
"description": "Modify the Redis Enterprise cache's settings and configuration in the management portal" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
19 changes: 19 additions & 0 deletions
19
...rise/resource-manager/Microsoft.Cache/stable/2022-01-01/examples/OperationsStatusGet.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,19 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "subid", | ||
"location": "West US", | ||
"operationId": "testoperationid", | ||
"api-version": "2022-01-01" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/subid/providers/Microsoft.Cache/locations/westus/operationsStatus/testoperationid", | ||
"name": "testoperationid", | ||
"startTime": "2017-01-01T13:13:13.933Z", | ||
"endTime": "2017-01-01T16:13:13.933Z", | ||
"status": "Succeeded" | ||
} | ||
} | ||
} | ||
} |
82 changes: 82 additions & 0 deletions
82
...se/resource-manager/Microsoft.Cache/stable/2022-01-01/examples/RedisEnterpriseCreate.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,82 @@ | ||
{ | ||
"parameters": { | ||
"clusterName": "cache1", | ||
"resourceGroupName": "rg1", | ||
"api-version": "2022-01-01", | ||
"subscriptionId": "subid", | ||
"parameters": { | ||
"location": "West US", | ||
"sku": { | ||
"name": "EnterpriseFlash_F300", | ||
"capacity": 3 | ||
}, | ||
"zones": [ | ||
"1", | ||
"2", | ||
"3" | ||
], | ||
"properties": { | ||
"minimumTlsVersion": "1.2" | ||
}, | ||
"tags": { | ||
"tag1": "value1" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"201": { | ||
"body": { | ||
"name": "cache1", | ||
"type": "Microsoft.Cache/redisEnterprise", | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cache/redisEnterprise/cache1", | ||
"location": "West US", | ||
"sku": { | ||
"name": "EnterpriseFlash_F300", | ||
"capacity": 3 | ||
}, | ||
"zones": [ | ||
"1", | ||
"2", | ||
"3" | ||
], | ||
"properties": { | ||
"provisioningState": "Creating", | ||
"resourceState": "Creating", | ||
"hostName": "cache1.westus.something.azure.net", | ||
"redisVersion": "5", | ||
"minimumTlsVersion": "1.2" | ||
}, | ||
"tags": { | ||
"tag1": "value1" | ||
} | ||
} | ||
}, | ||
"200": { | ||
"body": { | ||
"name": "cache1", | ||
"type": "Microsoft.Cache/redisEnterprise", | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cache/redisEnterprise/cache1", | ||
"location": "West US", | ||
"sku": { | ||
"name": "EnterpriseFlash_F300", | ||
"capacity": 3 | ||
}, | ||
"zones": [ | ||
"1", | ||
"2", | ||
"3" | ||
], | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"resourceState": "Running", | ||
"hostName": "cache1.westus.something.azure.net", | ||
"redisVersion": "5", | ||
"minimumTlsVersion": "1.2" | ||
}, | ||
"tags": { | ||
"tag1": "value1" | ||
} | ||
} | ||
} | ||
} | ||
} |
108 changes: 108 additions & 0 deletions
108
...ce-manager/Microsoft.Cache/stable/2022-01-01/examples/RedisEnterpriseDatabasesCreate.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,108 @@ | ||
{ | ||
"parameters": { | ||
"databaseName": "default", | ||
"clusterName": "cache1", | ||
"resourceGroupName": "rg1", | ||
"api-version": "2022-01-01", | ||
"subscriptionId": "subid", | ||
"parameters": { | ||
"properties": { | ||
"clientProtocol": "Encrypted", | ||
"clusteringPolicy": "EnterpriseCluster", | ||
"evictionPolicy": "AllKeysLRU", | ||
"persistence": { | ||
"aofEnabled": true, | ||
"aofFrequency": "1s" | ||
}, | ||
"port": 10000, | ||
"modules": [ | ||
{ | ||
"name": "RedisBloom", | ||
"args": "ERROR_RATE 0.00 INITIAL_SIZE 400" | ||
}, | ||
{ | ||
"name": "RedisTimeSeries", | ||
"args": "RETENTION_POLICY 20" | ||
}, | ||
{ | ||
"name": "RediSearch" | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cache/redisEnterprise/cache1/databases/default", | ||
"name": "cache1/default", | ||
"type": "Microsoft.Cache/redisEnterprise/databases", | ||
"properties": { | ||
"provisioningState": "Updating", | ||
"resourceState": "Updating", | ||
"clientProtocol": "Encrypted", | ||
"clusteringPolicy": "EnterpriseCluster", | ||
"evictionPolicy": "AllKeysLRU", | ||
"persistence": { | ||
"aofEnabled": true, | ||
"aofFrequency": "1s" | ||
}, | ||
"port": 10000, | ||
"modules": [ | ||
{ | ||
"name": "RedisBloom", | ||
"args": "ERROR_RATE 0.00 INITIAL_SIZE 400", | ||
"version": "1.0.0" | ||
}, | ||
{ | ||
"name": "RedisTimeSeries", | ||
"args": "RETENTION_POLICY 20", | ||
"version": "1.0.0" | ||
}, | ||
{ | ||
"name": "RediSearch", | ||
"args": "", | ||
"version": "1.0.0" | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cache/redisEnterprise/cache1/databases/db1", | ||
"name": "cache1/db1", | ||
"type": "Microsoft.Cache/redisEnterprise/databases", | ||
"properties": { | ||
"provisioningState": "Creating", | ||
"resourceState": "Creating", | ||
"clientProtocol": "Encrypted", | ||
"clusteringPolicy": "EnterpriseCluster", | ||
"evictionPolicy": "AllKeysLRU", | ||
"persistence": { | ||
"aofEnabled": true, | ||
"aofFrequency": "1s" | ||
}, | ||
"port": 10000, | ||
"modules": [ | ||
{ | ||
"name": "RedisBloom", | ||
"args": "ERROR_RATE 0.00 INITIAL_SIZE 400", | ||
"version": "1.0.0" | ||
}, | ||
{ | ||
"name": "RedisTimeSeries", | ||
"args": "RETENTION_POLICY 20", | ||
"version": "1.0.0" | ||
}, | ||
{ | ||
"name": "RediSearch", | ||
"args": "", | ||
"version": "1.0.0" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |
86 changes: 86 additions & 0 deletions
86
...ft.Cache/stable/2022-01-01/examples/RedisEnterpriseDatabasesCreateWithGeoReplication.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,86 @@ | ||
{ | ||
"parameters": { | ||
"databaseName": "default", | ||
"clusterName": "cache1", | ||
"resourceGroupName": "rg1", | ||
"api-version": "2021-02-01-preview", | ||
"subscriptionId": "subid1", | ||
"parameters": { | ||
"properties": { | ||
"clientProtocol": "Encrypted", | ||
"clusteringPolicy": "EnterpriseCluster", | ||
"evictionPolicy": "NoEviction", | ||
"port": 10000, | ||
"geoReplication": { | ||
"groupNickname": "groupName", | ||
"linkedDatabases": [ | ||
{ | ||
"id": "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Cache/redisEnterprise/cache1/databases/default" | ||
}, | ||
{ | ||
"id": "/subscriptions/subid2/resourceGroups/rg2/providers/Microsoft.Cache/redisEnterprise/cache2/databases/default" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Cache/redisEnterprise/cache1/databases/default", | ||
"name": "cache1/default", | ||
"type": "Microsoft.Cache/redisEnterprise/databases", | ||
"properties": { | ||
"provisioningState": "Updating", | ||
"resourceState": "Updating", | ||
"clientProtocol": "Encrypted", | ||
"clusteringPolicy": "EnterpriseCluster", | ||
"evictionPolicy": "NoEviction", | ||
"port": 10000, | ||
"geoReplication": { | ||
"groupNickname": "groupName", | ||
"linkedDatabases": [ | ||
{ | ||
"id": "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Cache/redisEnterprise/cache1/databases/default", | ||
"state": "Linking" | ||
}, | ||
{ | ||
"id": "/subscriptions/subid2/resourceGroups/rg2/providers/Microsoft.Cache/redisEnterprise/cache2/databases/default", | ||
"state": "Linking" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Cache/redisEnterprise/cache1/databases/db1", | ||
"name": "cache1/db1", | ||
"type": "Microsoft.Cache/redisEnterprise/databases", | ||
"properties": { | ||
"provisioningState": "Creating", | ||
"resourceState": "Creating", | ||
"clientProtocol": "Plaintext", | ||
"clusteringPolicy": "EnterpriseCluster", | ||
"evictionPolicy": "NoEviction", | ||
"port": 10000, | ||
"geoReplication": { | ||
"groupNickname": "groupName", | ||
"linkedDatabases": [ | ||
{ | ||
"id": "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Cache/redisEnterprise/cache1/databases/default", | ||
"state": "Linking" | ||
}, | ||
{ | ||
"id": "/subscriptions/subid2/resourceGroups/rg2/providers/Microsoft.Cache/redisEnterprise/cache2/databases/default", | ||
"state": "Linking" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
19 changes: 19 additions & 0 deletions
19
...ce-manager/Microsoft.Cache/stable/2022-01-01/examples/RedisEnterpriseDatabasesDelete.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,19 @@ | ||
{ | ||
"parameters": { | ||
"databaseName": "db1", | ||
"clusterName": "cache1", | ||
"resourceGroupName": "rg1", | ||
"api-version": "2022-01-01", | ||
"subscriptionId": "subid" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"202": { | ||
"headers": { | ||
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Cache/...pathToOperationStatus...", | ||
"Location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Cache/...pathToOperationResult..." | ||
} | ||
}, | ||
"204": {} | ||
} | ||
} |
21 changes: 21 additions & 0 deletions
21
...ce-manager/Microsoft.Cache/stable/2022-01-01/examples/RedisEnterpriseDatabasesExport.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,21 @@ | ||
{ | ||
"parameters": { | ||
"databaseName": "default", | ||
"clusterName": "cache1", | ||
"resourceGroupName": "rg1", | ||
"api-version": "2022-01-01", | ||
"subscriptionId": "subid", | ||
"parameters": { | ||
"sasUri": "https://contosostorage.blob.core.window.net/urlToBlobContainer?sasKeyParameters" | ||
} | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"202": { | ||
"headers": { | ||
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Cache/...pathToOperationStatus...", | ||
"Location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Cache/...pathToOperationResult..." | ||
} | ||
} | ||
} | ||
} |
22 changes: 22 additions & 0 deletions
22
...nager/Microsoft.Cache/stable/2022-01-01/examples/RedisEnterpriseDatabasesForceUnlink.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": { | ||
"databaseName": "default", | ||
"clusterName": "cache1", | ||
"resourceGroupName": "rg1", | ||
"api-version": "2021-02-01-preview", | ||
"subscriptionId": "subid", | ||
"parameters": { | ||
"ids": [ | ||
"/subscriptions/subid2/resourceGroups/rg2/providers/Microsoft.Cache/redisEnterprise/cache2/databases/default" | ||
] | ||
} | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"202": { | ||
"headers": { | ||
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Cache/...pathToOperationStatus..." | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.