Skip to main content

dnssec_configs

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

Overview

Namednssec_configs
TypeResource
Idazure.dns.dnssec_configs

Fields

NameDatatypeDescription
idtextThe ID of the DNSSEC configuration.
nametextThe name of the DNSSEC configuration.
etagtextThe etag of the DNSSEC configuration.
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
signing_keystextfield from the properties object
subscriptionIdtextfield from the properties object
system_datatextfield from the properties object
typetextThe type of the DNSSEC configuration.
zoneNametextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTresourceGroupName, subscriptionId, zoneNameGets the DNSSEC configuration.
list_by_dns_zoneSELECTresourceGroupName, subscriptionId, zoneNameLists the DNSSEC configurations in a DNS zone.
create_or_updateINSERTresourceGroupName, subscriptionId, zoneNameCreates or updates the DNSSEC configuration on a DNS zone.
deleteDELETEresourceGroupName, subscriptionId, zoneNameDeletes the DNSSEC configuration on a DNS zone. This operation cannot be undone.

SELECT examples

Gets the DNSSEC configuration.

SELECT
id,
name,
etag,
provisioning_state,
resourceGroupName,
signing_keys,
subscriptionId,
system_data,
type,
zoneName
FROM azure.dns.vw_dnssec_configs
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND zoneName = '{{ zoneName }}';

INSERT example

Use the following StackQL query and manifest file to create a new dnssec_configs resource.

/*+ create */
INSERT INTO azure.dns.dnssec_configs (
resourceGroupName,
subscriptionId,
zoneName
)
SELECT
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ zoneName }}'
;

DELETE example

Deletes the specified dnssec_configs resource.

/*+ delete */
DELETE FROM azure.dns.dnssec_configs
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND zoneName = '{{ zoneName }}';