Interface PrivateEndpointsClient

    • Method Detail

      • deleteWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync​(String resourceGroupName,
                                                                                          String privateEndpointName)
        Deletes the specified private endpoint.
        Parameters:
        resourceGroupName - The name of the resource group.
        privateEndpointName - The name of the private endpoint.
        Returns:
        the Response on successful completion of Mono.
        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.
      • beginDeleteAsync

        com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,​Void> beginDeleteAsync​(String resourceGroupName,
                                                                                                                               String privateEndpointName)
        Deletes the specified private endpoint.
        Parameters:
        resourceGroupName - The name of the resource group.
        privateEndpointName - The name of the private endpoint.
        Returns:
        the PollerFlux for polling of long-running operation.
        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.
      • beginDelete

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,​Void> beginDelete​(String resourceGroupName,
                                                                                                                          String privateEndpointName)
        Deletes the specified private endpoint.
        Parameters:
        resourceGroupName - The name of the resource group.
        privateEndpointName - The name of the private endpoint.
        Returns:
        the SyncPoller for polling of long-running operation.
        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.
      • beginDelete

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,​Void> beginDelete​(String resourceGroupName,
                                                                                                                          String privateEndpointName,
                                                                                                                          com.azure.core.util.Context context)
        Deletes the specified private endpoint.
        Parameters:
        resourceGroupName - The name of the resource group.
        privateEndpointName - The name of the private endpoint.
        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.
        ErrorException - 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)
        Deletes the specified private endpoint.
        Specified by:
        deleteAsync in interface InnerSupportsDelete<Void>
        Parameters:
        resourceGroupName - The name of the resource group.
        privateEndpointName - The name of the private endpoint.
        Returns:
        A Mono that completes when a successful response is received.
        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.
      • delete

        void delete​(String resourceGroupName,
                    String privateEndpointName)
        Deletes the specified private endpoint.
        Parameters:
        resourceGroupName - The name of the resource group.
        privateEndpointName - The name of the private endpoint.
        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.
      • delete

        void delete​(String resourceGroupName,
                    String privateEndpointName,
                    com.azure.core.util.Context context)
        Deletes the specified private endpoint.
        Parameters:
        resourceGroupName - The name of the resource group.
        privateEndpointName - The name of the private endpoint.
        context - The context to associate with this operation.
        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.
      • getByResourceGroupWithResponseAsync

        Mono<com.azure.core.http.rest.Response<PrivateEndpointInner>> getByResourceGroupWithResponseAsync​(String resourceGroupName,
                                                                                                          String privateEndpointName,
                                                                                                          String expand)
        Gets the specified private endpoint by resource group.
        Parameters:
        resourceGroupName - The name of the resource group.
        privateEndpointName - The name of the private endpoint.
        expand - Expands referenced resources.
        Returns:
        the specified private endpoint by resource group along with Response on successful completion of Mono.
        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.
      • getByResourceGroupAsync

        Mono<PrivateEndpointInner> getByResourceGroupAsync​(String resourceGroupName,
                                                           String privateEndpointName,
                                                           String expand)
        Gets the specified private endpoint by resource group.
        Parameters:
        resourceGroupName - The name of the resource group.
        privateEndpointName - The name of the private endpoint.
        expand - Expands referenced resources.
        Returns:
        the specified private endpoint by resource group on successful completion of Mono.
        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.
      • getByResourceGroupWithResponse

        com.azure.core.http.rest.Response<PrivateEndpointInner> getByResourceGroupWithResponse​(String resourceGroupName,
                                                                                               String privateEndpointName,
                                                                                               String expand,
                                                                                               com.azure.core.util.Context context)
        Gets the specified private endpoint by resource group.
        Parameters:
        resourceGroupName - The name of the resource group.
        privateEndpointName - The name of the private endpoint.
        expand - Expands referenced resources.
        context - The context to associate with this operation.
        Returns:
        the specified private endpoint by resource group along with Response.
        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.
      • createOrUpdateWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync​(String resourceGroupName,
                                                                                                  String privateEndpointName,
                                                                                                  PrivateEndpointInner parameters)
        Creates or updates an private endpoint in the specified resource group.
        Parameters:
        resourceGroupName - The name of the resource group.
        privateEndpointName - The name of the private endpoint.
        parameters - Parameters supplied to the create or update private endpoint operation.
        Returns:
        private endpoint resource along with Response on successful completion of Mono.
        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.
      • beginCreateOrUpdateAsync

        com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<PrivateEndpointInner>,​PrivateEndpointInner> beginCreateOrUpdateAsync​(String resourceGroupName,
                                                                                                                                                                       String privateEndpointName,
                                                                                                                                                                       PrivateEndpointInner parameters)
        Creates or updates an private endpoint in the specified resource group.
        Parameters:
        resourceGroupName - The name of the resource group.
        privateEndpointName - The name of the private endpoint.
        parameters - Parameters supplied to the create or update private endpoint operation.
        Returns:
        the PollerFlux for polling of private endpoint resource.
        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.
      • beginCreateOrUpdate

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<PrivateEndpointInner>,​PrivateEndpointInner> beginCreateOrUpdate​(String resourceGroupName,
                                                                                                                                                                  String privateEndpointName,
                                                                                                                                                                  PrivateEndpointInner parameters)
        Creates or updates an private endpoint in the specified resource group.
        Parameters:
        resourceGroupName - The name of the resource group.
        privateEndpointName - The name of the private endpoint.
        parameters - Parameters supplied to the create or update private endpoint operation.
        Returns:
        the SyncPoller for polling of private endpoint resource.
        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.
      • beginCreateOrUpdate

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<PrivateEndpointInner>,​PrivateEndpointInner> beginCreateOrUpdate​(String resourceGroupName,
                                                                                                                                                                  String privateEndpointName,
                                                                                                                                                                  PrivateEndpointInner parameters,
                                                                                                                                                                  com.azure.core.util.Context context)
        Creates or updates an private endpoint in the specified resource group.
        Parameters:
        resourceGroupName - The name of the resource group.
        privateEndpointName - The name of the private endpoint.
        parameters - Parameters supplied to the create or update private endpoint operation.
        context - The context to associate with this operation.
        Returns:
        the SyncPoller for polling of private endpoint resource.
        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.
      • createOrUpdateAsync

        Mono<PrivateEndpointInner> createOrUpdateAsync​(String resourceGroupName,
                                                       String privateEndpointName,
                                                       PrivateEndpointInner parameters)
        Creates or updates an private endpoint in the specified resource group.
        Parameters:
        resourceGroupName - The name of the resource group.
        privateEndpointName - The name of the private endpoint.
        parameters - Parameters supplied to the create or update private endpoint operation.
        Returns:
        private endpoint resource on successful completion of Mono.
        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.
      • createOrUpdate

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

        PrivateEndpointInner createOrUpdate​(String resourceGroupName,
                                            String privateEndpointName,
                                            PrivateEndpointInner parameters,
                                            com.azure.core.util.Context context)
        Creates or updates an private endpoint in the specified resource group.
        Parameters:
        resourceGroupName - The name of the resource group.
        privateEndpointName - The name of the private endpoint.
        parameters - Parameters supplied to the create or update private endpoint operation.
        context - The context to associate with this operation.
        Returns:
        private endpoint resource.
        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.
      • listByResourceGroup

        com.azure.core.http.rest.PagedIterable<PrivateEndpointInner> listByResourceGroup​(String resourceGroupName,
                                                                                         com.azure.core.util.Context context)
        Gets all private endpoints in a resource group.
        Parameters:
        resourceGroupName - The name of the resource group.
        context - The context to associate with this operation.
        Returns:
        all private endpoints in a resource group 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<PrivateEndpointInner> list​(com.azure.core.util.Context context)
        Gets all private endpoints in a subscription.
        Parameters:
        context - The context to associate with this operation.
        Returns:
        all private endpoints in a subscription 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.