DnssecConfigsOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

DnsManagementClient's

<xref:dnssec_configs> attribute.

Inheritance
builtins.object
DnssecConfigsOperations

Constructor

DnssecConfigsOperations(*args, **kwargs)

Methods

begin_create_or_update

Creates or updates the DNSSEC configuration on a DNS zone.

begin_delete

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

get

Gets the DNSSEC configuration.

list_by_dns_zone

Lists the DNSSEC configurations in a DNS zone.

begin_create_or_update

Creates or updates the DNSSEC configuration on a DNS zone.

begin_create_or_update(resource_group_name: str, zone_name: str, if_match: str | None = None, if_none_match: str | None = None, **kwargs: Any) -> LROPoller[DnssecConfig]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

zone_name
Required
str

The name of the DNS zone (without a terminating dot). Required.

if_match
Required
str

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. Default value is None.

if_none_match
Required
str

Set to '*' to allow this DNSSEC configuration to be created, but to prevent updating existing DNSSEC configuration. Other values will be ignored. Default value is None.

Keyword-Only Parameters

Name Description
cls

A custom type or function that will be passed the direct response

continuation_token
str

A continuation token to restart a poller from a saved state.

polling

By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.

polling_interval
int

Default waiting time between two polls for LRO operations if no Retry-After header is present.

Returns

Type Description

An instance of LROPoller that returns either DnssecConfig or the result of cls(response)

Exceptions

Type Description

begin_delete

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

begin_delete(resource_group_name: str, zone_name: str, if_match: str | None = None, **kwargs: Any) -> LROPoller[None]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

zone_name
Required
str

The name of the DNS zone (without a terminating dot). Required.

if_match
Required
str

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. Default value is None.

Keyword-Only Parameters

Name Description
cls

A custom type or function that will be passed the direct response

continuation_token
str

A continuation token to restart a poller from a saved state.

polling

By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.

polling_interval
int

Default waiting time between two polls for LRO operations if no Retry-After header is present.

Returns

Type Description

An instance of LROPoller that returns either None or the result of cls(response)

Exceptions

Type Description

get

Gets the DNSSEC configuration.

get(resource_group_name: str, zone_name: str, **kwargs: Any) -> DnssecConfig

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

zone_name
Required
str

The name of the DNS zone (without a terminating dot). Required.

Keyword-Only Parameters

Name Description
cls

A custom type or function that will be passed the direct response

Returns

Type Description

DnssecConfig or the result of cls(response)

Exceptions

Type Description

list_by_dns_zone

Lists the DNSSEC configurations in a DNS zone.

list_by_dns_zone(resource_group_name: str, zone_name: str, **kwargs: Any) -> Iterable[DnssecConfig]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

zone_name
Required
str

The name of the DNS zone (without a terminating dot). Required.

Keyword-Only Parameters

Name Description
cls

A custom type or function that will be passed the direct response

Returns

Type Description

An iterator like instance of either DnssecConfig or the result of cls(response)

Exceptions

Type Description

Attributes

models

models = <module 'azure.mgmt.dns.v2023_07_01_preview.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.9\\x64\\Lib\\site-packages\\azure\\mgmt\\dns\\v2023_07_01_preview\\models\\__init__.py'>