Share via


DnssecConfigsOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

DnsManagementClient's

<xref:dnssec_configs> attribute.

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
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.

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

Default value: None

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
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.

Default value: None

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.

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.

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.10\\x64\\Lib\\site-packages\\py2docfx\\venv\\venv117\\Lib\\site-packages\\azure\\mgmt\\dns\\v2023_07_01_preview\\models\\__init__.py'>