private_link_resources
Creates, updates, deletes, gets or lists a private_link_resources
resource.
Overview
Name | private_link_resources |
Type | Resource |
Id | azure.postgresql.private_link_resources |
Fields
- vw_private_link_resources
- private_link_resources
Name | Datatype | Description |
---|---|---|
id | text | Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" |
name | text | The name of the resource |
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 |
serverName | text | field from the properties object |
subscriptionId | text | field from the properties object |
system_data | text | field from the properties object |
type | text | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" |
Name | Datatype | Description |
---|---|---|
id | string | Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" |
name | string | The name of the resource |
properties | object | Properties of a private link resource. |
systemData | object | Metadata pertaining to creation and last modification of the resource. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | groupName, resourceGroupName, serverName, subscriptionId | Gets a private link resource for PostgreSQL server. |
list_by_server | SELECT | resourceGroupName, serverName, subscriptionId | Gets the private link resources for PostgreSQL server. |
SELECT
examples
Gets the private link resources for PostgreSQL server.
- vw_private_link_resources
- private_link_resources
SELECT
id,
name,
groupName,
group_id,
required_members,
required_zone_names,
resourceGroupName,
serverName,
subscriptionId,
system_data,
type
FROM azure.postgresql.vw_private_link_resources
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND serverName = '{{ serverName }}'
AND subscriptionId = '{{ subscriptionId }}';
SELECT
id,
name,
properties,
systemData,
type
FROM azure.postgresql.private_link_resources
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND serverName = '{{ serverName }}'
AND subscriptionId = '{{ subscriptionId }}';