DnssecConfigsOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<xref:dnssec_configs> attribute.
- Inheritance
-
builtins.objectDnssecConfigsOperations
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
|
The name of the resource group. The name is case insensitive. Required. |
zone_name
Required
|
The name of the DNS zone (without a terminating dot). Required. |
if_match
Required
|
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
|
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. |
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
|
The name of the resource group. The name is case insensitive. Required. |
zone_name
Required
|
The name of the DNS zone (without a terminating dot). Required. |
if_match
Required
|
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. |
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
|
The name of the resource group. The name is case insensitive. Required. |
zone_name
Required
|
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
|
The name of the resource group. The name is case insensitive. Required. |
zone_name
Required
|
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.9\\x64\\Lib\\site-packages\\azure\\mgmt\\dns\\v2023_07_01_preview\\models\\__init__.py'>
Azure SDK for Python