Partilhar via


ArmNetAppModelFactory.NetAppVolumePatch Method

Definition

Overloads

NetAppVolumePatch(ResourceIdentifier, String, ResourceType, SystemData, IDictionary<String,String>, AzureLocation, Nullable<NetAppFileServiceLevel>, Nullable<Int64>, IEnumerable<NetAppVolumeExportPolicyRule>, Nullable<Single>, NetAppVolumePatchDataProtection, Nullable<Boolean>, Nullable<Int64>, Nullable<Int64>, String, Nullable<Boolean>, Nullable<Int32>, Nullable<CoolAccessRetrievalPolicy>, Nullable<Boolean>, Nullable<SmbAccessBasedEnumeration>, Nullable<SmbNonBrowsable>)

Initializes a new instance of NetAppVolumePatch.

NetAppVolumePatch(ResourceIdentifier, String, ResourceType, SystemData, IDictionary<String,String>, AzureLocation, Nullable<NetAppFileServiceLevel>, Nullable<Int64>, IEnumerable<NetAppVolumeExportPolicyRule>, IEnumerable<String>, Nullable<Single>, NetAppVolumePatchDataProtection, Nullable<Boolean>, Nullable<Int64>, Nullable<Int64>, String, Nullable<Boolean>, Nullable<Int32>, Nullable<CoolAccessRetrievalPolicy>, Nullable<Boolean>, Nullable<SmbAccessBasedEnumeration>, Nullable<SmbNonBrowsable>)

Initializes a new instance of NetAppVolumePatch.

NetAppVolumePatch(ResourceIdentifier, String, ResourceType, SystemData, IDictionary<String,String>, AzureLocation, Nullable<NetAppFileServiceLevel>, Nullable<Int64>, IEnumerable<NetAppVolumeExportPolicyRule>, Nullable<Single>, NetAppVolumePatchDataProtection, Nullable<Boolean>, Nullable<Int64>, Nullable<Int64>, String, Nullable<Boolean>, Nullable<Int32>, Nullable<CoolAccessRetrievalPolicy>, Nullable<Boolean>, Nullable<SmbAccessBasedEnumeration>, Nullable<SmbNonBrowsable>)

Source:
ArmNetAppModelFactory.cs

Initializes a new instance of NetAppVolumePatch.

public static Azure.ResourceManager.NetApp.Models.NetAppVolumePatch NetAppVolumePatch (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.NetAppFileServiceLevel? serviceLevel = default, long? usageThreshold = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.NetApp.Models.NetAppVolumeExportPolicyRule> exportRules = default, float? throughputMibps = default, Azure.ResourceManager.NetApp.Models.NetAppVolumePatchDataProtection dataProtection = default, bool? isDefaultQuotaEnabled = default, long? defaultUserQuotaInKiBs = default, long? defaultGroupQuotaInKiBs = default, string unixPermissions = default, bool? isCoolAccessEnabled = default, int? coolnessPeriod = default, Azure.ResourceManager.NetApp.Models.CoolAccessRetrievalPolicy? coolAccessRetrievalPolicy = default, bool? isSnapshotDirectoryVisible = default, Azure.ResourceManager.NetApp.Models.SmbAccessBasedEnumeration? smbAccessBasedEnumeration = default, Azure.ResourceManager.NetApp.Models.SmbNonBrowsable? smbNonBrowsable = default);
static member NetAppVolumePatch : 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.NetAppFileServiceLevel> * Nullable<int64> * seq<Azure.ResourceManager.NetApp.Models.NetAppVolumeExportPolicyRule> * Nullable<single> * Azure.ResourceManager.NetApp.Models.NetAppVolumePatchDataProtection * Nullable<bool> * Nullable<int64> * Nullable<int64> * string * Nullable<bool> * Nullable<int> * Nullable<Azure.ResourceManager.NetApp.Models.CoolAccessRetrievalPolicy> * Nullable<bool> * Nullable<Azure.ResourceManager.NetApp.Models.SmbAccessBasedEnumeration> * Nullable<Azure.ResourceManager.NetApp.Models.SmbNonBrowsable> -> Azure.ResourceManager.NetApp.Models.NetAppVolumePatch
Public Shared Function NetAppVolumePatch (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 serviceLevel As Nullable(Of NetAppFileServiceLevel) = Nothing, Optional usageThreshold As Nullable(Of Long) = Nothing, Optional exportRules As IEnumerable(Of NetAppVolumeExportPolicyRule) = Nothing, Optional throughputMibps As Nullable(Of Single) = Nothing, Optional dataProtection As NetAppVolumePatchDataProtection = Nothing, Optional isDefaultQuotaEnabled As Nullable(Of Boolean) = Nothing, Optional defaultUserQuotaInKiBs As Nullable(Of Long) = Nothing, Optional defaultGroupQuotaInKiBs As Nullable(Of Long) = Nothing, Optional unixPermissions As String = Nothing, Optional isCoolAccessEnabled As Nullable(Of Boolean) = Nothing, Optional coolnessPeriod As Nullable(Of Integer) = Nothing, Optional coolAccessRetrievalPolicy As Nullable(Of CoolAccessRetrievalPolicy) = Nothing, Optional isSnapshotDirectoryVisible As Nullable(Of Boolean) = Nothing, Optional smbAccessBasedEnumeration As Nullable(Of SmbAccessBasedEnumeration) = Nothing, Optional smbNonBrowsable As Nullable(Of SmbNonBrowsable) = Nothing) As NetAppVolumePatch

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.

serviceLevel
Nullable<NetAppFileServiceLevel>

The service level of the file system.

usageThreshold
Nullable<Int64>

Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. Minimum size is 100 GiB. Upper limit is 100TiB, 500Tib for LargeVolume or 2400Tib for LargeVolume on exceptional basis. Specified in bytes.

exportRules
IEnumerable<NetAppVolumeExportPolicyRule>

Set of export policy rules.

throughputMibps
Nullable<Single>

Maximum throughput in MiB/s that can be achieved by this volume and this will be accepted as input only for manual qosType volume.

dataProtection
NetAppVolumePatchDataProtection

DataProtection type volumes include an object containing details of the replication.

isDefaultQuotaEnabled
Nullable<Boolean>

Specifies if default quota is enabled for the volume.

defaultUserQuotaInKiBs
Nullable<Int64>

Default user quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies .

defaultGroupQuotaInKiBs
Nullable<Int64>

Default group quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies.

unixPermissions
String

UNIX permissions for NFS volume accepted in octal 4 digit format. First digit selects the set user ID(4), set group ID (2) and sticky (1) attributes. Second digit selects permission for the owner of the file: read (4), write (2) and execute (1). Third selects permissions for other users in the same group. the fourth for other users not in the group. 0755 - gives read/write/execute permissions to owner and read/execute to group and other users.

isCoolAccessEnabled
Nullable<Boolean>

Specifies whether Cool Access(tiering) is enabled for the volume.

coolnessPeriod
Nullable<Int32>

Specifies the number of days after which data that is not accessed by clients will be tiered.

coolAccessRetrievalPolicy
Nullable<CoolAccessRetrievalPolicy>

coolAccessRetrievalPolicy determines the data retrieval behavior from the cool tier to standard storage based on the read pattern for cool access enabled volumes. The possible values for this field are: Default - Data will be pulled from cool tier to standard storage on random reads. This policy is the default. OnRead - All client-driven data read is pulled from cool tier to standard storage on both sequential and random reads. Never - No client-driven data is pulled from cool tier to standard storage.

isSnapshotDirectoryVisible
Nullable<Boolean>

If enabled (true) the volume will contain a read-only snapshot directory which provides access to each of the volume's snapshots.

smbAccessBasedEnumeration
Nullable<SmbAccessBasedEnumeration>

Enables access-based enumeration share property for SMB Shares. Only applicable for SMB/DualProtocol volume.

smbNonBrowsable
Nullable<SmbNonBrowsable>

Enables non-browsable property for SMB Shares. Only applicable for SMB/DualProtocol volume.

Returns

A new NetAppVolumePatch instance for mocking.

Applies to

NetAppVolumePatch(ResourceIdentifier, String, ResourceType, SystemData, IDictionary<String,String>, AzureLocation, Nullable<NetAppFileServiceLevel>, Nullable<Int64>, IEnumerable<NetAppVolumeExportPolicyRule>, IEnumerable<String>, Nullable<Single>, NetAppVolumePatchDataProtection, Nullable<Boolean>, Nullable<Int64>, Nullable<Int64>, String, Nullable<Boolean>, Nullable<Int32>, Nullable<CoolAccessRetrievalPolicy>, Nullable<Boolean>, Nullable<SmbAccessBasedEnumeration>, Nullable<SmbNonBrowsable>)

Source:
ArmNetAppModelFactory.cs

Initializes a new instance of NetAppVolumePatch.

public static Azure.ResourceManager.NetApp.Models.NetAppVolumePatch NetAppVolumePatch (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.NetAppFileServiceLevel? serviceLevel = default, long? usageThreshold = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.NetApp.Models.NetAppVolumeExportPolicyRule> exportRules = default, System.Collections.Generic.IEnumerable<string> protocolTypes = default, float? throughputMibps = default, Azure.ResourceManager.NetApp.Models.NetAppVolumePatchDataProtection dataProtection = default, bool? isDefaultQuotaEnabled = default, long? defaultUserQuotaInKiBs = default, long? defaultGroupQuotaInKiBs = default, string unixPermissions = default, bool? isCoolAccessEnabled = default, int? coolnessPeriod = default, Azure.ResourceManager.NetApp.Models.CoolAccessRetrievalPolicy? coolAccessRetrievalPolicy = default, bool? isSnapshotDirectoryVisible = default, Azure.ResourceManager.NetApp.Models.SmbAccessBasedEnumeration? smbAccessBasedEnumeration = default, Azure.ResourceManager.NetApp.Models.SmbNonBrowsable? smbNonBrowsable = default);
static member NetAppVolumePatch : 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.NetAppFileServiceLevel> * Nullable<int64> * seq<Azure.ResourceManager.NetApp.Models.NetAppVolumeExportPolicyRule> * seq<string> * Nullable<single> * Azure.ResourceManager.NetApp.Models.NetAppVolumePatchDataProtection * Nullable<bool> * Nullable<int64> * Nullable<int64> * string * Nullable<bool> * Nullable<int> * Nullable<Azure.ResourceManager.NetApp.Models.CoolAccessRetrievalPolicy> * Nullable<bool> * Nullable<Azure.ResourceManager.NetApp.Models.SmbAccessBasedEnumeration> * Nullable<Azure.ResourceManager.NetApp.Models.SmbNonBrowsable> -> Azure.ResourceManager.NetApp.Models.NetAppVolumePatch
Public Shared Function NetAppVolumePatch (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 serviceLevel As Nullable(Of NetAppFileServiceLevel) = Nothing, Optional usageThreshold As Nullable(Of Long) = Nothing, Optional exportRules As IEnumerable(Of NetAppVolumeExportPolicyRule) = Nothing, Optional protocolTypes As IEnumerable(Of String) = Nothing, Optional throughputMibps As Nullable(Of Single) = Nothing, Optional dataProtection As NetAppVolumePatchDataProtection = Nothing, Optional isDefaultQuotaEnabled As Nullable(Of Boolean) = Nothing, Optional defaultUserQuotaInKiBs As Nullable(Of Long) = Nothing, Optional defaultGroupQuotaInKiBs As Nullable(Of Long) = Nothing, Optional unixPermissions As String = Nothing, Optional isCoolAccessEnabled As Nullable(Of Boolean) = Nothing, Optional coolnessPeriod As Nullable(Of Integer) = Nothing, Optional coolAccessRetrievalPolicy As Nullable(Of CoolAccessRetrievalPolicy) = Nothing, Optional isSnapshotDirectoryVisible As Nullable(Of Boolean) = Nothing, Optional smbAccessBasedEnumeration As Nullable(Of SmbAccessBasedEnumeration) = Nothing, Optional smbNonBrowsable As Nullable(Of SmbNonBrowsable) = Nothing) As NetAppVolumePatch

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.

serviceLevel
Nullable<NetAppFileServiceLevel>

The service level of the file system.

usageThreshold
Nullable<Int64>

Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. For regular volumes, valid values are in the range 50GiB to 100TiB. For large volumes, valid values are in the range 100TiB to 500TiB, and on an exceptional basis, from to 2400GiB to 2400TiB. Values expressed in bytes as multiples of 1 GiB.

exportRules
IEnumerable<NetAppVolumeExportPolicyRule>

Set of export policy rules.

protocolTypes
IEnumerable<String>

Set of protocol types, default NFSv3, CIFS for SMB protocol.

throughputMibps
Nullable<Single>

Maximum throughput in MiB/s that can be achieved by this volume and this will be accepted as input only for manual qosType volume.

dataProtection
NetAppVolumePatchDataProtection

DataProtection type volumes include an object containing details of the replication.

isDefaultQuotaEnabled
Nullable<Boolean>

Specifies if default quota is enabled for the volume.

defaultUserQuotaInKiBs
Nullable<Int64>

Default user quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies .

defaultGroupQuotaInKiBs
Nullable<Int64>

Default group quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies.

unixPermissions
String

UNIX permissions for NFS volume accepted in octal 4 digit format. First digit selects the set user ID(4), set group ID (2) and sticky (1) attributes. Second digit selects permission for the owner of the file: read (4), write (2) and execute (1). Third selects permissions for other users in the same group. the fourth for other users not in the group. 0755 - gives read/write/execute permissions to owner and read/execute to group and other users.

isCoolAccessEnabled
Nullable<Boolean>

Specifies whether Cool Access(tiering) is enabled for the volume.

coolnessPeriod
Nullable<Int32>

Specifies the number of days after which data that is not accessed by clients will be tiered.

coolAccessRetrievalPolicy
Nullable<CoolAccessRetrievalPolicy>

coolAccessRetrievalPolicy determines the data retrieval behavior from the cool tier to standard storage based on the read pattern for cool access enabled volumes. The possible values for this field are: Default - Data will be pulled from cool tier to standard storage on random reads. This policy is the default. OnRead - All client-driven data read is pulled from cool tier to standard storage on both sequential and random reads. Never - No client-driven data is pulled from cool tier to standard storage.

isSnapshotDirectoryVisible
Nullable<Boolean>

If enabled (true) the volume will contain a read-only snapshot directory which provides access to each of the volume's snapshots.

smbAccessBasedEnumeration
Nullable<SmbAccessBasedEnumeration>

Enables access-based enumeration share property for SMB Shares. Only applicable for SMB/DualProtocol volume.

smbNonBrowsable
Nullable<SmbNonBrowsable>

Enables non-browsable property for SMB Shares. Only applicable for SMB/DualProtocol volume.

Returns

A new NetAppVolumePatch instance for mocking.

Applies to