From c864603f01c1d868dc12ce8b7812b91bb9d2665e Mon Sep 17 00:00:00 2001 From: Kanchan Joshi Date: Mon, 6 May 2024 10:00:00 +0530 Subject: [PATCH 01/11] Copy files from stable/2023-08-01 Copied the files in a separate commit. This allows reviewers to easily diff subsequent changes against the previous spec. --- ...cheAccessPolicyAssignmentCreateUpdate.json | 44 + ...edisCacheAccessPolicyAssignmentDelete.json | 18 + .../RedisCacheAccessPolicyAssignmentGet.json | 24 + .../RedisCacheAccessPolicyAssignmentList.json | 38 + .../RedisCacheAccessPolicyCreateUpdate.json | 40 + .../RedisCacheAccessPolicyDelete.json | 18 + .../examples/RedisCacheAccessPolicyGet.json | 23 + .../examples/RedisCacheAccessPolicyList.json | 36 + .../RedisCacheAsyncOperationStatus.json | 22 + .../RedisCacheCheckNameAvailability.json | 13 + .../2024-03-01/examples/RedisCacheCreate.json | 207 + .../RedisCacheCreateDefaultVersion.json | 206 + .../RedisCacheCreateLatestVersion.json | 207 + .../2024-03-01/examples/RedisCacheDelete.json | 17 + ...sCacheDeletePrivateEndpointConnection.json | 13 + .../2024-03-01/examples/RedisCacheExport.json | 23 + .../RedisCacheFirewallRuleCreate.json | 39 + .../RedisCacheFirewallRuleDelete.json | 13 + .../examples/RedisCacheFirewallRuleGet.json | 22 + .../examples/RedisCacheFirewallRulesList.json | 34 + .../2024-03-01/examples/RedisCacheFlush.json | 21 + .../examples/RedisCacheForceReboot.json | 23 + .../2024-03-01/examples/RedisCacheGet.json | 77 + ...edisCacheGetPrivateEndpointConnection.json | 29 + .../2024-03-01/examples/RedisCacheImport.json | 24 + .../RedisCacheLinkedServer_Create.json | 48 + .../RedisCacheLinkedServer_Delete.json | 17 + .../examples/RedisCacheLinkedServer_Get.json | 26 + .../examples/RedisCacheLinkedServer_List.json | 42 + .../2024-03-01/examples/RedisCacheList.json | 58 + .../RedisCacheListByResourceGroup.json | 36 + .../examples/RedisCacheListKeys.json | 16 + ...isCacheListPrivateEndpointConnections.json | 49 + .../RedisCacheListPrivateLinkResources.json | 30 + .../RedisCacheListUpgradeNotifications.json | 22 + .../examples/RedisCacheOperations.json | 643 ++++ ...edisCachePatchSchedulesCreateOrUpdate.json | 68 + .../RedisCachePatchSchedulesDelete.json | 13 + .../examples/RedisCachePatchSchedulesGet.json | 32 + .../RedisCachePatchSchedulesList.json | 35 + ...edisCachePutPrivateEndpointConnection.json | 55 + .../examples/RedisCacheRegenerateKey.json | 19 + .../2024-03-01/examples/RedisCacheUpdate.json | 127 + .../stable/2024-03-01/redis.json | 3387 +++++++++++++++++ 44 files changed, 5954 insertions(+) create mode 100644 specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyAssignmentCreateUpdate.json create mode 100644 specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyAssignmentDelete.json create mode 100644 specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyAssignmentGet.json create mode 100644 specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyAssignmentList.json create mode 100644 specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyCreateUpdate.json create mode 100644 specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyDelete.json create mode 100644 specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyGet.json create mode 100644 specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyList.json create mode 100644 specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAsyncOperationStatus.json create mode 100644 specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheCheckNameAvailability.json create mode 100644 specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheCreate.json create mode 100644 specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheCreateDefaultVersion.json create mode 100644 specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheCreateLatestVersion.json create mode 100644 specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheDelete.json create mode 100644 specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheDeletePrivateEndpointConnection.json create mode 100644 specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheExport.json create mode 100644 specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheFirewallRuleCreate.json create mode 100644 specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheFirewallRuleDelete.json create mode 100644 specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheFirewallRuleGet.json create mode 100644 specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheFirewallRulesList.json create mode 100644 specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheFlush.json create mode 100644 specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheForceReboot.json create mode 100644 specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheGet.json create mode 100644 specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheGetPrivateEndpointConnection.json create mode 100644 specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheImport.json create mode 100644 specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheLinkedServer_Create.json create mode 100644 specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheLinkedServer_Delete.json create mode 100644 specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheLinkedServer_Get.json create mode 100644 specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheLinkedServer_List.json create mode 100644 specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheList.json create mode 100644 specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheListByResourceGroup.json create mode 100644 specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheListKeys.json create mode 100644 specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheListPrivateEndpointConnections.json create mode 100644 specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheListPrivateLinkResources.json create mode 100644 specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheListUpgradeNotifications.json create mode 100644 specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheOperations.json create mode 100644 specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCachePatchSchedulesCreateOrUpdate.json create mode 100644 specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCachePatchSchedulesDelete.json create mode 100644 specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCachePatchSchedulesGet.json create mode 100644 specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCachePatchSchedulesList.json create mode 100644 specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCachePutPrivateEndpointConnection.json create mode 100644 specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheRegenerateKey.json create mode 100644 specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheUpdate.json create mode 100644 specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/redis.json diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyAssignmentCreateUpdate.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyAssignmentCreateUpdate.json new file mode 100644 index 000000000000..72867cfc2cfb --- /dev/null +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyAssignmentCreateUpdate.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "cacheName": "cache1", + "accessPolicyAssignmentName": "accessPolicyAssignmentName1", + "api-version": "2023-08-01", + "parameters": { + "properties": { + "accessPolicyName": "accessPolicy1", + "objectId": "6497c918-11ad-41e7-1b0f-7c518a87d0b0", + "objectIdAlias": "TestAADAppRedis" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cache/redis/cache1/accessPolicyAssignments/accessPolicyAssignmentName1", + "name": "accessPolicyAssignmentName1", + "type": "Microsoft.Cache/Redis/accessPolicyAssignments", + "properties": { + "provisioningState": "Succeeded", + "accessPolicyName": "accessPolicy1", + "objectId": "6497c918-11ad-41e7-1b0f-7c518a87d0b0", + "objectIdAlias": "TestAADAppRedis" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cache/redis/cache1/accessPolicyAssignments/accessPolicyAssignmentName1", + "name": "accessPolicyAssignmentName1", + "type": "Microsoft.Cache/Redis/accessPolicyAssignments", + "properties": { + "provisioningState": "Succeeded", + "accessPolicyName": "accessPolicy1", + "objectId": "6497c918-11ad-41e7-1b0f-7c518a87d0b0", + "objectIdAlias": "TestAADAppRedis" + } + } + } + } +} diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyAssignmentDelete.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyAssignmentDelete.json new file mode 100644 index 000000000000..941fbc05f89d --- /dev/null +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyAssignmentDelete.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "cacheName": "cache1", + "accessPolicyAssignmentName": "accessPolicyAssignmentName1", + "api-version": "2023-08-01" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Cache/...pathToOperationResult..." + } + } + } +} diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyAssignmentGet.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyAssignmentGet.json new file mode 100644 index 000000000000..4fbd635b153b --- /dev/null +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyAssignmentGet.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "cacheName": "cache1", + "accessPolicyAssignmentName": "accessPolicyAssignmentName1", + "api-version": "2023-08-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cache/redis/cache1/accessPolicyAssignments/accessPolicyAssignmentName1", + "name": "accessPolicyAssignmentName1", + "type": "Microsoft.Cache/Redis/accessPolicyAssignments", + "properties": { + "provisioningState": "Succeeded", + "accessPolicyName": "accessPolicy1", + "objectId": "6497c918-11ad-41e7-1b0f-7c518a87d0b0", + "objectIdAlias": "TestAADAppRedis" + } + } + } + } +} diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyAssignmentList.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyAssignmentList.json new file mode 100644 index 000000000000..93f74bdd8b9e --- /dev/null +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyAssignmentList.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "cacheName": "cache1", + "api-version": "2023-08-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cache/redis/cache1/accessPolicyAssignments/accessPolicyAssignmentName1", + "name": "accessPolicyAssignmentName1", + "type": "Microsoft.Cache/Redis/accessPolicyAssignments", + "properties": { + "provisioningState": "Succeeded", + "accessPolicyName": "accessPolicy1", + "objectId": "6497c918-11ad-41e7-1b0f-7c518a87d0b0", + "objectIdAlias": "TestAADAppRedis1" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cache/redis/cache1/accessPolicyAssignments/accessPolicyAssignmentName2", + "name": "accessPolicyAssignmentName2", + "type": "Microsoft.Cache/Redis/accessPolicyAssignments", + "properties": { + "provisioningState": "Succeeded", + "accessPolicyName": "accessPolicy2", + "objectId": "7497c918-11ad-41e7-1b0f-7c518a87d0b0", + "objectIdAlias": "TestAADAppRedis2" + } + } + ] + } + } + } +} diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyCreateUpdate.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyCreateUpdate.json new file mode 100644 index 000000000000..507368c11264 --- /dev/null +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyCreateUpdate.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "cacheName": "cache1", + "accessPolicyName": "accessPolicy1", + "api-version": "2023-08-01", + "parameters": { + "properties": { + "permissions": "+get +hget" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cache/Redis/cache1/accessPolicies/accessPolicy1", + "name": "accessPolicy1", + "type": "Microsoft.Cache/Redis/accessPolicies", + "properties": { + "provisioningState": "Succeeded", + "permissions": "+get +hget", + "type": "Custom" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cache/Redis/cache1/accessPolicies/accessPolicy1", + "name": "accessPolicy1", + "type": "Microsoft.Cache/Redis/accessPolicies", + "properties": { + "provisioningState": "Succeeded", + "permissions": "+get +hget", + "type": "Custom" + } + } + } + } +} diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyDelete.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyDelete.json new file mode 100644 index 000000000000..7308608ec78d --- /dev/null +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyDelete.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "cacheName": "cache1", + "accessPolicyName": "accessPolicy1", + "api-version": "2023-08-01" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Cache/...pathToOperationResult..." + } + } + } +} diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyGet.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyGet.json new file mode 100644 index 000000000000..8ca718585dc8 --- /dev/null +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyGet.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "cacheName": "cache1", + "accessPolicyName": "accessPolicy1", + "api-version": "2023-08-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cache/Redis/cache1/accessPolicies/accessPolicy1", + "name": "accessPolicy1", + "type": "Microsoft.Cache/Redis/accessPolicies", + "properties": { + "provisioningState": "Succeeded", + "permissions": "+get +hget", + "type": "Custom" + } + } + } + } +} diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyList.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyList.json new file mode 100644 index 000000000000..af1d6b778595 --- /dev/null +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyList.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "cacheName": "cache1", + "api-version": "2023-08-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cache/Redis/cache1/accessPolicies/accessPolicyBuiltIn", + "name": "accessPolicyBuiltIn", + "type": "Microsoft.Cache/Redis/accessPolicies", + "properties": { + "provisioningState": "Succeeded", + "permissions": "+get +hget", + "type": "BuiltIn" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cache/Redis/cache1/accessPolicies/accessPolicy1", + "name": "accessPolicy1", + "type": "Microsoft.Cache/Redis/accessPolicies", + "properties": { + "provisioningState": "Succeeded", + "permissions": "+get +hget", + "type": "Custom" + } + } + ] + } + } + } +} diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAsyncOperationStatus.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAsyncOperationStatus.json new file mode 100644 index 000000000000..312e99f243f8 --- /dev/null +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAsyncOperationStatus.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "location": "East US", + "api-version": "2023-08-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 + } + } + } +} diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheCheckNameAvailability.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheCheckNameAvailability.json new file mode 100644 index 000000000000..5efcf99c6459 --- /dev/null +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheCheckNameAvailability.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "api-version": "2023-08-01", + "subscriptionId": "subid", + "parameters": { + "type": "Microsoft.Cache/Redis", + "name": "cacheName" + } + }, + "responses": { + "200": {} + } +} diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheCreate.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheCreate.json new file mode 100644 index 000000000000..412a42d45c77 --- /dev/null +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheCreate.json @@ -0,0 +1,207 @@ +{ + "parameters": { + "name": "cache1", + "resourceGroupName": "rg1", + "api-version": "2023-08-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": "", + "secondaryKey": "" + }, + "provisioningState": "Succeeded", + "redisVersion": "4.0.14", + "sku": { + "name": "Premium", + "family": "P", + "capacity": 1 + }, + "enableNonSslPort": false, + "replicasPerMaster": 2, + "replicasPerPrimary": 2, + "updateChannel": "Stable", + "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": "", + "secondaryKey": "" + }, + "provisioningState": "Succeeded", + "redisVersion": "4.0.14", + "sku": { + "name": "Premium", + "family": "P", + "capacity": 1 + }, + "enableNonSslPort": false, + "replicasPerMaster": 2, + "replicasPerPrimary": 2, + "updateChannel": "Stable", + "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 + } + ] + } + } + } + } +} diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheCreateDefaultVersion.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheCreateDefaultVersion.json new file mode 100644 index 000000000000..1b003cc433bd --- /dev/null +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheCreateDefaultVersion.json @@ -0,0 +1,206 @@ +{ + "parameters": { + "name": "cache1", + "resourceGroupName": "rg1", + "api-version": "2023-08-01", + "subscriptionId": "subid", + "parameters": { + "location": "West US", + "zones": [ + "1" + ], + "properties": { + "sku": { + "name": "Premium", + "family": "P", + "capacity": 1 + }, + "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": "", + "secondaryKey": "" + }, + "provisioningState": "Succeeded", + "redisVersion": "6.0.14", + "sku": { + "name": "Premium", + "family": "P", + "capacity": 1 + }, + "enableNonSslPort": false, + "replicasPerMaster": 2, + "replicasPerPrimary": 2, + "updateChannel": "Stable", + "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": "", + "secondaryKey": "" + }, + "provisioningState": "Succeeded", + "redisVersion": "6.0.14", + "sku": { + "name": "Premium", + "family": "P", + "capacity": 1 + }, + "enableNonSslPort": false, + "replicasPerMaster": 2, + "replicasPerPrimary": 2, + "updateChannel": "Stable", + "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 + } + ] + } + } + } + } +} diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheCreateLatestVersion.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheCreateLatestVersion.json new file mode 100644 index 000000000000..a0d23143e7db --- /dev/null +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheCreateLatestVersion.json @@ -0,0 +1,207 @@ +{ + "parameters": { + "name": "cache1", + "resourceGroupName": "rg1", + "api-version": "2023-08-01", + "subscriptionId": "subid", + "parameters": { + "location": "West US", + "zones": [ + "1" + ], + "properties": { + "sku": { + "name": "Premium", + "family": "P", + "capacity": 1 + }, + "redisVersion": "Latest", + "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": "", + "secondaryKey": "" + }, + "provisioningState": "Succeeded", + "redisVersion": "6.0.14", + "sku": { + "name": "Premium", + "family": "P", + "capacity": 1 + }, + "enableNonSslPort": false, + "replicasPerMaster": 2, + "replicasPerPrimary": 2, + "updateChannel": "Stable", + "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": "", + "secondaryKey": "" + }, + "provisioningState": "Succeeded", + "redisVersion": "6.0.14", + "sku": { + "name": "Premium", + "family": "P", + "capacity": 1 + }, + "enableNonSslPort": false, + "replicasPerMaster": 2, + "replicasPerPrimary": 2, + "updateChannel": "Stable", + "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 + } + ] + } + } + } + } +} diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheDelete.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheDelete.json new file mode 100644 index 000000000000..6b4681235ae6 --- /dev/null +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheDelete.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "name": "cache1", + "resourceGroupName": "rg1", + "api-version": "2023-08-01", + "subscriptionId": "subid" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Cache/...pathToOperationResult..." + } + }, + "204": {} + } +} diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheDeletePrivateEndpointConnection.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheDeletePrivateEndpointConnection.json new file mode 100644 index 000000000000..0c107d24dc79 --- /dev/null +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheDeletePrivateEndpointConnection.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "rgtest01", + "cacheName": "cachetest01", + "privateEndpointConnectionName": "pectest01", + "api-version": "2023-08-01" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheExport.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheExport.json new file mode 100644 index 000000000000..19e4b9b664c0 --- /dev/null +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheExport.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "name": "cache1", + "resourceGroupName": "rg1", + "api-version": "2023-08-01", + "subscriptionId": "subid", + "parameters": { + "format": "RDB", + "prefix": "datadump1", + "container": "https://contosostorage.blob.core.window.net/urltoBlobContainer?sasKeyParameters", + "storage-subscription-id": "storageSubId" + } + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Cache/...pathToOperationResult..." + } + }, + "204": {} + } +} diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheFirewallRuleCreate.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheFirewallRuleCreate.json new file mode 100644 index 000000000000..e0e23d8f9f7d --- /dev/null +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheFirewallRuleCreate.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "ruleName": "rule1", + "cacheName": "cache1", + "resourceGroupName": "rg1", + "api-version": "2023-08-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" + } + } + } + } +} diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheFirewallRuleDelete.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheFirewallRuleDelete.json new file mode 100644 index 000000000000..6f84050c83f1 --- /dev/null +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheFirewallRuleDelete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "ruleName": "rule1", + "cacheName": "cache1", + "resourceGroupName": "rg1", + "api-version": "2023-08-01", + "subscriptionId": "subid" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheFirewallRuleGet.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheFirewallRuleGet.json new file mode 100644 index 000000000000..d3ab917ce266 --- /dev/null +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheFirewallRuleGet.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "ruleName": "rule1", + "cacheName": "cache1", + "resourceGroupName": "rg1", + "api-version": "2023-08-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" + } + } + } + } +} diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheFirewallRulesList.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheFirewallRulesList.json new file mode 100644 index 000000000000..0f54fd85ffe5 --- /dev/null +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheFirewallRulesList.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "cacheName": "cache1", + "resourceGroupName": "rg1", + "api-version": "2023-08-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" + } + } + ] + } + } + } +} diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheFlush.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheFlush.json new file mode 100644 index 000000000000..9959722a4186 --- /dev/null +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheFlush.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "cacheName": "cache-name", + "resourceGroupName": "resource-group-name", + "api-version": "2023-08-01", + "subscriptionId": "subcription-id" + }, + "responses": { + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/subscription-id/providers/Microsoft.Cache/...pathToOperationResult...", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/subscription-id/providers/Microsoft.Cache/...pathToOperationResult..." + } + }, + "200": { + "body": { + "status": "Succeeded" + } + } + } +} diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheForceReboot.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheForceReboot.json new file mode 100644 index 000000000000..281b61408709 --- /dev/null +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheForceReboot.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "name": "cache1", + "resourceGroupName": "rg1", + "api-version": "2023-08-01", + "subscriptionId": "subid", + "parameters": { + "shardId": 0, + "rebootType": "AllNodes", + "ports": [ + 13000, + 15001 + ] + } + }, + "responses": { + "200": { + "body": { + "message": "reboot operation enqueued" + } + } + } +} diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheGet.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheGet.json new file mode 100644 index 000000000000..9df66202a02f --- /dev/null +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheGet.json @@ -0,0 +1,77 @@ +{ + "parameters": { + "name": "cache1", + "resourceGroupName": "rg1", + "api-version": "2023-08-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cache/Redis/cache1", + "location": "West US", + "name": "cache1", + "type": "Microsoft.Cache/Redis", + "tags": {}, + "properties": { + "provisioningState": "Creating", + "redisVersion": "3.2", + "sku": { + "name": "Premium", + "family": "P", + "capacity": 3 + }, + "enableNonSslPort": true, + "replicasPerMaster": 2, + "replicasPerPrimary": 2, + "updateChannel": "Stable", + "redisConfiguration": {}, + "hostName": "cache1.redis.cache.windows.net", + "port": 6379, + "sslPort": 6380, + "linkedServers": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cache/Redis/cache1/linkedServers/cache2" + } + ], + "instances": [ + { + "sslPort": 15000, + "nonSslPort": 13000, + "isMaster": true, + "isPrimary": true + }, + { + "sslPort": 15001, + "nonSslPort": 13001, + "isMaster": false, + "isPrimary": false + }, + { + "sslPort": 15002, + "nonSslPort": 13002, + "isMaster": false, + "isPrimary": false + } + ], + "publicNetworkAccess": "Enabled", + "privateEndpointConnections": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cache/Redis/cache1/privateEndpointConnections/cachePec", + "properties": { + "privateEndpoint": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/cachePe" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Please approve my connection", + "actionsRequired": "None" + } + } + } + ] + } + } + } + } +} diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheGetPrivateEndpointConnection.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheGetPrivateEndpointConnection.json new file mode 100644 index 000000000000..edc529dff83b --- /dev/null +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheGetPrivateEndpointConnection.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "rgtest01", + "cacheName": "cachetest01", + "privateEndpointConnectionName": "pectest01", + "api-version": "2023-08-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/rgtest01/providers/Microsoft.Cache/Redis/cachetest01/privateEndpointConnections/pectest01", + "name": "pectest01", + "type": "Microsoft.Cache/Redis/privateEndpointConnections", + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/rgtest01/providers/Microsoft.Network/privateEndpoints/petest01" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-Approved", + "actionsRequired": "None" + } + } + } + } + } +} diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheImport.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheImport.json new file mode 100644 index 000000000000..33ea0ef56e21 --- /dev/null +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheImport.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "name": "cache1", + "resourceGroupName": "rg1", + "api-version": "2023-08-01", + "subscriptionId": "subid", + "parameters": { + "format": "RDB", + "files": [ + "http://fileuris.contoso.com/pathtofile1" + ], + "storage-subscription-id": "storageSubId" + } + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Cache/...pathToOperationResult..." + } + }, + "204": {} + } +} diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheLinkedServer_Create.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheLinkedServer_Create.json new file mode 100644 index 000000000000..1a9bc786259e --- /dev/null +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheLinkedServer_Create.json @@ -0,0 +1,48 @@ +{ + "parameters": { + "name": "cache1", + "resourceGroupName": "rg1", + "linkedServerName": "cache2", + "api-version": "2023-08-01", + "subscriptionId": "subid", + "parameters": { + "properties": { + "linkedRedisCacheId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cache/Redis/cache2", + "linkedRedisCacheLocation": "West US", + "serverRole": "Secondary" + } + } + }, + "responses": { + "201": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cache/Redis/cache1/linkedServers/cache2", + "name": "cache2", + "type": "Microsoft.Cache/Redis/linkedServers", + "properties": { + "linkedRedisCacheId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cache/Redis/cache2", + "linkedRedisCacheLocation": "West US", + "geoReplicatedPrimaryHostName": "cache2.geo.redis.cache.windows.net", + "primaryHostName": "cache1.redis.cache.windows.net", + "provisioningState": "Creating", + "serverRole": "Secondary" + } + } + }, + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cache/Redis/cache1/linkedServers/cache2", + "name": "cache2", + "type": "Microsoft.Cache/Redis/linkedServers", + "properties": { + "linkedRedisCacheId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cache/Redis/cache2", + "linkedRedisCacheLocation": "West US", + "geoReplicatedPrimaryHostName": "cache2.geo.redis.cache.windows.net", + "primaryHostName": "cache1.redis.cache.windows.net", + "provisioningState": "Creating", + "serverRole": "Secondary" + } + } + } + } +} diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheLinkedServer_Delete.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheLinkedServer_Delete.json new file mode 100644 index 000000000000..25f8ad0231cc --- /dev/null +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheLinkedServer_Delete.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "name": "cache1", + "resourceGroupName": "rg1", + "linkedServerName": "cache2", + "api-version": "2023-08-01", + "subscriptionId": "subid" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Cache/...pathToOperationResult..." + } + } + } +} diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheLinkedServer_Get.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheLinkedServer_Get.json new file mode 100644 index 000000000000..c0d696d1a5ea --- /dev/null +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheLinkedServer_Get.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "name": "cache1", + "resourceGroupName": "rg1", + "api-version": "2023-08-01", + "subscriptionId": "subid", + "linkedServerName": "cache2" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cache/Redis/cache1/linkedServers/cache2", + "name": "cache2", + "type": "Microsoft.Cache/Redis/linkedServers", + "properties": { + "linkedRedisCacheId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cache/Redis/cache2", + "linkedRedisCacheLocation": "West US", + "geoReplicatedPrimaryHostName": "cache2.geo.redis.cache.windows.net", + "primaryHostName": "cache1.redis.cache.windows.net", + "provisioningState": "Succeeded", + "serverRole": "Secondary" + } + } + } + } +} diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheLinkedServer_List.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheLinkedServer_List.json new file mode 100644 index 000000000000..8fb48bf4cf70 --- /dev/null +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheLinkedServer_List.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "name": "cache1", + "resourceGroupName": "rg1", + "api-version": "2023-08-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cache/Redis/cache1/linkedServers/cache2", + "name": "cache2", + "type": "Microsoft.Cache/Redis/linkedServers", + "properties": { + "linkedRedisCacheId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cache/Redis/cache2", + "linkedRedisCacheLocation": "West US", + "geoReplicatedPrimaryHostName": "cache2.geo.redis.cache.windows.net", + "primaryHostName": "cache1.redis.cache.windows.net", + "provisioningState": "Succeeded", + "serverRole": "Secondary" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cache/Redis/cache1/linkedServers/cache3", + "name": "cache3", + "type": "Microsoft.Cache/Redis/linkedServers", + "properties": { + "linkedRedisCacheId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cache/Redis/cache3", + "linkedRedisCacheLocation": "West US", + "geoReplicatedPrimaryHostName": "cache3.geo.redis.cache.windows.net", + "primaryHostName": "cache1.redis.cache.windows.net", + "provisioningState": "Succeeded", + "serverRole": "Secondary" + } + } + ] + } + } + } +} diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheList.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheList.json new file mode 100644 index 000000000000..7fbd553b1576 --- /dev/null +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheList.json @@ -0,0 +1,58 @@ +{ + "parameters": { + "api-version": "2023-08-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cache/Redis/cache1", + "location": "West US", + "name": "cache1", + "type": "Microsoft.Cache/Redis", + "tags": {}, + "properties": { + "provisioningState": "Creating", + "redisVersion": "3.2", + "sku": { + "name": "Standard", + "family": "C", + "capacity": 6 + }, + "enableNonSslPort": true, + "replicasPerMaster": 2, + "replicasPerPrimary": 2, + "updateChannel": "Stable", + "redisConfiguration": {}, + "hostName": "cache1.redis.cache.windows.net", + "port": 6379, + "sslPort": 6380, + "instances": [ + { + "sslPort": 15000, + "nonSslPort": 13000, + "isMaster": true, + "isPrimary": true + }, + { + "sslPort": 15001, + "nonSslPort": 13001, + "isMaster": false, + "isPrimary": false + }, + { + "sslPort": 15002, + "nonSslPort": 13002, + "isMaster": false, + "isPrimary": false + } + ] + } + } + ] + } + } + } +} diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheListByResourceGroup.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheListByResourceGroup.json new file mode 100644 index 000000000000..b580f69554b7 --- /dev/null +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheListByResourceGroup.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "api-version": "2023-08-01", + "resourceGroupName": "rg1", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cache/Redis/cache1", + "location": "West US", + "name": "cache1", + "type": "Microsoft.Cache/Redis", + "tags": {}, + "properties": { + "provisioningState": "Creating", + "redisVersion": "3.2", + "sku": { + "name": "Standard", + "family": "C", + "capacity": 6 + }, + "enableNonSslPort": true, + "redisConfiguration": {}, + "hostName": "cache1.redis.cache.windows.net", + "port": 6379, + "sslPort": 6380 + } + } + ] + } + } + } +} diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheListKeys.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheListKeys.json new file mode 100644 index 000000000000..71a0639fda87 --- /dev/null +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheListKeys.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "name": "cache1", + "resourceGroupName": "rg1", + "api-version": "2023-08-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "primaryKey": "", + "secondaryKey": "" + } + } + } +} diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheListPrivateEndpointConnections.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheListPrivateEndpointConnections.json new file mode 100644 index 000000000000..91e7d0b30714 --- /dev/null +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheListPrivateEndpointConnections.json @@ -0,0 +1,49 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "rgtest01", + "cacheName": "cachetest01", + "privateEndpointConnectionName": "pectest01", + "api-version": "2023-08-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/{subscriptionId}/resourceGroups/rgtest01/providers/Microsoft.Cache/Redis/cachetest01/privateEndpointConnections/pectest01", + "name": "pectest01", + "type": "Microsoft.Cache/Redis/privateEndpointConnections", + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/rgtest01/providers/Microsoft.Network/privateEndpoints/petest01" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-Approved", + "actionsRequired": "None" + } + } + }, + { + "id": "/subscriptions/{subscriptionId}/resourceGroups/rgtest01/providers/Microsoft.Cache/Redis/cachetest01/privateEndpointConnections/pectest01", + "name": "pectest01", + "type": "Microsoft.Cache/Redis/privateEndpointConnections", + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/rgtest01/providers/Microsoft.Network/privateEndpoints/petest01" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-Approved", + "actionsRequired": "None" + } + } + } + ] + } + } + } +} diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheListPrivateLinkResources.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheListPrivateLinkResources.json new file mode 100644 index 000000000000..f51c89b1bc82 --- /dev/null +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheListPrivateLinkResources.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "rgtest01", + "cacheName": "cacheTest01", + "api-version": "2023-08-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/{subscription-id}/resourceGroups/rgtest01/providers/Microsoft.Cache/Redis/cacheTest01/privateLinkResources/redisCache", + "name": "redisCache", + "type": "Microsoft.Cache/Redis/privateLinkResources", + "properties": { + "groupId": "redisCache", + "requiredMembers": [ + "redisCache" + ], + "requiredZoneNames": [ + "privatelink.redis.cache.windows.net" + ] + } + } + ] + } + } + } +} diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheListUpgradeNotifications.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheListUpgradeNotifications.json new file mode 100644 index 000000000000..e3f16f5c6cf2 --- /dev/null +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheListUpgradeNotifications.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "name": "cache1", + "resourceGroupName": "rg1", + "api-version": "2023-08-01", + "subscriptionId": "subid", + "history": "5000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "notification1", + "timestamp": "2017-02-16T23:20:50.52Z", + "upsellNotification": {} + } + ] + } + } + } +} diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheOperations.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheOperations.json new file mode 100644 index 000000000000..cf640f0a25ba --- /dev/null +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheOperations.json @@ -0,0 +1,643 @@ +{ + "parameters": { + "api-version": "2023-08-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.Cache/checknameavailability/action", + "display": { + "provider": "Microsoft Cache", + "resource": null, + "operation": "Check Cache Name Availability", + "description": "Checks if a name is available for use with a new Redis Cache" + } + }, + { + "name": "Microsoft.Cache/register/action", + "display": { + "provider": "Microsoft Cache", + "resource": null, + "operation": "Register Resource Provider Microsoft.Cache", + "description": "Registers the 'Microsoft.Cache' resource provider with a subscription" + } + }, + { + "name": "Microsoft.Cache/unregister/action", + "display": { + "provider": "Microsoft Cache", + "resource": null, + "operation": "Unregister Resource Provider Microsoft.Cache", + "description": "Unregisters the 'Microsoft.Cache' resource provider with a subscription" + } + }, + { + "name": "Microsoft.Cache/operations/read", + "display": { + "provider": "Microsoft Cache", + "resource": null, + "operation": "List Provider Operations", + "description": "Lists the operations that 'Microsoft.Cache' provider supports." + } + }, + { + "name": "Microsoft.Cache/locations/operationResults/read", + "display": { + "provider": "Microsoft Cache", + "resource": null, + "operation": "Read operation results", + "description": "Gets the result of a long running operation for which the 'Location' header was previously returned to the client" + } + }, + { + "name": "Microsoft.Cache/locations/operationsStatus/read", + "display": { + "provider": "Microsoft Cache", + "resource": null, + "operation": "Read the status of a long running operation", + "description": "View the status of a long running operation for which the 'AzureAsync' header was previously returned to the client" + } + }, + { + "name": "Microsoft.Cache/locations/asyncOperations/read", + "display": { + "provider": "Microsoft Cache", + "resource": null, + "operation": "Read asynchronous operation status", + "description": "Read an Async Operation's Status" + } + }, + { + "name": "Microsoft.Cache/locations/checknameavailability/action", + "display": { + "provider": "Microsoft Cache", + "resource": null, + "operation": "Check Cache Name Availability in location", + "description": "Checks if a name is available for use with a new Redis Enterprise cache" + } + }, + { + "name": "Microsoft.Cache/redis/write", + "display": { + "provider": "Microsoft Cache", + "resource": "Redis Cache", + "operation": "Manage Redis Cache (read-write)", + "description": "Modify the Redis Cache's settings and configuration in the management portal" + } + }, + { + "name": "Microsoft.Cache/redis/read", + "display": { + "provider": "Microsoft Cache", + "resource": "Redis Cache", + "operation": "Manage Redis Cache (read-only)", + "description": "View the Redis Cache's settings and configuration in the management portal" + } + }, + { + "name": "Microsoft.Cache/redis/delete", + "display": { + "provider": "Microsoft Cache", + "resource": "Redis Cache", + "operation": "Delete Redis Cache", + "description": "Delete the entire Redis Cache" + } + }, + { + "name": "Microsoft.Cache/redis/listKeys/action", + "display": { + "provider": "Microsoft Cache", + "resource": "Redis Cache", + "operation": "View Redis Cache Access Keys", + "description": "View the value of Redis Cache access keys in the management portal" + } + }, + { + "name": "Microsoft.Cache/redis/regenerateKey/action", + "display": { + "provider": "Microsoft Cache", + "resource": "Redis Cache", + "operation": "Regenerate Redis Cache Access Keys", + "description": "Change the value of Redis Cache access keys in the management portal" + } + }, + { + "name": "Microsoft.Cache/redis/import/action", + "display": { + "provider": "Microsoft Cache", + "resource": "Redis Cache", + "operation": "Import data into Redis from storage", + "description": "Import data of a specified format from multiple blobs into Redis" + } + }, + { + "name": "Microsoft.Cache/redis/export/action", + "display": { + "provider": "Microsoft Cache", + "resource": "Redis Cache", + "operation": "Export Redis data to storage", + "description": "Export Redis data to prefixed storage blobs in specified format" + } + }, + { + "name": "Microsoft.Cache/redis/forceReboot/action", + "display": { + "provider": "Microsoft Cache", + "resource": "Redis Cache", + "operation": "Force reboot a cache instance, potentially with data loss.", + "description": "Force reboot a cache instance, potentially with data loss." + } + }, + { + "name": "Microsoft.Cache/redis/stop/action", + "display": { + "provider": "Microsoft Cache", + "resource": "Redis Cache", + "operation": "Stop an Azure Cache for Redis, potentially with data loss.", + "description": "Stop an Azure Cache for Redis, potentially with data loss." + } + }, + { + "name": "Microsoft.Cache/redis/start/action", + "display": { + "provider": "Microsoft Cache", + "resource": "Redis Cache", + "operation": "Start an Azure Cache for Redis", + "description": "Start an Azure Cache for Redis" + } + }, + { + "name": "Microsoft.Cache/redisEnterprise/delete", + "display": { + "provider": "Microsoft Cache", + "resource": "Redis Enterprise cache", + "operation": "Delete Redis Enterprise cache", + "description": "Delete the entire Redis Enterprise cache" + } + }, + { + "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" + } + }, + { + "name": "Microsoft.Cache/redisEnterprise/databases/delete", + "display": { + "provider": "Microsoft Cache", + "resource": "Redis Enterprise cache database", + "operation": "Delete Redis Enterprise database", + "description": "Deletes a Redis Enterprise database and its contents" + } + }, + { + "name": "Microsoft.Cache/redisEnterprise/databases/read", + "display": { + "provider": "Microsoft Cache", + "resource": "Redis Enterprise cache database", + "operation": "Manage Redis Enterprise cache database (read)", + "description": "View the Redis Enterprise cache database's settings and configuration in the management portal" + } + }, + { + "name": "Microsoft.Cache/redisEnterprise/databases/write", + "display": { + "provider": "Microsoft Cache", + "resource": "Redis Enterprise cache database", + "operation": "Manage Redis Enterprise cache database (write)", + "description": "Modify the Redis Enterprise cache database's settings and configuration in the management portal" + } + }, + { + "name": "Microsoft.Cache/redisEnterprise/databases/export/action", + "display": { + "provider": "Microsoft Cache", + "resource": "Redis Enterprise cache database", + "operation": "Export Redis Enterprise database", + "description": "Export data to storage blobs from a Redis Enterprise database " + } + }, + { + "name": "Microsoft.Cache/redisEnterprise/databases/forceUnlink/action", + "display": { + "provider": "Microsoft Cache", + "resource": "Redis Enterprise cache database", + "operation": "Force unlink Redis Enterprise database georeplica", + "description": "Forcibly unlink a georeplica Redis Enterprise database from its peers" + } + }, + { + "name": "Microsoft.Cache/redisEnterprise/databases/import/action", + "display": { + "provider": "Microsoft Cache", + "resource": "Redis Enterprise cache database", + "operation": "Import Redis Enterprise database", + "description": "Import data from storage blobs to a Redis Enterprise database" + } + }, + { + "name": "Microsoft.Cache/redisEnterprise/databases/listKeys/action", + "display": { + "provider": "Microsoft Cache", + "resource": "Redis Enterprise cache database", + "operation": "View Redis Enterprise database access keys", + "description": "View the value of Redis Enterprise database access keys in the management portal" + } + }, + { + "name": "Microsoft.Cache/redisEnterprise/databases/regenerateKey/action", + "display": { + "provider": "Microsoft Cache", + "resource": "Redis Enterprise cache database", + "operation": "Regenerate Redis Enterprise database access keys", + "description": "Change the value of Redis Enterprise database access keys in the management portal" + } + }, + { + "name": "Microsoft.Cache/redisEnterprise/databases/operationResults/read", + "display": { + "provider": "Microsoft Cache", + "resource": "Redis Enterprise database operation results", + "operation": "View Redis Enterprise database operation results", + "description": "View the result of Redis Enterprise database operations in the management portal" + } + }, + { + "name": "Microsoft.Cache/redisEnterprise/operationResults/read", + "display": { + "provider": "Microsoft Cache", + "resource": "Redis Enterprise operation results", + "operation": "View Redis Enterprise operation results", + "description": "View the result of Redis Enterprise operations in the management portal" + } + }, + { + "name": "Microsoft.Cache/redis/metricDefinitions/read", + "display": { + "provider": "Microsoft Cache", + "resource": "The available metrics for a Redis Cache", + "operation": "Read Redis Cache Metric Definitions", + "description": "Gets the available metrics for a Redis Cache" + } + }, + { + "name": "Microsoft.Cache/redisEnterprise/providers/Microsoft.Insights/metricDefinitions/read", + "display": { + "provider": "Microsoft Cache", + "resource": "The available metrics for a Redis Enterprise Cache", + "operation": "Read Redis Enterprise Metric Definitions", + "description": "Gets the available metrics for a Redis Enterprise Cache" + } + }, + { + "name": "Microsoft.Cache/redis/patchSchedules/read", + "display": { + "provider": "Microsoft Cache", + "resource": "Patching schedule of a Redis Cache", + "operation": "Get Redis Cache Patch Schedule", + "description": "Gets the patching schedule of a Redis Cache" + } + }, + { + "name": "Microsoft.Cache/redis/patchSchedules/write", + "display": { + "provider": "Microsoft Cache", + "resource": "Patching schedule of a Redis Cache", + "operation": "Change Redis Patching Schedule", + "description": "Modify the patching schedule of a Redis Cache" + } + }, + { + "name": "Microsoft.Cache/redis/patchSchedules/delete", + "display": { + "provider": "Microsoft Cache", + "resource": "Patching schedule of a Redis Cache", + "operation": "Delete Redis Cache Patch Schedule", + "description": "Delete the patch schedule of a Redis Cache" + } + }, + { + "name": "Microsoft.Cache/redis/firewallRules/read", + "display": { + "provider": "Microsoft Cache", + "resource": "IP firewall rule of a Redis Cache", + "operation": "Get Redis Cache Firewall Rule", + "description": "Get the IP firewall rules of a Redis Cache" + } + }, + { + "name": "Microsoft.Cache/redis/firewallRules/write", + "display": { + "provider": "Microsoft Cache", + "resource": "IP firewall rule of a Redis Cache", + "operation": "Update Redis Cache Firewall Rule", + "description": "Edit the IP firewall rules of a Redis Cache" + } + }, + { + "name": "Microsoft.Cache/redis/firewallRules/delete", + "display": { + "provider": "Microsoft Cache", + "resource": "IP firewall rule of a Redis Cache", + "operation": "Delete Redis Cache Firewall Rule", + "description": "Delete IP firewall rules of a Redis Cache" + } + }, + { + "name": "Microsoft.Cache/redis/linkedServers/read", + "display": { + "provider": "Microsoft Cache", + "resource": "Linked Servers of a Redis Cache", + "operation": "Get Redis Cache Linked Servers", + "description": "Get Linked Servers associated with a redis cache." + } + }, + { + "name": "Microsoft.Cache/redis/linkedServers/write", + "display": { + "provider": "Microsoft Cache", + "resource": "Linked Servers of a Redis Cache", + "operation": "Add Redis Cache Linked Server", + "description": "Add Linked Server to a Redis Cache" + } + }, + { + "name": "Microsoft.Cache/redis/linkedServers/delete", + "display": { + "provider": "Microsoft Cache", + "resource": "Linked Servers of a Redis Cache", + "operation": "Delete Redis Cache Linked Server", + "description": "Delete Linked Server from a Redis Cache" + } + }, + { + "name": "Microsoft.Cache/redis/eventGridFilters/read", + "display": { + "provider": "Microsoft Cache", + "resource": "Redis Cache Event Grid Filter", + "operation": "Get Redis Cache Event Grid Filter", + "description": "Get Redis Cache Event Grid Filter" + } + }, + { + "name": "Microsoft.Cache/redis/eventGridFilters/write", + "display": { + "provider": "Microsoft Cache", + "resource": "Redis Cache Event Grid Filter", + "operation": "Update Redis Cache Event Grid Filters", + "description": "Update Redis Cache Event Grid Filters" + } + }, + { + "name": "Microsoft.Cache/redis/eventGridFilters/delete", + "display": { + "provider": "Microsoft Cache", + "resource": "Redis Cache Event Grid Filter", + "operation": "Delete Redis Cache Event Grid Filters", + "description": "Delete Redis Cache Event Grid Filters" + } + }, + { + "name": "Microsoft.Cache/redis/privateEndpointConnectionProxies/validate/action", + "display": { + "provider": "Microsoft Cache", + "resource": "Azure Cache for Redis private endpoint connection proxies", + "operation": "Validate private endpoint connection proxy", + "description": "Validate the private endpoint connection proxy" + } + }, + { + "name": "Microsoft.Cache/redis/privateEndpointConnectionProxies/read", + "display": { + "provider": "Microsoft Cache", + "resource": "Azure Cache for Redis private endpoint connection proxies", + "operation": "Get private endpoint connection proxy", + "description": "Get the private endpoint connection proxy" + } + }, + { + "name": "Microsoft.Cache/redis/privateEndpointConnectionProxies/write", + "display": { + "provider": "Microsoft Cache", + "resource": "Azure Cache for Redis private endpoint connection proxies", + "operation": "Create private endpoint connection proxy", + "description": "Create the private endpoint connection proxy" + } + }, + { + "name": "Microsoft.Cache/redis/privateEndpointConnectionProxies/delete", + "display": { + "provider": "Microsoft Cache", + "resource": "Azure Cache for Redis private endpoint connection proxies", + "operation": "Delete private endpoint connection proxy", + "description": "Delete the private endpoint connection proxy" + } + }, + { + "name": "Microsoft.Cache/redisEnterprise/privateEndpointConnectionProxies/validate/action", + "display": { + "provider": "Microsoft Cache", + "resource": "Redis Enterprise private endpoint connection proxies", + "operation": "Validate private endpoint connection proxy", + "description": "Validate the private endpoint connection proxy" + } + }, + { + "name": "Microsoft.Cache/redisEnterprise/privateEndpointConnectionProxies/read", + "display": { + "provider": "Microsoft Cache", + "resource": "Redis Enterprise private endpoint connection proxies", + "operation": "Get private endpoint connection proxy", + "description": "Get the private endpoint connection proxy" + } + }, + { + "name": "Microsoft.Cache/redisEnterprise/privateEndpointConnectionProxies/write", + "display": { + "provider": "Microsoft Cache", + "resource": "Redis Enterprise private endpoint connection proxies", + "operation": "Create private endpoint connection proxy", + "description": "Create the private endpoint connection proxy" + } + }, + { + "name": "Microsoft.Cache/redisEnterprise/privateEndpointConnectionProxies/delete", + "display": { + "provider": "Microsoft Cache", + "resource": "Redis Enterprise private endpoint connection proxies", + "operation": "Delete private endpoint connection proxy", + "description": "Delete the private endpoint connection proxy" + } + }, + { + "name": "Microsoft.Cache/redisEnterprise/privateEndpointConnectionProxies/operationResults/read", + "display": { + "provider": "Microsoft Cache", + "resource": "Redis Enterprise private endpoint connection proxies", + "operation": "Redis Enterprise cache private endpoint operation results (read)", + "description": "View the result of private endpoint connection operations in the management portal" + } + }, + { + "name": "Microsoft.Cache/redis/privateEndpointConnections/read", + "display": { + "provider": "Microsoft Cache", + "resource": "Azure Cache for Redis private endpoint connections", + "operation": "Read private endpoint connection", + "description": "Read a private endpoint connection" + } + }, + { + "name": "Microsoft.Cache/redis/privateEndpointConnections/write", + "display": { + "provider": "Microsoft Cache", + "resource": "Azure Cache for Redis private endpoint connections", + "operation": "Write private endpoint connection", + "description": "Write a private endpoint connection" + } + }, + { + "name": "Microsoft.Cache/redis/privateEndpointConnections/delete", + "display": { + "provider": "Microsoft Cache", + "resource": "Azure Cache for Redis private endpoint connections", + "operation": "Delete private endpoint connection", + "description": "Delete a private endpoint connection" + } + }, + { + "name": "Microsoft.Cache/redisEnterprise/privateEndpointConnections/read", + "display": { + "provider": "Microsoft Cache", + "resource": "Redis Enterprise cache private endpoint connections", + "operation": "Read private endpoint connection", + "description": "Read a private endpoint connection" + } + }, + { + "name": "Microsoft.Cache/redisEnterprise/privateEndpointConnections/write", + "display": { + "provider": "Microsoft Cache", + "resource": "Redis Enterprise cache private endpoint connections", + "operation": "Write private endpoint connection", + "description": "Write a private endpoint connection" + } + }, + { + "name": "Microsoft.Cache/redisEnterprise/privateEndpointConnections/delete", + "display": { + "provider": "Microsoft Cache", + "resource": "Redis Enterprise cache private endpoint connections", + "operation": "Delete private endpoint connection", + "description": "Delete a private endpoint connection" + } + }, + { + "name": "Microsoft.Cache/redis/privateLinkResources/read", + "display": { + "provider": "Microsoft Cache", + "resource": "Azure Cache for Redis private linkable resources", + "operation": "Read Private Linkable Resources", + "description": "Read 'groupId' of redis subresource that a private link can be connected to" + } + }, + { + "name": "Microsoft.Cache/redisEnterprise/privateLinkResources/read", + "display": { + "provider": "Microsoft Cache", + "resource": "Redis Enterprise cache private link resources", + "operation": "Read Private Linkable Resources", + "description": "Read 'groupId' of redis subresource that a private link can be connected to" + } + }, + { + "name": "Microsoft.Cache/redis/roles/read", + "display": { + "provider": "Microsoft Cache", + "resource": "Azure Cache for Redis Roles", + "operation": "Read Redis Roles", + "description": "Read roles on a Redis Cache" + } + }, + { + "name": "Microsoft.Cache/redis/roles/write", + "display": { + "provider": "Microsoft Cache", + "resource": "Azure Cache for Redis Roles", + "operation": "Update Redis Roles", + "description": "Create or update role on a Redis Cache" + } + }, + { + "name": "Microsoft.Cache/redis/roles/delete", + "display": { + "provider": "Microsoft Cache", + "resource": "Azure Cache for Redis Roles", + "operation": "Delete Redis Roles", + "description": "Delete role on a Redis Cache" + } + }, + { + "name": "Microsoft.Cache/redis/roleAssignments/read", + "display": { + "provider": "Microsoft Cache", + "resource": "Azure Cache for Redis Role Description", + "operation": "Read Redis Role Assignments", + "description": "Read role assignments on a Redis Cache" + } + }, + { + "name": "Microsoft.Cache/redis/roleAssignments/write", + "display": { + "provider": "Microsoft Cache", + "resource": "Azure Cache for Redis Role Description", + "operation": "Update Redis Role Assignments", + "description": "Create or update role assignments on a Redis Cache" + } + }, + { + "name": "Microsoft.Cache/redis/roleAssignments/delete", + "display": { + "provider": "Microsoft Cache", + "resource": "Azure Cache for Redis Role Description", + "operation": "Delete Redis Role Assignment", + "description": "Delete All Redis Role Assignments" + } + }, + { + "name": "Microsoft.Cache/redis/PrivateEndpointConnectionsApproval/action", + "display": { + "provider": "Microsoft Cache", + "resource": "Azure Cache for Redis private linkable resources", + "operation": "Approve Private Endpoint Connections", + "description": "Approve Private Endpoint Connections" + } + }, + { + "name": "Microsoft.Cache/redisEnterprise/PrivateEndpointConnectionsApproval/action", + "display": { + "provider": "Microsoft Cache", + "resource": "Redis Enterprise cache private link resources", + "operation": "Approve Private Endpoint Connections", + "description": "Approve Private Endpoint Connections" + } + } + ] + } + } + } +} diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCachePatchSchedulesCreateOrUpdate.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCachePatchSchedulesCreateOrUpdate.json new file mode 100644 index 000000000000..3c5d469a23c8 --- /dev/null +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCachePatchSchedulesCreateOrUpdate.json @@ -0,0 +1,68 @@ +{ + "parameters": { + "name": "cache1", + "resourceGroupName": "rg1", + "default": "default", + "api-version": "2023-08-01", + "subscriptionId": "subid", + "parameters": { + "properties": { + "scheduleEntries": [ + { + "dayOfWeek": "Monday", + "startHourUtc": 12, + "maintenanceWindow": "PT5H" + }, + { + "dayOfWeek": "Tuesday", + "startHourUtc": 12 + } + ] + } + } + }, + "responses": { + "201": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cache/Redis/cache1/patchSchedules/default", + "location": "East US", + "name": "cachename1/default", + "type": "Microsoft.Cache/Redis/PatchSchedules", + "properties": { + "scheduleEntries": [ + { + "dayOfWeek": "Monday", + "startHourUtc": 12, + "maintenanceWindow": "PT5H" + }, + { + "dayOfWeek": "Tuesday", + "startHourUtc": 12 + } + ] + } + } + }, + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cache/Redis/cache1/patchSchedules/default", + "location": "East US", + "name": "cachename1/default", + "type": "Microsoft.Cache/Redis/PatchSchedules", + "properties": { + "scheduleEntries": [ + { + "dayOfWeek": "Monday", + "startHourUtc": 12, + "maintenanceWindow": "PT5H" + }, + { + "dayOfWeek": "Tuesday", + "startHourUtc": 12 + } + ] + } + } + } + } +} diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCachePatchSchedulesDelete.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCachePatchSchedulesDelete.json new file mode 100644 index 000000000000..c44048536f02 --- /dev/null +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCachePatchSchedulesDelete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "name": "cache1", + "resourceGroupName": "rg1", + "default": "default", + "api-version": "2023-08-01", + "subscriptionId": "subid" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCachePatchSchedulesGet.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCachePatchSchedulesGet.json new file mode 100644 index 000000000000..c8f3a819bf01 --- /dev/null +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCachePatchSchedulesGet.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "name": "cache1", + "resourceGroupName": "rg1", + "default": "default", + "api-version": "2023-08-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cache/Redis/cache1/patchSchedules/default", + "location": "East US", + "name": "cache1/default", + "type": "Microsoft.Cache/Redis/PatchSchedules", + "properties": { + "scheduleEntries": [ + { + "dayOfWeek": "Monday", + "startHourUtc": 12, + "maintenanceWindow": "PT5H" + }, + { + "dayOfWeek": "Tuesday", + "startHourUtc": 12 + } + ] + } + } + } + } +} diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCachePatchSchedulesList.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCachePatchSchedulesList.json new file mode 100644 index 000000000000..21d8efe4bde4 --- /dev/null +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCachePatchSchedulesList.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "cacheName": "cache1", + "resourceGroupName": "rg1", + "api-version": "2023-08-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cache/Redis/cache1/patchSchedules/default", + "location": "East US", + "name": "cache1/default", + "type": "Microsoft.Cache/Redis/PatchSchedules", + "properties": { + "scheduleEntries": [ + { + "dayOfWeek": "Monday", + "startHourUtc": 12, + "maintenanceWindow": "PT5H" + }, + { + "dayOfWeek": "Tuesday", + "startHourUtc": 12 + } + ] + } + } + ] + } + } + } +} diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCachePutPrivateEndpointConnection.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCachePutPrivateEndpointConnection.json new file mode 100644 index 000000000000..124bca70fff6 --- /dev/null +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCachePutPrivateEndpointConnection.json @@ -0,0 +1,55 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "rgtest01", + "cacheName": "cachetest01", + "privateEndpointConnectionName": "pectest01", + "api-version": "2023-08-01", + "properties": { + "properties": { + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-Approved" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/rgtest01/providers/Microsoft.Cache/Redis/cachetest01/privateEndpointConnections/pectest01", + "name": "pectest01", + "type": "Microsoft.Cache/Redis/privateEndpointConnections", + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/rgtest01/providers/Microsoft.Network/privateEndpoints/petest01" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-Approved", + "actionsRequired": "None" + } + } + } + }, + "201": { + "body": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/rgtest01/providers/Microsoft.Cache/Redis/cachetest01/privateEndpointConnections/pectest01", + "name": "pectest01", + "type": "Microsoft.Cache/Redis/privateEndpointConnections", + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/rgtest01/providers/Microsoft.Network/privateEndpoints/petest01" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-Approved", + "actionsRequired": "None" + } + } + } + } + } +} diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheRegenerateKey.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheRegenerateKey.json new file mode 100644 index 000000000000..2a82e27061c3 --- /dev/null +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheRegenerateKey.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "name": "cache1", + "resourceGroupName": "rg1", + "api-version": "2023-08-01", + "subscriptionId": "subid", + "parameters": { + "keyType": "Primary" + } + }, + "responses": { + "200": { + "body": { + "primaryKey": "", + "secondaryKey": "" + } + } + } +} diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheUpdate.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheUpdate.json new file mode 100644 index 000000000000..5f533b746daf --- /dev/null +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheUpdate.json @@ -0,0 +1,127 @@ +{ + "parameters": { + "name": "cache1", + "resourceGroupName": "rg1", + "api-version": "2023-08-01", + "subscriptionId": "subid", + "parameters": { + "properties": { + "enableNonSslPort": true, + "replicasPerPrimary": 2 + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cache/Redis/cache1", + "location": "West US", + "name": "cache1", + "type": "Microsoft.Cache/Redis", + "tags": {}, + "properties": { + "accessKeys": { + "primaryKey": "", + "secondaryKey": "" + }, + "provisioningState": "Succeeded", + "redisVersion": "3.0", + "sku": { + "name": "Premium", + "family": "P", + "capacity": 1 + }, + "enableNonSslPort": true, + "replicasPerMaster": 2, + "replicasPerPrimary": 2, + "updateChannel": "Stable", + "redisConfiguration": { + "maxclients": "1000", + "maxmemory-reserved": "50", + "maxmemory-delta": "50" + }, + "hostName": "cache1.redis.cache.windows.net", + "port": 6379, + "sslPort": 6380, + "instances": [ + { + "sslPort": 15000, + "nonSslPort": 13000, + "isMaster": true, + "isPrimary": true + }, + { + "sslPort": 15001, + "nonSslPort": 13001, + "isMaster": false, + "isPrimary": false + }, + { + "sslPort": 15002, + "nonSslPort": 13002, + "isMaster": false, + "isPrimary": false + } + ] + } + } + }, + "202": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cache/Redis/cache1", + "location": "West US", + "name": "cache1", + "type": "Microsoft.Cache/Redis", + "tags": {}, + "properties": { + "accessKeys": { + "primaryKey": "", + "secondaryKey": "" + }, + "provisioningState": "Succeeded", + "redisVersion": "3.0", + "sku": { + "name": "Premium", + "family": "P", + "capacity": 1 + }, + "enableNonSslPort": true, + "replicasPerMaster": 2, + "replicasPerPrimary": 2, + "updateChannel": "Stable", + "redisConfiguration": { + "maxclients": "1000", + "maxmemory-reserved": "50", + "maxmemory-delta": "50" + }, + "hostName": "cache1.redis.cache.windows.net", + "port": 6379, + "sslPort": 6380, + "instances": [ + { + "sslPort": 15000, + "nonSslPort": 13000, + "isMaster": true, + "isPrimary": true + }, + { + "sslPort": 15001, + "nonSslPort": 13001, + "isMaster": false, + "isPrimary": false + }, + { + "sslPort": 15002, + "nonSslPort": 13002, + "isMaster": false, + "isPrimary": false + } + ] + } + }, + "headers": { + "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Cache/...pathToOperationResult..." + } + } + } +} diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/redis.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/redis.json new file mode 100644 index 000000000000..4c6dc6d5b471 --- /dev/null +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/redis.json @@ -0,0 +1,3387 @@ +{ + "swagger": "2.0", + "info": { + "title": "RedisManagementClient", + "description": "REST API for Azure Redis Cache Service.", + "version": "2023-08-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/providers/Microsoft.Cache/operations": { + "get": { + "tags": [ + "Operations" + ], + "description": "Lists all of the available REST API operations of the Microsoft.Cache provider.", + "operationId": "Operations_List", + "x-ms-examples": { + "RedisCacheOperations": { + "$ref": "./examples/RedisCacheOperations.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success. The response describes the list of operations.", + "schema": { + "$ref": "#/definitions/OperationListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Cache/CheckNameAvailability": { + "post": { + "tags": [ + "Redis" + ], + "operationId": "Redis_CheckNameAvailability", + "x-ms-examples": { + "RedisCacheCheckNameAvailability": { + "$ref": "./examples/RedisCacheCheckNameAvailability.json" + } + }, + "description": "Checks that the redis cache name is valid and is not already in use.", + "parameters": [ + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/CheckNameAvailabilityParameters" + }, + "description": "Parameters supplied to the CheckNameAvailability Redis operation. The only supported resource type is 'Microsoft.Cache/redis'" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Name is available" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{name}/listUpgradeNotifications": { + "get": { + "tags": [ + "Redis" + ], + "operationId": "Redis_ListUpgradeNotifications", + "x-ms-examples": { + "RedisCacheListUpgradeNotifications": { + "$ref": "./examples/RedisCacheListUpgradeNotifications.json" + } + }, + "description": "Gets any upgrade notifications for a Redis cache.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Redis cache." + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "history", + "in": "query", + "required": true, + "type": "number", + "format": "double", + "description": "how many minutes in past to look for upgrade notifications" + } + ], + "responses": { + "200": { + "description": "All upgrade notifications in given time range", + "schema": { + "$ref": "#/definitions/NotificationListResponse" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{name}": { + "put": { + "tags": [ + "Redis" + ], + "operationId": "Redis_Create", + "x-ms-examples": { + "RedisCacheCreateDefaultVersion": { + "$ref": "./examples/RedisCacheCreateDefaultVersion.json" + }, + "RedisCacheCreateLatestVersion": { + "$ref": "./examples/RedisCacheCreateLatestVersion.json" + }, + "RedisCacheCreate": { + "$ref": "./examples/RedisCacheCreate.json" + } + }, + "description": "Create or replace (overwrite/recreate, with potential downtime) an existing Redis cache.", + "x-ms-long-running-operation": true, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Redis cache." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/RedisCreateParameters" + }, + "description": "Parameters supplied to the Create Redis operation." + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "201": { + "description": "The new redis cache was successfully created. Check provisioningState to see detailed status.", + "schema": { + "$ref": "#/definitions/RedisResource" + } + }, + "200": { + "description": "The existing redis cache was successfully updated. Check provisioningState to see detailed status.", + "schema": { + "$ref": "#/definitions/RedisResource" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + }, + "patch": { + "tags": [ + "Redis" + ], + "operationId": "Redis_Update", + "x-ms-examples": { + "RedisCacheUpdate": { + "$ref": "./examples/RedisCacheUpdate.json" + } + }, + "description": "Update an existing Redis cache.", + "x-ms-long-running-operation": true, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Redis cache." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/RedisUpdateParameters" + }, + "description": "Parameters supplied to the Update Redis operation." + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "The existing redis cache was successfully updated. Check provisioningState to see detailed status.", + "schema": { + "$ref": "#/definitions/RedisResource" + } + }, + "202": { + "description": "The existing redis cache was successfully updated. Check Azure-AsyncOperation headers to poll detailed status.", + "schema": { + "$ref": "#/definitions/RedisResource" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + }, + "delete": { + "tags": [ + "Redis" + ], + "operationId": "Redis_Delete", + "x-ms-examples": { + "RedisCacheDelete": { + "$ref": "./examples/RedisCacheDelete.json" + } + }, + "description": "Deletes a Redis cache.", + "x-ms-long-running-operation": true, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Redis cache." + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "The redis cache was successfully deleted." + }, + "202": { + "description": "The redis cache 'delete' operation was successfully enqueued; follow the Location header to poll for final outcome." + }, + "204": { + "description": "The redis cache was successfully deleted." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + }, + "get": { + "tags": [ + "Redis" + ], + "operationId": "Redis_Get", + "x-ms-examples": { + "RedisCacheGet": { + "$ref": "./examples/RedisCacheGet.json" + } + }, + "description": "Gets a Redis cache (resource description).", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Redis cache." + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "The redis cache was successfully found.", + "schema": { + "$ref": "#/definitions/RedisResource" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis": { + "get": { + "tags": [ + "Redis" + ], + "operationId": "Redis_ListByResourceGroup", + "x-ms-examples": { + "RedisCacheListByResourceGroup": { + "$ref": "./examples/RedisCacheListByResourceGroup.json" + } + }, + "description": "Lists all Redis caches in a resource group.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/RedisListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Cache/redis": { + "get": { + "tags": [ + "Redis" + ], + "operationId": "Redis_ListBySubscription", + "x-ms-examples": { + "RedisCacheList": { + "$ref": "./examples/RedisCacheList.json" + } + }, + "description": "Gets all Redis caches in the specified subscription.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/RedisListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{name}/listKeys": { + "post": { + "tags": [ + "Redis" + ], + "operationId": "Redis_ListKeys", + "x-ms-examples": { + "RedisCacheListKeys": { + "$ref": "./examples/RedisCacheListKeys.json" + } + }, + "description": "Retrieve a Redis cache's access keys. This operation requires write permission to the cache resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Redis cache." + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Lists the keys for the specified Redis cache.", + "schema": { + "$ref": "#/definitions/RedisAccessKeys" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{name}/regenerateKey": { + "post": { + "tags": [ + "Redis" + ], + "operationId": "Redis_RegenerateKey", + "x-ms-examples": { + "RedisCacheRegenerateKey": { + "$ref": "./examples/RedisCacheRegenerateKey.json" + } + }, + "description": "Regenerate Redis cache's access keys. This operation requires write permission to the cache resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Redis cache." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/RedisRegenerateKeyParameters" + }, + "description": "Specifies which key to regenerate." + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Lists the regenerated keys for Redis Cache", + "schema": { + "$ref": "#/definitions/RedisAccessKeys" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{name}/forceReboot": { + "post": { + "tags": [ + "Redis" + ], + "operationId": "Redis_ForceReboot", + "x-ms-examples": { + "RedisCacheForceReboot": { + "$ref": "./examples/RedisCacheForceReboot.json" + } + }, + "description": "Reboot specified Redis node(s). This operation requires write permission to the cache resource. There can be potential data loss.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Redis cache." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/RedisRebootParameters" + }, + "description": "Specifies which Redis node(s) to reboot." + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Reboot operation successfully enqueued", + "schema": { + "$ref": "#/definitions/RedisForceRebootResponse" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{name}/import": { + "post": { + "tags": [ + "Redis" + ], + "operationId": "Redis_ImportData", + "x-ms-examples": { + "RedisCacheImport": { + "$ref": "./examples/RedisCacheImport.json" + } + }, + "x-ms-long-running-operation": true, + "description": "Import data into Redis cache.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Redis cache." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ImportRDBParameters" + }, + "description": "Parameters for Redis import operation." + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "202": { + "description": "Import operation successfully enqueued; follow the Location header to poll for final outcome." + }, + "200": { + "description": "Import operation succeeded." + }, + "204": { + "description": "Import operation succeeded." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{name}/export": { + "post": { + "tags": [ + "Redis" + ], + "operationId": "Redis_ExportData", + "x-ms-examples": { + "RedisCacheExport": { + "$ref": "./examples/RedisCacheExport.json" + } + }, + "x-ms-long-running-operation": true, + "description": "Export data from the redis cache to blobs in a container.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Redis cache." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ExportRDBParameters" + }, + "description": "Parameters for Redis export operation." + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "202": { + "description": "Export operation successfully enqueued; follow the Location header to poll for final outcome." + }, + "200": { + "description": "Export operation succeeded." + }, + "204": { + "description": "Export operation succeeded." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{cacheName}/flush": { + "post": { + "tags": [ + "Redis" + ], + "operationId": "Redis_FlushCache", + "x-ms-examples": { + "RedisCacheFlush": { + "$ref": "./examples/RedisCacheFlush.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "../../../../../common-types/resource-management/v3/types.json#/definitions/OperationStatusResult" + }, + "description": "Deletes all of the keys in a cache.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/CacheNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "202": { + "description": "Flush operation successfully enqueued; follow the Location header to poll for final outcome.", + "headers": { + "Location": { + "description": "URL to query for the status of the operation.", + "type": "string" + }, + "Azure-AsyncOperation": { + "description": "URL to query for the status of the operation.", + "type": "string" + } + } + }, + "200": { + "description": "Flush operation succeeded.", + "headers": { + "Location": { + "description": "URL to query for the status of the operation.", + "type": "string" + }, + "Azure-AsyncOperation": { + "description": "URL to query for the status of the operation.", + "type": "string" + } + }, + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/OperationStatusResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{cacheName}/firewallRules": { + "get": { + "tags": [ + "Redis", + "FirewallRules" + ], + "operationId": "FirewallRules_List", + "description": "Gets all firewall rules in the specified redis cache.", + "x-ms-examples": { + "RedisCacheFirewallRulesList": { + "$ref": "./examples/RedisCacheFirewallRulesList.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/CacheNameParameter" + } + ], + "responses": { + "200": { + "description": "Successfully got the current rules", + "schema": { + "$ref": "#/definitions/RedisFirewallRuleListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{cacheName}/firewallRules/{ruleName}": { + "put": { + "tags": [ + "Redis", + "FirewallRules" + ], + "operationId": "FirewallRules_CreateOrUpdate", + "description": "Create or update a redis cache firewall rule", + "x-ms-examples": { + "RedisCacheFirewallRuleCreate": { + "$ref": "./examples/RedisCacheFirewallRuleCreate.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/CacheNameParameter" + }, + { + "name": "ruleName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the firewall rule." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/RedisFirewallRule" + }, + "description": "Parameters supplied to the create or update redis firewall rule operation." + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Resource was successfully updated", + "schema": { + "$ref": "#/definitions/RedisFirewallRule" + } + }, + "201": { + "description": "Resource was successfully created", + "schema": { + "$ref": "#/definitions/RedisFirewallRule" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + }, + "get": { + "tags": [ + "Redis", + "FirewallRules" + ], + "operationId": "FirewallRules_Get", + "description": "Gets a single firewall rule in a specified redis cache.", + "x-ms-examples": { + "RedisCacheFirewallRuleGet": { + "$ref": "./examples/RedisCacheFirewallRuleGet.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/CacheNameParameter" + }, + { + "name": "ruleName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the firewall rule." + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Successfully found the rule", + "schema": { + "$ref": "#/definitions/RedisFirewallRule" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + }, + "delete": { + "tags": [ + "Redis", + "FirewallRules" + ], + "operationId": "FirewallRules_Delete", + "description": "Deletes a single firewall rule in a specified redis cache.", + "x-ms-examples": { + "RedisCacheFirewallRuleDelete": { + "$ref": "./examples/RedisCacheFirewallRuleDelete.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/CacheNameParameter" + }, + { + "name": "ruleName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the firewall rule." + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Successfully deleted the rule" + }, + "204": { + "description": "Successfully deleted the rule" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{cacheName}/patchSchedules": { + "get": { + "tags": [ + "Redis", + "PatchSchedules" + ], + "operationId": "PatchSchedules_ListByRedisResource", + "description": "Gets all patch schedules in the specified redis cache (there is only one).", + "x-ms-examples": { + "RedisCachePatchSchedulesList": { + "$ref": "./examples/RedisCachePatchSchedulesList.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/CacheNameParameter" + } + ], + "responses": { + "200": { + "description": "Successfully got the current patch schedules", + "schema": { + "$ref": "#/definitions/RedisPatchScheduleListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{name}/patchSchedules/{default}": { + "put": { + "tags": [ + "Redis", + "PatchSchedules" + ], + "operationId": "PatchSchedules_CreateOrUpdate", + "x-ms-examples": { + "RedisCachePatchSchedulesCreateOrUpdate": { + "$ref": "./examples/RedisCachePatchSchedulesCreateOrUpdate.json" + } + }, + "description": "Create or replace the patching schedule for Redis cache.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Redis cache." + }, + { + "name": "default", + "in": "path", + "required": true, + "type": "string", + "description": "Default string modeled as parameter for auto generation to work correctly.", + "enum": [ + "default" + ], + "x-ms-enum": { + "name": "defaultName", + "modelAsString": true + } + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/RedisPatchSchedule" + }, + "description": "Parameters to set the patching schedule for Redis cache." + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "The patch schedule was successfully updated.", + "schema": { + "$ref": "#/definitions/RedisPatchSchedule" + } + }, + "201": { + "description": "The patch schedule was successfully created.", + "schema": { + "$ref": "#/definitions/RedisPatchSchedule" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + }, + "delete": { + "tags": [ + "Redis", + "PatchSchedules" + ], + "operationId": "PatchSchedules_Delete", + "x-ms-examples": { + "RedisCachePatchSchedulesDelete": { + "$ref": "./examples/RedisCachePatchSchedulesDelete.json" + } + }, + "description": "Deletes the patching schedule of a redis cache.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the redis cache." + }, + { + "name": "default", + "in": "path", + "required": true, + "type": "string", + "description": "Default string modeled as parameter for auto generation to work correctly.", + "enum": [ + "default" + ], + "x-ms-enum": { + "name": "defaultName", + "modelAsString": true + } + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Success." + }, + "204": { + "description": "Success." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + }, + "get": { + "tags": [ + "Redis", + "PatchSchedules" + ], + "operationId": "PatchSchedules_Get", + "x-ms-examples": { + "RedisCachePatchSchedulesGet": { + "$ref": "./examples/RedisCachePatchSchedulesGet.json" + } + }, + "description": "Gets the patching schedule of a redis cache.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the redis cache." + }, + { + "name": "default", + "in": "path", + "required": true, + "type": "string", + "description": "Default string modeled as parameter for auto generation to work correctly.", + "enum": [ + "default" + ], + "x-ms-enum": { + "name": "defaultName", + "modelAsString": true + } + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Response of get patch schedules.", + "schema": { + "$ref": "#/definitions/RedisPatchSchedule" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{name}/linkedServers/{linkedServerName}": { + "put": { + "tags": [ + "Redis" + ], + "operationId": "LinkedServer_Create", + "x-ms-long-running-operation": true, + "x-ms-examples": { + "LinkedServer_Create": { + "$ref": "./examples/RedisCacheLinkedServer_Create.json" + } + }, + "description": "Adds a linked server to the Redis cache (requires Premium SKU).", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Redis cache." + }, + { + "name": "linkedServerName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the linked server that is being added to the Redis cache." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/RedisLinkedServerCreateParameters" + }, + "description": "Parameters supplied to the Create Linked server operation." + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "The linked server was successfully updated.", + "schema": { + "$ref": "#/definitions/RedisLinkedServerWithProperties" + } + }, + "201": { + "description": "The linked server was successfully created.", + "schema": { + "$ref": "#/definitions/RedisLinkedServerWithProperties" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + }, + "delete": { + "tags": [ + "Redis" + ], + "operationId": "LinkedServer_Delete", + "x-ms-examples": { + "LinkedServerDelete": { + "$ref": "./examples/RedisCacheLinkedServer_Delete.json" + } + }, + "description": "Deletes the linked server from a redis cache (requires Premium SKU).", + "x-ms-long-running-operation": true, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the redis cache." + }, + { + "name": "linkedServerName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the linked server that is being added to the Redis cache." + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Linked server was successfully deleted." + }, + "202": { + "headers": { + "Location": { + "type": "string" + } + }, + "description": "The linked server 'delete' operation was successfully enqueued; follow the Location header to poll for final outcome." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + }, + "get": { + "tags": [ + "Redis" + ], + "operationId": "LinkedServer_Get", + "x-ms-examples": { + "LinkedServer_Get": { + "$ref": "./examples/RedisCacheLinkedServer_Get.json" + } + }, + "description": "Gets the detailed information about a linked server of a redis cache (requires Premium SKU).", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the redis cache." + }, + { + "name": "linkedServerName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the linked server." + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Response of get linked server.", + "schema": { + "$ref": "#/definitions/RedisLinkedServerWithProperties" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{name}/linkedServers": { + "get": { + "tags": [ + "Redis" + ], + "operationId": "LinkedServer_List", + "x-ms-examples": { + "LinkedServer_List": { + "$ref": "./examples/RedisCacheLinkedServer_List.json" + } + }, + "description": "Gets the list of linked servers associated with this redis cache (requires Premium SKU).", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the redis cache." + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Response of get linked servers.", + "schema": { + "$ref": "#/definitions/RedisLinkedServerWithPropertiesList" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{cacheName}/privateEndpointConnections": { + "get": { + "tags": [ + "PrivateEndpointConnections" + ], + "operationId": "PrivateEndpointConnections_List", + "description": "List all the private endpoint connections associated with the redis cache.", + "x-ms-examples": { + "RedisCacheListPrivateEndpointConnection": { + "$ref": "./examples/RedisCacheListPrivateEndpointConnections.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/CacheNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK -- Successfully retrieved private endpoint connections.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v1/privatelinks.json#/definitions/PrivateEndpointConnectionListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{cacheName}/privateEndpointConnections/{privateEndpointConnectionName}": { + "get": { + "tags": [ + "PrivateEndpointConnections" + ], + "operationId": "PrivateEndpointConnections_Get", + "description": "Gets the specified private endpoint connection associated with the redis cache.", + "x-ms-examples": { + "RedisCacheGetPrivateEndpointConnection": { + "$ref": "./examples/RedisCacheGetPrivateEndpointConnection.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/CacheNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/privatelinks.json#/parameters/PrivateEndpointConnectionName" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK -- Get the private endpoint connection properties successfully.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v1/privatelinks.json#/definitions/PrivateEndpointConnection" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + }, + "put": { + "tags": [ + "PrivateEndpointConnections" + ], + "operationId": "PrivateEndpointConnections_Put", + "description": "Update the state of specified private endpoint connection associated with the redis cache.", + "x-ms-examples": { + "RedisCachePutPrivateEndpointConnection": { + "$ref": "./examples/RedisCachePutPrivateEndpointConnection.json" + } + }, + "x-ms-long-running-operation": true, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/CacheNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/privatelinks.json#/parameters/PrivateEndpointConnectionName" + }, + { + "name": "properties", + "in": "body", + "required": true, + "schema": { + "$ref": "../../../../../common-types/resource-management/v1/privatelinks.json#/definitions/PrivateEndpointConnection" + }, + "description": "The private endpoint connection properties." + } + ], + "responses": { + "200": { + "description": "OK -- Update the private endpoint connection properties successfully.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v1/privatelinks.json#/definitions/PrivateEndpointConnection" + } + }, + "201": { + "description": "OK -- Update the private endpoint connection properties successfully.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v1/privatelinks.json#/definitions/PrivateEndpointConnection" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + }, + "delete": { + "tags": [ + "PrivateEndpointConnections" + ], + "operationId": "PrivateEndpointConnections_Delete", + "description": "Deletes the specified private endpoint connection associated with the redis cache.", + "x-ms-examples": { + "RedisCacheDeletePrivateEndpointConnection": { + "$ref": "./examples/RedisCacheDeletePrivateEndpointConnection.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/CacheNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/privatelinks.json#/parameters/PrivateEndpointConnectionName" + } + ], + "responses": { + "200": { + "description": "OK -- Delete the private endpoint connection successfully." + }, + "204": { + "description": "No Content -- The private endpoint connection does not exist." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{cacheName}/privateLinkResources": { + "get": { + "tags": [ + "PrivateLinkResources" + ], + "operationId": "PrivateLinkResources_ListByRedisCache", + "description": "Gets the private link resources that need to be created for a redis cache.", + "x-ms-examples": { + "StorageAccountListPrivateLinkResources": { + "$ref": "./examples/RedisCacheListPrivateLinkResources.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/CacheNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved private link resources.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v1/privatelinks.json#/definitions/PrivateLinkResourceListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Cache/locations/{location}/asyncOperations/{operationId}": { + "get": { + "tags": [ + "AsyncOperationStatus" + ], + "operationId": "AsyncOperationStatus_Get", + "description": "For checking the ongoing status of an operation", + "x-ms-examples": { + "RedisCacheAsyncOperationStatus": { + "$ref": "./examples/RedisCacheAsyncOperationStatus.json" + } + }, + "parameters": [ + { + "name": "location", + "in": "path", + "required": true, + "type": "string", + "description": "The location at which operation was triggered" + }, + { + "name": "operationId", + "in": "path", + "required": true, + "type": "string", + "description": "The ID of asynchronous operation" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Asynchronous operation status response", + "schema": { + "$ref": "#/definitions/OperationStatus" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{cacheName}/accessPolicies/{accessPolicyName}": { + "put": { + "tags": [ + "Redis", + "AAD" + ], + "operationId": "AccessPolicy_CreateUpdate", + "x-ms-long-running-operation": true, + "x-ms-examples": { + "RedisCacheAccessPolicyCreateUpdate": { + "$ref": "./examples/RedisCacheAccessPolicyCreateUpdate.json" + } + }, + "description": "Adds an access policy to the redis cache", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/CacheNameParameter" + }, + { + "$ref": "#/parameters/AccessPolicyNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/RedisCacheAccessPolicy" + }, + "description": "Parameters supplied to the Create Update Access Policy operation." + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "The existing access policy was successfully updated. Check provisioningState to see detailed status.", + "schema": { + "$ref": "#/definitions/RedisCacheAccessPolicy" + } + }, + "201": { + "description": "The new access policy was successfully created. Check provisioningState to see detailed status.", + "schema": { + "$ref": "#/definitions/RedisCacheAccessPolicy" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + }, + "delete": { + "tags": [ + "Redis", + "AAD" + ], + "operationId": "AccessPolicy_Delete", + "x-ms-examples": { + "RedisCacheAccessPolicyDelete": { + "$ref": "./examples/RedisCacheAccessPolicyDelete.json" + } + }, + "description": "Deletes the access policy from a redis cache", + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/CacheNameParameter" + }, + { + "$ref": "#/parameters/AccessPolicyNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Successfully deleted the access policy" + }, + "204": { + "description": "Successfully deleted the access policy" + }, + "202": { + "description": "The access policy 'delete' operation was successfully enqueued; follow the Location header to poll for final outcome.", + "headers": { + "Location": { + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + }, + "get": { + "tags": [ + "Redis", + "AAD" + ], + "operationId": "AccessPolicy_Get", + "x-ms-examples": { + "RedisCacheAccessPolicyGet": { + "$ref": "./examples/RedisCacheAccessPolicyGet.json" + } + }, + "description": "Gets the detailed information about an access policy of a redis cache", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/CacheNameParameter" + }, + { + "$ref": "#/parameters/AccessPolicyNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Response of get access policy.", + "schema": { + "$ref": "#/definitions/RedisCacheAccessPolicy" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{cacheName}/accessPolicies": { + "get": { + "tags": [ + "Redis", + "AAD" + ], + "operationId": "AccessPolicy_List", + "x-ms-examples": { + "RedisCacheAccessPolicyList": { + "$ref": "./examples/RedisCacheAccessPolicyList.json" + } + }, + "description": "Gets the list of access policies associated with this redis cache", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/CacheNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Response of list access policies.", + "schema": { + "$ref": "#/definitions/RedisCacheAccessPolicyList" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{cacheName}/accessPolicyAssignments/{accessPolicyAssignmentName}": { + "put": { + "tags": [ + "Redis", + "AAD" + ], + "operationId": "AccessPolicyAssignment_CreateUpdate", + "x-ms-long-running-operation": true, + "x-ms-examples": { + "RedisCacheAccessPolicyAssignmentCreateUpdate": { + "$ref": "./examples/RedisCacheAccessPolicyAssignmentCreateUpdate.json" + } + }, + "description": "Adds the access policy assignment to the specified users", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/CacheNameParameter" + }, + { + "$ref": "#/parameters/AccessPolicyAssignmentNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/RedisCacheAccessPolicyAssignment" + }, + "description": "Parameters supplied to the Create Update Access Policy Assignment operation." + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "The existing access policy assignment was successfully updated. Check provisioningState to see detailed status.", + "schema": { + "$ref": "#/definitions/RedisCacheAccessPolicyAssignment" + } + }, + "201": { + "description": "The new access policy assignment was successfully created. Check provisioningState to see detailed status.", + "schema": { + "$ref": "#/definitions/RedisCacheAccessPolicyAssignment" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + }, + "delete": { + "tags": [ + "Redis", + "AAD" + ], + "operationId": "AccessPolicyAssignment_Delete", + "x-ms-examples": { + "RedisCacheAccessPolicyAssignmentDelete": { + "$ref": "./examples/RedisCacheAccessPolicyAssignmentDelete.json" + } + }, + "description": "Deletes the access policy assignment from a redis cache", + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/CacheNameParameter" + }, + { + "$ref": "#/parameters/AccessPolicyAssignmentNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Successfully deleted the access policy assignment" + }, + "204": { + "description": "Successfully deleted the access policy assignment" + }, + "202": { + "description": "The access policy assignment 'delete' operation was successfully enqueued; follow the Location header to poll for final outcome.", + "headers": { + "Location": { + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + }, + "get": { + "tags": [ + "Redis", + "AAD" + ], + "operationId": "AccessPolicyAssignment_Get", + "x-ms-examples": { + "RedisCacheAccessPolicyAssignmentGet": { + "$ref": "./examples/RedisCacheAccessPolicyAssignmentGet.json" + } + }, + "description": "Gets the list of assignments for an access policy of a redis cache", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/CacheNameParameter" + }, + { + "$ref": "#/parameters/AccessPolicyAssignmentNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Response of get access policy assignments.", + "schema": { + "$ref": "#/definitions/RedisCacheAccessPolicyAssignment" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{cacheName}/accessPolicyAssignments": { + "get": { + "tags": [ + "Redis", + "AAD" + ], + "operationId": "AccessPolicyAssignment_List", + "x-ms-examples": { + "RedisCacheAccessPolicyAssignmentList": { + "$ref": "./examples/RedisCacheAccessPolicyAssignmentList.json" + } + }, + "description": "Gets the list of access policy assignments associated with this redis cache", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/CacheNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Response of list access policy assignments.", + "schema": { + "$ref": "#/definitions/RedisCacheAccessPolicyAssignmentList" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": { + "Sku": { + "properties": { + "name": { + "type": "string", + "description": "The type of Redis cache to deploy. Valid values: (Basic, Standard, Premium)", + "enum": [ + "Basic", + "Standard", + "Premium" + ], + "x-ms-enum": { + "name": "SkuName", + "modelAsString": true + } + }, + "family": { + "type": "string", + "description": "The SKU family to use. Valid values: (C, P). (C = Basic/Standard, P = Premium).", + "enum": [ + "C", + "P" + ], + "x-ms-enum": { + "name": "SkuFamily", + "modelAsString": true + } + }, + "capacity": { + "type": "integer", + "format": "int32", + "description": "The size of the Redis cache to deploy. Valid values: for C (Basic/Standard) family (0, 1, 2, 3, 4, 5, 6), for P (Premium) family (1, 2, 3, 4)." + } + }, + "required": [ + "name", + "family", + "capacity" + ], + "description": "SKU parameters supplied to the create Redis operation." + }, + "RedisCommonProperties": { + "properties": { + "redisConfiguration": { + "type": "object", + "properties": { + "rdb-backup-enabled": { + "type": "string", + "description": "Specifies whether the rdb backup is enabled" + }, + "rdb-backup-frequency": { + "type": "string", + "description": "Specifies the frequency for creating rdb backup in minutes. Valid values: (15, 30, 60, 360, 720, 1440)" + }, + "rdb-backup-max-snapshot-count": { + "type": "string", + "description": "Specifies the maximum number of snapshots for rdb backup" + }, + "rdb-storage-connection-string": { + "type": "string", + "description": "The storage account connection string for storing rdb file" + }, + "aof-backup-enabled": { + "type": "string", + "description": "Specifies whether the aof backup is enabled" + }, + "aof-storage-connection-string-0": { + "type": "string", + "description": "First storage account connection string" + }, + "aof-storage-connection-string-1": { + "type": "string", + "description": "Second storage account connection string" + }, + "maxfragmentationmemory-reserved": { + "type": "string", + "description": "Value in megabytes reserved for fragmentation per shard" + }, + "maxmemory-policy": { + "type": "string", + "description": "The eviction strategy used when your data won't fit within its memory limit." + }, + "maxmemory-reserved": { + "type": "string", + "description": "Value in megabytes reserved for non-cache usage per shard e.g. failover." + }, + "maxmemory-delta": { + "type": "string", + "description": "Value in megabytes reserved for non-cache usage per shard e.g. failover." + }, + "maxclients": { + "type": "string", + "description": "The max clients config", + "readOnly": true + }, + "notify-keyspace-events": { + "type": "string", + "description": "The keyspace events which should be monitored." + }, + "preferred-data-archive-auth-method": { + "type": "string", + "description": "Preferred auth method to communicate to storage account used for data archive, specify SAS or ManagedIdentity, default value is SAS", + "readOnly": true + }, + "preferred-data-persistence-auth-method": { + "type": "string", + "description": "Preferred auth method to communicate to storage account used for data persistence, specify SAS or ManagedIdentity, default value is SAS" + }, + "zonal-configuration": { + "type": "string", + "description": "Zonal Configuration", + "readOnly": true + }, + "authnotrequired": { + "type": "string", + "description": "Specifies whether the authentication is disabled. Setting this property is highly discouraged from security point of view." + }, + "storage-subscription-id": { + "type": "string", + "description": "SubscriptionId of the storage account for persistence (aof/rdb) using ManagedIdentity." + }, + "aad-enabled": { + "type": "string", + "description": "Specifies whether AAD based authentication has been enabled or disabled for the cache" + } + }, + "additionalProperties": {}, + "description": "All Redis Settings. Few possible keys: rdb-backup-enabled,rdb-storage-connection-string,rdb-backup-frequency,maxmemory-delta,maxmemory-policy,notify-keyspace-events,maxmemory-samples,slowlog-log-slower-than,slowlog-max-len,list-max-ziplist-entries,list-max-ziplist-value,hash-max-ziplist-entries,hash-max-ziplist-value,set-max-intset-entries,zset-max-ziplist-entries,zset-max-ziplist-value etc." + }, + "redisVersion": { + "type": "string", + "description": "Redis version. This should be in the form 'major[.minor]' (only 'major' is required) or the value 'latest' which refers to the latest stable Redis version that is available. Supported versions: 4.0, 6.0 (latest). Default value is 'latest'." + }, + "enableNonSslPort": { + "type": "boolean", + "default": false, + "description": "Specifies whether the non-ssl Redis server port (6379) is enabled." + }, + "replicasPerMaster": { + "type": "integer", + "format": "int32", + "description": "The number of replicas to be created per primary." + }, + "replicasPerPrimary": { + "type": "integer", + "format": "int32", + "description": "The number of replicas to be created per primary." + }, + "tenantSettings": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "A dictionary of tenant settings" + }, + "shardCount": { + "type": "integer", + "format": "int32", + "description": "The number of shards to be created on a Premium Cluster Cache." + }, + "minimumTlsVersion": { + "type": "string", + "description": "Optional: requires clients to use a specified TLS version (or higher) to connect (e,g, '1.0', '1.1', '1.2')", + "enum": [ + "1.0", + "1.1", + "1.2" + ], + "x-ms-enum": { + "name": "TlsVersion", + "modelAsString": true + } + }, + "publicNetworkAccess": { + "description": "Whether or not public endpoint access is allowed for this cache. Value is optional but if passed in, must be 'Enabled' or 'Disabled'. If 'Disabled', private endpoints are the exclusive access method. Default value is 'Enabled'", + "enum": [ + "Enabled", + "Disabled" + ], + "default": "Enabled", + "type": "string", + "x-ms-enum": { + "name": "PublicNetworkAccess", + "modelAsString": true + } + }, + "updateChannel": { + "type": "string", + "description": "Optional: Specifies the update channel for the monthly Redis updates your Redis Cache will receive. Caches using 'Preview' update channel get latest Redis updates at least 4 weeks ahead of 'Stable' channel caches. Default value is 'Stable'.", + "enum": [ + "Stable", + "Preview" + ], + "x-ms-enum": { + "name": "UpdateChannel", + "modelAsString": true + } + } + }, + "description": "Create/Update/Get common properties of the redis cache.", + "x-ms-external": true + }, + "RedisCreateProperties": { + "properties": { + "sku": { + "$ref": "#/definitions/Sku", + "description": "The SKU of the Redis cache to deploy." + }, + "subnetId": { + "type": "string", + "pattern": "^/subscriptions/[^/]*/resourceGroups/[^/]*/providers/Microsoft.(ClassicNetwork|Network)/virtualNetworks/[^/]*/subnets/[^/]*$", + "description": "The full resource ID of a subnet in a virtual network to deploy the Redis cache in. Example format: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/Microsoft.{Network|ClassicNetwork}/VirtualNetworks/vnet1/subnets/subnet1" + }, + "staticIP": { + "type": "string", + "pattern": "^\\d+\\.\\d+\\.\\d+\\.\\d+$", + "description": "Static IP address. Optionally, may be specified when deploying a Redis cache inside an existing Azure Virtual Network; auto assigned by default.", + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "required": [ + "sku" + ], + "allOf": [ + { + "$ref": "#/definitions/RedisCommonProperties" + } + ], + "description": "Properties supplied to Create Redis operation.", + "x-ms-external": true + }, + "RedisUpdateProperties": { + "properties": { + "sku": { + "$ref": "#/definitions/Sku", + "description": "The SKU of the Redis cache to deploy." + } + }, + "allOf": [ + { + "$ref": "#/definitions/RedisCommonProperties" + } + ], + "description": "Patchable properties of the redis cache.", + "x-ms-external": true + }, + "RedisProperties": { + "properties": { + "provisioningState": { + "readOnly": true, + "type": "string", + "description": "Redis instance provisioning status.", + "enum": [ + "Creating", + "Deleting", + "Disabled", + "Failed", + "Linking", + "Provisioning", + "RecoveringScaleFailure", + "Scaling", + "Succeeded", + "Unlinking", + "Unprovisioning", + "Updating", + "ConfiguringAAD" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + } + }, + "hostName": { + "readOnly": true, + "type": "string", + "description": "Redis host name." + }, + "port": { + "readOnly": true, + "type": "integer", + "format": "int32", + "description": "Redis non-SSL port." + }, + "sslPort": { + "readOnly": true, + "type": "integer", + "format": "int32", + "description": "Redis SSL port." + }, + "accessKeys": { + "readOnly": true, + "$ref": "#/definitions/RedisAccessKeys", + "description": "The keys of the Redis cache - not set if this object is not the response to Create or Update redis cache" + }, + "linkedServers": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "#/definitions/RedisLinkedServer" + }, + "description": "List of the linked servers associated with the cache" + }, + "instances": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "#/definitions/RedisInstanceDetails" + }, + "x-ms-identifiers": [ + "shardId" + ], + "description": "List of the Redis instances associated with the cache" + }, + "privateEndpointConnections": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "../../../../../common-types/resource-management/v1/privatelinks.json#/definitions/PrivateEndpointConnection" + }, + "description": "List of private endpoint connection associated with the specified redis cache" + } + }, + "allOf": [ + { + "$ref": "#/definitions/RedisCreateProperties" + } + ], + "description": "Properties of the redis cache.", + "x-ms-external": true + }, + "RedisCreateParameters": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/RedisCreateProperties", + "description": "Redis cache properties." + }, + "zones": { + "type": "array", + "items": { + "type": "string" + }, + "description": "A list of availability zones denoting where the resource needs to come from." + }, + "location": { + "type": "string", + "x-ms-mutability": [ + "read", + "create" + ], + "description": "The geo-location where the resource lives" + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags." + }, + "identity": { + "$ref": "../../../../../common-types/resource-management/v4/managedidentity.json#/definitions/ManagedServiceIdentity", + "description": "The identity of the resource." + } + }, + "required": [ + "properties", + "location" + ], + "description": "Parameters supplied to the Create Redis operation." + }, + "RedisUpdateParameters": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/RedisUpdateProperties", + "description": "Redis cache properties." + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags." + }, + "identity": { + "$ref": "../../../../../common-types/resource-management/v4/managedidentity.json#/definitions/ManagedServiceIdentity", + "description": "The identity of the resource." + } + }, + "description": "Parameters supplied to the Update Redis operation." + }, + "RedisAccessKeys": { + "properties": { + "primaryKey": { + "readOnly": true, + "type": "string", + "description": "The current primary key that clients can use to authenticate with Redis cache." + }, + "secondaryKey": { + "readOnly": true, + "type": "string", + "description": "The current secondary key that clients can use to authenticate with Redis cache." + } + }, + "description": "Redis cache access keys." + }, + "RedisFirewallRule": { + "description": "A firewall rule on a redis cache has a name, and describes a contiguous range of IP addresses permitted to connect", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/RedisFirewallRuleProperties", + "description": "redis cache firewall rule properties" + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ProxyResource" + } + ] + }, + "RedisFirewallRuleCreateParameters": { + "allOf": [ + { + "$ref": "#/definitions/RedisFirewallRule" + } + ], + "description": "Parameters required for creating a firewall rule on redis cache. (Note, you can just use the FirewallRule type instead now.)" + }, + "RedisFirewallRuleProperties": { + "description": "Specifies a range of IP addresses permitted to connect to the cache", + "properties": { + "startIP": { + "type": "string", + "description": "lowest IP address included in the range" + }, + "endIP": { + "type": "string", + "description": "highest IP address included in the range" + } + }, + "required": [ + "startIP", + "endIP" + ] + }, + "RedisFirewallRuleListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/RedisFirewallRule" + }, + "description": "Results of the list firewall rules operation." + }, + "nextLink": { + "type": "string", + "readOnly": true, + "description": "Link for next page of results." + } + }, + "description": "The response of list firewall rules Redis operation." + }, + "RedisResource": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/RedisProperties", + "description": "Redis cache properties." + }, + "zones": { + "type": "array", + "items": { + "type": "string" + }, + "description": "A list of availability zones denoting where the resource needs to come from." + }, + "identity": { + "$ref": "../../../../../common-types/resource-management/v4/managedidentity.json#/definitions/ManagedServiceIdentity", + "description": "The identity of the resource." + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/TrackedResource" + } + ], + "description": "A single Redis item in List or Get Operation." + }, + "RedisInstanceDetails": { + "properties": { + "sslPort": { + "readOnly": true, + "type": "integer", + "format": "int32", + "description": "Redis instance SSL port." + }, + "nonSslPort": { + "readOnly": true, + "type": "integer", + "format": "int32", + "description": "If enableNonSslPort is true, provides Redis instance Non-SSL port." + }, + "zone": { + "readOnly": true, + "type": "string", + "description": "If the Cache uses availability zones, specifies availability zone where this instance is located." + }, + "shardId": { + "readOnly": true, + "type": "integer", + "format": "int32", + "description": "If clustering is enabled, the Shard ID of Redis Instance" + }, + "isMaster": { + "readOnly": true, + "type": "boolean", + "description": "Specifies whether the instance is a primary node." + }, + "isPrimary": { + "readOnly": true, + "type": "boolean", + "description": "Specifies whether the instance is a primary node." + } + }, + "description": "Details of single instance of redis." + }, + "RedisListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/RedisResource" + }, + "description": "List of Redis cache instances." + }, + "nextLink": { + "type": "string", + "readOnly": true, + "description": "Link for next page of results." + } + }, + "description": "The response of list Redis operation." + }, + "RedisRegenerateKeyParameters": { + "properties": { + "keyType": { + "type": "string", + "description": "The Redis access key to regenerate.", + "enum": [ + "Primary", + "Secondary" + ], + "x-ms-enum": { + "name": "RedisKeyType", + "modelAsString": false + } + } + }, + "required": [ + "keyType" + ], + "description": "Specifies which Redis access keys to reset." + }, + "RedisRebootParameters": { + "properties": { + "rebootType": { + "type": "string", + "description": "Which Redis node(s) to reboot. Depending on this value data loss is possible.", + "enum": [ + "PrimaryNode", + "SecondaryNode", + "AllNodes" + ], + "x-ms-enum": { + "name": "RebootType", + "modelAsString": true + } + }, + "shardId": { + "type": "integer", + "format": "int32", + "description": "If clustering is enabled, the ID of the shard to be rebooted." + }, + "ports": { + "type": "array", + "items": { + "type": "integer" + }, + "description": "A list of redis instances to reboot, specified by per-instance SSL ports or non-SSL ports." + } + }, + "description": "Specifies which Redis node(s) to reboot." + }, + "ExportRDBParameters": { + "properties": { + "format": { + "type": "string", + "description": "File format." + }, + "prefix": { + "type": "string", + "description": "Prefix to use for exported files." + }, + "container": { + "type": "string", + "description": "Container name to export to." + }, + "preferred-data-archive-auth-method": { + "type": "string", + "description": "Preferred auth method to communicate to storage account used for data archive, specify SAS or ManagedIdentity, default value is SAS" + }, + "storage-subscription-id": { + "type": "string", + "description": "Subscription id of the storage container for data to be exported using ManagedIdentity." + } + }, + "required": [ + "container", + "prefix" + ], + "description": "Parameters for Redis export operation." + }, + "ImportRDBParameters": { + "properties": { + "format": { + "type": "string", + "description": "File format." + }, + "files": { + "type": "array", + "description": "files to import.", + "items": { + "type": "string" + } + }, + "preferred-data-archive-auth-method": { + "type": "string", + "description": "Preferred auth method to communicate to storage account used for data archive, specify SAS or ManagedIdentity, default value is SAS" + }, + "storage-subscription-id": { + "type": "string", + "description": "Subscription id of the storage container containing files to import using Managed Identity." + } + }, + "required": [ + "files" + ], + "description": "Parameters for Redis import operation." + }, + "ScheduleEntry": { + "properties": { + "dayOfWeek": { + "type": "string", + "description": "Day of the week when a cache can be patched.", + "enum": [ + "Monday", + "Tuesday", + "Wednesday", + "Thursday", + "Friday", + "Saturday", + "Sunday", + "Everyday", + "Weekend" + ], + "x-ms-enum": { + "name": "DayOfWeek", + "modelAsString": false + } + }, + "startHourUtc": { + "type": "integer", + "format": "int32", + "description": "Start hour after which cache patching can start." + }, + "maintenanceWindow": { + "type": "string", + "format": "duration", + "description": "ISO8601 timespan specifying how much time cache patching can take. " + } + }, + "required": [ + "dayOfWeek", + "startHourUtc" + ], + "description": "Patch schedule entry for a Premium Redis Cache." + }, + "ScheduleEntries": { + "properties": { + "scheduleEntries": { + "x-ms-client-name": "ScheduleEntries", + "type": "array", + "items": { + "$ref": "#/definitions/ScheduleEntry" + }, + "x-ms-identifiers": [], + "description": "List of patch schedules for a Redis cache." + } + }, + "required": [ + "scheduleEntries" + ], + "description": "List of patch schedules for a Redis cache." + }, + "RedisPatchSchedule": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ScheduleEntries", + "description": "List of patch schedules for a Redis cache." + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives", + "readOnly": true + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ProxyResource" + } + ], + "description": "Response to put/get patch schedules for Redis cache." + }, + "RedisPatchScheduleListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/RedisPatchSchedule" + }, + "description": "Results of the list patch schedules operation." + }, + "nextLink": { + "type": "string", + "readOnly": true, + "description": "Link for next page of results." + } + }, + "description": "The response of list patch schedules Redis operation." + }, + "RedisForceRebootResponse": { + "properties": { + "message": { + "readOnly": true, + "type": "string", + "description": "Status message" + } + }, + "description": "Response to force reboot for Redis cache." + }, + "RedisLinkedServer": { + "description": "Linked server Id", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "Linked server Id." + } + } + }, + "RedisLinkedServerWithProperties": { + "description": "Response to put/get linked server (with properties) for Redis cache.", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/RedisLinkedServerProperties", + "description": "Properties of the linked server." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ProxyResource" + } + ] + }, + "RedisLinkedServerProperties": { + "description": "Properties of a linked server to be returned in get/put response", + "properties": { + "provisioningState": { + "readOnly": true, + "type": "string", + "description": "Terminal state of the link between primary and secondary redis cache." + } + }, + "allOf": [ + { + "$ref": "#/definitions/RedisLinkedServerCreateProperties" + } + ] + }, + "RedisLinkedServerWithPropertiesList": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/RedisLinkedServerWithProperties" + }, + "description": "List of linked servers (with properties) of a Redis cache." + }, + "nextLink": { + "type": "string", + "readOnly": true, + "description": "Link for next set." + } + }, + "description": "List of linked servers (with properties) of a Redis cache." + }, + "RedisLinkedServerCreateProperties": { + "description": "Create properties for a linked server", + "properties": { + "linkedRedisCacheId": { + "type": "string", + "description": "Fully qualified resourceId of the linked redis cache." + }, + "linkedRedisCacheLocation": { + "type": "string", + "description": "Location of the linked redis cache.", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "serverRole": { + "type": "string", + "description": "Role of the linked server.", + "enum": [ + "Primary", + "Secondary" + ], + "x-ms-enum": { + "name": "ReplicationRole", + "modelAsString": false + } + }, + "geoReplicatedPrimaryHostName": { + "type": "string", + "readOnly": true, + "description": "The unchanging DNS name which will always point to current geo-primary cache among the linked redis caches for seamless Geo Failover experience." + }, + "primaryHostName": { + "type": "string", + "readOnly": true, + "description": "The changing DNS name that resolves to the current geo-primary cache among the linked redis caches before or after the Geo Failover." + } + }, + "required": [ + "linkedRedisCacheId", + "linkedRedisCacheLocation", + "serverRole" + ] + }, + "RedisLinkedServerCreateParameters": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/RedisLinkedServerCreateProperties", + "description": "Properties required to create a linked server." + } + }, + "required": [ + "properties" + ], + "description": "Parameter required for creating a linked server to redis cache." + }, + "RedisCacheAccessPolicyProperties": { + "properties": { + "provisioningState": { + "type": "string", + "description": "Provisioning state of access policy", + "readOnly": true, + "enum": [ + "Updating", + "Succeeded", + "Deleting", + "Deleted", + "Canceled", + "Failed" + ], + "x-ms-enum": { + "name": "AccessPolicyProvisioningState", + "modelAsString": true + } + }, + "type": { + "type": "string", + "description": "Built-In or Custom access policy", + "readOnly": true, + "enum": [ + "Custom", + "BuiltIn" + ], + "x-ms-enum": { + "name": "AccessPolicyType", + "modelAsString": true + } + }, + "permissions": { + "type": "string", + "description": "Permissions for the access policy. Learn how to configure permissions at https://aka.ms/redis/AADPreRequisites" + } + }, + "required": [ + "permissions" + ], + "description": "All properties of an access policy.", + "type": "object" + }, + "RedisCacheAccessPolicy": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/RedisCacheAccessPolicyProperties", + "description": "Properties of an access policy." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ProxyResource" + } + ], + "description": "Response to get/put access policy.", + "type": "object" + }, + "RedisCacheAccessPolicyList": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/RedisCacheAccessPolicy" + }, + "description": "List of access policies (with properties) of a Redis cache." + }, + "nextLink": { + "type": "string", + "readOnly": true, + "description": "Link for next set." + } + }, + "description": "List of access policies (with properties) of a Redis cache.", + "type": "object" + }, + "RedisCacheAccessPolicyAssignmentProperties": { + "description": "Properties for an access policy assignment", + "properties": { + "provisioningState": { + "type": "string", + "description": "Provisioning state of an access policy assignment set", + "readOnly": true, + "enum": [ + "Updating", + "Succeeded", + "Deleting", + "Deleted", + "Canceled", + "Failed" + ], + "x-ms-enum": { + "name": "AccessPolicyAssignmentProvisioningState", + "modelAsString": true + } + }, + "objectId": { + "type": "string", + "description": "Object Id to assign access policy to" + }, + "objectIdAlias": { + "type": "string", + "description": "User friendly name for object id. Also represents username for token based authentication" + }, + "accessPolicyName": { + "type": "string", + "description": "The name of the access policy that is being assigned", + "pattern": "^([a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9]|[a-zA-Z0-9])$" + } + }, + "required": [ + "objectId", + "objectIdAlias", + "accessPolicyName" + ], + "type": "object" + }, + "RedisCacheAccessPolicyAssignment": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/RedisCacheAccessPolicyAssignmentProperties", + "description": "Properties of an access policy assignment" + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ProxyResource" + } + ], + "description": "Response to an operation on access policy assignment", + "type": "object" + }, + "RedisCacheAccessPolicyAssignmentList": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/RedisCacheAccessPolicyAssignment" + }, + "description": "List of access policies assignments (with properties) of a Redis cache." + }, + "nextLink": { + "type": "string", + "readOnly": true, + "description": "Link for next set." + } + }, + "description": "List of access policies assignments (with properties) of a Redis cache.", + "type": "object" + }, + "Operation": { + "description": "REST API operation", + "type": "object", + "properties": { + "name": { + "description": "Operation name: {provider}/{resource}/{operation}", + "type": "string" + }, + "display": { + "description": "The object that describes the operation.", + "properties": { + "provider": { + "description": "Friendly name of the resource provider", + "type": "string" + }, + "operation": { + "description": "Operation type: read, write, delete, listKeys/action, etc.", + "type": "string" + }, + "resource": { + "description": "Resource type on which the operation is performed.", + "type": "string" + }, + "description": { + "description": "Friendly name of the operation", + "type": "string" + } + } + } + } + }, + "OperationListResult": { + "description": "Result of the request to list REST API operations. It contains a list of operations and a URL nextLink to get the next set of results.", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Operation" + }, + "x-ms-identifiers": [ + "name" + ], + "description": "List of operations supported by the resource provider." + }, + "nextLink": { + "type": "string", + "readOnly": true, + "description": "URL to get the next set of operation list results if there are any." + } + } + }, + "CheckNameAvailabilityParameters": { + "description": "Parameters body to pass for resource name availability check.", + "properties": { + "name": { + "type": "string", + "description": "Resource name." + }, + "type": { + "type": "string", + "description": "Resource type. The only legal value of this property for checking redis cache name availability is 'Microsoft.Cache/redis'." + } + }, + "required": [ + "name", + "type" + ] + }, + "UpgradeNotification": { + "properties": { + "name": { + "readOnly": true, + "type": "string", + "description": "Name of upgrade notification." + }, + "timestamp": { + "readOnly": true, + "type": "string", + "format": "date-time", + "description": "Timestamp when upgrade notification occurred." + }, + "upsellNotification": { + "readOnly": true, + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Details about this upgrade notification" + } + }, + "description": "Properties of upgrade notification." + }, + "NotificationListResponse": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/UpgradeNotification" + }, + "x-ms-identifiers": [ + "name", + "timestamp" + ], + "description": "List of all notifications." + }, + "nextLink": { + "type": "string", + "readOnly": true, + "description": "Link for next set of notifications." + } + }, + "description": "The response of listUpgradeNotifications." + }, + "OperationStatus": { + "type": "object", + "description": "Asynchronous operation status", + "properties": { + "properties": { + "description": "Additional properties from RP, only when operation is successful", + "type": "object", + "additionalProperties": {} + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/OperationStatusResult" + } + ] + } + }, + "parameters": { + "CacheNameParameter": { + "name": "cacheName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Redis cache.", + "x-ms-parameter-location": "method", + "pattern": "^([a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9]|[a-zA-Z0-9])$" + }, + "AccessPolicyNameParameter": { + "name": "accessPolicyName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the access policy that is being added to the Redis cache.", + "x-ms-parameter-location": "method", + "pattern": "^([a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9]|[a-zA-Z0-9])$", + "minLength": 3, + "maxLength": 63 + }, + "AccessPolicyAssignmentNameParameter": { + "name": "accessPolicyAssignmentName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the access policy assignment.", + "x-ms-parameter-location": "method", + "pattern": "^([a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9]|[a-zA-Z0-9])$", + "minLength": 3, + "maxLength": 63 + } + } +} From 3c5a4872e48386bbe10806a45950c47c8767ef15 Mon Sep 17 00:00:00 2001 From: Kanchan Joshi Date: Mon, 6 May 2024 10:00:02 +0530 Subject: [PATCH 02/11] Update version to stable/2024-03-01 Updated the API version from stable/2023-08-01 to stable/2024-03-01. --- .../examples/RedisCacheAccessPolicyAssignmentCreateUpdate.json | 3 ++- .../examples/RedisCacheAccessPolicyAssignmentDelete.json | 3 ++- .../examples/RedisCacheAccessPolicyAssignmentGet.json | 3 ++- .../examples/RedisCacheAccessPolicyAssignmentList.json | 3 ++- .../examples/RedisCacheAccessPolicyCreateUpdate.json | 3 ++- .../2024-03-01/examples/RedisCacheAccessPolicyDelete.json | 3 ++- .../stable/2024-03-01/examples/RedisCacheAccessPolicyGet.json | 3 ++- .../stable/2024-03-01/examples/RedisCacheAccessPolicyList.json | 3 ++- .../2024-03-01/examples/RedisCacheAsyncOperationStatus.json | 3 ++- .../2024-03-01/examples/RedisCacheCheckNameAvailability.json | 3 ++- .../stable/2024-03-01/examples/RedisCacheCreate.json | 3 ++- .../2024-03-01/examples/RedisCacheCreateDefaultVersion.json | 3 ++- .../2024-03-01/examples/RedisCacheCreateLatestVersion.json | 3 ++- .../stable/2024-03-01/examples/RedisCacheDelete.json | 3 ++- .../examples/RedisCacheDeletePrivateEndpointConnection.json | 3 ++- .../stable/2024-03-01/examples/RedisCacheExport.json | 3 ++- .../2024-03-01/examples/RedisCacheFirewallRuleCreate.json | 3 ++- .../2024-03-01/examples/RedisCacheFirewallRuleDelete.json | 3 ++- .../stable/2024-03-01/examples/RedisCacheFirewallRuleGet.json | 3 ++- .../2024-03-01/examples/RedisCacheFirewallRulesList.json | 3 ++- .../stable/2024-03-01/examples/RedisCacheFlush.json | 3 ++- .../stable/2024-03-01/examples/RedisCacheForceReboot.json | 3 ++- .../stable/2024-03-01/examples/RedisCacheGet.json | 3 ++- .../examples/RedisCacheGetPrivateEndpointConnection.json | 3 ++- .../stable/2024-03-01/examples/RedisCacheImport.json | 3 ++- .../2024-03-01/examples/RedisCacheLinkedServer_Create.json | 3 ++- .../2024-03-01/examples/RedisCacheLinkedServer_Delete.json | 3 ++- .../stable/2024-03-01/examples/RedisCacheLinkedServer_Get.json | 3 ++- .../2024-03-01/examples/RedisCacheLinkedServer_List.json | 3 ++- .../stable/2024-03-01/examples/RedisCacheList.json | 3 ++- .../2024-03-01/examples/RedisCacheListByResourceGroup.json | 3 ++- .../stable/2024-03-01/examples/RedisCacheListKeys.json | 3 ++- .../examples/RedisCacheListPrivateEndpointConnections.json | 3 ++- .../examples/RedisCacheListPrivateLinkResources.json | 3 ++- .../examples/RedisCacheListUpgradeNotifications.json | 3 ++- .../stable/2024-03-01/examples/RedisCacheOperations.json | 3 ++- .../examples/RedisCachePatchSchedulesCreateOrUpdate.json | 3 ++- .../2024-03-01/examples/RedisCachePatchSchedulesDelete.json | 3 ++- .../2024-03-01/examples/RedisCachePatchSchedulesGet.json | 3 ++- .../2024-03-01/examples/RedisCachePatchSchedulesList.json | 3 ++- .../examples/RedisCachePutPrivateEndpointConnection.json | 3 ++- .../stable/2024-03-01/examples/RedisCacheRegenerateKey.json | 3 ++- .../stable/2024-03-01/examples/RedisCacheUpdate.json | 3 ++- .../Microsoft.Cache/stable/2024-03-01/redis.json | 3 ++- 44 files changed, 88 insertions(+), 44 deletions(-) diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyAssignmentCreateUpdate.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyAssignmentCreateUpdate.json index 72867cfc2cfb..01c44125418f 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyAssignmentCreateUpdate.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyAssignmentCreateUpdate.json @@ -4,7 +4,7 @@ "resourceGroupName": "rg1", "cacheName": "cache1", "accessPolicyAssignmentName": "accessPolicyAssignmentName1", - "api-version": "2023-08-01", + "api-version": "2024-03-01", "parameters": { "properties": { "accessPolicyName": "accessPolicy1", @@ -42,3 +42,4 @@ } } } + diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyAssignmentDelete.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyAssignmentDelete.json index 941fbc05f89d..093b897747d8 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyAssignmentDelete.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyAssignmentDelete.json @@ -4,7 +4,7 @@ "resourceGroupName": "rg1", "cacheName": "cache1", "accessPolicyAssignmentName": "accessPolicyAssignmentName1", - "api-version": "2023-08-01" + "api-version": "2024-03-01" }, "responses": { "200": {}, @@ -16,3 +16,4 @@ } } } + diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyAssignmentGet.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyAssignmentGet.json index 4fbd635b153b..f4078dfd77f7 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyAssignmentGet.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyAssignmentGet.json @@ -4,7 +4,7 @@ "resourceGroupName": "rg1", "cacheName": "cache1", "accessPolicyAssignmentName": "accessPolicyAssignmentName1", - "api-version": "2023-08-01" + "api-version": "2024-03-01" }, "responses": { "200": { @@ -22,3 +22,4 @@ } } } + diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyAssignmentList.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyAssignmentList.json index 93f74bdd8b9e..93b796cf6df5 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyAssignmentList.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyAssignmentList.json @@ -3,7 +3,7 @@ "subscriptionId": "subid", "resourceGroupName": "rg1", "cacheName": "cache1", - "api-version": "2023-08-01" + "api-version": "2024-03-01" }, "responses": { "200": { @@ -36,3 +36,4 @@ } } } + diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyCreateUpdate.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyCreateUpdate.json index 507368c11264..5d371c77bd2f 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyCreateUpdate.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyCreateUpdate.json @@ -4,7 +4,7 @@ "resourceGroupName": "rg1", "cacheName": "cache1", "accessPolicyName": "accessPolicy1", - "api-version": "2023-08-01", + "api-version": "2024-03-01", "parameters": { "properties": { "permissions": "+get +hget" @@ -38,3 +38,4 @@ } } } + diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyDelete.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyDelete.json index 7308608ec78d..1f9f4b3a36f2 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyDelete.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyDelete.json @@ -4,7 +4,7 @@ "resourceGroupName": "rg1", "cacheName": "cache1", "accessPolicyName": "accessPolicy1", - "api-version": "2023-08-01" + "api-version": "2024-03-01" }, "responses": { "200": {}, @@ -16,3 +16,4 @@ } } } + diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyGet.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyGet.json index 8ca718585dc8..55db77e6b0c6 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyGet.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyGet.json @@ -4,7 +4,7 @@ "resourceGroupName": "rg1", "cacheName": "cache1", "accessPolicyName": "accessPolicy1", - "api-version": "2023-08-01" + "api-version": "2024-03-01" }, "responses": { "200": { @@ -21,3 +21,4 @@ } } } + diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyList.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyList.json index af1d6b778595..59fb86198e6c 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyList.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyList.json @@ -3,7 +3,7 @@ "subscriptionId": "subid", "resourceGroupName": "rg1", "cacheName": "cache1", - "api-version": "2023-08-01" + "api-version": "2024-03-01" }, "responses": { "200": { @@ -34,3 +34,4 @@ } } } + diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAsyncOperationStatus.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAsyncOperationStatus.json index 312e99f243f8..147cc206dcfa 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAsyncOperationStatus.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAsyncOperationStatus.json @@ -1,7 +1,7 @@ { "parameters": { "location": "East US", - "api-version": "2023-08-01", + "api-version": "2024-03-01", "subscriptionId": "subid", "operationId": "c7ba2bf5-5939-4d79-b037-2964ccf097da" }, @@ -20,3 +20,4 @@ } } } + diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheCheckNameAvailability.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheCheckNameAvailability.json index 5efcf99c6459..34d4518cf955 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheCheckNameAvailability.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheCheckNameAvailability.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-08-01", + "api-version": "2024-03-01", "subscriptionId": "subid", "parameters": { "type": "Microsoft.Cache/Redis", @@ -11,3 +11,4 @@ "200": {} } } + diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheCreate.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheCreate.json index 412a42d45c77..59203c7228b5 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheCreate.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheCreate.json @@ -2,7 +2,7 @@ "parameters": { "name": "cache1", "resourceGroupName": "rg1", - "api-version": "2023-08-01", + "api-version": "2024-03-01", "subscriptionId": "subid", "parameters": { "location": "West US", @@ -205,3 +205,4 @@ } } } + diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheCreateDefaultVersion.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheCreateDefaultVersion.json index 1b003cc433bd..a5d52391fc7b 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheCreateDefaultVersion.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheCreateDefaultVersion.json @@ -2,7 +2,7 @@ "parameters": { "name": "cache1", "resourceGroupName": "rg1", - "api-version": "2023-08-01", + "api-version": "2024-03-01", "subscriptionId": "subid", "parameters": { "location": "West US", @@ -204,3 +204,4 @@ } } } + diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheCreateLatestVersion.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheCreateLatestVersion.json index a0d23143e7db..ed68ea8c4639 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheCreateLatestVersion.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheCreateLatestVersion.json @@ -2,7 +2,7 @@ "parameters": { "name": "cache1", "resourceGroupName": "rg1", - "api-version": "2023-08-01", + "api-version": "2024-03-01", "subscriptionId": "subid", "parameters": { "location": "West US", @@ -205,3 +205,4 @@ } } } + diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheDelete.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheDelete.json index 6b4681235ae6..434ede26fd6a 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheDelete.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheDelete.json @@ -2,7 +2,7 @@ "parameters": { "name": "cache1", "resourceGroupName": "rg1", - "api-version": "2023-08-01", + "api-version": "2024-03-01", "subscriptionId": "subid" }, "responses": { @@ -15,3 +15,4 @@ "204": {} } } + diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheDeletePrivateEndpointConnection.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheDeletePrivateEndpointConnection.json index 0c107d24dc79..fd53b4c00118 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheDeletePrivateEndpointConnection.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheDeletePrivateEndpointConnection.json @@ -4,10 +4,11 @@ "resourceGroupName": "rgtest01", "cacheName": "cachetest01", "privateEndpointConnectionName": "pectest01", - "api-version": "2023-08-01" + "api-version": "2024-03-01" }, "responses": { "200": {}, "204": {} } } + diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheExport.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheExport.json index 19e4b9b664c0..95a6b2498e46 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheExport.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheExport.json @@ -2,7 +2,7 @@ "parameters": { "name": "cache1", "resourceGroupName": "rg1", - "api-version": "2023-08-01", + "api-version": "2024-03-01", "subscriptionId": "subid", "parameters": { "format": "RDB", @@ -21,3 +21,4 @@ "204": {} } } + diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheFirewallRuleCreate.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheFirewallRuleCreate.json index e0e23d8f9f7d..d4befa08c88a 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheFirewallRuleCreate.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheFirewallRuleCreate.json @@ -3,7 +3,7 @@ "ruleName": "rule1", "cacheName": "cache1", "resourceGroupName": "rg1", - "api-version": "2023-08-01", + "api-version": "2024-03-01", "subscriptionId": "subid", "parameters": { "properties": { @@ -37,3 +37,4 @@ } } } + diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheFirewallRuleDelete.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheFirewallRuleDelete.json index 6f84050c83f1..ad07ef2ba1d3 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheFirewallRuleDelete.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheFirewallRuleDelete.json @@ -3,7 +3,7 @@ "ruleName": "rule1", "cacheName": "cache1", "resourceGroupName": "rg1", - "api-version": "2023-08-01", + "api-version": "2024-03-01", "subscriptionId": "subid" }, "responses": { @@ -11,3 +11,4 @@ "204": {} } } + diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheFirewallRuleGet.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheFirewallRuleGet.json index d3ab917ce266..cba1a105a4c9 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheFirewallRuleGet.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheFirewallRuleGet.json @@ -3,7 +3,7 @@ "ruleName": "rule1", "cacheName": "cache1", "resourceGroupName": "rg1", - "api-version": "2023-08-01", + "api-version": "2024-03-01", "subscriptionId": "subid" }, "responses": { @@ -20,3 +20,4 @@ } } } + diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheFirewallRulesList.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheFirewallRulesList.json index 0f54fd85ffe5..25b4d29978cc 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheFirewallRulesList.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheFirewallRulesList.json @@ -2,7 +2,7 @@ "parameters": { "cacheName": "cache1", "resourceGroupName": "rg1", - "api-version": "2023-08-01", + "api-version": "2024-03-01", "subscriptionId": "subid" }, "responses": { @@ -32,3 +32,4 @@ } } } + diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheFlush.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheFlush.json index 9959722a4186..f5e766d9eda2 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheFlush.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheFlush.json @@ -2,7 +2,7 @@ "parameters": { "cacheName": "cache-name", "resourceGroupName": "resource-group-name", - "api-version": "2023-08-01", + "api-version": "2024-03-01", "subscriptionId": "subcription-id" }, "responses": { @@ -19,3 +19,4 @@ } } } + diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheForceReboot.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheForceReboot.json index 281b61408709..87c42838934f 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheForceReboot.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheForceReboot.json @@ -2,7 +2,7 @@ "parameters": { "name": "cache1", "resourceGroupName": "rg1", - "api-version": "2023-08-01", + "api-version": "2024-03-01", "subscriptionId": "subid", "parameters": { "shardId": 0, @@ -21,3 +21,4 @@ } } } + diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheGet.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheGet.json index 9df66202a02f..e6d2f4acce86 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheGet.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheGet.json @@ -2,7 +2,7 @@ "parameters": { "name": "cache1", "resourceGroupName": "rg1", - "api-version": "2023-08-01", + "api-version": "2024-03-01", "subscriptionId": "subid" }, "responses": { @@ -75,3 +75,4 @@ } } } + diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheGetPrivateEndpointConnection.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheGetPrivateEndpointConnection.json index edc529dff83b..3262775b1c1b 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheGetPrivateEndpointConnection.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheGetPrivateEndpointConnection.json @@ -4,7 +4,7 @@ "resourceGroupName": "rgtest01", "cacheName": "cachetest01", "privateEndpointConnectionName": "pectest01", - "api-version": "2023-08-01" + "api-version": "2024-03-01" }, "responses": { "200": { @@ -27,3 +27,4 @@ } } } + diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheImport.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheImport.json index 33ea0ef56e21..c38d4ba8998d 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheImport.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheImport.json @@ -2,7 +2,7 @@ "parameters": { "name": "cache1", "resourceGroupName": "rg1", - "api-version": "2023-08-01", + "api-version": "2024-03-01", "subscriptionId": "subid", "parameters": { "format": "RDB", @@ -22,3 +22,4 @@ "204": {} } } + diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheLinkedServer_Create.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheLinkedServer_Create.json index 1a9bc786259e..624904b6feae 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheLinkedServer_Create.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheLinkedServer_Create.json @@ -3,7 +3,7 @@ "name": "cache1", "resourceGroupName": "rg1", "linkedServerName": "cache2", - "api-version": "2023-08-01", + "api-version": "2024-03-01", "subscriptionId": "subid", "parameters": { "properties": { @@ -46,3 +46,4 @@ } } } + diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheLinkedServer_Delete.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheLinkedServer_Delete.json index 25f8ad0231cc..163792b69435 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheLinkedServer_Delete.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheLinkedServer_Delete.json @@ -3,7 +3,7 @@ "name": "cache1", "resourceGroupName": "rg1", "linkedServerName": "cache2", - "api-version": "2023-08-01", + "api-version": "2024-03-01", "subscriptionId": "subid" }, "responses": { @@ -15,3 +15,4 @@ } } } + diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheLinkedServer_Get.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheLinkedServer_Get.json index c0d696d1a5ea..571d4a98ec4d 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheLinkedServer_Get.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheLinkedServer_Get.json @@ -2,7 +2,7 @@ "parameters": { "name": "cache1", "resourceGroupName": "rg1", - "api-version": "2023-08-01", + "api-version": "2024-03-01", "subscriptionId": "subid", "linkedServerName": "cache2" }, @@ -24,3 +24,4 @@ } } } + diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheLinkedServer_List.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheLinkedServer_List.json index 8fb48bf4cf70..da87446f38f2 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheLinkedServer_List.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheLinkedServer_List.json @@ -2,7 +2,7 @@ "parameters": { "name": "cache1", "resourceGroupName": "rg1", - "api-version": "2023-08-01", + "api-version": "2024-03-01", "subscriptionId": "subid" }, "responses": { @@ -40,3 +40,4 @@ } } } + diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheList.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheList.json index 7fbd553b1576..4c34ecd5e5ee 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheList.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheList.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-08-01", + "api-version": "2024-03-01", "subscriptionId": "subid" }, "responses": { @@ -56,3 +56,4 @@ } } } + diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheListByResourceGroup.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheListByResourceGroup.json index b580f69554b7..4aac63a6fa92 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheListByResourceGroup.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheListByResourceGroup.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-08-01", + "api-version": "2024-03-01", "resourceGroupName": "rg1", "subscriptionId": "subid" }, @@ -34,3 +34,4 @@ } } } + diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheListKeys.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheListKeys.json index 71a0639fda87..74ed8dddf3d6 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheListKeys.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheListKeys.json @@ -2,7 +2,7 @@ "parameters": { "name": "cache1", "resourceGroupName": "rg1", - "api-version": "2023-08-01", + "api-version": "2024-03-01", "subscriptionId": "subid" }, "responses": { @@ -14,3 +14,4 @@ } } } + diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheListPrivateEndpointConnections.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheListPrivateEndpointConnections.json index 91e7d0b30714..0c2a0378da92 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheListPrivateEndpointConnections.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheListPrivateEndpointConnections.json @@ -4,7 +4,7 @@ "resourceGroupName": "rgtest01", "cacheName": "cachetest01", "privateEndpointConnectionName": "pectest01", - "api-version": "2023-08-01" + "api-version": "2024-03-01" }, "responses": { "200": { @@ -47,3 +47,4 @@ } } } + diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheListPrivateLinkResources.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheListPrivateLinkResources.json index f51c89b1bc82..6fd5e8b13785 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheListPrivateLinkResources.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheListPrivateLinkResources.json @@ -3,7 +3,7 @@ "subscriptionId": "{subscription-id}", "resourceGroupName": "rgtest01", "cacheName": "cacheTest01", - "api-version": "2023-08-01" + "api-version": "2024-03-01" }, "responses": { "200": { @@ -28,3 +28,4 @@ } } } + diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheListUpgradeNotifications.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheListUpgradeNotifications.json index e3f16f5c6cf2..41daf5e9eb96 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheListUpgradeNotifications.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheListUpgradeNotifications.json @@ -2,7 +2,7 @@ "parameters": { "name": "cache1", "resourceGroupName": "rg1", - "api-version": "2023-08-01", + "api-version": "2024-03-01", "subscriptionId": "subid", "history": "5000" }, @@ -20,3 +20,4 @@ } } } + diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheOperations.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheOperations.json index cf640f0a25ba..8ca85cbcf7de 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheOperations.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheOperations.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-08-01" + "api-version": "2024-03-01" }, "responses": { "200": { @@ -641,3 +641,4 @@ } } } + diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCachePatchSchedulesCreateOrUpdate.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCachePatchSchedulesCreateOrUpdate.json index 3c5d469a23c8..8aa5b08b5d52 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCachePatchSchedulesCreateOrUpdate.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCachePatchSchedulesCreateOrUpdate.json @@ -3,7 +3,7 @@ "name": "cache1", "resourceGroupName": "rg1", "default": "default", - "api-version": "2023-08-01", + "api-version": "2024-03-01", "subscriptionId": "subid", "parameters": { "properties": { @@ -66,3 +66,4 @@ } } } + diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCachePatchSchedulesDelete.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCachePatchSchedulesDelete.json index c44048536f02..efe596433e0a 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCachePatchSchedulesDelete.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCachePatchSchedulesDelete.json @@ -3,7 +3,7 @@ "name": "cache1", "resourceGroupName": "rg1", "default": "default", - "api-version": "2023-08-01", + "api-version": "2024-03-01", "subscriptionId": "subid" }, "responses": { @@ -11,3 +11,4 @@ "204": {} } } + diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCachePatchSchedulesGet.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCachePatchSchedulesGet.json index c8f3a819bf01..3d82f3614a1d 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCachePatchSchedulesGet.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCachePatchSchedulesGet.json @@ -3,7 +3,7 @@ "name": "cache1", "resourceGroupName": "rg1", "default": "default", - "api-version": "2023-08-01", + "api-version": "2024-03-01", "subscriptionId": "subid" }, "responses": { @@ -30,3 +30,4 @@ } } } + diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCachePatchSchedulesList.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCachePatchSchedulesList.json index 21d8efe4bde4..3144a4ca9d0d 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCachePatchSchedulesList.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCachePatchSchedulesList.json @@ -2,7 +2,7 @@ "parameters": { "cacheName": "cache1", "resourceGroupName": "rg1", - "api-version": "2023-08-01", + "api-version": "2024-03-01", "subscriptionId": "subid" }, "responses": { @@ -33,3 +33,4 @@ } } } + diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCachePutPrivateEndpointConnection.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCachePutPrivateEndpointConnection.json index 124bca70fff6..396a8779101d 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCachePutPrivateEndpointConnection.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCachePutPrivateEndpointConnection.json @@ -4,7 +4,7 @@ "resourceGroupName": "rgtest01", "cacheName": "cachetest01", "privateEndpointConnectionName": "pectest01", - "api-version": "2023-08-01", + "api-version": "2024-03-01", "properties": { "properties": { "privateLinkServiceConnectionState": { @@ -53,3 +53,4 @@ } } } + diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheRegenerateKey.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheRegenerateKey.json index 2a82e27061c3..3eb7a2085eeb 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheRegenerateKey.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheRegenerateKey.json @@ -2,7 +2,7 @@ "parameters": { "name": "cache1", "resourceGroupName": "rg1", - "api-version": "2023-08-01", + "api-version": "2024-03-01", "subscriptionId": "subid", "parameters": { "keyType": "Primary" @@ -17,3 +17,4 @@ } } } + diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheUpdate.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheUpdate.json index 5f533b746daf..c73ab57c39fa 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheUpdate.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheUpdate.json @@ -2,7 +2,7 @@ "parameters": { "name": "cache1", "resourceGroupName": "rg1", - "api-version": "2023-08-01", + "api-version": "2024-03-01", "subscriptionId": "subid", "parameters": { "properties": { @@ -125,3 +125,4 @@ } } } + diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/redis.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/redis.json index 4c6dc6d5b471..862b88b9b341 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/redis.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/redis.json @@ -3,7 +3,7 @@ "info": { "title": "RedisManagementClient", "description": "REST API for Azure Redis Cache Service.", - "version": "2023-08-01" + "version": "2024-03-01" }, "host": "management.azure.com", "schemes": [ @@ -3385,3 +3385,4 @@ } } } + From e77c46f344627bcd398a12ef4c7a61bec7ab38e2 Mon Sep 17 00:00:00 2001 From: Kanchan Joshi Date: Mon, 6 May 2024 10:00:04 +0530 Subject: [PATCH 03/11] Added tag for 2024-03-01 in readme file --- specification/redis/resource-manager/readme.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/specification/redis/resource-manager/readme.md b/specification/redis/resource-manager/readme.md index c61f770c14af..93c708abdf8e 100644 --- a/specification/redis/resource-manager/readme.md +++ b/specification/redis/resource-manager/readme.md @@ -26,10 +26,19 @@ These are the global settings for the Redis API. ``` yaml openapi-type: arm -tag: package-2023-08 +tag: package-2024-03 ``` +### Tag: package-2024-03 + +These settings apply only when `--tag=package-2024-03` is specified on the command line. + +```yaml $(tag) == 'package-2024-03' +input-file: + - Microsoft.Cache/stable/2024-03-01/redis.json +``` + ### Tag: package-2023-08 These settings apply only when `--tag=package-2023-08` is specified on the command line. From 469e5f55fb999ed2ed361614ed41368d855f0adf Mon Sep 17 00:00:00 2001 From: Kanchan Joshi Date: Mon, 6 May 2024 10:17:55 +0530 Subject: [PATCH 04/11] Add disableAccessKeyAuthentication property --- .../Microsoft.Cache/stable/2024-03-01/redis.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/redis.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/redis.json index 862b88b9b341..677d881312d7 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/redis.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/redis.json @@ -2388,6 +2388,10 @@ "name": "UpdateChannel", "modelAsString": true } + }, + "disableAccessKeyAuthentication": { + "type": "boolean", + "description": "Specifies whether authentication to Redis through access keys is disabled" } }, "description": "Create/Update/Get common properties of the redis cache.", From ae0a526b64c4728b7d6df16a68783c2bbe1f25ef Mon Sep 17 00:00:00 2001 From: Kanchan Joshi Date: Mon, 6 May 2024 10:45:55 +0530 Subject: [PATCH 05/11] Update pattern for access policy name to allow space --- .../Microsoft.Cache/stable/2024-03-01/redis.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/redis.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/redis.json index 677d881312d7..9228c626ccb1 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/redis.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/redis.json @@ -3181,7 +3181,7 @@ "accessPolicyName": { "type": "string", "description": "The name of the access policy that is being assigned", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9]|[a-zA-Z0-9])$" + "pattern": "^([a-zA-Z0-9][a-zA-Z0-9- ]*[a-zA-Z0-9]|[a-zA-Z0-9])$" } }, "required": [ @@ -3372,7 +3372,7 @@ "type": "string", "description": "The name of the access policy that is being added to the Redis cache.", "x-ms-parameter-location": "method", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9]|[a-zA-Z0-9])$", + "pattern": "^([a-zA-Z0-9][a-zA-Z0-9- ]*[a-zA-Z0-9]|[a-zA-Z0-9])$", "minLength": 3, "maxLength": 63 }, From 63223f01cfbff311e376ca61af055a5e30f73c77 Mon Sep 17 00:00:00 2001 From: Kanchan Joshi Date: Mon, 6 May 2024 11:12:25 +0530 Subject: [PATCH 06/11] Run prettier --- .../2024-03-01/examples/RedisCacheAccessPolicyAssignmentGet.json | 1 - 1 file changed, 1 deletion(-) diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyAssignmentGet.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyAssignmentGet.json index f4078dfd77f7..875402536ea9 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyAssignmentGet.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyAssignmentGet.json @@ -22,4 +22,3 @@ } } } - From 459900f807d662360bf0f13c6a83c85c9c3cb74f Mon Sep 17 00:00:00 2001 From: Kanchan Joshi Date: Mon, 6 May 2024 11:18:36 +0530 Subject: [PATCH 07/11] Run prettier --- .../examples/RedisCacheAccessPolicyAssignmentCreateUpdate.json | 1 - .../examples/RedisCacheAccessPolicyAssignmentDelete.json | 1 - .../examples/RedisCacheAccessPolicyAssignmentList.json | 1 - .../2024-03-01/examples/RedisCacheAccessPolicyCreateUpdate.json | 1 - .../stable/2024-03-01/examples/RedisCacheAccessPolicyDelete.json | 1 - .../stable/2024-03-01/examples/RedisCacheAccessPolicyGet.json | 1 - .../stable/2024-03-01/examples/RedisCacheAccessPolicyList.json | 1 - .../2024-03-01/examples/RedisCacheAsyncOperationStatus.json | 1 - .../2024-03-01/examples/RedisCacheCheckNameAvailability.json | 1 - .../stable/2024-03-01/examples/RedisCacheCreate.json | 1 - .../2024-03-01/examples/RedisCacheCreateDefaultVersion.json | 1 - .../2024-03-01/examples/RedisCacheCreateLatestVersion.json | 1 - .../stable/2024-03-01/examples/RedisCacheDelete.json | 1 - .../examples/RedisCacheDeletePrivateEndpointConnection.json | 1 - .../stable/2024-03-01/examples/RedisCacheExport.json | 1 - .../stable/2024-03-01/examples/RedisCacheFirewallRuleCreate.json | 1 - .../stable/2024-03-01/examples/RedisCacheFirewallRuleDelete.json | 1 - .../stable/2024-03-01/examples/RedisCacheFirewallRuleGet.json | 1 - .../stable/2024-03-01/examples/RedisCacheFirewallRulesList.json | 1 - .../stable/2024-03-01/examples/RedisCacheFlush.json | 1 - .../stable/2024-03-01/examples/RedisCacheForceReboot.json | 1 - .../stable/2024-03-01/examples/RedisCacheGet.json | 1 - .../examples/RedisCacheGetPrivateEndpointConnection.json | 1 - .../stable/2024-03-01/examples/RedisCacheImport.json | 1 - .../2024-03-01/examples/RedisCacheLinkedServer_Create.json | 1 - .../2024-03-01/examples/RedisCacheLinkedServer_Delete.json | 1 - .../stable/2024-03-01/examples/RedisCacheLinkedServer_Get.json | 1 - .../stable/2024-03-01/examples/RedisCacheLinkedServer_List.json | 1 - .../stable/2024-03-01/examples/RedisCacheList.json | 1 - .../2024-03-01/examples/RedisCacheListByResourceGroup.json | 1 - .../stable/2024-03-01/examples/RedisCacheListKeys.json | 1 - .../examples/RedisCacheListPrivateEndpointConnections.json | 1 - .../2024-03-01/examples/RedisCacheListPrivateLinkResources.json | 1 - .../2024-03-01/examples/RedisCacheListUpgradeNotifications.json | 1 - .../stable/2024-03-01/examples/RedisCacheOperations.json | 1 - .../examples/RedisCachePatchSchedulesCreateOrUpdate.json | 1 - .../2024-03-01/examples/RedisCachePatchSchedulesDelete.json | 1 - .../stable/2024-03-01/examples/RedisCachePatchSchedulesGet.json | 1 - .../stable/2024-03-01/examples/RedisCachePatchSchedulesList.json | 1 - .../examples/RedisCachePutPrivateEndpointConnection.json | 1 - .../stable/2024-03-01/examples/RedisCacheRegenerateKey.json | 1 - .../stable/2024-03-01/examples/RedisCacheUpdate.json | 1 - 42 files changed, 42 deletions(-) diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyAssignmentCreateUpdate.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyAssignmentCreateUpdate.json index 01c44125418f..126f4976835b 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyAssignmentCreateUpdate.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyAssignmentCreateUpdate.json @@ -42,4 +42,3 @@ } } } - diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyAssignmentDelete.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyAssignmentDelete.json index 093b897747d8..239f07e4b71e 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyAssignmentDelete.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyAssignmentDelete.json @@ -16,4 +16,3 @@ } } } - diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyAssignmentList.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyAssignmentList.json index 93b796cf6df5..5e06bc05f834 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyAssignmentList.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyAssignmentList.json @@ -36,4 +36,3 @@ } } } - diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyCreateUpdate.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyCreateUpdate.json index 5d371c77bd2f..2208577b611d 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyCreateUpdate.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyCreateUpdate.json @@ -38,4 +38,3 @@ } } } - diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyDelete.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyDelete.json index 1f9f4b3a36f2..0d25e1e2b8f6 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyDelete.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyDelete.json @@ -16,4 +16,3 @@ } } } - diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyGet.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyGet.json index 55db77e6b0c6..9b256704165d 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyGet.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyGet.json @@ -21,4 +21,3 @@ } } } - diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyList.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyList.json index 59fb86198e6c..9bcebeb932f0 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyList.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyList.json @@ -34,4 +34,3 @@ } } } - diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAsyncOperationStatus.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAsyncOperationStatus.json index 147cc206dcfa..ad9b84d10094 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAsyncOperationStatus.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAsyncOperationStatus.json @@ -20,4 +20,3 @@ } } } - diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheCheckNameAvailability.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheCheckNameAvailability.json index 34d4518cf955..f9a9d867bdf6 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheCheckNameAvailability.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheCheckNameAvailability.json @@ -11,4 +11,3 @@ "200": {} } } - diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheCreate.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheCreate.json index 59203c7228b5..3b05dfff6a78 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheCreate.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheCreate.json @@ -205,4 +205,3 @@ } } } - diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheCreateDefaultVersion.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheCreateDefaultVersion.json index a5d52391fc7b..c6cfbdbbc396 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheCreateDefaultVersion.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheCreateDefaultVersion.json @@ -204,4 +204,3 @@ } } } - diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheCreateLatestVersion.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheCreateLatestVersion.json index ed68ea8c4639..2055e7670662 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheCreateLatestVersion.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheCreateLatestVersion.json @@ -205,4 +205,3 @@ } } } - diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheDelete.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheDelete.json index 434ede26fd6a..04ed844a714e 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheDelete.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheDelete.json @@ -15,4 +15,3 @@ "204": {} } } - diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheDeletePrivateEndpointConnection.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheDeletePrivateEndpointConnection.json index fd53b4c00118..1ec3222f4027 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheDeletePrivateEndpointConnection.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheDeletePrivateEndpointConnection.json @@ -11,4 +11,3 @@ "204": {} } } - diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheExport.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheExport.json index 95a6b2498e46..6ee729d3938b 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheExport.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheExport.json @@ -21,4 +21,3 @@ "204": {} } } - diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheFirewallRuleCreate.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheFirewallRuleCreate.json index d4befa08c88a..8783e24fada2 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheFirewallRuleCreate.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheFirewallRuleCreate.json @@ -37,4 +37,3 @@ } } } - diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheFirewallRuleDelete.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheFirewallRuleDelete.json index ad07ef2ba1d3..8ef0eada9476 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheFirewallRuleDelete.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheFirewallRuleDelete.json @@ -11,4 +11,3 @@ "204": {} } } - diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheFirewallRuleGet.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheFirewallRuleGet.json index cba1a105a4c9..4589cda80487 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheFirewallRuleGet.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheFirewallRuleGet.json @@ -20,4 +20,3 @@ } } } - diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheFirewallRulesList.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheFirewallRulesList.json index 25b4d29978cc..59c6f4727eed 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheFirewallRulesList.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheFirewallRulesList.json @@ -32,4 +32,3 @@ } } } - diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheFlush.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheFlush.json index f5e766d9eda2..61895001d473 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheFlush.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheFlush.json @@ -19,4 +19,3 @@ } } } - diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheForceReboot.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheForceReboot.json index 87c42838934f..96b9cb0608f4 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheForceReboot.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheForceReboot.json @@ -21,4 +21,3 @@ } } } - diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheGet.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheGet.json index e6d2f4acce86..9bd34e785cde 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheGet.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheGet.json @@ -75,4 +75,3 @@ } } } - diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheGetPrivateEndpointConnection.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheGetPrivateEndpointConnection.json index 3262775b1c1b..4cf17b749255 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheGetPrivateEndpointConnection.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheGetPrivateEndpointConnection.json @@ -27,4 +27,3 @@ } } } - diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheImport.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheImport.json index c38d4ba8998d..21af817fad36 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheImport.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheImport.json @@ -22,4 +22,3 @@ "204": {} } } - diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheLinkedServer_Create.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheLinkedServer_Create.json index 624904b6feae..6f97431d0dd4 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheLinkedServer_Create.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheLinkedServer_Create.json @@ -46,4 +46,3 @@ } } } - diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheLinkedServer_Delete.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheLinkedServer_Delete.json index 163792b69435..d74eb073370f 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheLinkedServer_Delete.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheLinkedServer_Delete.json @@ -15,4 +15,3 @@ } } } - diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheLinkedServer_Get.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheLinkedServer_Get.json index 571d4a98ec4d..7375641888e3 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheLinkedServer_Get.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheLinkedServer_Get.json @@ -24,4 +24,3 @@ } } } - diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheLinkedServer_List.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheLinkedServer_List.json index da87446f38f2..f87bef056fd3 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheLinkedServer_List.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheLinkedServer_List.json @@ -40,4 +40,3 @@ } } } - diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheList.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheList.json index 4c34ecd5e5ee..e9806af6871b 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheList.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheList.json @@ -56,4 +56,3 @@ } } } - diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheListByResourceGroup.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheListByResourceGroup.json index 4aac63a6fa92..02a9736bab74 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheListByResourceGroup.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheListByResourceGroup.json @@ -34,4 +34,3 @@ } } } - diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheListKeys.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheListKeys.json index 74ed8dddf3d6..83355e79366b 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheListKeys.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheListKeys.json @@ -14,4 +14,3 @@ } } } - diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheListPrivateEndpointConnections.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheListPrivateEndpointConnections.json index 0c2a0378da92..6ad20ec35a7c 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheListPrivateEndpointConnections.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheListPrivateEndpointConnections.json @@ -47,4 +47,3 @@ } } } - diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheListPrivateLinkResources.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheListPrivateLinkResources.json index 6fd5e8b13785..414cb0c478dc 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheListPrivateLinkResources.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheListPrivateLinkResources.json @@ -28,4 +28,3 @@ } } } - diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheListUpgradeNotifications.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheListUpgradeNotifications.json index 41daf5e9eb96..c8985092ddc0 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheListUpgradeNotifications.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheListUpgradeNotifications.json @@ -20,4 +20,3 @@ } } } - diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheOperations.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheOperations.json index 8ca85cbcf7de..7877e2f41912 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheOperations.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheOperations.json @@ -641,4 +641,3 @@ } } } - diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCachePatchSchedulesCreateOrUpdate.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCachePatchSchedulesCreateOrUpdate.json index 8aa5b08b5d52..dd76008d3bbf 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCachePatchSchedulesCreateOrUpdate.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCachePatchSchedulesCreateOrUpdate.json @@ -66,4 +66,3 @@ } } } - diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCachePatchSchedulesDelete.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCachePatchSchedulesDelete.json index efe596433e0a..91922a5a7b71 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCachePatchSchedulesDelete.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCachePatchSchedulesDelete.json @@ -11,4 +11,3 @@ "204": {} } } - diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCachePatchSchedulesGet.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCachePatchSchedulesGet.json index 3d82f3614a1d..9a3f70d1ed08 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCachePatchSchedulesGet.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCachePatchSchedulesGet.json @@ -30,4 +30,3 @@ } } } - diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCachePatchSchedulesList.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCachePatchSchedulesList.json index 3144a4ca9d0d..6cb9525e9488 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCachePatchSchedulesList.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCachePatchSchedulesList.json @@ -33,4 +33,3 @@ } } } - diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCachePutPrivateEndpointConnection.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCachePutPrivateEndpointConnection.json index 396a8779101d..65b6a1015d0a 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCachePutPrivateEndpointConnection.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCachePutPrivateEndpointConnection.json @@ -53,4 +53,3 @@ } } } - diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheRegenerateKey.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheRegenerateKey.json index 3eb7a2085eeb..7afc26a2f58c 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheRegenerateKey.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheRegenerateKey.json @@ -17,4 +17,3 @@ } } } - diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheUpdate.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheUpdate.json index c73ab57c39fa..fa6d6dded1c9 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheUpdate.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheUpdate.json @@ -125,4 +125,3 @@ } } } - From 4c9f9a2fdc17cc4bd83e955024f027a2458cbc27 Mon Sep 17 00:00:00 2001 From: Kanchan Joshi Date: Mon, 6 May 2024 11:23:53 +0530 Subject: [PATCH 08/11] Update description --- .../Microsoft.Cache/stable/2024-03-01/redis.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/redis.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/redis.json index 9228c626ccb1..4122bdfcf0a4 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/redis.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/redis.json @@ -2391,7 +2391,7 @@ }, "disableAccessKeyAuthentication": { "type": "boolean", - "description": "Specifies whether authentication to Redis through access keys is disabled" + "description": "Authentication to Redis through access keys is disabled when set as true" } }, "description": "Create/Update/Get common properties of the redis cache.", From 4eb58acd0ed6f9ba4e77754ea75f290f87ea5795 Mon Sep 17 00:00:00 2001 From: Kanchan Joshi Date: Mon, 6 May 2024 11:31:16 +0530 Subject: [PATCH 09/11] Run prettier --- .../Microsoft.Cache/stable/2024-03-01/redis.json | 1 - 1 file changed, 1 deletion(-) diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/redis.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/redis.json index 4122bdfcf0a4..d5b39cc90fca 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/redis.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/redis.json @@ -3389,4 +3389,3 @@ } } } - From 431c8d30ab2ae18fee46e754ba5849bd555dfb9f Mon Sep 17 00:00:00 2001 From: Kanchan Joshi Date: Wed, 8 May 2024 11:37:13 +0530 Subject: [PATCH 10/11] Update description for redisConfiguration --- .../Microsoft.Cache/stable/2024-03-01/redis.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/redis.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/redis.json index d5b39cc90fca..afc22f2ef6ea 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/redis.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/redis.json @@ -2318,7 +2318,7 @@ } }, "additionalProperties": {}, - "description": "All Redis Settings. Few possible keys: rdb-backup-enabled,rdb-storage-connection-string,rdb-backup-frequency,maxmemory-delta,maxmemory-policy,notify-keyspace-events,maxmemory-samples,slowlog-log-slower-than,slowlog-max-len,list-max-ziplist-entries,list-max-ziplist-value,hash-max-ziplist-entries,hash-max-ziplist-value,set-max-intset-entries,zset-max-ziplist-entries,zset-max-ziplist-value etc." + "description": "All Redis Settings. Few possible keys: rdb-backup-enabled,rdb-storage-connection-string,rdb-backup-frequency,maxmemory-delta, maxmemory-policy,notify-keyspace-events, aof-backup-enabled, aof-storage-connection-string-0, aof-storage-connection-string-1 etc." }, "redisVersion": { "type": "string", From cd7b289365779dc6016912ac265055026b44e2f6 Mon Sep 17 00:00:00 2001 From: Kanchan Joshi Date: Mon, 13 May 2024 10:08:27 +0530 Subject: [PATCH 11/11] Add default value and update description --- .../Microsoft.Cache/stable/2024-03-01/redis.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/redis.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/redis.json index afc22f2ef6ea..1348ba9e98c1 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/redis.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/redis.json @@ -2391,7 +2391,8 @@ }, "disableAccessKeyAuthentication": { "type": "boolean", - "description": "Authentication to Redis through access keys is disabled when set as true" + "description": "Authentication to Redis through access keys is disabled when set as true. Default value is false.", + "default": false } }, "description": "Create/Update/Get common properties of the redis cache.",