Skip to content
Open
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
Expand Up @@ -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"
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"clusterName": "garnet-prod",
"body": {
"properties": {
"clusterType": "Production"
"clusterType": "Production",
"authenticationMethod": "Entra"
}
}
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{

Check warning on line 1 in specification/cosmos-db/resource-manager/Microsoft.DocumentDB/DocumentDB/preview/2025-11-01-preview/garnetCache.json

View workflow job for this annotation

GitHub Actions / TypeSpec Requirement

WARNING: This PR uses OpenAPI / Swagger. All Azure services are required to convert to TypeSpec by March 30, 2026. PRs not using TypeSpec will be blocked after that date. Starting July 1, 2026, all SDKs will be generated from TypeSpec as the autorest toolchain is being retired. Please reach out to tspconversion@service.microsoft.com with any questions and see http://aka.ms/azsdk/typespec for more details on TypeSpec.

Check warning on line 1 in specification/cosmos-db/resource-manager/Microsoft.DocumentDB/DocumentDB/preview/2025-11-01-preview/garnetCache.json

View workflow job for this annotation

GitHub Actions / TypeSpec Requirement

WARNING: This PR uses OpenAPI / Swagger. All Azure services are required to convert to TypeSpec by March 30, 2026. PRs not using TypeSpec will be blocked after that date. Starting July 1, 2026, all SDKs will be generated from TypeSpec as the autorest toolchain is being retired. Please reach out to tspconversion@service.microsoft.com with any questions and see http://aka.ms/azsdk/typespec for more details on TypeSpec.

Check warning on line 1 in specification/cosmos-db/resource-manager/Microsoft.DocumentDB/DocumentDB/preview/2025-11-01-preview/garnetCache.json

View workflow job for this annotation

GitHub Actions / TypeSpec Requirement

WARNING: This PR uses OpenAPI / Swagger. All Azure services are required to convert to TypeSpec by March 30, 2026. PRs not using TypeSpec will be blocked after that date. Starting July 1, 2026, all SDKs will be generated from TypeSpec as the autorest toolchain is being retired. Please reach out to tspconversion@service.microsoft.com with any questions and see http://aka.ms/azsdk/typespec for more details on TypeSpec.
"swagger": "2.0",
"info": {
"title": "Cosmos DB - Garnet Cache",
Expand Down Expand Up @@ -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",
Expand All @@ -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": {

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this being added?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This exposes authentication type, we have only "Entra" that is supported. For any other string it throws error message.

"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.",
Expand Down Expand Up @@ -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.",
Expand Down
Loading