Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CosmosDB-MICassandra] Added VPN feature properties to stable #28540

Merged
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 @@ -946,6 +946,31 @@
"provisionError": {
"$ref": "#/definitions/CassandraError",
"description": "Error related to resource provisioning."
},
"azureConnectionMethod": {
"type": "string",
"description": "How to connect to the azure services needed for running the cluster",
"enum": [
"None",
"VPN"
],
"x-ms-enum": {
"name": "AzureConnectionType",
"modelAsString": true
}
},
"privateLinkResourceId": {
"readOnly": true,
"type": "string",
"format": "arm-id",
"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."
}

Choose a reason for hiding this comment

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

Choose a reason for hiding this comment

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

dont you need to include the allowed resources to restrict it to privae links ?

Copy link
Member

Choose a reason for hiding this comment

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

@guanzhousongmicrosoft @DrewKaufmann can you take a look at this suggestion as well?

Copy link
Member

Choose a reason for hiding this comment

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

Added by @DrewKaufmann. Resolving conversation.

}
}
Expand Down Expand Up @@ -1346,6 +1371,10 @@
"provisionError": {
"$ref": "#/definitions/CassandraError",
"description": "Error related to resource provisioning."
},
"privateEndpointIpAddress": {
"type": "string",
"description": "Ip of the VPN Endpoint for this data center."
}
}
}
Expand Down