Interface PrivateDnsZoneGroupsClient


  • public interface PrivateDnsZoneGroupsClient
    An instance of this class provides access to all the operations defined in PrivateDnsZoneGroupsClient.
    • Method Detail

      • deleteWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync​(String resourceGroupName,
                                                                                          String privateEndpointName,
                                                                                          String privateDnsZoneGroupName)
        Deletes the specified private dns zone group.
        Parameters:
        resourceGroupName - The name of the resource group.
        privateEndpointName - The name of the private endpoint.
        privateDnsZoneGroupName - The name of the private dns zone group.
        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 privateEndpointName,
                                                                                                                               String privateDnsZoneGroupName)
        Deletes the specified private dns zone group.
        Parameters:
        resourceGroupName - The name of the resource group.
        privateEndpointName - The name of the private endpoint.
        privateDnsZoneGroupName - The name of the private dns zone group.
        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 privateEndpointName,
                                                                                                                          String privateDnsZoneGroupName)
        Deletes the specified private dns zone group.
        Parameters:
        resourceGroupName - The name of the resource group.
        privateEndpointName - The name of the private endpoint.
        privateDnsZoneGroupName - The name of the private dns zone group.
        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 privateEndpointName,
                                                                                                                          String privateDnsZoneGroupName,
                                                                                                                          com.azure.core.util.Context context)
        Deletes the specified private dns zone group.
        Parameters:
        resourceGroupName - The name of the resource group.
        privateEndpointName - The name of the private endpoint.
        privateDnsZoneGroupName - The name of the private dns zone group.
        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 privateEndpointName,
                               String privateDnsZoneGroupName)
        Deletes the specified private dns zone group.
        Parameters:
        resourceGroupName - The name of the resource group.
        privateEndpointName - The name of the private endpoint.
        privateDnsZoneGroupName - The name of the private dns zone group.
        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 privateEndpointName,
                    String privateDnsZoneGroupName)
        Deletes the specified private dns zone group.
        Parameters:
        resourceGroupName - The name of the resource group.
        privateEndpointName - The name of the private endpoint.
        privateDnsZoneGroupName - The name of the private dns zone group.
        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 privateEndpointName,
                    String privateDnsZoneGroupName,
                    com.azure.core.util.Context context)
        Deletes the specified private dns zone group.
        Parameters:
        resourceGroupName - The name of the resource group.
        privateEndpointName - The name of the private endpoint.
        privateDnsZoneGroupName - The name of the private dns zone group.
        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.
      • getWithResponseAsync

        Mono<com.azure.core.http.rest.Response<PrivateDnsZoneGroupInner>> getWithResponseAsync​(String resourceGroupName,
                                                                                               String privateEndpointName,
                                                                                               String privateDnsZoneGroupName)
        Gets the private dns zone group resource by specified private dns zone group name.
        Parameters:
        resourceGroupName - The name of the resource group.
        privateEndpointName - The name of the private endpoint.
        privateDnsZoneGroupName - The name of the private dns zone group.
        Returns:
        the private dns zone group resource by specified private dns zone group name 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.
      • getAsync

        Mono<PrivateDnsZoneGroupInner> getAsync​(String resourceGroupName,
                                                String privateEndpointName,
                                                String privateDnsZoneGroupName)
        Gets the private dns zone group resource by specified private dns zone group name.
        Parameters:
        resourceGroupName - The name of the resource group.
        privateEndpointName - The name of the private endpoint.
        privateDnsZoneGroupName - The name of the private dns zone group.
        Returns:
        the private dns zone group resource by specified private dns zone group name 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.
      • get

        PrivateDnsZoneGroupInner get​(String resourceGroupName,
                                     String privateEndpointName,
                                     String privateDnsZoneGroupName)
        Gets the private dns zone group resource by specified private dns zone group name.
        Parameters:
        resourceGroupName - The name of the resource group.
        privateEndpointName - The name of the private endpoint.
        privateDnsZoneGroupName - The name of the private dns zone group.
        Returns:
        the private dns zone group resource by specified private dns zone group name.
        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.
      • getWithResponse

        com.azure.core.http.rest.Response<PrivateDnsZoneGroupInner> getWithResponse​(String resourceGroupName,
                                                                                    String privateEndpointName,
                                                                                    String privateDnsZoneGroupName,
                                                                                    com.azure.core.util.Context context)
        Gets the private dns zone group resource by specified private dns zone group name.
        Parameters:
        resourceGroupName - The name of the resource group.
        privateEndpointName - The name of the private endpoint.
        privateDnsZoneGroupName - The name of the private dns zone group.
        context - The context to associate with this operation.
        Returns:
        the private dns zone group resource by specified private dns zone group name 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.
      • createOrUpdateWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync​(String resourceGroupName,
                                                                                                  String privateEndpointName,
                                                                                                  String privateDnsZoneGroupName,
                                                                                                  PrivateDnsZoneGroupInner parameters)
        Creates or updates a private dns zone group in the specified private endpoint.
        Parameters:
        resourceGroupName - The name of the resource group.
        privateEndpointName - The name of the private endpoint.
        privateDnsZoneGroupName - The name of the private dns zone group.
        parameters - Parameters supplied to the create or update private dns zone group operation.
        Returns:
        private dns zone group resource 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<PrivateDnsZoneGroupInner>,​PrivateDnsZoneGroupInner> beginCreateOrUpdateAsync​(String resourceGroupName,
                                                                                                                                                                               String privateEndpointName,
                                                                                                                                                                               String privateDnsZoneGroupName,
                                                                                                                                                                               PrivateDnsZoneGroupInner parameters)
        Creates or updates a private dns zone group in the specified private endpoint.
        Parameters:
        resourceGroupName - The name of the resource group.
        privateEndpointName - The name of the private endpoint.
        privateDnsZoneGroupName - The name of the private dns zone group.
        parameters - Parameters supplied to the create or update private dns zone group operation.
        Returns:
        the PollerFlux for polling of private dns zone group resource.
        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<PrivateDnsZoneGroupInner>,​PrivateDnsZoneGroupInner> beginCreateOrUpdate​(String resourceGroupName,
                                                                                                                                                                          String privateEndpointName,
                                                                                                                                                                          String privateDnsZoneGroupName,
                                                                                                                                                                          PrivateDnsZoneGroupInner parameters)
        Creates or updates a private dns zone group in the specified private endpoint.
        Parameters:
        resourceGroupName - The name of the resource group.
        privateEndpointName - The name of the private endpoint.
        privateDnsZoneGroupName - The name of the private dns zone group.
        parameters - Parameters supplied to the create or update private dns zone group operation.
        Returns:
        the SyncPoller for polling of private dns zone group resource.
        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<PrivateDnsZoneGroupInner>,​PrivateDnsZoneGroupInner> beginCreateOrUpdate​(String resourceGroupName,
                                                                                                                                                                          String privateEndpointName,
                                                                                                                                                                          String privateDnsZoneGroupName,
                                                                                                                                                                          PrivateDnsZoneGroupInner parameters,
                                                                                                                                                                          com.azure.core.util.Context context)
        Creates or updates a private dns zone group in the specified private endpoint.
        Parameters:
        resourceGroupName - The name of the resource group.
        privateEndpointName - The name of the private endpoint.
        privateDnsZoneGroupName - The name of the private dns zone group.
        parameters - Parameters supplied to the create or update private dns zone group operation.
        context - The context to associate with this operation.
        Returns:
        the SyncPoller for polling of private dns zone group resource.
        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<PrivateDnsZoneGroupInner> createOrUpdateAsync​(String resourceGroupName,
                                                           String privateEndpointName,
                                                           String privateDnsZoneGroupName,
                                                           PrivateDnsZoneGroupInner parameters)
        Creates or updates a private dns zone group in the specified private endpoint.
        Parameters:
        resourceGroupName - The name of the resource group.
        privateEndpointName - The name of the private endpoint.
        privateDnsZoneGroupName - The name of the private dns zone group.
        parameters - Parameters supplied to the create or update private dns zone group operation.
        Returns:
        private dns zone group resource 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

        PrivateDnsZoneGroupInner createOrUpdate​(String resourceGroupName,
                                                String privateEndpointName,
                                                String privateDnsZoneGroupName,
                                                PrivateDnsZoneGroupInner parameters)
        Creates or updates a private dns zone group in the specified private endpoint.
        Parameters:
        resourceGroupName - The name of the resource group.
        privateEndpointName - The name of the private endpoint.
        privateDnsZoneGroupName - The name of the private dns zone group.
        parameters - Parameters supplied to the create or update private dns zone group operation.
        Returns:
        private dns zone group resource.
        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

        PrivateDnsZoneGroupInner createOrUpdate​(String resourceGroupName,
                                                String privateEndpointName,
                                                String privateDnsZoneGroupName,
                                                PrivateDnsZoneGroupInner parameters,
                                                com.azure.core.util.Context context)
        Creates or updates a private dns zone group in the specified private endpoint.
        Parameters:
        resourceGroupName - The name of the resource group.
        privateEndpointName - The name of the private endpoint.
        privateDnsZoneGroupName - The name of the private dns zone group.
        parameters - Parameters supplied to the create or update private dns zone group operation.
        context - The context to associate with this operation.
        Returns:
        private dns zone group resource.
        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<PrivateDnsZoneGroupInner> listAsync​(String privateEndpointName,
                                                                               String resourceGroupName)
        Gets all private dns zone groups in a private endpoint.
        Parameters:
        privateEndpointName - The name of the private endpoint.
        resourceGroupName - The name of the resource group.
        Returns:
        all private dns zone groups in a private endpoint as paginated response with PagedFlux.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        ErrorException - 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<PrivateDnsZoneGroupInner> list​(String privateEndpointName,
                                                                              String resourceGroupName)
        Gets all private dns zone groups in a private endpoint.
        Parameters:
        privateEndpointName - The name of the private endpoint.
        resourceGroupName - The name of the resource group.
        Returns:
        all private dns zone groups in a private endpoint as paginated response with PagedIterable.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        ErrorException - 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<PrivateDnsZoneGroupInner> list​(String privateEndpointName,
                                                                              String resourceGroupName,
                                                                              com.azure.core.util.Context context)
        Gets all private dns zone groups in a private endpoint.
        Parameters:
        privateEndpointName - The name of the private endpoint.
        resourceGroupName - The name of the resource group.
        context - The context to associate with this operation.
        Returns:
        all private dns zone groups in a private endpoint as paginated response with PagedIterable.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        ErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.