Interface PrivateEndpointConnections


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

    • listWithResponse

      com.azure.core.http.rest.Response<PrivateEndpointConnectionListResult> listWithResponse(String resourceGroupName, String accountName, com.azure.core.util.Context context)
      List private endpoint connections.

      List all private endpoint connections.

      Parameters:
      resourceGroupName - The name of the resource group within the Azure subscription.
      accountName - The Media Services account name.
      context - The context to associate with this operation.
      Returns:
      list of private endpoint connection associated with the specified storage account 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.
    • list

      PrivateEndpointConnectionListResult list(String resourceGroupName, String accountName)
      List private endpoint connections.

      List all private endpoint connections.

      Parameters:
      resourceGroupName - The name of the resource group within the Azure subscription.
      accountName - The Media Services account name.
      Returns:
      list of private endpoint connection associated with the specified storage account.
      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 name, com.azure.core.util.Context context)
      Get private endpoint connection.

      Get the details of a private endpoint connection.

      Parameters:
      resourceGroupName - The name of the resource group within the Azure subscription.
      accountName - The Media Services account name.
      name - The name parameter.
      context - The context to associate with this operation.
      Returns:
      the details of 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 name)
      Get private endpoint connection.

      Get the details of a private endpoint connection.

      Parameters:
      resourceGroupName - The name of the resource group within the Azure subscription.
      accountName - The Media Services account name.
      name - The name parameter.
      Returns:
      the details of 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.
    • deleteWithResponse

      com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String accountName, String name, com.azure.core.util.Context context)
      Delete a private endpoint connection.

      Deletes a private endpoint connection.

      Parameters:
      resourceGroupName - The name of the resource group within the Azure subscription.
      accountName - The Media Services account name.
      name - The name parameter.
      context - The context to associate with this operation.
      Returns:
      the 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.
    • delete

      void delete(String resourceGroupName, String accountName, String name)
      Delete a private endpoint connection.

      Deletes a private endpoint connection.

      Parameters:
      resourceGroupName - The name of the resource group within the Azure subscription.
      accountName - The Media Services account name.
      name - The name parameter.
      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

      Get private endpoint connection.

      Get the details of a private endpoint connection.

      Parameters:
      id - the resource ID.
      Returns:
      the details of 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)
      Get private endpoint connection.

      Get the details of a private endpoint connection.

      Parameters:
      id - the resource ID.
      context - The context to associate with this operation.
      Returns:
      the details of 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)
      Delete a private endpoint connection.

      Deletes 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

      com.azure.core.http.rest.Response<Void> deleteByIdWithResponse(String id, com.azure.core.util.Context context)
      Delete a private endpoint connection.

      Deletes a private endpoint connection.

      Parameters:
      id - the resource ID.
      context - The context to associate with this operation.
      Returns:
      the 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.
    • define

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