private_link_resources
Creates, updates, deletes, gets or lists a private_link_resources
resource.
Overview
Name | private_link_resources |
Type | Resource |
Id | azure.cosmos_db.private_link_resources |
Fields
- vw_private_link_resources
- private_link_resources
Name | Datatype | Description |
---|---|---|
id | text | The unique resource identifier of the database account. |
name | text | The name of the database account. |
accountName | text | field from the properties object |
groupName | text | field from the properties object |
group_id | text | field from the properties object |
required_members | text | field from the properties object |
required_zone_names | text | field from the properties object |
resourceGroupName | text | field from the properties object |
subscriptionId | text | field from the properties object |
type | text | The type of Azure resource. |
Name | Datatype | Description |
---|---|---|
id | string | The unique resource identifier of the database account. |
name | string | The name of the database account. |
properties | object | Properties of a private link resource. |
type | string | The type of Azure resource. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | accountName, groupName, resourceGroupName, subscriptionId | Gets the private link resources that need to be created for a Cosmos DB account. |
list_by_database_account | SELECT | accountName, resourceGroupName, subscriptionId | Gets the private link resources that need to be created for a Cosmos DB account. |
SELECT
examples
Gets the private link resources that need to be created for a Cosmos DB account.
- vw_private_link_resources
- private_link_resources
SELECT
id,
name,
accountName,
groupName,
group_id,
required_members,
required_zone_names,
resourceGroupName,
subscriptionId,
type
FROM azure.cosmos_db.vw_private_link_resources
WHERE accountName = '{{ accountName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
SELECT
id,
name,
properties,
type
FROM azure.cosmos_db.private_link_resources
WHERE accountName = '{{ accountName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';