DnsZones Interface

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

Entry point to DNS zone management API in Azure.

Method Summary

Modifier and Type Method and Description
void deleteById(String id, String eTagValue)

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

Completable deleteByIdAsync(String id, String eTagValue)

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

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

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

Completable deleteByResourceGroupNameAsync(String resourceGroupName, String zoneName, String eTagValue)

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

Inherited Members

SupportsBatchCreation<ResourceT>.create(Creatable<ResourceT>... creatables) SupportsBatchCreation<ResourceT>.create(List<Creatable<ResourceT>> creatables) SupportsBatchCreation<ResourceT>.createAsync(Creatable<ResourceT>... creatables) SupportsBatchCreation<ResourceT>.createAsync(List<Creatable<ResourceT>> creatables) SupportsBatchCreation<ResourceT>.createAsync(ServiceCallback<CreatedResources<ResourceT>> callback, Creatable<ResourceT>... creatables) SupportsBatchCreation<ResourceT>.createAsync(final ServiceCallback<CreatedResources<ResourceT>> callback, List<Creatable<ResourceT>> creatables) SupportsCreating<T>.define(String name) SupportsDeletingById.deleteById(String id) SupportsDeletingById.deleteByIdAsync(String id, ServiceCallback<Void> callback) SupportsDeletingById.deleteByIdAsync(String id) SupportsBatchDeletion.deleteByIds(Collection<String> ids) SupportsBatchDeletion.deleteByIds(String...ids) SupportsBatchDeletion.deleteByIdsAsync(Collection<String> ids) SupportsBatchDeletion.deleteByIdsAsync(String...ids) SupportsDeletingByResourceGroup.deleteByResourceGroup(String resourceGroupName, String name) SupportsDeletingByResourceGroup.deleteByResourceGroupAsync(String resourceGroupName, String name, ServiceCallback<Void> callback) SupportsDeletingByResourceGroup.deleteByResourceGroupAsync(String resourceGroupName, String name) SupportsGettingById<T>.getById(String id) SupportsGettingById<T>.getByIdAsync(String id) SupportsGettingById<T>.getByIdAsync(String id, ServiceCallback<T> callback) SupportsGettingByResourceGroup<T>.getByResourceGroup(String resourceGroupName, String name) SupportsGettingByResourceGroup<T>.getByResourceGroupAsync(String resourceGroupName, String name) SupportsGettingByResourceGroup<T>.getByResourceGroupAsync(String resourceGroupName, String name, ServiceCallback<T> callback) HasInner<T>.inner() SupportsListing<T>.list() SupportsListing<T>.listAsync() SupportsListingByResourceGroup<T>.listByResourceGroup(String resourceGroupName) SupportsListingByResourceGroup<T>.listByResourceGroupAsync(String resourceGroupName) HasManager<ManagerT>.manager()

Method Details

deleteById

public 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 Completable 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 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 Completable 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