database_accounts_connection_strings
Creates, updates, deletes, gets or lists a database_accounts_connection_strings
resource.
Overview
Name | database_accounts_connection_strings |
Type | Resource |
Id | azure.cosmos_db.database_accounts_connection_strings |
Fields
Name | Datatype | Description |
---|---|---|
connectionStrings | array | An array that contains the connection strings for the Cosmos DB account. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
list | SELECT | accountName, resourceGroupName, subscriptionId | Lists 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 }}';