ZonesClient Interface

Implements

public interface ZonesClient
extends InnerSupportsGet<ZoneInner>, InnerSupportsListing<ZoneInner>, InnerSupportsDelete<Void>

An instance of this class provides access to all the operations defined in ZonesClient.

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String zoneName)

Deletes a DNS zone.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String zoneName, String ifMatch, Context context)

Deletes a DNS zone.

abstract PollerFlux<PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String zoneName)

Deletes a DNS zone.

abstract PollerFlux<PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String zoneName, String ifMatch)

Deletes a DNS zone.

abstract ZoneInner createOrUpdate(String resourceGroupName, String zoneName, ZoneInner parameters)

Creates or updates a DNS zone.

abstract Mono<ZoneInner> createOrUpdateAsync(String resourceGroupName, String zoneName, ZoneInner parameters)

Creates or updates a DNS zone.

abstract Response<ZoneInner> createOrUpdateWithResponse(String resourceGroupName, String zoneName, ZoneInner parameters, String ifMatch, String ifNoneMatch, Context context)

Creates or updates a DNS zone.

abstract Mono<Response<ZoneInner>> createOrUpdateWithResponseAsync(String resourceGroupName, String zoneName, ZoneInner parameters, String ifMatch, String ifNoneMatch)

Creates or updates a DNS zone.

abstract void delete(String resourceGroupName, String zoneName)

Deletes a DNS zone.

abstract void delete(String resourceGroupName, String zoneName, String ifMatch, Context context)

Deletes a DNS zone.

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

Deletes a DNS zone.

abstract Mono<Void> deleteAsync(String resourceGroupName, String zoneName, String ifMatch)

Deletes a DNS zone.

abstract Mono<Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String zoneName, String ifMatch)

Deletes a DNS zone.

abstract ZoneInner getByResourceGroup(String resourceGroupName, String zoneName)

Gets a DNS zone.

abstract Mono<ZoneInner> getByResourceGroupAsync(String resourceGroupName, String zoneName)

Gets a DNS zone.

abstract Response<ZoneInner> getByResourceGroupWithResponse(String resourceGroupName, String zoneName, Context context)

Gets a DNS zone.

abstract Mono<Response<ZoneInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String zoneName)

Gets a DNS zone.

abstract PagedIterable<ZoneInner> list()

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

abstract PagedIterable<ZoneInner> list(Integer top, Context context)

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

abstract PagedFlux<ZoneInner> listAsync()

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

abstract PagedFlux<ZoneInner> listAsync(Integer top)

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

abstract PagedIterable<ZoneInner> listByResourceGroup(String resourceGroupName)

Lists the DNS zones within a resource group.

abstract PagedIterable<ZoneInner> listByResourceGroup(String resourceGroupName, Integer top, Context context)

Lists the DNS zones within a resource group.

abstract PagedFlux<ZoneInner> listByResourceGroupAsync(String resourceGroupName)

Lists the DNS zones within a resource group.

abstract PagedFlux<ZoneInner> listByResourceGroupAsync(String resourceGroupName, Integer top)

Lists the DNS zones within a resource group.

abstract ZoneInner update(String resourceGroupName, String zoneName, ZoneUpdate parameters)

Updates a DNS zone.

abstract Mono<ZoneInner> updateAsync(String resourceGroupName, String zoneName, ZoneUpdate parameters)

Updates a DNS zone.

abstract Response<ZoneInner> updateWithResponse(String resourceGroupName, String zoneName, ZoneUpdate parameters, String ifMatch, Context context)

Updates a DNS zone.

abstract Mono<Response<ZoneInner>> updateWithResponseAsync(String resourceGroupName, String zoneName, ZoneUpdate parameters, String ifMatch)

Updates a DNS zone.

Method Details

beginDelete

public abstract SyncPoller,Void> beginDelete(String resourceGroupName, String zoneName)

Deletes a DNS zone. WARNING: All DNS records in the zone will also be deleted. This operation cannot be undone.

Parameters:

resourceGroupName - The name of the resource group.
zoneName - The name of the DNS zone (without a terminating dot).

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginDelete

public abstract SyncPoller,Void> beginDelete(String resourceGroupName, String zoneName, String ifMatch, Context context)

Deletes a DNS zone. WARNING: All DNS records in the zone will also be deleted. This operation cannot be undone.

Parameters:

resourceGroupName - The name of the resource group.
zoneName - The name of the DNS zone (without a terminating dot).
ifMatch - The etag of the DNS zone. Omit this value to always delete the current zone. Specify the last-seen etag value to prevent accidentally deleting any concurrent changes.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginDeleteAsync

public abstract PollerFlux,Void> beginDeleteAsync(String resourceGroupName, String zoneName)

Deletes a DNS zone. WARNING: All DNS records in the zone will also be deleted. This operation cannot be undone.

Parameters:

resourceGroupName - The name of the resource group.
zoneName - The name of the DNS zone (without a terminating dot).

Returns:

the PollerFlux<T,U> for polling of long-running operation.

beginDeleteAsync

public abstract PollerFlux,Void> beginDeleteAsync(String resourceGroupName, String zoneName, String ifMatch)

Deletes a DNS zone. WARNING: All DNS records in the zone will also be deleted. This operation cannot be undone.

Parameters:

resourceGroupName - The name of the resource group.
zoneName - The name of the DNS zone (without a terminating dot).
ifMatch - The etag of the DNS zone. Omit this value to always delete the current zone. Specify the last-seen etag value to prevent accidentally deleting any concurrent changes.

Returns:

the PollerFlux<T,U> for polling of long-running operation.

createOrUpdate

public abstract ZoneInner createOrUpdate(String resourceGroupName, String zoneName, ZoneInner parameters)

Creates or updates a DNS zone. Does not modify DNS records within the zone.

Parameters:

resourceGroupName - The name of the resource group.
zoneName - The name of the DNS zone (without a terminating dot).
parameters - Parameters supplied to the CreateOrUpdate operation.

Returns:

describes a DNS zone.

createOrUpdateAsync

public abstract Mono createOrUpdateAsync(String resourceGroupName, String zoneName, ZoneInner parameters)

Creates or updates a DNS zone. Does not modify DNS records within the zone.

Parameters:

resourceGroupName - The name of the resource group.
zoneName - The name of the DNS zone (without a terminating dot).
parameters - Parameters supplied to the CreateOrUpdate operation.

Returns:

describes a DNS zone on successful completion of Mono.

createOrUpdateWithResponse

public abstract Response createOrUpdateWithResponse(String resourceGroupName, String zoneName, ZoneInner parameters, String ifMatch, String ifNoneMatch, Context context)

Creates or updates a DNS zone. Does not modify DNS records within the zone.

Parameters:

resourceGroupName - The name of the resource group.
zoneName - The name of the DNS zone (without a terminating dot).
parameters - Parameters supplied to the CreateOrUpdate operation.
ifMatch - The etag of the DNS zone. Omit this value to always overwrite the current zone. Specify the last-seen etag value to prevent accidentally overwriting any concurrent changes.
ifNoneMatch - Set to '*' to allow a new DNS zone to be created, but to prevent updating an existing zone. Other values will be ignored.
context - The context to associate with this operation.

Returns:

describes a DNS zone along with Response<T>.

createOrUpdateWithResponseAsync

public abstract Mono> createOrUpdateWithResponseAsync(String resourceGroupName, String zoneName, ZoneInner parameters, String ifMatch, String ifNoneMatch)

Creates or updates a DNS zone. Does not modify DNS records within the zone.

Parameters:

resourceGroupName - The name of the resource group.
zoneName - The name of the DNS zone (without a terminating dot).
parameters - Parameters supplied to the CreateOrUpdate operation.
ifMatch - The etag of the DNS zone. Omit this value to always overwrite the current zone. Specify the last-seen etag value to prevent accidentally overwriting any concurrent changes.
ifNoneMatch - Set to '*' to allow a new DNS zone to be created, but to prevent updating an existing zone. Other values will be ignored.

Returns:

describes a DNS zone along with Response<T> on successful completion of Mono.

delete

public abstract void delete(String resourceGroupName, String zoneName)

Deletes a DNS zone. WARNING: All DNS records in the zone will also be deleted. This operation cannot be undone.

Parameters:

resourceGroupName - The name of the resource group.
zoneName - The name of the DNS zone (without a terminating dot).

delete

public abstract void delete(String resourceGroupName, String zoneName, String ifMatch, Context context)

Deletes a DNS zone. WARNING: All DNS records in the zone will also be deleted. This operation cannot be undone.

Parameters:

resourceGroupName - The name of the resource group.
zoneName - The name of the DNS zone (without a terminating dot).
ifMatch - The etag of the DNS zone. Omit this value to always delete the current zone. Specify the last-seen etag value to prevent accidentally deleting any concurrent changes.
context - The context to associate with this operation.

deleteAsync

public abstract Mono deleteAsync(String resourceGroupName, String zoneName)

Deletes a DNS zone. WARNING: All DNS records in the zone will also be deleted. This operation cannot be undone.

Parameters:

resourceGroupName - The name of the resource group.
zoneName - The name of the DNS zone (without a terminating dot).

Returns:

A Mono that completes when a successful response is received.

deleteAsync

public abstract Mono deleteAsync(String resourceGroupName, String zoneName, String ifMatch)

Deletes a DNS zone. WARNING: All DNS records in the zone will also be deleted. This operation cannot be undone.

Parameters:

resourceGroupName - The name of the resource group.
zoneName - The name of the DNS zone (without a terminating dot).
ifMatch - The etag of the DNS zone. Omit this value to always delete the current zone. Specify the last-seen etag value to prevent accidentally deleting any concurrent changes.

Returns:

A Mono that completes when a successful response is received.

deleteWithResponseAsync

public abstract Mono>> deleteWithResponseAsync(String resourceGroupName, String zoneName, String ifMatch)

Deletes a DNS zone. WARNING: All DNS records in the zone will also be deleted. This operation cannot be undone.

Parameters:

resourceGroupName - The name of the resource group.
zoneName - The name of the DNS zone (without a terminating dot).
ifMatch - The etag of the DNS zone. Omit this value to always delete the current zone. Specify the last-seen etag value to prevent accidentally deleting any concurrent changes.

Returns:

the Response<T> on successful completion of Mono.

getByResourceGroup

public abstract ZoneInner getByResourceGroup(String resourceGroupName, String zoneName)

Gets a DNS zone. Retrieves the zone properties, but not the record sets within the zone.

Parameters:

resourceGroupName - The name of the resource group.
zoneName - The name of the DNS zone (without a terminating dot).

Returns:

a DNS zone.

getByResourceGroupAsync

public abstract Mono getByResourceGroupAsync(String resourceGroupName, String zoneName)

Gets a DNS zone. Retrieves the zone properties, but not the record sets within the zone.

Parameters:

resourceGroupName - The name of the resource group.
zoneName - The name of the DNS zone (without a terminating dot).

Returns:

a DNS zone on successful completion of Mono.

getByResourceGroupWithResponse

public abstract Response getByResourceGroupWithResponse(String resourceGroupName, String zoneName, Context context)

Gets a DNS zone. Retrieves the zone properties, but not the record sets within the zone.

Parameters:

resourceGroupName - The name of the resource group.
zoneName - The name of the DNS zone (without a terminating dot).
context - The context to associate with this operation.

Returns:

a DNS zone along with Response<T>.

getByResourceGroupWithResponseAsync

public abstract Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, String zoneName)

Gets a DNS zone. Retrieves the zone properties, but not the record sets within the zone.

Parameters:

resourceGroupName - The name of the resource group.
zoneName - The name of the DNS zone (without a terminating dot).

Returns:

a DNS zone along with Response<T> on successful completion of Mono.

list

public abstract PagedIterable list()

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

Returns:

the response to a Zone List or ListAll operation as paginated response with PagedIterable<T>.

list

public abstract PagedIterable list(Integer top, Context context)

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

Parameters:

top - The maximum number of DNS zones to return. If not specified, returns up to 100 zones.
context - The context to associate with this operation.

Returns:

the response to a Zone List or ListAll operation as paginated response with PagedIterable<T>.

listAsync

public abstract PagedFlux listAsync()

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

Returns:

the response to a Zone List or ListAll operation as paginated response with PagedFlux<T>.

listAsync

public abstract PagedFlux listAsync(Integer top)

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

Parameters:

top - The maximum number of DNS zones to return. If not specified, returns up to 100 zones.

Returns:

the response to a Zone List or ListAll operation as paginated response with PagedFlux<T>.

listByResourceGroup

public abstract PagedIterable listByResourceGroup(String resourceGroupName)

Lists the DNS zones within a resource group.

Parameters:

resourceGroupName - The name of the resource group.

Returns:

the response to a Zone List or ListAll operation as paginated response with PagedIterable<T>.

listByResourceGroup

public abstract PagedIterable listByResourceGroup(String resourceGroupName, Integer top, Context context)

Lists the DNS zones within a resource group.

Parameters:

resourceGroupName - The name of the resource group.
top - The maximum number of record sets to return. If not specified, returns up to 100 record sets.
context - The context to associate with this operation.

Returns:

the response to a Zone List or ListAll operation as paginated response with PagedIterable<T>.

listByResourceGroupAsync

public abstract PagedFlux listByResourceGroupAsync(String resourceGroupName)

Lists the DNS zones within a resource group.

Parameters:

resourceGroupName - The name of the resource group.

Returns:

the response to a Zone List or ListAll operation as paginated response with PagedFlux<T>.

listByResourceGroupAsync

public abstract PagedFlux listByResourceGroupAsync(String resourceGroupName, Integer top)

Lists the DNS zones within a resource group.

Parameters:

resourceGroupName - The name of the resource group.
top - The maximum number of record sets to return. If not specified, returns up to 100 record sets.

Returns:

the response to a Zone List or ListAll operation as paginated response with PagedFlux<T>.

update

public abstract ZoneInner update(String resourceGroupName, String zoneName, ZoneUpdate parameters)

Updates a DNS zone. Does not modify DNS records within the zone.

Parameters:

resourceGroupName - The name of the resource group.
zoneName - The name of the DNS zone (without a terminating dot).
parameters - Parameters supplied to the Update operation.

Returns:

describes a DNS zone.

updateAsync

public abstract Mono updateAsync(String resourceGroupName, String zoneName, ZoneUpdate parameters)

Updates a DNS zone. Does not modify DNS records within the zone.

Parameters:

resourceGroupName - The name of the resource group.
zoneName - The name of the DNS zone (without a terminating dot).
parameters - Parameters supplied to the Update operation.

Returns:

describes a DNS zone on successful completion of Mono.

updateWithResponse

public abstract Response updateWithResponse(String resourceGroupName, String zoneName, ZoneUpdate parameters, String ifMatch, Context context)

Updates a DNS zone. Does not modify DNS records within the zone.

Parameters:

resourceGroupName - The name of the resource group.
zoneName - The name of the DNS zone (without a terminating dot).
parameters - Parameters supplied to the Update operation.
ifMatch - The etag of the DNS zone. Omit this value to always overwrite the current zone. Specify the last-seen etag value to prevent accidentally overwriting any concurrent changes.
context - The context to associate with this operation.

Returns:

describes a DNS zone along with Response<T>.

updateWithResponseAsync

public abstract Mono> updateWithResponseAsync(String resourceGroupName, String zoneName, ZoneUpdate parameters, String ifMatch)

Updates a DNS zone. Does not modify DNS records within the zone.

Parameters:

resourceGroupName - The name of the resource group.
zoneName - The name of the DNS zone (without a terminating dot).
parameters - Parameters supplied to the Update operation.
ifMatch - The etag of the DNS zone. Omit this value to always overwrite the current zone. Specify the last-seen etag value to prevent accidentally overwriting any concurrent changes.

Returns:

describes a DNS zone along with Response<T> on successful completion of Mono.

Applies to