Interface Pools
public interface Pools
Resource collection API of Pools.
-
Method Summary
Modifier and TypeMethodDescriptionBegins definition for a new CapacityPool resource.void
Delete a capacity poolvoid
delete
(String resourceGroupName, String accountName, String poolName, com.azure.core.util.Context context) Delete a capacity poolvoid
deleteById
(String id) Delete a capacity poolvoid
deleteByIdWithResponse
(String id, com.azure.core.util.Context context) Delete a capacity poolDescribe a Capacity PoolDescribe a Capacity Poolcom.azure.core.http.rest.Response<CapacityPool>
getByIdWithResponse
(String id, com.azure.core.util.Context context) Describe a Capacity Poolcom.azure.core.http.rest.Response<CapacityPool>
getWithResponse
(String resourceGroupName, String accountName, String poolName, com.azure.core.util.Context context) Describe a Capacity Poolcom.azure.core.http.rest.PagedIterable<CapacityPool>
Describe all Capacity Poolscom.azure.core.http.rest.PagedIterable<CapacityPool>
Describe all Capacity Pools
-
Method Details
-
list
com.azure.core.http.rest.PagedIterable<CapacityPool> 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<CapacityPool> 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<CapacityPool> 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.
-
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.
-
getById
Describe a Capacity PoolGet details of the specified capacity pool.
- Parameters:
id
- the resource ID.- 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.
-
getByIdWithResponse
com.azure.core.http.rest.Response<CapacityPool> getByIdWithResponse(String id, com.azure.core.util.Context context) Describe a Capacity PoolGet details of the specified capacity pool.
- Parameters:
id
- the resource ID.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.
-
deleteById
Delete a capacity poolDelete the specified capacity pool.
- 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
Delete a capacity poolDelete the specified capacity pool.
- 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 CapacityPool resource.- Parameters:
name
- resource name.- Returns:
- the first stage of the new CapacityPool definition.
-