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.
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.
Examples
Example 1: List the connection strings of a mongo cluster
Name ConnectionString
---- ----------------
Default connection s... mongodb+srv://<user>:<password>@myCluster.global.mongocluster.cosmos.azure.com/...
List the connection strings for a provisioned mongo cluster.
The literal \<user\> and
\<password\> tokens are placeholders that must be replaced with the administrator
credentials.
Parameters
-Confirm
Prompts you for confirmation before running the cmdlet.
The DefaultProfile parameter is not functional.
Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
-InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable,
-ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see
about_CommonParameters.