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

The following fields are returned by SELECT queries:

Success.

NameDatatypeDescription
idstringThe ID of the DNSSEC configuration.
namestringThe name of the DNSSEC configuration.
etagstringThe etag of the DNSSEC configuration.
propertiesobjectThe DNSSEC properties.
systemDataobjectMetadata pertaining to creation and last modification of the resource.
typestringThe type of the DNSSEC configuration.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresourceGroupName, zoneName, subscriptionIdGets the DNSSEC configuration.
list_by_dns_zoneselectresourceGroupName, zoneName, subscriptionIdLists the DNSSEC configurations in a DNS zone.
create_or_updateinsertresourceGroupName, zoneName, subscriptionIdIf-Match, If-None-MatchCreates or updates the DNSSEC configuration on a DNS zone.
deletedeleteresourceGroupName, zoneName, subscriptionIdIf-MatchDeletes the DNSSEC configuration on a DNS zone. This operation cannot be undone.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
subscriptionIdstringThe ID of the target subscription.
zoneNamestringThe name of the DNS zone (without a terminating dot).
If-MatchstringThe etag of this DNSSEC configuration. Omit this value to always delete the DNSSEC configuration. Specify the last-seen etag value to prevent accidentally deleting any concurrent changes.
If-None-MatchstringSet to '*' to allow this DNSSEC configuration to be created, but to prevent updating existing DNSSEC configuration. Other values will be ignored.

SELECT examples

Gets the DNSSEC configuration.

SELECT
id,
name,
etag,
properties,
systemData,
type
FROM azure.dns.dnssec_configs
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND zoneName = '{{ zoneName }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
;

INSERT examples

Creates or updates the DNSSEC configuration on a DNS zone.

INSERT INTO azure.dns.dnssec_configs (
resourceGroupName,
zoneName,
subscriptionId,
If-Match,
If-None-Match
)
SELECT
'{{ resourceGroupName }}',
'{{ zoneName }}',
'{{ subscriptionId }}',
'{{ If-Match }}',
'{{ If-None-Match }}'
RETURNING
id,
name,
etag,
properties,
systemData,
type
;

DELETE examples

Deletes the DNSSEC configuration on a DNS zone. This operation cannot be undone.

DELETE FROM azure.dns.dnssec_configs
WHERE resourceGroupName = '{{ resourceGroupName }}' --required
AND zoneName = '{{ zoneName }}' --required
AND subscriptionId = '{{ subscriptionId }}' --required
AND If-Match = '{{ If-Match }}'
;