Skip to main content

mongo_clusters_connection_strings

Creates, updates, deletes, gets or lists a mongo_clusters_connection_strings resource.

Overview

Namemongo_clusters_connection_strings
TypeResource
Idazure_isv.mongo_db.mongo_clusters_connection_strings

Fields

NameDatatypeDescription
connectionStringsarrayAn array that contains the connection strings for a mongo cluster.

Methods

NameAccessible byRequired ParamsDescription
listSELECTmongoClusterName, resourceGroupName, subscriptionIdList mongo cluster connection strings. This includes the default connection string using SCRAM-SHA-256, as well as other connection strings supported by the cluster.

SELECT examples

List mongo cluster connection strings. This includes the default connection string using SCRAM-SHA-256, as well as other connection strings supported by the cluster.

SELECT
connectionStrings
FROM azure_isv.mongo_db.mongo_clusters_connection_strings
WHERE mongoClusterName = '{{ mongoClusterName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';