Pools Interface

public interface Pools

Resource collection API of Pools.

Method Summary

Modifier and Type Method and Description
abstract Blank define(String name)

Begins definition for a new CapacityPool resource.

abstract void delete(String resourceGroupName, String accountName, String poolName)

Delete a capacity pool Delete the specified capacity pool.

abstract void delete(String resourceGroupName, String accountName, String poolName, Context context)

Delete a capacity pool Delete the specified capacity pool.

abstract void deleteById(String id)

Delete a capacity pool Delete the specified capacity pool.

abstract void deleteByIdWithResponse(String id, Context context)

Delete a capacity pool Delete the specified capacity pool.

abstract CapacityPool get(String resourceGroupName, String accountName, String poolName)

Describe a Capacity Pool Get details of the specified capacity pool.

abstract CapacityPool getById(String id)

Describe a Capacity Pool Get details of the specified capacity pool.

abstract Response<CapacityPool> getByIdWithResponse(String id, Context context)

Describe a Capacity Pool Get details of the specified capacity pool.

abstract Response<CapacityPool> getWithResponse(String resourceGroupName, String accountName, String poolName, Context context)

Describe a Capacity Pool Get details of the specified capacity pool.

abstract PagedIterable<CapacityPool> list(String resourceGroupName, String accountName)

Describe all Capacity Pools List all capacity pools in the NetApp Account.

abstract PagedIterable<CapacityPool> list(String resourceGroupName, String accountName, Context context)

Describe all Capacity Pools List all capacity pools in the NetApp Account.

Method Details

define

public abstract CapacityPool.DefinitionStages.Blank define(String name)

Begins definition for a new CapacityPool resource.

Parameters:

name - resource name.

Returns:

the first stage of the new CapacityPool definition.

delete

public abstract void delete(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.

delete

public abstract void delete(String resourceGroupName, String accountName, String poolName, 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.

deleteById

public abstract void deleteById(String id)

Delete a capacity pool Delete the specified capacity pool.

Parameters:

id - the resource ID.

deleteByIdWithResponse

public abstract void deleteByIdWithResponse(String id, Context context)

Delete a capacity pool Delete the specified capacity pool.

Parameters:

id - the resource ID.
context - The context to associate with this operation.

get

public abstract CapacityPool get(String resourceGroupName, String accountName, String poolName)

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.

getById

public abstract CapacityPool getById(String id)

Describe a Capacity Pool Get details of the specified capacity pool.

Parameters:

id - the resource ID.

Returns:

details of the specified capacity pool along with Response<T>.

getByIdWithResponse

public abstract Response getByIdWithResponse(String id, Context context)

Describe a Capacity Pool 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<T>.

getWithResponse

public abstract Response getWithResponse(String resourceGroupName, String accountName, String poolName, 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<T>.

list

public abstract PagedIterable 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<T>.

list

public abstract PagedIterable list(String resourceGroupName, String accountName, 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<T>.

Applies to