PrivateDnsZoneGroupsOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

NetworkManagementClient's

<xref:private_dns_zone_groups> attribute.

Inheritance
builtins.object
PrivateDnsZoneGroupsOperations

Constructor

PrivateDnsZoneGroupsOperations(*args, **kwargs)

Methods

begin_create_or_update

Creates or updates a private dns zone group in the specified private endpoint.

begin_delete

Deletes the specified private dns zone group.

get

Gets the private dns zone group resource by specified private dns zone group name.

list

Gets all private dns zone groups in a private endpoint.

begin_create_or_update

Creates or updates a private dns zone group in the specified private endpoint.

begin_create_or_update(resource_group_name: str, private_endpoint_name: str, private_dns_zone_group_name: str, parameters: _models.PrivateDnsZoneGroup, *, content_type: str = 'application/json', **kwargs: Any) -> LROPoller[_models.PrivateDnsZoneGroup]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. Required.

private_endpoint_name
Required
str

The name of the private endpoint. Required.

private_dns_zone_group_name
Required
str

The name of the private dns zone group. Required.

parameters
Required

Parameters supplied to the create or update private dns zone group operation. Is either a PrivateDnsZoneGroup type or a IO[bytes] type. Required.

Returns

Type Description

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

Exceptions

Type Description

begin_delete

Deletes the specified private dns zone group.

begin_delete(resource_group_name: str, private_endpoint_name: str, private_dns_zone_group_name: str, **kwargs: Any) -> LROPoller[None]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. Required.

private_endpoint_name
Required
str

The name of the private endpoint. Required.

private_dns_zone_group_name
Required
str

The name of the private dns zone group. Required.

Returns

Type Description

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

Exceptions

Type Description

get

Gets the private dns zone group resource by specified private dns zone group name.

get(resource_group_name: str, private_endpoint_name: str, private_dns_zone_group_name: str, **kwargs: Any) -> PrivateDnsZoneGroup

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. Required.

private_endpoint_name
Required
str

The name of the private endpoint. Required.

private_dns_zone_group_name
Required
str

The name of the private dns zone group. Required.

Returns

Type Description

PrivateDnsZoneGroup or the result of cls(response)

Exceptions

Type Description

list

Gets all private dns zone groups in a private endpoint.

list(private_endpoint_name: str, resource_group_name: str, **kwargs: Any) -> Iterable[PrivateDnsZoneGroup]

Parameters

Name Description
private_endpoint_name
Required
str

The name of the private endpoint. Required.

resource_group_name
Required
str

The name of the resource group. Required.

Returns

Type Description

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

Exceptions

Type Description

Attributes

models

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