共用方式為


VolumeQuotaRules interface

Interface representing a VolumeQuotaRules.

Methods

beginCreate(string, string, string, string, string, VolumeQuotaRule, VolumeQuotaRulesCreateOptionalParams)

Create the specified quota rule within the given volume

beginCreateAndWait(string, string, string, string, string, VolumeQuotaRule, VolumeQuotaRulesCreateOptionalParams)

Create the specified quota rule within the given volume

beginDelete(string, string, string, string, string, VolumeQuotaRulesDeleteOptionalParams)

Delete quota rule

beginDeleteAndWait(string, string, string, string, string, VolumeQuotaRulesDeleteOptionalParams)

Delete quota rule

beginUpdate(string, string, string, string, string, VolumeQuotaRulePatch, VolumeQuotaRulesUpdateOptionalParams)

Patch a quota rule

beginUpdateAndWait(string, string, string, string, string, VolumeQuotaRulePatch, VolumeQuotaRulesUpdateOptionalParams)

Patch a quota rule

get(string, string, string, string, string, VolumeQuotaRulesGetOptionalParams)

Get details of the specified quota rule

listByVolume(string, string, string, string, VolumeQuotaRulesListByVolumeOptionalParams)

List all quota rules associated with the volume

Method Details

beginCreate(string, string, string, string, string, VolumeQuotaRule, VolumeQuotaRulesCreateOptionalParams)

Create the specified quota rule within the given volume

function beginCreate(resourceGroupName: string, accountName: string, poolName: string, volumeName: string, volumeQuotaRuleName: string, body: VolumeQuotaRule, options?: VolumeQuotaRulesCreateOptionalParams): Promise<SimplePollerLike<OperationState<VolumeQuotaRule>, VolumeQuotaRule>>

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

volumeName

string

The name of the volume

volumeQuotaRuleName

string

The name of volume quota rule

body
VolumeQuotaRule

Quota rule object supplied in the body of the operation.

options
VolumeQuotaRulesCreateOptionalParams

The options parameters.

Returns

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

beginCreateAndWait(string, string, string, string, string, VolumeQuotaRule, VolumeQuotaRulesCreateOptionalParams)

Create the specified quota rule within the given volume

function beginCreateAndWait(resourceGroupName: string, accountName: string, poolName: string, volumeName: string, volumeQuotaRuleName: string, body: VolumeQuotaRule, options?: VolumeQuotaRulesCreateOptionalParams): Promise<VolumeQuotaRule>

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

volumeName

string

The name of the volume

volumeQuotaRuleName

string

The name of volume quota rule

body
VolumeQuotaRule

Quota rule object supplied in the body of the operation.

options
VolumeQuotaRulesCreateOptionalParams

The options parameters.

Returns

Promise<VolumeQuotaRule>

beginDelete(string, string, string, string, string, VolumeQuotaRulesDeleteOptionalParams)

Delete quota rule

function beginDelete(resourceGroupName: string, accountName: string, poolName: string, volumeName: string, volumeQuotaRuleName: string, options?: VolumeQuotaRulesDeleteOptionalParams): 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

volumeName

string

The name of the volume

volumeQuotaRuleName

string

The name of volume quota rule

options
VolumeQuotaRulesDeleteOptionalParams

The options parameters.

Returns

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

beginDeleteAndWait(string, string, string, string, string, VolumeQuotaRulesDeleteOptionalParams)

Delete quota rule

function beginDeleteAndWait(resourceGroupName: string, accountName: string, poolName: string, volumeName: string, volumeQuotaRuleName: string, options?: VolumeQuotaRulesDeleteOptionalParams): 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

volumeName

string

The name of the volume

volumeQuotaRuleName

string

The name of volume quota rule

options
VolumeQuotaRulesDeleteOptionalParams

The options parameters.

Returns

Promise<void>

beginUpdate(string, string, string, string, string, VolumeQuotaRulePatch, VolumeQuotaRulesUpdateOptionalParams)

Patch a quota rule

function beginUpdate(resourceGroupName: string, accountName: string, poolName: string, volumeName: string, volumeQuotaRuleName: string, body: VolumeQuotaRulePatch, options?: VolumeQuotaRulesUpdateOptionalParams): Promise<SimplePollerLike<OperationState<VolumeQuotaRule>, VolumeQuotaRule>>

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

volumeName

string

The name of the volume

volumeQuotaRuleName

string

The name of volume quota rule

body
VolumeQuotaRulePatch

Quota rule object supplied in the body of the operation.

options
VolumeQuotaRulesUpdateOptionalParams

The options parameters.

Returns

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

beginUpdateAndWait(string, string, string, string, string, VolumeQuotaRulePatch, VolumeQuotaRulesUpdateOptionalParams)

Patch a quota rule

function beginUpdateAndWait(resourceGroupName: string, accountName: string, poolName: string, volumeName: string, volumeQuotaRuleName: string, body: VolumeQuotaRulePatch, options?: VolumeQuotaRulesUpdateOptionalParams): Promise<VolumeQuotaRule>

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

volumeName

string

The name of the volume

volumeQuotaRuleName

string

The name of volume quota rule

body
VolumeQuotaRulePatch

Quota rule object supplied in the body of the operation.

options
VolumeQuotaRulesUpdateOptionalParams

The options parameters.

Returns

Promise<VolumeQuotaRule>

get(string, string, string, string, string, VolumeQuotaRulesGetOptionalParams)

Get details of the specified quota rule

function get(resourceGroupName: string, accountName: string, poolName: string, volumeName: string, volumeQuotaRuleName: string, options?: VolumeQuotaRulesGetOptionalParams): Promise<VolumeQuotaRule>

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

volumeName

string

The name of the volume

volumeQuotaRuleName

string

The name of volume quota rule

options
VolumeQuotaRulesGetOptionalParams

The options parameters.

Returns

Promise<VolumeQuotaRule>

listByVolume(string, string, string, string, VolumeQuotaRulesListByVolumeOptionalParams)

List all quota rules associated with the volume

function listByVolume(resourceGroupName: string, accountName: string, poolName: string, volumeName: string, options?: VolumeQuotaRulesListByVolumeOptionalParams): PagedAsyncIterableIterator<VolumeQuotaRule, VolumeQuotaRule[], PageSettings>

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

volumeName

string

The name of the volume

options
VolumeQuotaRulesListByVolumeOptionalParams

The options parameters.

Returns