Interface PoolsClient
public interface PoolsClient
An instance of this class provides access to all the operations defined in PoolsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<CapacityPoolInner>,
CapacityPoolInner> beginCreateOrUpdate
(String resourceGroupName, String accountName, String poolName, CapacityPoolInner body) Create or Update the specified capacity pool within the resource groupcom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<CapacityPoolInner>,
CapacityPoolInner> beginCreateOrUpdate
(String resourceGroupName, String accountName, String poolName, CapacityPoolInner body, com.azure.core.util.Context context) Create or Update the specified capacity pool within the resource groupbeginDelete
(String resourceGroupName, String accountName, String poolName) Delete a capacity poolbeginDelete
(String resourceGroupName, String accountName, String poolName, com.azure.core.util.Context context) Delete a capacity poolcom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<CapacityPoolInner>,
CapacityPoolInner> beginUpdate
(String resourceGroupName, String accountName, String poolName, CapacityPoolPatch body) Update a capacity poolcom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<CapacityPoolInner>,
CapacityPoolInner> beginUpdate
(String resourceGroupName, String accountName, String poolName, CapacityPoolPatch body, com.azure.core.util.Context context) Update a capacity poolcreateOrUpdate
(String resourceGroupName, String accountName, String poolName, CapacityPoolInner body) Create or Update the specified capacity pool within the resource groupcreateOrUpdate
(String resourceGroupName, String accountName, String poolName, CapacityPoolInner body, com.azure.core.util.Context context) Create or Update the specified capacity pool within the resource groupvoid
Delete a capacity poolvoid
delete
(String resourceGroupName, String accountName, String poolName, com.azure.core.util.Context context) Delete a capacity poolDescribe a Capacity Poolcom.azure.core.http.rest.Response<CapacityPoolInner>
getWithResponse
(String resourceGroupName, String accountName, String poolName, com.azure.core.util.Context context) Describe a Capacity Poolcom.azure.core.http.rest.PagedIterable<CapacityPoolInner>
Describe all Capacity Poolscom.azure.core.http.rest.PagedIterable<CapacityPoolInner>
Describe all Capacity Poolsupdate
(String resourceGroupName, String accountName, String poolName, CapacityPoolPatch body) Update a capacity poolupdate
(String resourceGroupName, String accountName, String poolName, CapacityPoolPatch body, com.azure.core.util.Context context) Update a capacity pool
-
Method Details
-
list
com.azure.core.http.rest.PagedIterable<CapacityPoolInner> list(String resourceGroupName, String accountName) Describe all Capacity PoolsList all capacity pools in the NetApp Account.
- Parameters:
resourceGroupName
- The name of the resource group.accountName
- The name of the NetApp account.- Returns:
- list of capacity pool resources 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<CapacityPoolInner> list(String resourceGroupName, String accountName, com.azure.core.util.Context context) Describe all Capacity PoolsList all capacity pools in the NetApp Account.
- Parameters:
resourceGroupName
- The name of the resource group.accountName
- The name of the NetApp account.context
- The context to associate with this operation.- Returns:
- list of capacity pool resources 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
Describe a Capacity PoolGet details of the specified capacity pool.
- Parameters:
resourceGroupName
- The name of the resource group.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.- Returns:
- details of the specified capacity pool.
- 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<CapacityPoolInner> getWithResponse(String resourceGroupName, String accountName, String poolName, com.azure.core.util.Context context) Describe a Capacity PoolGet details of the specified capacity pool.
- Parameters:
resourceGroupName
- The name of the resource group.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.context
- The context to associate with this operation.- Returns:
- details of the specified capacity pool 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<CapacityPoolInner>,CapacityPoolInner> beginCreateOrUpdate(String resourceGroupName, String accountName, String poolName, CapacityPoolInner body) Create or Update the specified capacity pool within the resource groupCreate or Update a capacity pool.
- Parameters:
resourceGroupName
- The name of the resource group.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.body
- Capacity pool object supplied in the body of the operation.- Returns:
- the
SyncPoller
for polling of capacity pool 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<CapacityPoolInner>,CapacityPoolInner> beginCreateOrUpdate(String resourceGroupName, String accountName, String poolName, CapacityPoolInner body, com.azure.core.util.Context context) Create or Update the specified capacity pool within the resource groupCreate or Update a capacity pool.
- Parameters:
resourceGroupName
- The name of the resource group.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.body
- Capacity pool object supplied in the body of the operation.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of capacity pool 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
CapacityPoolInner createOrUpdate(String resourceGroupName, String accountName, String poolName, CapacityPoolInner body) Create or Update the specified capacity pool within the resource groupCreate or Update a capacity pool.
- Parameters:
resourceGroupName
- The name of the resource group.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.body
- Capacity pool object supplied in the body of the operation.- Returns:
- capacity pool 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
CapacityPoolInner createOrUpdate(String resourceGroupName, String accountName, String poolName, CapacityPoolInner body, com.azure.core.util.Context context) Create or Update the specified capacity pool within the resource groupCreate or Update a capacity pool.
- Parameters:
resourceGroupName
- The name of the resource group.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.body
- Capacity pool object supplied in the body of the operation.context
- The context to associate with this operation.- Returns:
- capacity pool 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.
-
beginUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<CapacityPoolInner>,CapacityPoolInner> beginUpdate(String resourceGroupName, String accountName, String poolName, CapacityPoolPatch body) Update a capacity poolPatch the specified capacity pool.
- Parameters:
resourceGroupName
- The name of the resource group.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.body
- Capacity pool object supplied in the body of the operation.- Returns:
- the
SyncPoller
for polling of capacity pool 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.
-
beginUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<CapacityPoolInner>,CapacityPoolInner> beginUpdate(String resourceGroupName, String accountName, String poolName, CapacityPoolPatch body, com.azure.core.util.Context context) Update a capacity poolPatch the specified capacity pool.
- Parameters:
resourceGroupName
- The name of the resource group.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.body
- Capacity pool object supplied in the body of the operation.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of capacity pool 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.
-
update
CapacityPoolInner update(String resourceGroupName, String accountName, String poolName, CapacityPoolPatch body) Update a capacity poolPatch the specified capacity pool.
- Parameters:
resourceGroupName
- The name of the resource group.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.body
- Capacity pool object supplied in the body of the operation.- Returns:
- capacity pool 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.
-
update
CapacityPoolInner update(String resourceGroupName, String accountName, String poolName, CapacityPoolPatch body, com.azure.core.util.Context context) Update a capacity poolPatch the specified capacity pool.
- Parameters:
resourceGroupName
- The name of the resource group.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.body
- Capacity pool object supplied in the body of the operation.context
- The context to associate with this operation.- Returns:
- capacity pool 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 poolName) Delete a capacity poolDelete the specified capacity pool.
- Parameters:
resourceGroupName
- The name of the resource group.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.- 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 poolName, com.azure.core.util.Context context) Delete a capacity poolDelete the specified capacity pool.
- Parameters:
resourceGroupName
- The name of the resource group.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.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
Delete a capacity poolDelete the specified capacity pool.
- Parameters:
resourceGroupName
- The name of the resource group.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.- 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 poolName, com.azure.core.util.Context context) Delete a capacity poolDelete the specified capacity pool.
- Parameters:
resourceGroupName
- The name of the resource group.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.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.
-