Package version:

Interface Pools

Interface representing a Pools.

interface Pools {
    beginCreateOrUpdate(resourceGroupName: string, accountName: string, poolName: string, body: CapacityPool, options?: PoolsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<CapacityPool>, CapacityPool>>;
    beginCreateOrUpdateAndWait(resourceGroupName: string, accountName: string, poolName: string, body: CapacityPool, options?: PoolsCreateOrUpdateOptionalParams): Promise<CapacityPool>;
    beginDelete(resourceGroupName: string, accountName: string, poolName: string, options?: PoolsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
    beginDeleteAndWait(resourceGroupName: string, accountName: string, poolName: string, options?: PoolsDeleteOptionalParams): Promise<void>;
    beginUpdate(resourceGroupName: string, accountName: string, poolName: string, body: CapacityPoolPatch, options?: PoolsUpdateOptionalParams): Promise<SimplePollerLike<OperationState<CapacityPool>, CapacityPool>>;
    beginUpdateAndWait(resourceGroupName: string, accountName: string, poolName: string, body: CapacityPoolPatch, options?: PoolsUpdateOptionalParams): Promise<CapacityPool>;
    get(resourceGroupName: string, accountName: string, poolName: string, options?: PoolsGetOptionalParams): Promise<CapacityPool>;
    list(resourceGroupName: string, accountName: string, options?: PoolsListOptionalParams): PagedAsyncIterableIterator<CapacityPool>;
}

Methods

  • Create or Update a capacity pool

    Parameters

    • resourceGroupName: string

      The name of the resource group. The name is case insensitive.

    • accountName: string

      The name of the NetApp account

    • poolName: string

      The name of the capacity pool

    • body: CapacityPool

      Capacity pool object supplied in the body of the operation.

    • Optionaloptions: PoolsCreateOrUpdateOptionalParams

      The options parameters.

    Returns Promise<SimplePollerLike<OperationState<CapacityPool>, CapacityPool>>

  • Create or Update a capacity pool

    Parameters

    • resourceGroupName: string

      The name of the resource group. The name is case insensitive.

    • accountName: string

      The name of the NetApp account

    • poolName: string

      The name of the capacity pool

    • body: CapacityPool

      Capacity pool object supplied in the body of the operation.

    • Optionaloptions: PoolsCreateOrUpdateOptionalParams

      The options parameters.

    Returns Promise<CapacityPool>

  • Delete the specified capacity pool

    Parameters

    • resourceGroupName: string

      The name of the resource group. The name is case insensitive.

    • accountName: string

      The name of the NetApp account

    • poolName: string

      The name of the capacity pool

    • Optionaloptions: PoolsDeleteOptionalParams

      The options parameters.

    Returns Promise<SimplePollerLike<OperationState<void>, void>>

  • Delete the specified capacity pool

    Parameters

    • resourceGroupName: string

      The name of the resource group. The name is case insensitive.

    • accountName: string

      The name of the NetApp account

    • poolName: string

      The name of the capacity pool

    • Optionaloptions: PoolsDeleteOptionalParams

      The options parameters.

    Returns Promise<void>

  • Patch the specified capacity pool

    Parameters

    • resourceGroupName: string

      The name of the resource group. The name is case insensitive.

    • accountName: string

      The name of the NetApp account

    • poolName: string

      The name of the capacity pool

    • body: CapacityPoolPatch

      Capacity pool object supplied in the body of the operation.

    • Optionaloptions: PoolsUpdateOptionalParams

      The options parameters.

    Returns Promise<SimplePollerLike<OperationState<CapacityPool>, CapacityPool>>

  • Patch the specified capacity pool

    Parameters

    • resourceGroupName: string

      The name of the resource group. The name is case insensitive.

    • accountName: string

      The name of the NetApp account

    • poolName: string

      The name of the capacity pool

    • body: CapacityPoolPatch

      Capacity pool object supplied in the body of the operation.

    • Optionaloptions: PoolsUpdateOptionalParams

      The options parameters.

    Returns Promise<CapacityPool>

  • Get details of the specified capacity pool

    Parameters

    • resourceGroupName: string

      The name of the resource group. The name is case insensitive.

    • accountName: string

      The name of the NetApp account

    • poolName: string

      The name of the capacity pool

    • Optionaloptions: PoolsGetOptionalParams

      The options parameters.

    Returns Promise<CapacityPool>

  • List all capacity pools in the NetApp Account

    Parameters

    • resourceGroupName: string

      The name of the resource group. The name is case insensitive.

    • accountName: string

      The name of the NetApp account

    • Optionaloptions: PoolsListOptionalParams

      The options parameters.

    Returns PagedAsyncIterableIterator<CapacityPool>