Compartilhar via


ArmNetAppModelFactory.NetAppVolumeQuotaRuleData Method

Definition

Initializes a new instance of NetAppVolumeQuotaRuleData.

public static Azure.ResourceManager.NetApp.NetAppVolumeQuotaRuleData NetAppVolumeQuotaRuleData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, Azure.ResourceManager.NetApp.Models.NetAppProvisioningState? provisioningState = default, long? quotaSizeInKiBs = default, Azure.ResourceManager.NetApp.Models.NetAppVolumeQuotaType? quotaType = default, string quotaTarget = default);
static member NetAppVolumeQuotaRuleData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Nullable<Azure.ResourceManager.NetApp.Models.NetAppProvisioningState> * Nullable<int64> * Nullable<Azure.ResourceManager.NetApp.Models.NetAppVolumeQuotaType> * string -> Azure.ResourceManager.NetApp.NetAppVolumeQuotaRuleData
Public Shared Function NetAppVolumeQuotaRuleData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional provisioningState As Nullable(Of NetAppProvisioningState) = Nothing, Optional quotaSizeInKiBs As Nullable(Of Long) = Nothing, Optional quotaType As Nullable(Of NetAppVolumeQuotaType) = Nothing, Optional quotaTarget As String = Nothing) As NetAppVolumeQuotaRuleData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

tags
IDictionary<String,String>

The tags.

location
AzureLocation

The location.

provisioningState
Nullable<NetAppProvisioningState>

Gets the status of the VolumeQuotaRule at the time the operation was called.

quotaSizeInKiBs
Nullable<Int64>

Size of quota.

quotaType
Nullable<NetAppVolumeQuotaType>

Type of quota.

quotaTarget
String

UserID/GroupID/SID based on the quota target type. UserID and groupID can be found by running ‘id’ or ‘getent’ command for the user or group and SID can be found by running <wmic useraccount where name='user-name' get sid>.

Returns

A new NetAppVolumeQuotaRuleData instance for mocking.

Applies to