public interface ZonesClient extends InnerSupportsGet<ZoneInner>, InnerSupportsListing<ZoneInner>, InnerSupportsDelete<Void>
| Modifier and Type | Method and Description |
|---|---|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDelete(String resourceGroupName,
String zoneName,
String ifMatch)
Deletes a DNS zone.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDelete(String resourceGroupName,
String zoneName,
String ifMatch,
com.azure.core.util.Context context)
Deletes a DNS zone.
|
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDeleteAsync(String resourceGroupName,
String zoneName,
String ifMatch)
Deletes a DNS zone.
|
ZoneInner |
createOrUpdate(String resourceGroupName,
String zoneName,
ZoneInner parameters)
Creates or updates a DNS zone.
|
Mono<ZoneInner> |
createOrUpdateAsync(String resourceGroupName,
String zoneName,
ZoneInner parameters)
Creates or updates a DNS zone.
|
Mono<ZoneInner> |
createOrUpdateAsync(String resourceGroupName,
String zoneName,
ZoneInner parameters,
String ifMatch,
String ifNoneMatch)
Creates or updates a DNS zone.
|
com.azure.core.http.rest.Response<ZoneInner> |
createOrUpdateWithResponse(String resourceGroupName,
String zoneName,
ZoneInner parameters,
String ifMatch,
String ifNoneMatch,
com.azure.core.util.Context context)
Creates or updates a DNS zone.
|
Mono<com.azure.core.http.rest.Response<ZoneInner>> |
createOrUpdateWithResponseAsync(String resourceGroupName,
String zoneName,
ZoneInner parameters,
String ifMatch,
String ifNoneMatch)
Creates or updates a DNS zone.
|
void |
delete(String resourceGroupName,
String zoneName)
Deletes a DNS zone.
|
void |
delete(String resourceGroupName,
String zoneName,
String ifMatch)
Deletes a DNS zone.
|
void |
delete(String resourceGroupName,
String zoneName,
String ifMatch,
com.azure.core.util.Context context)
Deletes a DNS zone.
|
Mono<Void> |
deleteAsync(String resourceGroupName,
String zoneName)
Deletes a DNS zone.
|
Mono<Void> |
deleteAsync(String resourceGroupName,
String zoneName,
String ifMatch)
Deletes a DNS zone.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> |
deleteWithResponseAsync(String resourceGroupName,
String zoneName,
String ifMatch)
Deletes a DNS zone.
|
ZoneInner |
getByResourceGroup(String resourceGroupName,
String zoneName)
Gets a DNS zone.
|
Mono<ZoneInner> |
getByResourceGroupAsync(String resourceGroupName,
String zoneName)
Gets a DNS zone.
|
com.azure.core.http.rest.Response<ZoneInner> |
getByResourceGroupWithResponse(String resourceGroupName,
String zoneName,
com.azure.core.util.Context context)
Gets a DNS zone.
|
Mono<com.azure.core.http.rest.Response<ZoneInner>> |
getByResourceGroupWithResponseAsync(String resourceGroupName,
String zoneName)
Gets a DNS zone.
|
com.azure.core.http.rest.PagedIterable<ZoneInner> |
list()
Lists the DNS zones in all resource groups in a subscription.
|
com.azure.core.http.rest.PagedIterable<ZoneInner> |
list(Integer top,
com.azure.core.util.Context context)
Lists the DNS zones in all resource groups in a subscription.
|
com.azure.core.http.rest.PagedFlux<ZoneInner> |
listAsync()
Lists the DNS zones in all resource groups in a subscription.
|
com.azure.core.http.rest.PagedFlux<ZoneInner> |
listAsync(Integer top)
Lists the DNS zones in all resource groups in a subscription.
|
com.azure.core.http.rest.PagedIterable<ZoneInner> |
listByResourceGroup(String resourceGroupName)
Lists the DNS zones within a resource group.
|
com.azure.core.http.rest.PagedIterable<ZoneInner> |
listByResourceGroup(String resourceGroupName,
Integer top,
com.azure.core.util.Context context)
Lists the DNS zones within a resource group.
|
com.azure.core.http.rest.PagedFlux<ZoneInner> |
listByResourceGroupAsync(String resourceGroupName)
Lists the DNS zones within a resource group.
|
com.azure.core.http.rest.PagedFlux<ZoneInner> |
listByResourceGroupAsync(String resourceGroupName,
Integer top)
Lists the DNS zones within a resource group.
|
ZoneInner |
update(String resourceGroupName,
String zoneName)
Updates a DNS zone.
|
Mono<ZoneInner> |
updateAsync(String resourceGroupName,
String zoneName)
Updates a DNS zone.
|
Mono<ZoneInner> |
updateAsync(String resourceGroupName,
String zoneName,
String ifMatch,
Map<String,String> tags)
Updates a DNS zone.
|
com.azure.core.http.rest.Response<ZoneInner> |
updateWithResponse(String resourceGroupName,
String zoneName,
String ifMatch,
Map<String,String> tags,
com.azure.core.util.Context context)
Updates a DNS zone.
|
Mono<com.azure.core.http.rest.Response<ZoneInner>> |
updateWithResponseAsync(String resourceGroupName,
String zoneName,
String ifMatch,
Map<String,String> tags)
Updates a DNS zone.
|
Mono<com.azure.core.http.rest.Response<ZoneInner>> createOrUpdateWithResponseAsync(String resourceGroupName, String zoneName, ZoneInner parameters, String ifMatch, String ifNoneMatch)
resourceGroupName - The name of the resource group. The name is case insensitive.zoneName - The name of the DNS zone (without a terminating dot).parameters - Describes a DNS zone.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.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Mono<ZoneInner> createOrUpdateAsync(String resourceGroupName, String zoneName, ZoneInner parameters, String ifMatch, String ifNoneMatch)
resourceGroupName - The name of the resource group. The name is case insensitive.zoneName - The name of the DNS zone (without a terminating dot).parameters - Describes a DNS zone.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.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Mono<ZoneInner> createOrUpdateAsync(String resourceGroupName, String zoneName, ZoneInner parameters)
resourceGroupName - The name of the resource group. The name is case insensitive.zoneName - The name of the DNS zone (without a terminating dot).parameters - Describes a DNS zone.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.ZoneInner createOrUpdate(String resourceGroupName, String zoneName, ZoneInner parameters)
resourceGroupName - The name of the resource group. The name is case insensitive.zoneName - The name of the DNS zone (without a terminating dot).parameters - Describes a DNS zone.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.Response<ZoneInner> createOrUpdateWithResponse(String resourceGroupName, String zoneName, ZoneInner parameters, String ifMatch, String ifNoneMatch, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group. The name is case insensitive.zoneName - The name of the DNS zone (without a terminating dot).parameters - Describes a DNS zone.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.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String zoneName, String ifMatch)
resourceGroupName - The name of the resource group. The name is case insensitive.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.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String zoneName, String ifMatch)
resourceGroupName - The name of the resource group. The name is case insensitive.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.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String zoneName, String ifMatch)
resourceGroupName - The name of the resource group. The name is case insensitive.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.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String zoneName, String ifMatch, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group. The name is case insensitive.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.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Mono<Void> deleteAsync(String resourceGroupName, String zoneName, String ifMatch)
resourceGroupName - The name of the resource group. The name is case insensitive.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.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Mono<Void> deleteAsync(String resourceGroupName, String zoneName)
deleteAsync in interface InnerSupportsDelete<Void>resourceGroupName - The name of the resource group. The name is case insensitive.zoneName - The name of the DNS zone (without a terminating dot).IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.void delete(String resourceGroupName, String zoneName, String ifMatch)
resourceGroupName - The name of the resource group. The name is case insensitive.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.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.void delete(String resourceGroupName, String zoneName, String ifMatch, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group. The name is case insensitive.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.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.void delete(String resourceGroupName, String zoneName)
resourceGroupName - The name of the resource group. The name is case insensitive.zoneName - The name of the DNS zone (without a terminating dot).IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Mono<com.azure.core.http.rest.Response<ZoneInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String zoneName)
resourceGroupName - The name of the resource group. The name is case insensitive.zoneName - The name of the DNS zone (without a terminating dot).IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Mono<ZoneInner> getByResourceGroupAsync(String resourceGroupName, String zoneName)
getByResourceGroupAsync in interface InnerSupportsGet<ZoneInner>resourceGroupName - The name of the resource group. The name is case insensitive.zoneName - The name of the DNS zone (without a terminating dot).IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.ZoneInner getByResourceGroup(String resourceGroupName, String zoneName)
getByResourceGroup in interface InnerSupportsGet<ZoneInner>resourceGroupName - The name of the resource group. The name is case insensitive.zoneName - The name of the DNS zone (without a terminating dot).IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.Response<ZoneInner> getByResourceGroupWithResponse(String resourceGroupName, String zoneName, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group. The name is case insensitive.zoneName - The name of the DNS zone (without a terminating dot).context - The context to associate with this operation.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Mono<com.azure.core.http.rest.Response<ZoneInner>> updateWithResponseAsync(String resourceGroupName, String zoneName, String ifMatch, Map<String,String> tags)
resourceGroupName - The name of the resource group. The name is case insensitive.zoneName - The name of the DNS zone (without a terminating dot).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.tags - Resource tags.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Mono<ZoneInner> updateAsync(String resourceGroupName, String zoneName, String ifMatch, Map<String,String> tags)
resourceGroupName - The name of the resource group. The name is case insensitive.zoneName - The name of the DNS zone (without a terminating dot).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.tags - Resource tags.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Mono<ZoneInner> updateAsync(String resourceGroupName, String zoneName)
resourceGroupName - The name of the resource group. The name is case insensitive.zoneName - The name of the DNS zone (without a terminating dot).IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.ZoneInner update(String resourceGroupName, String zoneName)
resourceGroupName - The name of the resource group. The name is case insensitive.zoneName - The name of the DNS zone (without a terminating dot).IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.Response<ZoneInner> updateWithResponse(String resourceGroupName, String zoneName, String ifMatch, Map<String,String> tags, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group. The name is case insensitive.zoneName - The name of the DNS zone (without a terminating dot).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.tags - Resource tags.context - The context to associate with this operation.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedFlux<ZoneInner> listByResourceGroupAsync(String resourceGroupName, Integer top)
resourceGroupName - The name of the resource group. The name is case insensitive.top - The maximum number of record sets to return. If not specified, returns up to 100 record sets.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedFlux<ZoneInner> listByResourceGroupAsync(String resourceGroupName)
listByResourceGroupAsync in interface InnerSupportsListing<ZoneInner>resourceGroupName - The name of the resource group. The name is case insensitive.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedIterable<ZoneInner> listByResourceGroup(String resourceGroupName, Integer top, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group. The name is case insensitive.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.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedIterable<ZoneInner> listByResourceGroup(String resourceGroupName)
listByResourceGroup in interface InnerSupportsListing<ZoneInner>resourceGroupName - The name of the resource group. The name is case insensitive.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedFlux<ZoneInner> listAsync(Integer top)
top - The maximum number of DNS zones to return. If not specified, returns up to 100 zones.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedFlux<ZoneInner> listAsync()
listAsync in interface InnerSupportsListing<ZoneInner>com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedIterable<ZoneInner> list(Integer top, com.azure.core.util.Context context)
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.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedIterable<ZoneInner> list()
list in interface InnerSupportsListing<ZoneInner>com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Copyright © 2021 Microsoft Corporation. All rights reserved.