Interface Pools
public interface Pools
Resource collection API of Pools.
-
Method Summary
Modifier and TypeMethodDescriptionBegins definition for a new CapacityPool resource.void
Delete the specified capacity pool.void
delete
(String resourceGroupName, String accountName, String poolName, com.azure.core.util.Context context) Delete the specified capacity pool.void
deleteById
(String id) Delete the specified capacity pool.void
deleteByIdWithResponse
(String id, com.azure.core.util.Context context) Delete the specified capacity pool.Get details of the specified capacity pool.Get details of the specified capacity pool.com.azure.core.http.rest.Response<CapacityPool>
getByIdWithResponse
(String id, com.azure.core.util.Context context) Get details of the specified capacity pool.com.azure.core.http.rest.Response<CapacityPool>
getWithResponse
(String resourceGroupName, String accountName, String poolName, com.azure.core.util.Context context) Get details of the specified capacity pool.com.azure.core.http.rest.PagedIterable<CapacityPool>
List all capacity pools in the NetApp Account.com.azure.core.http.rest.PagedIterable<CapacityPool>
List all capacity pools in the NetApp Account.
-
Method Details
-
list
com.azure.core.http.rest.PagedIterable<CapacityPool> list(String resourceGroupName, String accountName) List 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) List 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
Get 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) Get 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 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 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
Get 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) Get 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 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 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.
-