共用方式為


Pools interface

Interface representing a Pools.

Methods

beginCreateOrUpdate(string, string, string, CapacityPool, PoolsCreateOrUpdateOptionalParams)

Create or Update a capacity pool

beginCreateOrUpdateAndWait(string, string, string, CapacityPool, PoolsCreateOrUpdateOptionalParams)

Create or Update a capacity pool

beginDelete(string, string, string, PoolsDeleteOptionalParams)

Delete the specified capacity pool

beginDeleteAndWait(string, string, string, PoolsDeleteOptionalParams)

Delete the specified capacity pool

beginUpdate(string, string, string, CapacityPoolPatch, PoolsUpdateOptionalParams)

Patch the specified capacity pool

beginUpdateAndWait(string, string, string, CapacityPoolPatch, PoolsUpdateOptionalParams)

Patch the specified capacity pool

get(string, string, string, PoolsGetOptionalParams)

Get details of the specified capacity pool

list(string, string, PoolsListOptionalParams)

List all capacity pools in the NetApp Account

Method Details

beginCreateOrUpdate(string, string, string, CapacityPool, PoolsCreateOrUpdateOptionalParams)

Create or Update a capacity pool

function beginCreateOrUpdate(resourceGroupName: string, accountName: string, poolName: string, body: CapacityPool, options?: PoolsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<CapacityPool>, CapacityPool>>

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.

options
PoolsCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<CapacityPool>, CapacityPool>>

beginCreateOrUpdateAndWait(string, string, string, CapacityPool, PoolsCreateOrUpdateOptionalParams)

Create or Update a capacity pool

function beginCreateOrUpdateAndWait(resourceGroupName: string, accountName: string, poolName: string, body: CapacityPool, options?: PoolsCreateOrUpdateOptionalParams): Promise<CapacityPool>

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.

options
PoolsCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<CapacityPool>

beginDelete(string, string, string, PoolsDeleteOptionalParams)

Delete the specified capacity pool

function beginDelete(resourceGroupName: string, accountName: string, poolName: string, options?: PoolsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>

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

options
PoolsDeleteOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>

beginDeleteAndWait(string, string, string, PoolsDeleteOptionalParams)

Delete the specified capacity pool

function beginDeleteAndWait(resourceGroupName: string, accountName: string, poolName: string, options?: PoolsDeleteOptionalParams): Promise<void>

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

options
PoolsDeleteOptionalParams

The options parameters.

Returns

Promise<void>

beginUpdate(string, string, string, CapacityPoolPatch, PoolsUpdateOptionalParams)

Patch the specified capacity pool

function beginUpdate(resourceGroupName: string, accountName: string, poolName: string, body: CapacityPoolPatch, options?: PoolsUpdateOptionalParams): Promise<SimplePollerLike<OperationState<CapacityPool>, CapacityPool>>

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.

options
PoolsUpdateOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<CapacityPool>, CapacityPool>>

beginUpdateAndWait(string, string, string, CapacityPoolPatch, PoolsUpdateOptionalParams)

Patch the specified capacity pool

function beginUpdateAndWait(resourceGroupName: string, accountName: string, poolName: string, body: CapacityPoolPatch, options?: PoolsUpdateOptionalParams): Promise<CapacityPool>

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.

options
PoolsUpdateOptionalParams

The options parameters.

Returns

Promise<CapacityPool>

get(string, string, string, PoolsGetOptionalParams)

Get details of the specified capacity pool

function get(resourceGroupName: string, accountName: string, poolName: string, options?: PoolsGetOptionalParams): Promise<CapacityPool>

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

options
PoolsGetOptionalParams

The options parameters.

Returns

Promise<CapacityPool>

list(string, string, PoolsListOptionalParams)

List all capacity pools in the NetApp Account

function list(resourceGroupName: string, accountName: string, options?: PoolsListOptionalParams): PagedAsyncIterableIterator<CapacityPool, CapacityPool[], PageSettings>

Parameters

resourceGroupName

string

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

accountName

string

The name of the NetApp account

options
PoolsListOptionalParams

The options parameters.

Returns