private_dns_zone_groups
Creates, updates, deletes, gets or lists a private_dns_zone_groups
resource.
Overview
Name | private_dns_zone_groups |
Type | Resource |
Id | azure.network.private_dns_zone_groups |
Fields
- vw_private_dns_zone_groups
- private_dns_zone_groups
Name | Datatype | Description |
---|---|---|
id | text | Resource ID. |
name | text | Name of the resource that is unique within a resource group. This name can be used to access the resource. |
etag | text | A unique read-only string that changes whenever the resource is updated. |
privateDnsZoneGroupName | text | field from the properties object |
privateEndpointName | text | field from the properties object |
private_dns_zone_configs | text | field from the properties object |
provisioning_state | text | field from the properties object |
resourceGroupName | text | field from the properties object |
subscriptionId | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
id | string | Resource ID. |
name | string | Name of the resource that is unique within a resource group. This name can be used to access the resource. |
etag | string | A unique read-only string that changes whenever the resource is updated. |
properties | object | Properties of the private dns zone group. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | privateDnsZoneGroupName, privateEndpointName, resourceGroupName, subscriptionId | Gets the private dns zone group resource by specified private dns zone group name. |
list | SELECT | privateEndpointName, resourceGroupName, subscriptionId | Gets all private dns zone groups in a private endpoint. |
create_or_update | INSERT | privateDnsZoneGroupName, privateEndpointName, resourceGroupName, subscriptionId | Creates or updates a private dns zone group in the specified private endpoint. |
delete | DELETE | privateDnsZoneGroupName, privateEndpointName, resourceGroupName, subscriptionId | Deletes the specified private dns zone group. |
SELECT
examples
Gets all private dns zone groups in a private endpoint.
- vw_private_dns_zone_groups
- private_dns_zone_groups
SELECT
id,
name,
etag,
privateDnsZoneGroupName,
privateEndpointName,
private_dns_zone_configs,
provisioning_state,
resourceGroupName,
subscriptionId
FROM azure.network.vw_private_dns_zone_groups
WHERE privateEndpointName = '{{ privateEndpointName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
SELECT
id,
name,
etag,
properties
FROM azure.network.private_dns_zone_groups
WHERE privateEndpointName = '{{ privateEndpointName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new private_dns_zone_groups
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.network.private_dns_zone_groups (
privateDnsZoneGroupName,
privateEndpointName,
resourceGroupName,
subscriptionId,
name,
properties,
id
)
SELECT
'{{ privateDnsZoneGroupName }}',
'{{ privateEndpointName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ name }}',
'{{ properties }}',
'{{ id }}'
;
- name: your_resource_model_name
props:
- name: name
value: string
- name: etag
value: string
- name: properties
value:
- name: provisioningState
value: []
- name: privateDnsZoneConfigs
value:
- - name: name
value: string
- name: properties
value:
- name: privateDnsZoneId
value: string
- name: recordSets
value:
- - name: recordType
value: string
- name: recordSetName
value: string
- name: fqdn
value: string
- name: ttl
value: integer
- name: ipAddresses
value:
- string
- name: id
value: string
DELETE
example
Deletes the specified private_dns_zone_groups
resource.
/*+ delete */
DELETE FROM azure.network.private_dns_zone_groups
WHERE privateDnsZoneGroupName = '{{ privateDnsZoneGroupName }}'
AND privateEndpointName = '{{ privateEndpointName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';