Interface EndpointsClient


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

    • list

      com.azure.core.http.rest.PagedIterable<EndpointInner> list(String resourceGroupName, String storageMoverName)
      Lists all Endpoints in a Storage Mover.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      storageMoverName - The name of the Storage Mover resource.
      Returns:
      list of Endpoints 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<EndpointInner> list(String resourceGroupName, String storageMoverName, com.azure.core.util.Context context)
      Lists all Endpoints in a Storage Mover.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      storageMoverName - The name of the Storage Mover resource.
      context - The context to associate with this operation.
      Returns:
      list of Endpoints 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<EndpointInner> getWithResponse(String resourceGroupName, String storageMoverName, String endpointName, com.azure.core.util.Context context)
      Gets an Endpoint resource.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      storageMoverName - The name of the Storage Mover resource.
      endpointName - The name of the Endpoint resource.
      context - The context to associate with this operation.
      Returns:
      an Endpoint resource 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

      EndpointInner get(String resourceGroupName, String storageMoverName, String endpointName)
      Gets an Endpoint resource.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      storageMoverName - The name of the Storage Mover resource.
      endpointName - The name of the Endpoint resource.
      Returns:
      an Endpoint 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.
    • createOrUpdateWithResponse

      com.azure.core.http.rest.Response<EndpointInner> createOrUpdateWithResponse(String resourceGroupName, String storageMoverName, String endpointName, EndpointInner endpointParam, com.azure.core.util.Context context)
      Creates or updates an Endpoint resource, which represents a data transfer source or destination.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      storageMoverName - The name of the Storage Mover resource.
      endpointName - The name of the Endpoint resource.
      endpointParam - The endpointParam parameter.
      context - The context to associate with this operation.
      Returns:
      the Endpoint resource, which contains information about file sources and targets 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.
    • createOrUpdate

      EndpointInner createOrUpdate(String resourceGroupName, String storageMoverName, String endpointName, EndpointInner endpointParam)
      Creates or updates an Endpoint resource, which represents a data transfer source or destination.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      storageMoverName - The name of the Storage Mover resource.
      endpointName - The name of the Endpoint resource.
      endpointParam - The endpointParam parameter.
      Returns:
      the Endpoint resource, which contains information about file sources and targets.
      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<EndpointInner> updateWithResponse(String resourceGroupName, String storageMoverName, String endpointName, EndpointBaseUpdateParameters endpointParam, com.azure.core.util.Context context)
      Updates properties for an Endpoint resource. Properties not specified in the request body will be unchanged.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      storageMoverName - The name of the Storage Mover resource.
      endpointName - The name of the Endpoint resource.
      endpointParam - The endpointParam parameter.
      context - The context to associate with this operation.
      Returns:
      the Endpoint resource, which contains information about file sources and targets 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.
    • update

      EndpointInner update(String resourceGroupName, String storageMoverName, String endpointName, EndpointBaseUpdateParameters endpointParam)
      Updates properties for an Endpoint resource. Properties not specified in the request body will be unchanged.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      storageMoverName - The name of the Storage Mover resource.
      endpointName - The name of the Endpoint resource.
      endpointParam - The endpointParam parameter.
      Returns:
      the Endpoint resource, which contains information about file sources and targets.
      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 storageMoverName, String endpointName)
      Deletes an Endpoint resource.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      storageMoverName - The name of the Storage Mover resource.
      endpointName - The name of the Endpoint 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 storageMoverName, String endpointName, com.azure.core.util.Context context)
      Deletes an Endpoint resource.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      storageMoverName - The name of the Storage Mover resource.
      endpointName - The name of the Endpoint 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 storageMoverName, String endpointName)
      Deletes an Endpoint resource.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      storageMoverName - The name of the Storage Mover resource.
      endpointName - The name of the Endpoint 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 storageMoverName, String endpointName, com.azure.core.util.Context context)
      Deletes an Endpoint resource.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      storageMoverName - The name of the Storage Mover resource.
      endpointName - The name of the Endpoint 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.