Interface PrivateEndpointConnectionsClient


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

    • listByAccount

      com.azure.core.http.rest.PagedIterable<PrivateEndpointConnectionInner> listByAccount(String resourceGroupName, String accountName)
      List all private endpoint connections in a device update account.
      Parameters:
      resourceGroupName - The resource group name.
      accountName - Account name.
      Returns:
      list of private endpoint connection associated with the specified storage 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<PrivateEndpointConnectionInner> listByAccount(String resourceGroupName, String accountName, com.azure.core.util.Context context)
      List all private endpoint connections in a device update account.
      Parameters:
      resourceGroupName - The resource group name.
      accountName - Account name.
      context - The context to associate with this operation.
      Returns:
      list of private endpoint connection associated with the specified storage 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.
    • get

      PrivateEndpointConnectionInner get(String resourceGroupName, String accountName, String privateEndpointConnectionName)
      Get the specified private endpoint connection associated with the device update account.
      Parameters:
      resourceGroupName - The resource group name.
      accountName - Account name.
      privateEndpointConnectionName - The name of the private endpoint connection associated with the Azure resource.
      Returns:
      the specified private endpoint connection associated with the device update 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<PrivateEndpointConnectionInner> getWithResponse(String resourceGroupName, String accountName, String privateEndpointConnectionName, com.azure.core.util.Context context)
      Get the specified private endpoint connection associated with the device update account.
      Parameters:
      resourceGroupName - The resource group name.
      accountName - Account name.
      privateEndpointConnectionName - The name of the private endpoint connection associated with the Azure resource.
      context - The context to associate with this operation.
      Returns:
      the specified private endpoint connection associated with the device update 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.
    • beginCreateOrUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<PrivateEndpointConnectionInner>,PrivateEndpointConnectionInner> beginCreateOrUpdate(String resourceGroupName, String accountName, String privateEndpointConnectionName, PrivateEndpointConnectionInner privateEndpointConnection)
      Update the state of specified private endpoint connection associated with the device update account.
      Parameters:
      resourceGroupName - The resource group name.
      accountName - Account name.
      privateEndpointConnectionName - The name of the private endpoint connection associated with the Azure resource.
      privateEndpointConnection - The parameters for creating a private endpoint connection.
      Returns:
      the SyncPoller for polling of the Private Endpoint Connection resource.
      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 accountName, String privateEndpointConnectionName, PrivateEndpointConnectionInner privateEndpointConnection, com.azure.core.util.Context context)
      Update the state of specified private endpoint connection associated with the device update account.
      Parameters:
      resourceGroupName - The resource group name.
      accountName - Account name.
      privateEndpointConnectionName - The name of the private endpoint connection associated with the Azure resource.
      privateEndpointConnection - The parameters for creating a private endpoint connection.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of the Private Endpoint Connection resource.
      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 accountName, String privateEndpointConnectionName, PrivateEndpointConnectionInner privateEndpointConnection)
      Update the state of specified private endpoint connection associated with the device update account.
      Parameters:
      resourceGroupName - The resource group name.
      accountName - Account name.
      privateEndpointConnectionName - The name of the private endpoint connection associated with the Azure resource.
      privateEndpointConnection - The parameters for creating a private endpoint connection.
      Returns:
      the Private Endpoint Connection resource.
      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 accountName, String privateEndpointConnectionName, PrivateEndpointConnectionInner privateEndpointConnection, com.azure.core.util.Context context)
      Update the state of specified private endpoint connection associated with the device update account.
      Parameters:
      resourceGroupName - The resource group name.
      accountName - Account name.
      privateEndpointConnectionName - The name of the private endpoint connection associated with the Azure resource.
      privateEndpointConnection - The parameters for creating a private endpoint connection.
      context - The context to associate with this operation.
      Returns:
      the Private Endpoint Connection resource.
      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 accountName, String privateEndpointConnectionName)
      Deletes the specified private endpoint connection associated with the device update account.
      Parameters:
      resourceGroupName - The resource group name.
      accountName - Account name.
      privateEndpointConnectionName - The name of the private endpoint connection associated with the Azure resource.
      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 accountName, String privateEndpointConnectionName, com.azure.core.util.Context context)
      Deletes the specified private endpoint connection associated with the device update account.
      Parameters:
      resourceGroupName - The resource group name.
      accountName - Account name.
      privateEndpointConnectionName - The name of the private endpoint connection associated with the Azure resource.
      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.
    • delete

      void delete(String resourceGroupName, String accountName, String privateEndpointConnectionName)
      Deletes the specified private endpoint connection associated with the device update account.
      Parameters:
      resourceGroupName - The resource group name.
      accountName - Account name.
      privateEndpointConnectionName - The name of the private endpoint connection associated with the Azure resource.
      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 the specified private endpoint connection associated with the device update account.
      Parameters:
      resourceGroupName - The resource group name.
      accountName - Account name.
      privateEndpointConnectionName - The name of the private endpoint connection associated with the Azure resource.
      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.