Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"parameters": {
"databaseName": "default",
"clusterName": "cache1",
"resourceGroupName": "rg1",
"api-version": "2025-05-01-preview",
"subscriptionId": "e7b5a9d2-6b6a-4d2f-9143-20d9a10f5b8f",
"parameters": {
"properties": {
"clientProtocol": "Encrypted",
"clusteringPolicy": "NoCluster",
"evictionPolicy": "NoEviction",
"port": 10000
}
}
},
"responses": {
"201": {
"body": {
"id": "/subscriptions/e7b5a9d2-6b6a-4d2f-9143-20d9a10f5b8f/resourceGroups/rg1/providers/Microsoft.Cache/redisEnterprise/cache1/databases/default",
"name": "cache1/default",
"type": "Microsoft.Cache/redisEnterprise/databases",
"properties": {
"clientProtocol": "Encrypted",
"port": 10000,
"provisioningState": "Creating",
"resourceState": "Creating",
"clusteringPolicy": "NoCluster",
"evictionPolicy": "NoEviction",
"keySpaceNotification": "",
"deferUpgrade": "NotDeferred",
"redisVersion": "7.2",
"accessKeysAuthentication": "Enabled"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"parameters": {
"databaseName": "default",
"clusterName": "cache1",
"resourceGroupName": "rg1",
"api-version": "2025-05-01-preview",
"subscriptionId": "e7b5a9d2-6b6a-4d2f-9143-20d9a10f5b8f",
"parameters": {
"properties": {
"clientProtocol": "Encrypted",
"clusteringPolicy": "EnterpriseCluster",
"evictionPolicy": "NoEviction",
"port": 10000
}
}
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/e7b5a9d2-6b6a-4d2f-9143-20d9a10f5b8f/resourceGroups/rg1/providers/Microsoft.Cache/redisEnterprise/cache1/databases/default",
"name": "cache1/default",
"type": "Microsoft.Cache/redisEnterprise/databases",
"properties": {
"clientProtocol": "Encrypted",
"port": 10000,
"provisioningState": "Updating",
"resourceState": "Updating",
"clusteringPolicy": "EnterpriseCluster",
"evictionPolicy": "NoEviction",
"keySpaceNotification": "",
"deferUpgrade": "NotDeferred",
"redisVersion": "7.2",
"accessKeysAuthentication": "Enabled"
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -485,6 +485,9 @@
},
"RedisEnterpriseDatabasesCreate With Active Geo Replication": {
"$ref": "./examples/RedisEnterpriseDatabasesCreateWithGeoReplication.json"
},
"RedisEnterpriseDatabasesCreate No Cluster Cache": {
"$ref": "./examples/RedisEnterpriseDatabasesNoClusterCacheCreate.json"
}
},
"parameters": [
Expand Down Expand Up @@ -548,6 +551,9 @@
"x-ms-examples": {
"RedisEnterpriseDatabasesUpdate": {
"$ref": "./examples/RedisEnterpriseDatabasesUpdate.json"
},
"RedisEnterpriseDatabasesUpdate Clustering on No Cluster Cache": {
"$ref": "./examples/RedisEnterpriseDatabasesNoClusterCacheUpdateClustering.json"
}
},
"parameters": [
Expand Down Expand Up @@ -2137,14 +2143,16 @@
},
"clusteringPolicy": {
"type": "string",
"description": "Clustering policy - default is OSSCluster. This property must be chosen at create time, and cannot be changed without deleting the database.",
"description": "Clustering policy - default is OSSCluster. This property can be updated only if the current value is NoCluster. If the value is OSSCluster or EnterpriseCluster, it cannot be updated without deleting the database.",
"enum": [
"EnterpriseCluster",
"OSSCluster"
"OSSCluster",
"NoCluster"
],
"x-ms-mutability": [
"read",
"create"
"create",
"update"
],
"x-ms-enum": {
"name": "ClusteringPolicy",
Expand All @@ -2159,6 +2167,11 @@
"value": "OSSCluster",
"name": "OSSCluster",
"description": "OSS clustering policy follows the redis cluster specification, and requires all clients to support redis clustering."
},
{
"value": "NoCluster",
"name": "NoCluster",
"description": "The NoCluster policy is used for non-clustered Redis instances that do not require clustering features."
}
]
}
Expand Down