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 group Create or Update a capacity pool.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 group Create or Update a capacity pool.beginDelete
(String resourceGroupName, String accountName, String poolName) Delete a capacity pool Delete the specified capacity pool.beginDelete
(String resourceGroupName, String accountName, String poolName, com.azure.core.util.Context context) Delete a capacity pool Delete the specified capacity pool.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 pool Patch the specified capacity pool.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 pool Patch the specified capacity pool.createOrUpdate
(String resourceGroupName, String accountName, String poolName, CapacityPoolInner body) Create or Update the specified capacity pool within the resource group Create or Update a capacity pool.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 group Create or Update a capacity pool.void
Delete a capacity pool Delete the specified capacity pool.void
delete
(String resourceGroupName, String accountName, String poolName, com.azure.core.util.Context context) Delete a capacity pool Delete the specified capacity pool.Describe a Capacity Pool Get details of the specified capacity pool.com.azure.core.http.rest.Response
<CapacityPoolInner> getWithResponse
(String resourceGroupName, String accountName, String poolName, com.azure.core.util.Context context) Describe a Capacity Pool Get details of the specified capacity pool.com.azure.core.http.rest.PagedIterable
<CapacityPoolInner> Describe all Capacity Pools List all capacity pools in the NetApp Account.com.azure.core.http.rest.PagedIterable
<CapacityPoolInner> Describe all Capacity Pools List all capacity pools in the NetApp Account.update
(String resourceGroupName, String accountName, String poolName, CapacityPoolPatch body) Update a capacity pool Patch the specified capacity pool.update
(String resourceGroupName, String accountName, String poolName, CapacityPoolPatch body, com.azure.core.util.Context context) Update a capacity pool Patch the specified capacity pool.
-
Method Details
-
list
com.azure.core.http.rest.PagedIterable<CapacityPoolInner> list(String resourceGroupName, String accountName) Describe all Capacity Pools List all capacity pools in the NetApp Account.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.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 Pools List all capacity pools in the NetApp Account.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.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.
-
getWithResponse
com.azure.core.http.rest.Response<CapacityPoolInner> getWithResponse(String resourceGroupName, String accountName, String poolName, com.azure.core.util.Context context) Describe a Capacity Pool Get details of the specified capacity pool.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.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.
-
get
Describe a Capacity Pool Get details of the specified capacity pool.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.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.
-
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 group Create or Update a capacity pool.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.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 group Create or Update a capacity pool.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.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 group Create or Update a capacity pool.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.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 group Create or Update a capacity pool.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.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 pool Patch the specified capacity pool.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.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 pool Patch the specified capacity pool.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.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 pool Patch the specified capacity pool.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.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 pool Patch the specified capacity pool.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.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 pool Delete the specified capacity pool.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.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 pool Delete the specified capacity pool.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.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 pool Delete the specified capacity pool.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.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 pool Delete the specified capacity pool.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.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.
-