Interface Endpoints
public interface Endpoints
Resource collection API of Endpoints.
-
Method Summary
Modifier and TypeMethodDescriptionBegins definition for a new Endpoint resource.voidDeletes an Endpoint resource.voiddelete(String resourceGroupName, String storageMoverName, String endpointName, com.azure.core.util.Context context) Deletes an Endpoint resource.voiddeleteById(String id) Deletes an Endpoint resource.voiddeleteByIdWithResponse(String id, com.azure.core.util.Context context) Deletes an Endpoint resource.Gets an Endpoint resource.Gets an Endpoint resource.com.azure.core.http.rest.Response<Endpoint> getByIdWithResponse(String id, com.azure.core.util.Context context) Gets an Endpoint resource.com.azure.core.http.rest.Response<Endpoint> getWithResponse(String resourceGroupName, String storageMoverName, String endpointName, com.azure.core.util.Context context) Gets an Endpoint resource.com.azure.core.http.rest.PagedIterable<Endpoint> Lists all Endpoints in a Storage Mover.com.azure.core.http.rest.PagedIterable<Endpoint> Lists all Endpoints in a Storage Mover.
-
Method Details
-
list
com.azure.core.http.rest.PagedIterable<Endpoint> 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<Endpoint> 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<Endpoint> 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
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.
-
delete
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.
-
getById
Gets an Endpoint resource.- Parameters:
id- the resource ID.- 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.
-
getByIdWithResponse
com.azure.core.http.rest.Response<Endpoint> getByIdWithResponse(String id, com.azure.core.util.Context context) Gets an Endpoint resource.- Parameters:
id- the resource ID.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.
-
deleteById
Deletes an Endpoint resource.- 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
Deletes an Endpoint resource.- 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 Endpoint resource.- Parameters:
name- resource name.- Returns:
- the first stage of the new Endpoint definition.
-