From f9e6fa14d753f1f54222b7c69718c92c9ffe33fe Mon Sep 17 00:00:00 2001 From: drewkaufmann Date: Sun, 31 Mar 2024 00:16:24 -0400 Subject: [PATCH 1/3] Added VPN feature properties --- .../stable/2024-05-15/managedCassandra.json | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/managedCassandra.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/managedCassandra.json index 989e0d17bec7..0a7cdb6f91d3 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/managedCassandra.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/managedCassandra.json @@ -946,6 +946,23 @@ "provisionError": { "$ref": "#/definitions/CassandraError", "description": "Error related to resource provisioning." + }, + "azureConnectionMethod": { + "type": "string", + "description": "How to connect to the azure servcies needed for running the cluster", + "enum": [ + "None", + "VPN" + ], + "x-ms-enum": { + "name": "AzureConnectionType", + "modelAsString": true + } + }, + "privateLinkResourceId": { + "type": "string", + "readOnly": true, + "description": "If the Connection Method is Vpn, this is the Id of the private link resource that the datacenters need to connect to." } } } @@ -1346,6 +1363,10 @@ "provisionError": { "$ref": "#/definitions/CassandraError", "description": "Error related to resource provisioning." + }, + "privateEndpointIpAddress": { + "type": "string", + "description": "Ip of the VPN Endpoint for this data center." } } } From 518ea997de764cfe1c7d0c034a3253bfb6aae8e6 Mon Sep 17 00:00:00 2001 From: Drew Kaufmann Date: Wed, 17 Apr 2024 11:51:10 -0400 Subject: [PATCH 2/3] Fixed SpellCheck violation and added arm-id format to privateLinkResourceId --- .../stable/2024-05-15/managedCassandra.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/managedCassandra.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/managedCassandra.json index 0a7cdb6f91d3..6070ff4ffd65 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/managedCassandra.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/managedCassandra.json @@ -949,7 +949,7 @@ }, "azureConnectionMethod": { "type": "string", - "description": "How to connect to the azure servcies needed for running the cluster", + "description": "How to connect to the azure services needed for running the cluster", "enum": [ "None", "VPN" @@ -961,6 +961,7 @@ }, "privateLinkResourceId": { "type": "string", + "format": "arm-id", "readOnly": true, "description": "If the Connection Method is Vpn, this is the Id of the private link resource that the datacenters need to connect to." } From 32c52d54a97164818ced76efef13ba37cac587fa Mon Sep 17 00:00:00 2001 From: Drew Kaufmann Date: Fri, 19 Apr 2024 14:59:59 -0400 Subject: [PATCH 3/3] Added arm-id-details to privateLinkResourceId --- .../stable/2024-05-15/managedCassandra.json | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/managedCassandra.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/managedCassandra.json index 6070ff4ffd65..3f112ff9027c 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/managedCassandra.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/managedCassandra.json @@ -960,9 +960,16 @@ } }, "privateLinkResourceId": { + "readOnly": true, "type": "string", "format": "arm-id", - "readOnly": true, + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Network/privateLinkServices" + } + ] + }, "description": "If the Connection Method is Vpn, this is the Id of the private link resource that the datacenters need to connect to." } }