Compartir a través de


PrivateDnsZones Interface

Implements

public interface PrivateDnsZones
extends SupportsCreating<Blank>, SupportsListing<PrivateDnsZone>, SupportsListingByResourceGroup<PrivateDnsZone>, SupportsGettingById<PrivateDnsZone>, SupportsGettingByResourceGroup<PrivateDnsZone>, SupportsDeletingById, SupportsDeletingByResourceGroup, SupportsBatchCreation<PrivateDnsZone>, SupportsBatchDeletion, HasManager<PrivateDnsZoneManager>

Entry point to private DNS zone management API in Azure.

Method Summary

Modifier and Type Method and Description
abstract void deleteById(String id)

Deletes a resource from Azure, identifying it by its resource ID.

abstract void deleteById(String id, String etagValue)

Deletes a resource from Azure, identifying it by its resource ID.

abstract Mono<Void> deleteByIdAsync(String id)

Asynchronously delete the private zone from Azure, identifying it by its resource ID.

abstract Mono<Void> deleteByIdAsync(String id, String etagValue)

Asynchronously delete the private zone from Azure, identifying it by its resource ID.

abstract void deleteByResourceGroupName(String resourceGroupName, String name)

Deletes the private zone from Azure, identifying it by its name and its resource group.

abstract void deleteByResourceGroupName(String resourceGroupName, String name, String etagValue)

Deletes the private zone from Azure, identifying it by its name and its resource group.

abstract Mono<Void> deleteByResourceGroupNameAsync(String resourceGroupName, String name)

Asynchronously deletes the private zone from Azure, identifying it by its name and its resource group.

abstract Mono<Void> deleteByResourceGroupNameAsync(String resourceGroupName, String name, String etagValue)

Asynchronously deletes the private zone from Azure, identifying it by its name and its resource group.

Method Details

deleteById

public abstract void deleteById(String id)

Deletes a resource from Azure, identifying it by its resource ID.

Parameters:

id - the resource ID of the resource to delete

deleteById

public abstract void deleteById(String id, String etagValue)

Deletes a resource from Azure, identifying it by its resource ID.

Parameters:

id - the resource ID of the resource to delete
etagValue - the ETag value to set on IfMatch header for concurrency protection

deleteByIdAsync

public abstract Mono deleteByIdAsync(String id)

Asynchronously delete the private zone from Azure, identifying it by its resource ID.

Parameters:

id - the resource ID of the resource to delete

Returns:

a representation of the deferred computation this delete call

deleteByIdAsync

public abstract Mono deleteByIdAsync(String id, String etagValue)

Asynchronously delete the private zone from Azure, identifying it by its resource ID.

Parameters:

id - the resource ID of the resource to delete
etagValue - the ETag value to set on IfMatch header for concurrency protection

Returns:

a representation of the deferred computation this delete call

deleteByResourceGroupName

public abstract void deleteByResourceGroupName(String resourceGroupName, String name)

Deletes the private zone from Azure, identifying it by its name and its resource group.

Parameters:

resourceGroupName - the resource group the resource is part of
name - the name of the zone

deleteByResourceGroupName

public abstract void deleteByResourceGroupName(String resourceGroupName, String name, String etagValue)

Deletes the private zone from Azure, identifying it by its name and its resource group.

Parameters:

resourceGroupName - the resource group the resource is part of
name - the name of the zone
etagValue - the ETag value to set on IfMatch header for concurrency protection

deleteByResourceGroupNameAsync

public abstract Mono deleteByResourceGroupNameAsync(String resourceGroupName, String name)

Asynchronously deletes the private zone from Azure, identifying it by its name and its resource group.

Parameters:

resourceGroupName - the resource group the resource is part of
name - the name of the zone

Returns:

a representation of the deferred computation this delete call

deleteByResourceGroupNameAsync

public abstract Mono deleteByResourceGroupNameAsync(String resourceGroupName, String name, String etagValue)

Asynchronously deletes the private zone from Azure, identifying it by its name and its resource group.

Parameters:

resourceGroupName - the resource group the resource is part of
name - the name of the zone
etagValue - the ETag value to set on IfMatch header for concurrency protection

Returns:

a representation of the deferred computation this delete call

Applies to