PrivateZonesOperations interface

Interface representing a PrivateZones operations.

Properties

beginCreateOrUpdate
beginCreateOrUpdateAndWait
beginDelete
beginDeleteAndWait
beginUpdate
beginUpdateAndWait
createOrUpdate

Creates or updates a Private DNS zone. Does not modify Links to virtual networks or DNS records within the zone.

delete

Deletes a Private DNS zone. WARNING: All DNS records in the zone will also be deleted. This operation cannot be undone. Private DNS zone cannot be deleted unless all virtual network links to it are removed.

get

Gets a Private DNS zone. Retrieves the zone properties, but not the virtual networks links or the record sets within the zone.

list

Lists the Private DNS zones in all resource groups in a subscription.

listByResourceGroup

Lists the Private DNS zones within a resource group.

update

Updates a Private DNS zone. Does not modify virtual network links or DNS records within the zone.

Property Details

beginCreateOrUpdate

Warning

This API is now deprecated.

use createOrUpdate instead

beginCreateOrUpdate: (resourceGroupName: string, privateZoneName: string, parameters: PrivateZone, options?: PrivateZonesCreateOrUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<PrivateZone>, PrivateZone>>

Property Value

(resourceGroupName: string, privateZoneName: string, parameters: PrivateZone, options?: PrivateZonesCreateOrUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<PrivateZone>, PrivateZone>>

beginCreateOrUpdateAndWait

Warning

This API is now deprecated.

use createOrUpdate instead

beginCreateOrUpdateAndWait: (resourceGroupName: string, privateZoneName: string, parameters: PrivateZone, options?: PrivateZonesCreateOrUpdateOptionalParams) => Promise<PrivateZone>

Property Value

(resourceGroupName: string, privateZoneName: string, parameters: PrivateZone, options?: PrivateZonesCreateOrUpdateOptionalParams) => Promise<PrivateZone>

beginDelete

Warning

This API is now deprecated.

use delete instead

beginDelete: (resourceGroupName: string, privateZoneName: string, options?: PrivateZonesDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

Property Value

(resourceGroupName: string, privateZoneName: string, options?: PrivateZonesDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

beginDeleteAndWait

Warning

This API is now deprecated.

use delete instead

beginDeleteAndWait: (resourceGroupName: string, privateZoneName: string, options?: PrivateZonesDeleteOptionalParams) => Promise<void>

Property Value

(resourceGroupName: string, privateZoneName: string, options?: PrivateZonesDeleteOptionalParams) => Promise<void>

beginUpdate

Warning

This API is now deprecated.

use update instead

beginUpdate: (resourceGroupName: string, privateZoneName: string, parameters: PrivateZone, options?: PrivateZonesUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<PrivateZone>, PrivateZone>>

Property Value

(resourceGroupName: string, privateZoneName: string, parameters: PrivateZone, options?: PrivateZonesUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<PrivateZone>, PrivateZone>>

beginUpdateAndWait

Warning

This API is now deprecated.

use update instead

beginUpdateAndWait: (resourceGroupName: string, privateZoneName: string, parameters: PrivateZone, options?: PrivateZonesUpdateOptionalParams) => Promise<PrivateZone>

Property Value

(resourceGroupName: string, privateZoneName: string, parameters: PrivateZone, options?: PrivateZonesUpdateOptionalParams) => Promise<PrivateZone>

createOrUpdate

Creates or updates a Private DNS zone. Does not modify Links to virtual networks or DNS records within the zone.

createOrUpdate: (resourceGroupName: string, privateZoneName: string, parameters: PrivateZone, options?: PrivateZonesCreateOrUpdateOptionalParams) => PollerLike<OperationState<PrivateZone>, PrivateZone>

Property Value

(resourceGroupName: string, privateZoneName: string, parameters: PrivateZone, options?: PrivateZonesCreateOrUpdateOptionalParams) => PollerLike<OperationState<PrivateZone>, PrivateZone>

delete

Deletes a Private DNS zone. WARNING: All DNS records in the zone will also be deleted. This operation cannot be undone. Private DNS zone cannot be deleted unless all virtual network links to it are removed.

delete: (resourceGroupName: string, privateZoneName: string, options?: PrivateZonesDeleteOptionalParams) => PollerLike<OperationState<void>, void>

Property Value

(resourceGroupName: string, privateZoneName: string, options?: PrivateZonesDeleteOptionalParams) => PollerLike<OperationState<void>, void>

get

Gets a Private DNS zone. Retrieves the zone properties, but not the virtual networks links or the record sets within the zone.

get: (resourceGroupName: string, privateZoneName: string, options?: PrivateZonesGetOptionalParams) => Promise<PrivateZone>

Property Value

(resourceGroupName: string, privateZoneName: string, options?: PrivateZonesGetOptionalParams) => Promise<PrivateZone>

list

Lists the Private DNS zones in all resource groups in a subscription.

list: (options?: PrivateZonesListOptionalParams) => PagedAsyncIterableIterator<PrivateZone, PrivateZone[], PageSettings>

Property Value

(options?: PrivateZonesListOptionalParams) => PagedAsyncIterableIterator<PrivateZone, PrivateZone[], PageSettings>

listByResourceGroup

Lists the Private DNS zones within a resource group.

listByResourceGroup: (resourceGroupName: string, options?: PrivateZonesListByResourceGroupOptionalParams) => PagedAsyncIterableIterator<PrivateZone, PrivateZone[], PageSettings>

Property Value

(resourceGroupName: string, options?: PrivateZonesListByResourceGroupOptionalParams) => PagedAsyncIterableIterator<PrivateZone, PrivateZone[], PageSettings>

update

Updates a Private DNS zone. Does not modify virtual network links or DNS records within the zone.

update: (resourceGroupName: string, privateZoneName: string, parameters: PrivateZone, options?: PrivateZonesUpdateOptionalParams) => PollerLike<OperationState<PrivateZone>, PrivateZone>

Property Value

(resourceGroupName: string, privateZoneName: string, parameters: PrivateZone, options?: PrivateZonesUpdateOptionalParams) => PollerLike<OperationState<PrivateZone>, PrivateZone>