Package version:

Interface VolumeQuotaRules

Interface representing a VolumeQuotaRules.

interface VolumeQuotaRules {
    beginCreate(resourceGroupName: string, accountName: string, poolName: string, volumeName: string, volumeQuotaRuleName: string, body: VolumeQuotaRule, options?: VolumeQuotaRulesCreateOptionalParams): Promise<SimplePollerLike<OperationState<VolumeQuotaRule>, VolumeQuotaRule>>;
    beginCreateAndWait(resourceGroupName: string, accountName: string, poolName: string, volumeName: string, volumeQuotaRuleName: string, body: VolumeQuotaRule, options?: VolumeQuotaRulesCreateOptionalParams): Promise<VolumeQuotaRule>;
    beginDelete(resourceGroupName: string, accountName: string, poolName: string, volumeName: string, volumeQuotaRuleName: string, options?: VolumeQuotaRulesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
    beginDeleteAndWait(resourceGroupName: string, accountName: string, poolName: string, volumeName: string, volumeQuotaRuleName: string, options?: VolumeQuotaRulesDeleteOptionalParams): Promise<void>;
    beginUpdate(resourceGroupName: string, accountName: string, poolName: string, volumeName: string, volumeQuotaRuleName: string, body: VolumeQuotaRulePatch, options?: VolumeQuotaRulesUpdateOptionalParams): Promise<SimplePollerLike<OperationState<VolumeQuotaRule>, VolumeQuotaRule>>;
    beginUpdateAndWait(resourceGroupName: string, accountName: string, poolName: string, volumeName: string, volumeQuotaRuleName: string, body: VolumeQuotaRulePatch, options?: VolumeQuotaRulesUpdateOptionalParams): Promise<VolumeQuotaRule>;
    get(resourceGroupName: string, accountName: string, poolName: string, volumeName: string, volumeQuotaRuleName: string, options?: VolumeQuotaRulesGetOptionalParams): Promise<VolumeQuotaRule>;
    listByVolume(resourceGroupName: string, accountName: string, poolName: string, volumeName: string, options?: VolumeQuotaRulesListByVolumeOptionalParams): PagedAsyncIterableIterator<VolumeQuotaRule>;
}

Methods

  • Create the specified quota rule within the given volume

    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.

    • Optionaloptions: VolumeQuotaRulesCreateOptionalParams

      The options parameters.

    Returns Promise<SimplePollerLike<OperationState<VolumeQuotaRule>, VolumeQuotaRule>>

  • Create the specified quota rule within the given volume

    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.

    • Optionaloptions: VolumeQuotaRulesCreateOptionalParams

      The options parameters.

    Returns Promise<VolumeQuotaRule>

  • Delete quota rule

    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

    • Optionaloptions: VolumeQuotaRulesDeleteOptionalParams

      The options parameters.

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

  • Delete quota rule

    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

    • Optionaloptions: VolumeQuotaRulesDeleteOptionalParams

      The options parameters.

    Returns Promise<void>

  • Patch a quota rule

    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.

    • Optionaloptions: VolumeQuotaRulesUpdateOptionalParams

      The options parameters.

    Returns Promise<VolumeQuotaRule>

  • Get details of the specified quota rule

    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

    • Optionaloptions: VolumeQuotaRulesGetOptionalParams

      The options parameters.

    Returns Promise<VolumeQuotaRule>

  • List all quota rules associated with the volume

    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

    • Optionaloptions: VolumeQuotaRulesListByVolumeOptionalParams

      The options parameters.

    Returns PagedAsyncIterableIterator<VolumeQuotaRule>