diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/DocumentDB/preview/2025-11-01-preview/examples/CosmosDBGarnetClusterCreate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/DocumentDB/preview/2025-11-01-preview/examples/CosmosDBGarnetClusterCreate.json index 294b2f066b0c..f07c6deb8003 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/DocumentDB/preview/2025-11-01-preview/examples/CosmosDBGarnetClusterCreate.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/DocumentDB/preview/2025-11-01-preview/examples/CosmosDBGarnetClusterCreate.json @@ -9,9 +9,10 @@ "tags": {}, "properties": { "subnetId": "/subscriptions/536e130b-d7d6-4ac7-98a5-de20d69588d2/resourceGroups/customer-vnet-rg/providers/Microsoft.Network/virtualNetworks/customer-vnet/subnets/management", - "nodeCount": 4, + "shardCount": 4, "nodeSku": "Standard_DS13_v2", - "replicationFactor": 2 + "replicationFactor": 2, + "authenticationMethod": "Entra" } } }, diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/DocumentDB/preview/2025-11-01-preview/examples/CosmosDBGarnetClusterPatch.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/DocumentDB/preview/2025-11-01-preview/examples/CosmosDBGarnetClusterPatch.json index 060d9f262d7f..e8bad319dcd2 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/DocumentDB/preview/2025-11-01-preview/examples/CosmosDBGarnetClusterPatch.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/DocumentDB/preview/2025-11-01-preview/examples/CosmosDBGarnetClusterPatch.json @@ -6,7 +6,8 @@ "clusterName": "garnet-prod", "body": { "properties": { - "clusterType": "Production" + "clusterType": "Production", + "authenticationMethod": "Entra" } } }, diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/DocumentDB/preview/2025-11-01-preview/garnetCache.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/DocumentDB/preview/2025-11-01-preview/garnetCache.json index 0348b030e2d7..a92cda47b9cf 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/DocumentDB/preview/2025-11-01-preview/garnetCache.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/DocumentDB/preview/2025-11-01-preview/garnetCache.json @@ -400,10 +400,10 @@ "format": "int32", "description": "Number of copies of data maintained by the cluster" }, - "nodeCount": { + "shardCount": { "type": "integer", "format": "int32", - "description": "Number of nodes" + "description": "Number of shards in the cluster" }, "nodeSku": { "type": "string", @@ -413,6 +413,10 @@ "type": "boolean", "description": "If the data center has Availability Zone support, apply it to the Virtual Machine ScaleSet that host the garnet cluster virtual machines." }, + "authenticationMethod": { + "type": "string", + "description": "The authentication method used for the Garnet cluster." + }, "allocationState": { "type": "string", "description": "Allocation state of the cluster and data center resources. Active implies the virtual machines of the cluster are allocated, deallocated implies virtual machines and resources are deallocated.", @@ -472,6 +476,17 @@ "modelAsString": true } }, + "authenticationMethod": { + "type": "string", + "description": "The authentication method used for the Garnet cluster.", + "enum": [ + "Entra" + ], + "x-ms-enum": { + "name": "GarnetAuthenticationType", + "modelAsString": true + } + }, "extensions": { "type": "array", "description": "Extensions to be added or updated on cluster.",