Class VolumePatchProperties
java.lang.Object
com.azure.resourcemanager.netapp.fluent.models.VolumePatchProperties
Patchable volume properties.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the coolAccess property: Specifies whether Cool Access(tiering) is enabled for the volume.Get the coolnessPeriod property: Specifies the number of days after which data that is not accessed by clients will be tiered.Get the dataProtection property: DataProtectionGet the defaultGroupQuotaInKiBs property: Default group quota for volume in KiBs.Get the defaultUserQuotaInKiBs property: Default user quota for volume in KiBs.Get the exportPolicy property: exportPolicyGet the isDefaultQuotaEnabled property: Specifies if default quota is enabled for the volume.Get the serviceLevel property: serviceLevelGet the throughputMibps property: Maximum throughput in Mibps that can be achieved by this volume and this will be accepted as input only for manual qosType volume.Get the unixPermissions property: UNIX permissions for NFS volume accepted in octal 4 digit format.Get the usageThreshold property: usageThresholdvoid
validate()
Validates the instance.withCoolAccess
(Boolean coolAccess) Set the coolAccess property: Specifies whether Cool Access(tiering) is enabled for the volume.withCoolnessPeriod
(Integer coolnessPeriod) Set the coolnessPeriod property: Specifies the number of days after which data that is not accessed by clients will be tiered.withDataProtection
(VolumePatchPropertiesDataProtection dataProtection) Set the dataProtection property: DataProtectionwithDefaultGroupQuotaInKiBs
(Long defaultGroupQuotaInKiBs) Set the defaultGroupQuotaInKiBs property: Default group quota for volume in KiBs.withDefaultUserQuotaInKiBs
(Long defaultUserQuotaInKiBs) Set the defaultUserQuotaInKiBs property: Default user quota for volume in KiBs.withExportPolicy
(VolumePatchPropertiesExportPolicy exportPolicy) Set the exportPolicy property: exportPolicywithIsDefaultQuotaEnabled
(Boolean isDefaultQuotaEnabled) Set the isDefaultQuotaEnabled property: Specifies if default quota is enabled for the volume.withServiceLevel
(ServiceLevel serviceLevel) Set the serviceLevel property: serviceLevelwithThroughputMibps
(Float throughputMibps) Set the throughputMibps property: Maximum throughput in Mibps that can be achieved by this volume and this will be accepted as input only for manual qosType volume.withUnixPermissions
(String unixPermissions) Set the unixPermissions property: UNIX permissions for NFS volume accepted in octal 4 digit format.withUsageThreshold
(Long usageThreshold) Set the usageThreshold property: usageThreshold
-
Constructor Details
-
VolumePatchProperties
public VolumePatchProperties()
-
-
Method Details
-
serviceLevel
Get the serviceLevel property: serviceLevelThe service level of the file system.
- Returns:
- the serviceLevel value.
-
withServiceLevel
Set the serviceLevel property: serviceLevelThe service level of the file system.
- Parameters:
serviceLevel
- the serviceLevel value to set.- Returns:
- the VolumePatchProperties object itself.
-
usageThreshold
Get the usageThreshold property: usageThresholdMaximum 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. Specified in bytes.
- Returns:
- the usageThreshold value.
-
withUsageThreshold
Set the usageThreshold property: usageThresholdMaximum 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. Specified in bytes.
- Parameters:
usageThreshold
- the usageThreshold value to set.- Returns:
- the VolumePatchProperties object itself.
-
exportPolicy
Get the exportPolicy property: exportPolicySet of export policy rules.
- Returns:
- the exportPolicy value.
-
withExportPolicy
Set the exportPolicy property: exportPolicySet of export policy rules.
- Parameters:
exportPolicy
- the exportPolicy value to set.- Returns:
- the VolumePatchProperties object itself.
-
throughputMibps
Get the throughputMibps property: Maximum throughput in Mibps that can be achieved by this volume and this will be accepted as input only for manual qosType volume.- Returns:
- the throughputMibps value.
-
withThroughputMibps
Set the throughputMibps property: Maximum throughput in Mibps that can be achieved by this volume and this will be accepted as input only for manual qosType volume.- Parameters:
throughputMibps
- the throughputMibps value to set.- Returns:
- the VolumePatchProperties object itself.
-
dataProtection
Get the dataProtection property: DataProtectionDataProtection type volumes include an object containing details of the replication.
- Returns:
- the dataProtection value.
-
withDataProtection
Set the dataProtection property: DataProtectionDataProtection type volumes include an object containing details of the replication.
- Parameters:
dataProtection
- the dataProtection value to set.- Returns:
- the VolumePatchProperties object itself.
-
isDefaultQuotaEnabled
Get the isDefaultQuotaEnabled property: Specifies if default quota is enabled for the volume.- Returns:
- the isDefaultQuotaEnabled value.
-
withIsDefaultQuotaEnabled
Set the isDefaultQuotaEnabled property: Specifies if default quota is enabled for the volume.- Parameters:
isDefaultQuotaEnabled
- the isDefaultQuotaEnabled value to set.- Returns:
- the VolumePatchProperties object itself.
-
defaultUserQuotaInKiBs
Get the defaultUserQuotaInKiBs property: Default user quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies .- Returns:
- the defaultUserQuotaInKiBs value.
-
withDefaultUserQuotaInKiBs
Set the defaultUserQuotaInKiBs property: Default user quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies .- Parameters:
defaultUserQuotaInKiBs
- the defaultUserQuotaInKiBs value to set.- Returns:
- the VolumePatchProperties object itself.
-
defaultGroupQuotaInKiBs
Get the defaultGroupQuotaInKiBs property: Default group quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies.- Returns:
- the defaultGroupQuotaInKiBs value.
-
withDefaultGroupQuotaInKiBs
Set the defaultGroupQuotaInKiBs property: Default group quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies.- Parameters:
defaultGroupQuotaInKiBs
- the defaultGroupQuotaInKiBs value to set.- Returns:
- the VolumePatchProperties object itself.
-
unixPermissions
Get the unixPermissions property: 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.- Returns:
- the unixPermissions value.
-
withUnixPermissions
Set the unixPermissions property: 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.- Parameters:
unixPermissions
- the unixPermissions value to set.- Returns:
- the VolumePatchProperties object itself.
-
coolAccess
Get the coolAccess property: Specifies whether Cool Access(tiering) is enabled for the volume.- Returns:
- the coolAccess value.
-
withCoolAccess
Set the coolAccess property: Specifies whether Cool Access(tiering) is enabled for the volume.- Parameters:
coolAccess
- the coolAccess value to set.- Returns:
- the VolumePatchProperties object itself.
-
coolnessPeriod
Get the coolnessPeriod property: Specifies the number of days after which data that is not accessed by clients will be tiered.- Returns:
- the coolnessPeriod value.
-
withCoolnessPeriod
Set the coolnessPeriod property: Specifies the number of days after which data that is not accessed by clients will be tiered.- Parameters:
coolnessPeriod
- the coolnessPeriod value to set.- Returns:
- the VolumePatchProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-