public void delete(String resourceGroupName, String privateZoneName, String ifMatch) {
        deleteWithServiceResponseAsync(resourceGroupName, privateZoneName, ifMatch).toBlocking().last().body();
    }
public void delete ( String resourceGroupName , String privateZoneName , String ifMatch ) { deleteWithServiceResponseAsync ( resourceGroupName , privateZoneName , ifMatch ) . toBlocking ( ) . last ( ) . body ( ) ; }
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.

@param resourceGroupName The name of the resource group.
@param privateZoneName The name of the Private DNS zone (without a terminating dot).
@param 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
@throws CloudException thrown if the request is rejected by server
@throws RuntimeException all other wrapped checked exceptions if the request fails to be sent