Interface PrivateEndpointConnectionsClient


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

    • listWithResponseAsync

      Mono<com.azure.core.http.rest.Response<PrivateEndpointConnectionListResultInner>> listWithResponseAsync(String resourceGroupName, String resourceName)
      Gets a list of private endpoint connections in the specified managed cluster.

      To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters.

      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      resourceName - The name of the managed cluster resource.
      Returns:
      a list of private endpoint connections 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.
    • listAsync

      Mono<PrivateEndpointConnectionListResultInner> listAsync(String resourceGroupName, String resourceName)
      Gets a list of private endpoint connections in the specified managed cluster.

      To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters.

      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      resourceName - The name of the managed cluster resource.
      Returns:
      a list of private endpoint connections 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.
    • list

      PrivateEndpointConnectionListResultInner list(String resourceGroupName, String resourceName)
      Gets a list of private endpoint connections in the specified managed cluster.

      To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters.

      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      resourceName - The name of the managed cluster resource.
      Returns:
      a list of private endpoint connections.
      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.
    • listWithResponse

      com.azure.core.http.rest.Response<PrivateEndpointConnectionListResultInner> listWithResponse(String resourceGroupName, String resourceName, com.azure.core.util.Context context)
      Gets a list of private endpoint connections in the specified managed cluster.

      To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters.

      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      resourceName - The name of the managed cluster resource.
      context - The context to associate with this operation.
      Returns:
      a list of private endpoint connections 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.
    • getWithResponseAsync

      Mono<com.azure.core.http.rest.Response<PrivateEndpointConnectionInner>> getWithResponseAsync(String resourceGroupName, String resourceName, String privateEndpointConnectionName)
      Gets the specified private endpoint connection.

      To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters.

      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      resourceName - The name of the managed cluster resource.
      privateEndpointConnectionName - The name of the private endpoint connection.
      Returns:
      a private endpoint connection 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 resourceName, String privateEndpointConnectionName)
      Gets the specified private endpoint connection.

      To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters.

      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      resourceName - The name of the managed cluster resource.
      privateEndpointConnectionName - The name of the private endpoint connection.
      Returns:
      a private endpoint connection 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

      PrivateEndpointConnectionInner get(String resourceGroupName, String resourceName, String privateEndpointConnectionName)
      Gets the specified private endpoint connection.

      To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters.

      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      resourceName - The name of the managed cluster resource.
      privateEndpointConnectionName - The name of the private endpoint connection.
      Returns:
      a 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.
    • getWithResponse

      com.azure.core.http.rest.Response<PrivateEndpointConnectionInner> getWithResponse(String resourceGroupName, String resourceName, String privateEndpointConnectionName, com.azure.core.util.Context context)
      Gets the specified private endpoint connection.

      To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters.

      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      resourceName - The name of the managed cluster resource.
      privateEndpointConnectionName - The name of the private endpoint connection.
      context - The context to associate with this operation.
      Returns:
      a private endpoint connection 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.
    • updateWithResponseAsync

      Mono<com.azure.core.http.rest.Response<PrivateEndpointConnectionInner>> updateWithResponseAsync(String resourceGroupName, String resourceName, String privateEndpointConnectionName, PrivateEndpointConnectionInner parameters)
      Updates a private endpoint connection.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      resourceName - The name of the managed cluster resource.
      privateEndpointConnectionName - The name of the private endpoint connection.
      parameters - The updated private endpoint connection.
      Returns:
      a private endpoint connection 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.
    • updateAsync

      Mono<PrivateEndpointConnectionInner> updateAsync(String resourceGroupName, String resourceName, String privateEndpointConnectionName, PrivateEndpointConnectionInner parameters)
      Updates a private endpoint connection.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      resourceName - The name of the managed cluster resource.
      privateEndpointConnectionName - The name of the private endpoint connection.
      parameters - The updated private endpoint connection.
      Returns:
      a private endpoint connection 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

      PrivateEndpointConnectionInner update(String resourceGroupName, String resourceName, String privateEndpointConnectionName, PrivateEndpointConnectionInner parameters)
      Updates a private endpoint connection.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      resourceName - The name of the managed cluster resource.
      privateEndpointConnectionName - The name of the private endpoint connection.
      parameters - The updated private endpoint connection.
      Returns:
      a 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.
    • updateWithResponse

      com.azure.core.http.rest.Response<PrivateEndpointConnectionInner> updateWithResponse(String resourceGroupName, String resourceName, String privateEndpointConnectionName, PrivateEndpointConnectionInner parameters, com.azure.core.util.Context context)
      Updates a private endpoint connection.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      resourceName - The name of the managed cluster resource.
      privateEndpointConnectionName - The name of the private endpoint connection.
      parameters - The updated private endpoint connection.
      context - The context to associate with this operation.
      Returns:
      a private endpoint connection 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.
    • deleteWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String resourceName, String privateEndpointConnectionName)
      Deletes a private endpoint connection.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      resourceName - The name of the managed cluster resource.
      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 resourceName, String privateEndpointConnectionName)
      Deletes a private endpoint connection.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      resourceName - The name of the managed cluster resource.
      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 resourceName, String privateEndpointConnectionName)
      Deletes a private endpoint connection.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      resourceName - The name of the managed cluster resource.
      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 resourceName, String privateEndpointConnectionName, com.azure.core.util.Context context)
      Deletes a private endpoint connection.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      resourceName - The name of the managed cluster resource.
      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 resourceName, String privateEndpointConnectionName)
      Deletes a private endpoint connection.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      resourceName - The name of the managed cluster resource.
      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 resourceName, String privateEndpointConnectionName)
      Deletes a private endpoint connection.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      resourceName - The name of the managed cluster resource.
      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 resourceName, String privateEndpointConnectionName, com.azure.core.util.Context context)
      Deletes a private endpoint connection.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      resourceName - The name of the managed cluster resource.
      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.