VolumeQuotaRules interface
Interface representing a VolumeQuotaRules.
Methods
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.
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.
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
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
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.
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.
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
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
The options parameters.