Interface PrivateEndpointConnections


public interface PrivateEndpointConnections
Resource collection API of PrivateEndpointConnections.
  • Method Details

    • listByAccount

      com.azure.core.http.rest.PagedIterable<PrivateEndpointConnection> listByAccount(String resourceGroupName, String accountName)
      Gets private endpoint connections.

      Get private endpoint connections for account.

      Parameters:
      resourceGroupName - The resource group name.
      accountName - The name of the account.
      Returns:
      private endpoint connections for account 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.
    • listByAccount

      com.azure.core.http.rest.PagedIterable<PrivateEndpointConnection> listByAccount(String resourceGroupName, String accountName, String skipToken, com.azure.core.util.Context context)
      Gets private endpoint connections.

      Get private endpoint connections for account.

      Parameters:
      resourceGroupName - The resource group name.
      accountName - The name of the account.
      skipToken - The skip token.
      context - The context to associate with this operation.
      Returns:
      private endpoint connections for account 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.
    • getWithResponse

      com.azure.core.http.rest.Response<PrivateEndpointConnection> getWithResponse(String resourceGroupName, String accountName, String privateEndpointConnectionName, com.azure.core.util.Context context)
      Gets private endpoint connection information.

      Get a private endpoint connection.

      Parameters:
      resourceGroupName - The resource group name.
      accountName - The name of the account.
      privateEndpointConnectionName - 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.
    • get

      PrivateEndpointConnection get(String resourceGroupName, String accountName, String privateEndpointConnectionName)
      Gets private endpoint connection information.

      Get a private endpoint connection.

      Parameters:
      resourceGroupName - The resource group name.
      accountName - The name of the account.
      privateEndpointConnectionName - 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.
    • delete

      void delete(String resourceGroupName, String accountName, String privateEndpointConnectionName)
      Deletes private endpoint connection.

      Delete a private endpoint connection.

      Parameters:
      resourceGroupName - The resource group name.
      accountName - The name of the account.
      privateEndpointConnectionName - 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 accountName, String privateEndpointConnectionName, com.azure.core.util.Context context)
      Deletes private endpoint connection.

      Delete a private endpoint connection.

      Parameters:
      resourceGroupName - The resource group name.
      accountName - The name of the account.
      privateEndpointConnectionName - 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.
    • getById

      Gets private endpoint connection information.

      Get a private endpoint connection.

      Parameters:
      id - the resource ID.
      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.
    • getByIdWithResponse

      com.azure.core.http.rest.Response<PrivateEndpointConnection> getByIdWithResponse(String id, com.azure.core.util.Context context)
      Gets private endpoint connection information.

      Get a private endpoint connection.

      Parameters:
      id - the resource ID.
      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.
    • deleteById

      void deleteById(String id)
      Deletes private endpoint connection.

      Delete a private endpoint connection.

      Parameters:
      id - the resource ID.
      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.
    • deleteByIdWithResponse

      void deleteByIdWithResponse(String id, com.azure.core.util.Context context)
      Deletes private endpoint connection.

      Delete a private endpoint connection.

      Parameters:
      id - the resource ID.
      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.
    • define

      Begins definition for a new PrivateEndpointConnection resource.
      Parameters:
      name - resource name.
      Returns:
      the first stage of the new PrivateEndpointConnection definition.