mongo_clusters_connection_strings
Creates, updates, deletes, gets or lists a mongo_clusters_connection_strings resource.
Overview
| Name | mongo_clusters_connection_strings |
| Type | Resource |
| Id | azure_isv.mongo_db.mongo_clusters_connection_strings |
Fields
The following fields are returned by SELECT queries:
- list
Azure operation completed successfully.
| Name | Datatype | Description |
|---|---|---|
connectionStrings | array | An array that contains the connection strings for a mongo cluster. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | subscriptionId, resourceGroupName, mongoClusterName | 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. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
mongoClusterName | string | The name of the mongo cluster. |
resourceGroupName | string | The name of the resource group. The name is case insensitive. |
subscriptionId | string (uuid) | The ID of the target subscription. The value must be an UUID. |
SELECT examples
- list
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 subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND mongoClusterName = '{{ mongoClusterName }}' -- required
;