Interface PrivateZonesClient

All Superinterfaces:
InnerSupportsDelete<Void>, InnerSupportsGet<PrivateZoneInner>, InnerSupportsListing<PrivateZoneInner>

An instance of this class provides access to all the operations defined in PrivateZonesClient.
  • 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 Response 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.
    • 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 PollerFlux for 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 SyncPoller for 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 SyncPoller for 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 Response 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.
    • 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 PollerFlux for 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 SyncPoller for 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 SyncPoller for 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 Response 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.
    • 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 PollerFlux for 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 SyncPoller for 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 SyncPoller for 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

      Mono<Void> deleteAsync(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:
      A Mono that 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

      Mono<Void> deleteAsync(String resourceGroupName, String privateZoneName)
      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:
      deleteAsync in interface InnerSupportsDelete<Void>
      Parameters:
      resourceGroupName - The name of the resource group.
      privateZoneName - The name of the Private DNS zone (without a terminating dot).
      Returns:
      A Mono that 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

      void delete(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.
      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)
      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 Response 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.
    • getByResourceGroupAsync

      Mono<PrivateZoneInner> getByResourceGroupAsync(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.
      Specified by:
      getByResourceGroupAsync in interface InnerSupportsGet<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

      PrivateZoneInner getByResourceGroup(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.
      Specified by:
      getByResourceGroup in interface InnerSupportsGet<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

      com.azure.core.http.rest.PagedFlux<PrivateZoneInner> listAsync(Integer top)
      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:
      listAsync in interface InnerSupportsListing<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:
      list in interface InnerSupportsListing<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:
      listByResourceGroupAsync in interface InnerSupportsListing<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:
      listByResourceGroup in interface InnerSupportsListing<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.