Skip to main content

database_accounts_connection_strings

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

Overview

Namedatabase_accounts_connection_strings
TypeResource
Idazure.cosmos_db.database_accounts_connection_strings

Fields

NameDatatypeDescription
connectionStringsarrayAn array that contains the connection strings for the Cosmos DB account.

Methods

NameAccessible byRequired ParamsDescription
listSELECTaccountName, resourceGroupName, subscriptionIdLists the connection strings for the specified Azure Cosmos DB database account.

SELECT examples

Lists the connection strings for the specified Azure Cosmos DB database account.

SELECT
connectionStrings
FROM azure.cosmos_db.database_accounts_connection_strings
WHERE accountName = '{{ accountName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';