VolumeQuotaRulesOperationsExtensions.CreateAsync Method

Definition

Create the specified quota rule within the given volume

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.NetApp.Models.VolumeQuotaRule> CreateAsync (this Microsoft.Azure.Management.NetApp.IVolumeQuotaRulesOperations operations, string resourceGroupName, string accountName, string poolName, string volumeName, string volumeQuotaRuleName, Microsoft.Azure.Management.NetApp.Models.VolumeQuotaRule body, System.Threading.CancellationToken cancellationToken = default);
static member CreateAsync : Microsoft.Azure.Management.NetApp.IVolumeQuotaRulesOperations * string * string * string * string * string * Microsoft.Azure.Management.NetApp.Models.VolumeQuotaRule * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.NetApp.Models.VolumeQuotaRule>
<Extension()>
Public Function CreateAsync (operations As IVolumeQuotaRulesOperations, resourceGroupName As String, accountName As String, poolName As String, volumeName As String, volumeQuotaRuleName As String, body As VolumeQuotaRule, Optional cancellationToken As CancellationToken = Nothing) As Task(Of VolumeQuotaRule)

Parameters

operations
IVolumeQuotaRulesOperations

The operations group for this extension method.

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

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to