DnsZones Interface

Implements

public interface DnsZones
extends SupportsCreating<Blank>, SupportsListing<DnsZone>, SupportsListingByResourceGroup<DnsZone>, SupportsGettingByResourceGroup<DnsZone>, SupportsGettingById<DnsZone>, SupportsDeletingById, SupportsDeletingByResourceGroup, SupportsBatchCreation<DnsZone>, SupportsBatchDeletion, HasManager<DnsZoneManager>

Entry point to 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 zone from Azure, identifying it by its resource ID.

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

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

abstract void deleteByResourceGroupName(String resourceGroupName, String zoneName)

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

abstract void deleteByResourceGroupName(String resourceGroupName, String zoneName, String eTagValue)

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

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

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

abstract Mono<Void> deleteByResourceGroupNameAsync(String resourceGroupName, String zoneName, String eTagValue)

Asynchronously deletes the 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 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 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 zoneName)

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

Parameters:

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

deleteByResourceGroupName

public abstract void deleteByResourceGroupName(String resourceGroupName, String zoneName, String eTagValue)

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

Parameters:

resourceGroupName - the resource group the resource is part of
zoneName - 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 zoneName)

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

Parameters:

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

Returns:

a representation of the deferred computation this delete call

deleteByResourceGroupNameAsync

public abstract Mono deleteByResourceGroupNameAsync(String resourceGroupName, String zoneName, String eTagValue)

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

Parameters:

resourceGroupName - the resource group the resource is part of
zoneName - 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