Interface PrivateEndpointConnectionsClient


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

    • listAsync

      com.azure.core.http.rest.PagedFlux<PrivateEndpointConnectionInner> listAsync(String resourceGroupName, String registryName)
      List all private endpoint connections in a container registry.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      registryName - The name of the container registry.
      Returns:
      the result of a request to list private endpoint connections for a container registry 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.
    • list

      com.azure.core.http.rest.PagedIterable<PrivateEndpointConnectionInner> list(String resourceGroupName, String registryName)
      List all private endpoint connections in a container registry.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      registryName - The name of the container registry.
      Returns:
      the result of a request to list private endpoint connections for a container registry 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.
    • list

      com.azure.core.http.rest.PagedIterable<PrivateEndpointConnectionInner> list(String resourceGroupName, String registryName, com.azure.core.util.Context context)
      List all private endpoint connections in a container registry.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      registryName - The name of the container registry.
      context - The context to associate with this operation.
      Returns:
      the result of a request to list private endpoint connections for a container registry 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.
    • getWithResponseAsync

      Mono<com.azure.core.http.rest.Response<PrivateEndpointConnectionInner>> getWithResponseAsync(String resourceGroupName, String registryName, String privateEndpointConnectionName)
      Get the specified private endpoint connection associated with the container registry.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      registryName - The name of the container registry.
      privateEndpointConnectionName - The name of the private endpoint connection.
      Returns:
      the specified private endpoint connection associated with the container registry 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<PrivateEndpointConnectionInner> getAsync(String resourceGroupName, String registryName, String privateEndpointConnectionName)
      Get the specified private endpoint connection associated with the container registry.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      registryName - The name of the container registry.
      privateEndpointConnectionName - The name of the private endpoint connection.
      Returns:
      the specified private endpoint connection associated with the container registry 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.
    • getWithResponse

      com.azure.core.http.rest.Response<PrivateEndpointConnectionInner> getWithResponse(String resourceGroupName, String registryName, String privateEndpointConnectionName, com.azure.core.util.Context context)
      Get the specified private endpoint connection associated with the container registry.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      registryName - The name of the container registry.
      privateEndpointConnectionName - The name of the private endpoint connection.
      context - The context to associate with this operation.
      Returns:
      the specified private endpoint connection associated with the container registry 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.
    • get

      PrivateEndpointConnectionInner get(String resourceGroupName, String registryName, String privateEndpointConnectionName)
      Get the specified private endpoint connection associated with the container registry.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      registryName - The name of the container registry.
      privateEndpointConnectionName - The name of the private endpoint connection.
      Returns:
      the specified private endpoint connection associated with the container registry.
      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 registryName, String privateEndpointConnectionName, PrivateEndpointConnectionInner privateEndpointConnection)
      Update the state of specified private endpoint connection associated with the container registry.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      registryName - The name of the container registry.
      privateEndpointConnectionName - The name of the private endpoint connection.
      privateEndpointConnection - The parameters for creating a private endpoint connection.
      Returns:
      an object that represents a private endpoint connection for a container registry 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<PrivateEndpointConnectionInner>,PrivateEndpointConnectionInner> beginCreateOrUpdateAsync(String resourceGroupName, String registryName, String privateEndpointConnectionName, PrivateEndpointConnectionInner privateEndpointConnection)
      Update the state of specified private endpoint connection associated with the container registry.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      registryName - The name of the container registry.
      privateEndpointConnectionName - The name of the private endpoint connection.
      privateEndpointConnection - The parameters for creating a private endpoint connection.
      Returns:
      the PollerFlux for polling of an object that represents a private endpoint connection for a container registry.
      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<PrivateEndpointConnectionInner>,PrivateEndpointConnectionInner> beginCreateOrUpdate(String resourceGroupName, String registryName, String privateEndpointConnectionName, PrivateEndpointConnectionInner privateEndpointConnection)
      Update the state of specified private endpoint connection associated with the container registry.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      registryName - The name of the container registry.
      privateEndpointConnectionName - The name of the private endpoint connection.
      privateEndpointConnection - The parameters for creating a private endpoint connection.
      Returns:
      the SyncPoller for polling of an object that represents a private endpoint connection for a container registry.
      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<PrivateEndpointConnectionInner>,PrivateEndpointConnectionInner> beginCreateOrUpdate(String resourceGroupName, String registryName, String privateEndpointConnectionName, PrivateEndpointConnectionInner privateEndpointConnection, com.azure.core.util.Context context)
      Update the state of specified private endpoint connection associated with the container registry.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      registryName - The name of the container registry.
      privateEndpointConnectionName - The name of the private endpoint connection.
      privateEndpointConnection - The parameters for creating a private endpoint connection.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of an object that represents a private endpoint connection for a container registry.
      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<PrivateEndpointConnectionInner> createOrUpdateAsync(String resourceGroupName, String registryName, String privateEndpointConnectionName, PrivateEndpointConnectionInner privateEndpointConnection)
      Update the state of specified private endpoint connection associated with the container registry.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      registryName - The name of the container registry.
      privateEndpointConnectionName - The name of the private endpoint connection.
      privateEndpointConnection - The parameters for creating a private endpoint connection.
      Returns:
      an object that represents a private endpoint connection for a container registry 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

      PrivateEndpointConnectionInner createOrUpdate(String resourceGroupName, String registryName, String privateEndpointConnectionName, PrivateEndpointConnectionInner privateEndpointConnection)
      Update the state of specified private endpoint connection associated with the container registry.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      registryName - The name of the container registry.
      privateEndpointConnectionName - The name of the private endpoint connection.
      privateEndpointConnection - The parameters for creating a private endpoint connection.
      Returns:
      an object that represents a private endpoint connection for a container registry.
      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

      PrivateEndpointConnectionInner createOrUpdate(String resourceGroupName, String registryName, String privateEndpointConnectionName, PrivateEndpointConnectionInner privateEndpointConnection, com.azure.core.util.Context context)
      Update the state of specified private endpoint connection associated with the container registry.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      registryName - The name of the container registry.
      privateEndpointConnectionName - The name of the private endpoint connection.
      privateEndpointConnection - The parameters for creating a private endpoint connection.
      context - The context to associate with this operation.
      Returns:
      an object that represents a private endpoint connection for a container registry.
      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 registryName, String privateEndpointConnectionName)
      Deletes the specified private endpoint connection associated with the container registry.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      registryName - The name of the container registry.
      privateEndpointConnectionName - The name of the private endpoint connection.
      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 registryName, String privateEndpointConnectionName)
      Deletes the specified private endpoint connection associated with the container registry.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      registryName - The name of the container registry.
      privateEndpointConnectionName - The name of the private endpoint connection.
      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 registryName, String privateEndpointConnectionName)
      Deletes the specified private endpoint connection associated with the container registry.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      registryName - The name of the container registry.
      privateEndpointConnectionName - The name of the private endpoint connection.
      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 registryName, String privateEndpointConnectionName, com.azure.core.util.Context context)
      Deletes the specified private endpoint connection associated with the container registry.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      registryName - The name of the container registry.
      privateEndpointConnectionName - The name of the private endpoint connection.
      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 registryName, String privateEndpointConnectionName)
      Deletes the specified private endpoint connection associated with the container registry.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      registryName - The name of the container registry.
      privateEndpointConnectionName - The name of the private endpoint connection.
      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 registryName, String privateEndpointConnectionName)
      Deletes the specified private endpoint connection associated with the container registry.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      registryName - The name of the container registry.
      privateEndpointConnectionName - The name of the private endpoint connection.
      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 registryName, String privateEndpointConnectionName, com.azure.core.util.Context context)
      Deletes the specified private endpoint connection associated with the container registry.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      registryName - The name of the container registry.
      privateEndpointConnectionName - The name of the private endpoint connection.
      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.