Interface ElasticSansClient
public interface ElasticSansClient
An instance of this class provides access to all the operations defined in ElasticSansClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ElasticSanInner>, ElasticSanInner> beginCreate(String resourceGroupName, String elasticSanName, ElasticSanInner parameters) Create ElasticSan.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ElasticSanInner>, ElasticSanInner> beginCreate(String resourceGroupName, String elasticSanName, ElasticSanInner parameters, com.azure.core.util.Context context) Create ElasticSan.beginDelete(String resourceGroupName, String elasticSanName) Delete a Elastic San.beginDelete(String resourceGroupName, String elasticSanName, com.azure.core.util.Context context) Delete a Elastic San.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ElasticSanInner>, ElasticSanInner> beginUpdate(String resourceGroupName, String elasticSanName, ElasticSanUpdate parameters) Update a Elastic San.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ElasticSanInner>, ElasticSanInner> beginUpdate(String resourceGroupName, String elasticSanName, ElasticSanUpdate parameters, com.azure.core.util.Context context) Update a Elastic San.create(String resourceGroupName, String elasticSanName, ElasticSanInner parameters) Create ElasticSan.create(String resourceGroupName, String elasticSanName, ElasticSanInner parameters, com.azure.core.util.Context context) Create ElasticSan.voidDelete a Elastic San.voidDelete a Elastic San.getByResourceGroup(String resourceGroupName, String elasticSanName) Get a ElasticSan.com.azure.core.http.rest.Response<ElasticSanInner> getByResourceGroupWithResponse(String resourceGroupName, String elasticSanName, com.azure.core.util.Context context) Get a ElasticSan.com.azure.core.http.rest.PagedIterable<ElasticSanInner> list()Gets a list of ElasticSans in a subscription.com.azure.core.http.rest.PagedIterable<ElasticSanInner> list(com.azure.core.util.Context context) Gets a list of ElasticSans in a subscription.com.azure.core.http.rest.PagedIterable<ElasticSanInner> listByResourceGroup(String resourceGroupName) Gets a list of ElasticSan in a resource group.com.azure.core.http.rest.PagedIterable<ElasticSanInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context) Gets a list of ElasticSan in a resource group.update(String resourceGroupName, String elasticSanName, ElasticSanUpdate parameters) Update a Elastic San.update(String resourceGroupName, String elasticSanName, ElasticSanUpdate parameters, com.azure.core.util.Context context) Update a Elastic San.
-
Method Details
-
list
com.azure.core.http.rest.PagedIterable<ElasticSanInner> list()Gets a list of ElasticSans in a subscription.- Returns:
- a list of ElasticSans in a subscription as paginated response with
PagedIterable. - Throws:
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
Gets a list of ElasticSans in a subscription.- Parameters:
context- The context to associate with this operation.- Returns:
- a list of ElasticSans in a subscription 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.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<ElasticSanInner> listByResourceGroup(String resourceGroupName) Gets a list of ElasticSan in a resource group.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.- Returns:
- a list of ElasticSan in a resource group 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.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<ElasticSanInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context) Gets a list of ElasticSan in a resource group.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.context- The context to associate with this operation.- Returns:
- a list of ElasticSan in a resource group 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.
-
beginCreate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ElasticSanInner>,ElasticSanInner> beginCreate(String resourceGroupName, String elasticSanName, ElasticSanInner parameters) Create ElasticSan.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.elasticSanName- The name of the ElasticSan.parameters- Elastic San object.- Returns:
- the
SyncPollerfor polling of response for ElasticSan request. - 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.
-
beginCreate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ElasticSanInner>,ElasticSanInner> beginCreate(String resourceGroupName, String elasticSanName, ElasticSanInner parameters, com.azure.core.util.Context context) Create ElasticSan.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.elasticSanName- The name of the ElasticSan.parameters- Elastic San object.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of response for ElasticSan request. - 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.
-
create
Create ElasticSan.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.elasticSanName- The name of the ElasticSan.parameters- Elastic San object.- Returns:
- response for ElasticSan request.
- 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.
-
create
ElasticSanInner create(String resourceGroupName, String elasticSanName, ElasticSanInner parameters, com.azure.core.util.Context context) Create ElasticSan.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.elasticSanName- The name of the ElasticSan.parameters- Elastic San object.context- The context to associate with this operation.- Returns:
- response for ElasticSan request.
- 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.
-
beginUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ElasticSanInner>,ElasticSanInner> beginUpdate(String resourceGroupName, String elasticSanName, ElasticSanUpdate parameters) Update a Elastic San.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.elasticSanName- The name of the ElasticSan.parameters- Elastic San object.- Returns:
- the
SyncPollerfor polling of response for ElasticSan request. - 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.
-
beginUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ElasticSanInner>,ElasticSanInner> beginUpdate(String resourceGroupName, String elasticSanName, ElasticSanUpdate parameters, com.azure.core.util.Context context) Update a Elastic San.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.elasticSanName- The name of the ElasticSan.parameters- Elastic San object.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of response for ElasticSan request. - 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
ElasticSanInner update(String resourceGroupName, String elasticSanName, ElasticSanUpdate parameters) Update a Elastic San.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.elasticSanName- The name of the ElasticSan.parameters- Elastic San object.- Returns:
- response for ElasticSan request.
- 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
ElasticSanInner update(String resourceGroupName, String elasticSanName, ElasticSanUpdate parameters, com.azure.core.util.Context context) Update a Elastic San.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.elasticSanName- The name of the ElasticSan.parameters- Elastic San object.context- The context to associate with this operation.- Returns:
- response for ElasticSan request.
- 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 elasticSanName) Delete a Elastic San.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.elasticSanName- The name of the ElasticSan.- Returns:
- the
SyncPollerfor 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 elasticSanName, com.azure.core.util.Context context) Delete a Elastic San.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.elasticSanName- The name of the ElasticSan.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor 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
Delete a Elastic San.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.elasticSanName- The name of the ElasticSan.- 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
Delete a Elastic San.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.elasticSanName- The name of the ElasticSan.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.
-
getByResourceGroupWithResponse
com.azure.core.http.rest.Response<ElasticSanInner> getByResourceGroupWithResponse(String resourceGroupName, String elasticSanName, com.azure.core.util.Context context) Get a ElasticSan.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.elasticSanName- The name of the ElasticSan.context- The context to associate with this operation.- Returns:
- a ElasticSan 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.
-
getByResourceGroup
Get a ElasticSan.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.elasticSanName- The name of the ElasticSan.- Returns:
- a ElasticSan.
- 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.
-