Share via


VolumePatch Class

Definition

Volume patch resource

[Microsoft.Rest.Serialization.JsonTransformation]
public class VolumePatch : Microsoft.Rest.Azure.IResource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type VolumePatch = class
    interface IResource
Public Class VolumePatch
Implements IResource
Inheritance
VolumePatch
Attributes
Implements

Constructors

VolumePatch()

Initializes a new instance of the VolumePatch class.

VolumePatch(String, String, String, String, IDictionary<String, String>, String, Nullable<Int64>, VolumePatchPropertiesExportPolicy, IList<String>, Nullable<Double>, VolumePatchPropertiesDataProtection, Nullable<Boolean>, Nullable<Int64>, Nullable<Int64>, String, Nullable<Boolean>, Nullable<Int32>, String, Nullable<Boolean>, String, String)

Initializes a new instance of the VolumePatch class.

VolumePatch(String, String, String, String, IDictionary<String, String>, String, Nullable<Int64>, VolumePatchPropertiesExportPolicy, Nullable<Double>, VolumePatchPropertiesDataProtection, Nullable<Boolean>, Nullable<Int64>, Nullable<Int64>, String, Nullable<Boolean>, Nullable<Int32>, String, Nullable<Boolean>, String, String)

Properties

CoolAccess

Gets or sets specifies whether Cool Access(tiering) is enabled for the volume.

CoolAccessRetrievalPolicy

Gets or sets 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. Possible values include: 'Default', 'OnRead', 'Never'

CoolnessPeriod

Gets or sets specifies the number of days after which data that is not accessed by clients will be tiered.

DataProtection

Gets or sets dataProtection type volumes include an object containing details of the replication

DefaultGroupQuotaInKiBs

Gets or sets default group quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies.

DefaultUserQuotaInKiBs

Gets or sets default user quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies .

ExportPolicy

Gets or sets set of export policy rules

Id

Gets resource Id

IsDefaultQuotaEnabled

Gets or sets specifies if default quota is enabled for the volume.

Location

Gets or sets resource location

Name

Gets resource name

ProtocolTypes

Gets or sets set of protocol types, default NFSv3, CIFS for SMB protocol

ServiceLevel

Gets or sets the service level of the file system Possible values include: 'Standard', 'Premium', 'Ultra', 'StandardZRS'

SmbAccessBasedEnumeration

Gets or sets enables access-based enumeration share property for SMB Shares. Only applicable for SMB/DualProtocol volume Possible values include: 'Disabled', 'Enabled'

SmbNonBrowsable

Gets or sets enables non-browsable property for SMB Shares. Only applicable for SMB/DualProtocol volume Possible values include: 'Disabled', 'Enabled'

SnapshotDirectoryVisible

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

Tags

Gets or sets resource tags

ThroughputMibps

Gets or sets maximum throughput in MiB/s that can be achieved by this volume and this will be accepted as input only for manual qosType volume

Type

Gets resource type

UnixPermissions

Gets or sets 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.
UsageThreshold

Gets or sets 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.

Methods

Validate()

Validate the object.

Applies to