Interface PrivateZonesClient
- All Superinterfaces:
InnerSupportsDelete<Void>,InnerSupportsGet<PrivateZoneInner>,InnerSupportsListing<PrivateZoneInner>
public interface PrivateZonesClient
extends InnerSupportsGet<PrivateZoneInner>, InnerSupportsListing<PrivateZoneInner>, InnerSupportsDelete<Void>
An instance of this class provides access to all the operations defined in PrivateZonesClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<PrivateZoneInner>,PrivateZoneInner> beginCreateOrUpdate(String resourceGroupName, String privateZoneName, PrivateZoneInner parameters, String ifMatch, String ifNoneMatch) Creates or updates a Private DNS zone.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<PrivateZoneInner>,PrivateZoneInner> beginCreateOrUpdate(String resourceGroupName, String privateZoneName, PrivateZoneInner parameters, String ifMatch, String ifNoneMatch, com.azure.core.util.Context context) Creates or updates a Private DNS zone.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<PrivateZoneInner>,PrivateZoneInner> beginCreateOrUpdateAsync(String resourceGroupName, String privateZoneName, PrivateZoneInner parameters, String ifMatch, String ifNoneMatch) Creates or updates a Private DNS zone.beginDelete(String resourceGroupName, String privateZoneName, String ifMatch) Deletes a Private DNS zone.beginDelete(String resourceGroupName, String privateZoneName, String ifMatch, com.azure.core.util.Context context) Deletes a Private DNS zone.beginDeleteAsync(String resourceGroupName, String privateZoneName, String ifMatch) Deletes a Private DNS zone.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<PrivateZoneInner>,PrivateZoneInner> beginUpdate(String resourceGroupName, String privateZoneName, PrivateZoneInner parameters, String ifMatch) Updates a Private DNS zone.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<PrivateZoneInner>,PrivateZoneInner> beginUpdate(String resourceGroupName, String privateZoneName, PrivateZoneInner parameters, String ifMatch, com.azure.core.util.Context context) Updates a Private DNS zone.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<PrivateZoneInner>,PrivateZoneInner> beginUpdateAsync(String resourceGroupName, String privateZoneName, PrivateZoneInner parameters, String ifMatch) Updates a Private DNS zone.createOrUpdate(String resourceGroupName, String privateZoneName, PrivateZoneInner parameters) Creates or updates a Private DNS zone.createOrUpdate(String resourceGroupName, String privateZoneName, PrivateZoneInner parameters, String ifMatch, String ifNoneMatch) Creates or updates a Private DNS zone.createOrUpdate(String resourceGroupName, String privateZoneName, PrivateZoneInner parameters, String ifMatch, String ifNoneMatch, com.azure.core.util.Context context) Creates or updates a Private DNS zone.createOrUpdateAsync(String resourceGroupName, String privateZoneName, PrivateZoneInner parameters) Creates or updates a Private DNS zone.createOrUpdateAsync(String resourceGroupName, String privateZoneName, PrivateZoneInner parameters, String ifMatch, String ifNoneMatch) Creates or updates a Private DNS zone.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>>createOrUpdateWithResponseAsync(String resourceGroupName, String privateZoneName, PrivateZoneInner parameters, String ifMatch, String ifNoneMatch) Creates or updates a Private DNS zone.voidDeletes a Private DNS zone.voidDeletes a Private DNS zone.voiddelete(String resourceGroupName, String privateZoneName, String ifMatch, com.azure.core.util.Context context) Deletes a Private DNS zone.deleteAsync(String resourceGroupName, String privateZoneName) Deletes a Private DNS zone.deleteAsync(String resourceGroupName, String privateZoneName, String ifMatch) Deletes a Private DNS zone.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>>deleteWithResponseAsync(String resourceGroupName, String privateZoneName, String ifMatch) Deletes a Private DNS zone.getByResourceGroup(String resourceGroupName, String privateZoneName) Gets a Private DNS zone.getByResourceGroupAsync(String resourceGroupName, String privateZoneName) Gets a Private DNS zone.com.azure.core.http.rest.Response<PrivateZoneInner>getByResourceGroupWithResponse(String resourceGroupName, String privateZoneName, com.azure.core.util.Context context) Gets a Private DNS zone.Mono<com.azure.core.http.rest.Response<PrivateZoneInner>>getByResourceGroupWithResponseAsync(String resourceGroupName, String privateZoneName) Gets a Private DNS zone.com.azure.core.http.rest.PagedIterable<PrivateZoneInner>list()Lists the Private DNS zones in all resource groups in a subscription.com.azure.core.http.rest.PagedIterable<PrivateZoneInner>Lists the Private DNS zones in all resource groups in a subscription.com.azure.core.http.rest.PagedFlux<PrivateZoneInner>Lists the Private DNS zones in all resource groups in a subscription.com.azure.core.http.rest.PagedFlux<PrivateZoneInner>Lists the Private DNS zones in all resource groups in a subscription.com.azure.core.http.rest.PagedIterable<PrivateZoneInner>listByResourceGroup(String resourceGroupName) Lists the Private DNS zones within a resource group.com.azure.core.http.rest.PagedIterable<PrivateZoneInner>listByResourceGroup(String resourceGroupName, Integer top, com.azure.core.util.Context context) Lists the Private DNS zones within a resource group.com.azure.core.http.rest.PagedFlux<PrivateZoneInner>listByResourceGroupAsync(String resourceGroupName) Lists the Private DNS zones within a resource group.com.azure.core.http.rest.PagedFlux<PrivateZoneInner>listByResourceGroupAsync(String resourceGroupName, Integer top) Lists the Private DNS zones within a resource group.update(String resourceGroupName, String privateZoneName, PrivateZoneInner parameters) Updates a Private DNS zone.update(String resourceGroupName, String privateZoneName, PrivateZoneInner parameters, String ifMatch) Updates a Private DNS zone.update(String resourceGroupName, String privateZoneName, PrivateZoneInner parameters, String ifMatch, com.azure.core.util.Context context) Updates a Private DNS zone.updateAsync(String resourceGroupName, String privateZoneName, PrivateZoneInner parameters) Updates a Private DNS zone.updateAsync(String resourceGroupName, String privateZoneName, PrivateZoneInner parameters, String ifMatch) Updates a Private DNS zone.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>>updateWithResponseAsync(String resourceGroupName, String privateZoneName, PrivateZoneInner parameters, String ifMatch) Updates a Private DNS zone.
-
Method Details
-
createOrUpdateWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String privateZoneName, PrivateZoneInner parameters, String ifMatch, String ifNoneMatch) Creates or updates a Private DNS zone. Does not modify Links to virtual networks or DNS records within the zone.- Parameters:
resourceGroupName- The name of the resource group.privateZoneName- The name of the Private DNS zone (without a terminating dot).parameters- Parameters supplied to the CreateOrUpdate operation.ifMatch- The ETag of the Private 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 Private DNS zone to be created, but to prevent updating an existing zone. Other values will be ignored.- Returns:
- describes a Private DNS zone along with
Responseon successful completion ofMono. - Throws:
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.
-
beginCreateOrUpdateAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<PrivateZoneInner>,PrivateZoneInner> beginCreateOrUpdateAsync(String resourceGroupName, String privateZoneName, PrivateZoneInner parameters, String ifMatch, String ifNoneMatch) Creates or updates a Private DNS zone. Does not modify Links to virtual networks or DNS records within the zone.- Parameters:
resourceGroupName- The name of the resource group.privateZoneName- The name of the Private DNS zone (without a terminating dot).parameters- Parameters supplied to the CreateOrUpdate operation.ifMatch- The ETag of the Private 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 Private DNS zone to be created, but to prevent updating an existing zone. Other values will be ignored.- Returns:
- the
PollerFluxfor polling of describes a Private DNS zone. - Throws:
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.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<PrivateZoneInner>,PrivateZoneInner> beginCreateOrUpdate(String resourceGroupName, String privateZoneName, PrivateZoneInner parameters, String ifMatch, String ifNoneMatch) Creates or updates a Private DNS zone. Does not modify Links to virtual networks or DNS records within the zone.- Parameters:
resourceGroupName- The name of the resource group.privateZoneName- The name of the Private DNS zone (without a terminating dot).parameters- Parameters supplied to the CreateOrUpdate operation.ifMatch- The ETag of the Private 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 Private DNS zone to be created, but to prevent updating an existing zone. Other values will be ignored.- Returns:
- the
SyncPollerfor polling of describes a Private DNS zone. - Throws:
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.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<PrivateZoneInner>,PrivateZoneInner> beginCreateOrUpdate(String resourceGroupName, String privateZoneName, PrivateZoneInner parameters, String ifMatch, String ifNoneMatch, com.azure.core.util.Context context) Creates or updates a Private DNS zone. Does not modify Links to virtual networks or DNS records within the zone.- Parameters:
resourceGroupName- The name of the resource group.privateZoneName- The name of the Private DNS zone (without a terminating dot).parameters- Parameters supplied to the CreateOrUpdate operation.ifMatch- The ETag of the Private 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 Private 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:
- the
SyncPollerfor polling of describes a Private DNS zone. - Throws:
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.
-
createOrUpdateAsync
Mono<PrivateZoneInner> createOrUpdateAsync(String resourceGroupName, String privateZoneName, PrivateZoneInner parameters, String ifMatch, String ifNoneMatch) Creates or updates a Private DNS zone. Does not modify Links to virtual networks or DNS records within the zone.- Parameters:
resourceGroupName- The name of the resource group.privateZoneName- The name of the Private DNS zone (without a terminating dot).parameters- Parameters supplied to the CreateOrUpdate operation.ifMatch- The ETag of the Private 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 Private DNS zone to be created, but to prevent updating an existing zone. Other values will be ignored.- Returns:
- describes a Private DNS zone on successful completion of
Mono. - Throws:
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.
-
createOrUpdateAsync
Mono<PrivateZoneInner> createOrUpdateAsync(String resourceGroupName, String privateZoneName, PrivateZoneInner parameters) Creates or updates a Private DNS zone. Does not modify Links to virtual networks or DNS records within the zone.- Parameters:
resourceGroupName- The name of the resource group.privateZoneName- The name of the Private DNS zone (without a terminating dot).parameters- Parameters supplied to the CreateOrUpdate operation.- Returns:
- describes a Private DNS zone on successful completion of
Mono. - Throws:
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.
-
createOrUpdate
PrivateZoneInner createOrUpdate(String resourceGroupName, String privateZoneName, PrivateZoneInner parameters, String ifMatch, String ifNoneMatch) Creates or updates a Private DNS zone. Does not modify Links to virtual networks or DNS records within the zone.- Parameters:
resourceGroupName- The name of the resource group.privateZoneName- The name of the Private DNS zone (without a terminating dot).parameters- Parameters supplied to the CreateOrUpdate operation.ifMatch- The ETag of the Private 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 Private DNS zone to be created, but to prevent updating an existing zone. Other values will be ignored.- Returns:
- describes a Private DNS zone.
- Throws:
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.
-
createOrUpdate
PrivateZoneInner createOrUpdate(String resourceGroupName, String privateZoneName, PrivateZoneInner parameters) Creates or updates a Private DNS zone. Does not modify Links to virtual networks or DNS records within the zone.- Parameters:
resourceGroupName- The name of the resource group.privateZoneName- The name of the Private DNS zone (without a terminating dot).parameters- Parameters supplied to the CreateOrUpdate operation.- Returns:
- describes a Private DNS zone.
- Throws:
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.
-
createOrUpdate
PrivateZoneInner createOrUpdate(String resourceGroupName, String privateZoneName, PrivateZoneInner parameters, String ifMatch, String ifNoneMatch, com.azure.core.util.Context context) Creates or updates a Private DNS zone. Does not modify Links to virtual networks or DNS records within the zone.- Parameters:
resourceGroupName- The name of the resource group.privateZoneName- The name of the Private DNS zone (without a terminating dot).parameters- Parameters supplied to the CreateOrUpdate operation.ifMatch- The ETag of the Private 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 Private 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 Private DNS zone.
- Throws:
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.
-
updateWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> updateWithResponseAsync(String resourceGroupName, String privateZoneName, PrivateZoneInner parameters, String ifMatch) Updates a Private DNS zone. Does not modify virtual network links or DNS records within the zone.- Parameters:
resourceGroupName- The name of the resource group.privateZoneName- The name of the Private DNS zone (without a terminating dot).parameters- Parameters supplied to the Update operation.ifMatch- The ETag of the Private 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 Private DNS zone along with
Responseon successful completion ofMono. - Throws:
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.
-
beginUpdateAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<PrivateZoneInner>,PrivateZoneInner> beginUpdateAsync(String resourceGroupName, String privateZoneName, PrivateZoneInner parameters, String ifMatch) Updates a Private DNS zone. Does not modify virtual network links or DNS records within the zone.- Parameters:
resourceGroupName- The name of the resource group.privateZoneName- The name of the Private DNS zone (without a terminating dot).parameters- Parameters supplied to the Update operation.ifMatch- The ETag of the Private 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:
- the
PollerFluxfor polling of describes a Private DNS zone. - Throws:
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.
-
beginUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<PrivateZoneInner>,PrivateZoneInner> beginUpdate(String resourceGroupName, String privateZoneName, PrivateZoneInner parameters, String ifMatch) Updates a Private DNS zone. Does not modify virtual network links or DNS records within the zone.- Parameters:
resourceGroupName- The name of the resource group.privateZoneName- The name of the Private DNS zone (without a terminating dot).parameters- Parameters supplied to the Update operation.ifMatch- The ETag of the Private 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:
- the
SyncPollerfor polling of describes a Private DNS zone. - Throws:
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.
-
beginUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<PrivateZoneInner>,PrivateZoneInner> beginUpdate(String resourceGroupName, String privateZoneName, PrivateZoneInner parameters, String ifMatch, com.azure.core.util.Context context) Updates a Private DNS zone. Does not modify virtual network links or DNS records within the zone.- Parameters:
resourceGroupName- The name of the resource group.privateZoneName- The name of the Private DNS zone (without a terminating dot).parameters- Parameters supplied to the Update operation.ifMatch- The ETag of the Private 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:
- the
SyncPollerfor polling of describes a Private DNS zone. - Throws:
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.
-
updateAsync
Mono<PrivateZoneInner> updateAsync(String resourceGroupName, String privateZoneName, PrivateZoneInner parameters, String ifMatch) Updates a Private DNS zone. Does not modify virtual network links or DNS records within the zone.- Parameters:
resourceGroupName- The name of the resource group.privateZoneName- The name of the Private DNS zone (without a terminating dot).parameters- Parameters supplied to the Update operation.ifMatch- The ETag of the Private 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 Private DNS zone on successful completion of
Mono. - Throws:
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.
-
updateAsync
Mono<PrivateZoneInner> updateAsync(String resourceGroupName, String privateZoneName, PrivateZoneInner parameters) Updates a Private DNS zone. Does not modify virtual network links or DNS records within the zone.- Parameters:
resourceGroupName- The name of the resource group.privateZoneName- The name of the Private DNS zone (without a terminating dot).parameters- Parameters supplied to the Update operation.- Returns:
- describes a Private DNS zone on successful completion of
Mono. - Throws:
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.
-
update
PrivateZoneInner update(String resourceGroupName, String privateZoneName, PrivateZoneInner parameters, String ifMatch) Updates a Private DNS zone. Does not modify virtual network links or DNS records within the zone.- Parameters:
resourceGroupName- The name of the resource group.privateZoneName- The name of the Private DNS zone (without a terminating dot).parameters- Parameters supplied to the Update operation.ifMatch- The ETag of the Private 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 Private DNS zone.
- Throws:
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.
-
update
PrivateZoneInner update(String resourceGroupName, String privateZoneName, PrivateZoneInner parameters) Updates a Private DNS zone. Does not modify virtual network links or DNS records within the zone.- Parameters:
resourceGroupName- The name of the resource group.privateZoneName- The name of the Private DNS zone (without a terminating dot).parameters- Parameters supplied to the Update operation.- Returns:
- describes a Private DNS zone.
- Throws:
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.
-
update
PrivateZoneInner update(String resourceGroupName, String privateZoneName, PrivateZoneInner parameters, String ifMatch, com.azure.core.util.Context context) Updates a Private DNS zone. Does not modify virtual network links or DNS records within the zone.- Parameters:
resourceGroupName- The name of the resource group.privateZoneName- The name of the Private DNS zone (without a terminating dot).parameters- Parameters supplied to the Update operation.ifMatch- The ETag of the Private 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 Private DNS zone.
- Throws:
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.
-
deleteWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String privateZoneName, String ifMatch) Deletes a Private DNS zone. WARNING: All DNS records in the zone will also be deleted. This operation cannot be undone. Private DNS zone cannot be deleted unless all virtual network links to it are removed.- Parameters:
resourceGroupName- The name of the resource group.privateZoneName- The name of the Private DNS zone (without a terminating dot).ifMatch- The ETag of the Private 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
Responseon successful completion ofMono. - Throws:
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.
-
beginDeleteAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String privateZoneName, String ifMatch) Deletes a Private DNS zone. WARNING: All DNS records in the zone will also be deleted. This operation cannot be undone. Private DNS zone cannot be deleted unless all virtual network links to it are removed.- Parameters:
resourceGroupName- The name of the resource group.privateZoneName- The name of the Private DNS zone (without a terminating dot).ifMatch- The ETag of the Private 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
PollerFluxfor polling of long-running operation. - Throws:
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.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String privateZoneName, String ifMatch) Deletes a Private DNS zone. WARNING: All DNS records in the zone will also be deleted. This operation cannot be undone. Private DNS zone cannot be deleted unless all virtual network links to it are removed.- Parameters:
resourceGroupName- The name of the resource group.privateZoneName- The name of the Private DNS zone (without a terminating dot).ifMatch- The ETag of the Private 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
SyncPollerfor polling of long-running operation. - Throws:
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.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String privateZoneName, String ifMatch, com.azure.core.util.Context context) Deletes a Private DNS zone. WARNING: All DNS records in the zone will also be deleted. This operation cannot be undone. Private DNS zone cannot be deleted unless all virtual network links to it are removed.- Parameters:
resourceGroupName- The name of the resource group.privateZoneName- The name of the Private DNS zone (without a terminating dot).ifMatch- The ETag of the Private 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
SyncPollerfor polling of long-running operation. - Throws:
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.
-
deleteAsync
Deletes a Private DNS zone. WARNING: All DNS records in the zone will also be deleted. This operation cannot be undone. Private DNS zone cannot be deleted unless all virtual network links to it are removed.- Parameters:
resourceGroupName- The name of the resource group.privateZoneName- The name of the Private DNS zone (without a terminating dot).ifMatch- The ETag of the Private 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
Monothat completes when a successful response is received. - Throws:
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.
-
deleteAsync
Deletes a Private DNS zone. WARNING: All DNS records in the zone will also be deleted. This operation cannot be undone. Private DNS zone cannot be deleted unless all virtual network links to it are removed.- Specified by:
deleteAsyncin interfaceInnerSupportsDelete<Void>- Parameters:
resourceGroupName- The name of the resource group.privateZoneName- The name of the Private DNS zone (without a terminating dot).- Returns:
- A
Monothat completes when a successful response is received. - Throws:
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.
-
delete
Deletes a Private DNS zone. WARNING: All DNS records in the zone will also be deleted. This operation cannot be undone. Private DNS zone cannot be deleted unless all virtual network links to it are removed.- Parameters:
resourceGroupName- The name of the resource group.privateZoneName- The name of the Private DNS zone (without a terminating dot).ifMatch- The ETag of the Private DNS zone. Omit this value to always delete the current zone. Specify the last-seen ETag value to prevent accidentally deleting any concurrent changes.- Throws:
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.
-
delete
Deletes a Private DNS zone. WARNING: All DNS records in the zone will also be deleted. This operation cannot be undone. Private DNS zone cannot be deleted unless all virtual network links to it are removed.- Parameters:
resourceGroupName- The name of the resource group.privateZoneName- The name of the Private DNS zone (without a terminating dot).- Throws:
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.
-
delete
void delete(String resourceGroupName, String privateZoneName, String ifMatch, com.azure.core.util.Context context) Deletes a Private DNS zone. WARNING: All DNS records in the zone will also be deleted. This operation cannot be undone. Private DNS zone cannot be deleted unless all virtual network links to it are removed.- Parameters:
resourceGroupName- The name of the resource group.privateZoneName- The name of the Private DNS zone (without a terminating dot).ifMatch- The ETag of the Private 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.- Throws:
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.
-
getByResourceGroupWithResponseAsync
Mono<com.azure.core.http.rest.Response<PrivateZoneInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String privateZoneName) Gets a Private DNS zone. Retrieves the zone properties, but not the virtual networks links or the record sets within the zone.- Parameters:
resourceGroupName- The name of the resource group.privateZoneName- The name of the Private DNS zone (without a terminating dot).- Returns:
- a Private DNS zone along with
Responseon successful completion ofMono. - Throws:
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.
-
getByResourceGroupAsync
Gets a Private DNS zone. Retrieves the zone properties, but not the virtual networks links or the record sets within the zone.- Specified by:
getByResourceGroupAsyncin interfaceInnerSupportsGet<PrivateZoneInner>- Parameters:
resourceGroupName- The name of the resource group.privateZoneName- The name of the Private DNS zone (without a terminating dot).- Returns:
- a Private DNS zone on successful completion of
Mono. - Throws:
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.
-
getByResourceGroup
Gets a Private DNS zone. Retrieves the zone properties, but not the virtual networks links or the record sets within the zone.- Specified by:
getByResourceGroupin interfaceInnerSupportsGet<PrivateZoneInner>- Parameters:
resourceGroupName- The name of the resource group.privateZoneName- The name of the Private DNS zone (without a terminating dot).- Returns:
- a Private DNS zone.
- Throws:
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.
-
getByResourceGroupWithResponse
com.azure.core.http.rest.Response<PrivateZoneInner> getByResourceGroupWithResponse(String resourceGroupName, String privateZoneName, com.azure.core.util.Context context) Gets a Private DNS zone. Retrieves the zone properties, but not the virtual networks links or the record sets within the zone.- Parameters:
resourceGroupName- The name of the resource group.privateZoneName- The name of the Private DNS zone (without a terminating dot).context- The context to associate with this operation.- Returns:
- a Private DNS zone along with
Response. - Throws:
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.
-
listAsync
Lists the Private DNS zones in all resource groups in a subscription.- Parameters:
top- The maximum number of Private DNS zones to return. If not specified, returns up to 100 zones.- Returns:
- the response to a Private DNS zone list operation as paginated response with
PagedFlux. - Throws:
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.
-
listAsync
com.azure.core.http.rest.PagedFlux<PrivateZoneInner> listAsync()Lists the Private DNS zones in all resource groups in a subscription.- Specified by:
listAsyncin interfaceInnerSupportsListing<PrivateZoneInner>- Returns:
- the response to a Private DNS zone list operation as paginated response with
PagedFlux. - Throws:
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.
-
list
com.azure.core.http.rest.PagedIterable<PrivateZoneInner> list()Lists the Private DNS zones in all resource groups in a subscription.- Specified by:
listin interfaceInnerSupportsListing<PrivateZoneInner>- Returns:
- the response to a Private DNS zone list operation as paginated response with
PagedIterable. - Throws:
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.
-
list
com.azure.core.http.rest.PagedIterable<PrivateZoneInner> list(Integer top, com.azure.core.util.Context context) Lists the Private DNS zones in all resource groups in a subscription.- Parameters:
top- The maximum number of Private 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 Private DNS zone list operation as paginated response with
PagedIterable. - Throws:
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.
-
listByResourceGroupAsync
com.azure.core.http.rest.PagedFlux<PrivateZoneInner> listByResourceGroupAsync(String resourceGroupName, Integer top) Lists the Private 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 Private DNS zone list operation as paginated response with
PagedFlux. - Throws:
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.
-
listByResourceGroupAsync
com.azure.core.http.rest.PagedFlux<PrivateZoneInner> listByResourceGroupAsync(String resourceGroupName) Lists the Private DNS zones within a resource group.- Specified by:
listByResourceGroupAsyncin interfaceInnerSupportsListing<PrivateZoneInner>- Parameters:
resourceGroupName- The name of the resource group.- Returns:
- the response to a Private DNS zone list operation as paginated response with
PagedFlux. - Throws:
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.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<PrivateZoneInner> listByResourceGroup(String resourceGroupName) Lists the Private DNS zones within a resource group.- Specified by:
listByResourceGroupin interfaceInnerSupportsListing<PrivateZoneInner>- Parameters:
resourceGroupName- The name of the resource group.- Returns:
- the response to a Private DNS zone list operation as paginated response with
PagedIterable. - Throws:
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.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<PrivateZoneInner> listByResourceGroup(String resourceGroupName, Integer top, com.azure.core.util.Context context) Lists the Private 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 Private DNS zone list operation as paginated response with
PagedIterable. - Throws:
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.
-