dnssec_configs
Creates, updates, deletes, gets or lists a dnssec_configs
resource.
Overview
Name | dnssec_configs |
Type | Resource |
Id | azure.dns.dnssec_configs |
Fields
The following fields are returned by SELECT
queries:
- get
- list_by_dns_zone
Success.
Name | Datatype | Description |
---|---|---|
id | string | The ID of the DNSSEC configuration. |
name | string | The name of the DNSSEC configuration. |
etag | string | The etag of the DNSSEC configuration. |
properties | object | The DNSSEC properties. |
systemData | object | Metadata pertaining to creation and last modification of the resource. |
type | string | The type of the DNSSEC configuration. |
Success.
Name | Datatype | Description |
---|---|---|
id | string | The ID of the DNSSEC configuration. |
name | string | The name of the DNSSEC configuration. |
etag | string | The etag of the DNSSEC configuration. |
properties | object | The DNSSEC properties. |
systemData | object | Metadata pertaining to creation and last modification of the resource. |
type | string | The type of the DNSSEC configuration. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get | select | resourceGroupName , zoneName , subscriptionId | Gets the DNSSEC configuration. | |
list_by_dns_zone | select | resourceGroupName , zoneName , subscriptionId | Lists the DNSSEC configurations in a DNS zone. | |
create_or_update | insert | resourceGroupName , zoneName , subscriptionId | If-Match , If-None-Match | Creates or updates the DNSSEC configuration on a DNS zone. |
delete | delete | resourceGroupName , zoneName , subscriptionId | If-Match | Deletes 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.
Name | Datatype | Description |
---|---|---|
resourceGroupName | string | The name of the resource group. The name is case insensitive. |
subscriptionId | string | The ID of the target subscription. |
zoneName | string | The name of the DNS zone (without a terminating dot). |
If-Match | string | The 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-Match | string | Set to '*' to allow this DNSSEC configuration to be created, but to prevent updating existing DNSSEC configuration. Other values will be ignored. |
SELECT
examples
- get
- list_by_dns_zone
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
;
Lists the DNSSEC configurations in a DNS zone.
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
- create_or_update
- Manifest
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
;
# Description fields are for documentation purposes
- name: dnssec_configs
props:
- name: resourceGroupName
value: string
description: Required parameter for the dnssec_configs resource.
- name: zoneName
value: string
description: Required parameter for the dnssec_configs resource.
- name: subscriptionId
value: string
description: Required parameter for the dnssec_configs resource.
- name: If-Match
value: string
description: The etag of the DNSSEC configuration. Omit this value to always overwrite the DNSSEC configuration. Specify the last-seen etag value to prevent accidentally overwriting any concurrent changes.
- name: If-None-Match
value: string
description: Set to '*' to allow this DNSSEC configuration to be created, but to prevent updating existing DNSSEC configuration. Other values will be ignored.
DELETE
examples
- delete
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 }}'
;