public class DiskUpdate extends Object
Constructor and Description |
---|
DiskUpdate() |
Modifier and Type | Method and Description |
---|---|
Long |
diskIOPSReadWrite()
Get the number of IOPS allowed for this disk; only settable for UltraSSD disks.
|
Integer |
diskMBpsReadWrite()
Get the bandwidth allowed for this disk; only settable for UltraSSD disks.
|
Integer |
diskSizeGB()
Get if creationData.createOption is Empty, this field is mandatory and it indicates the size of the VHD to create.
|
EncryptionSettingsCollection |
encryptionSettingsCollection()
Get encryption settings collection used be Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot.
|
OperatingSystemTypes |
osType()
Get the Operating System type.
|
DiskSku |
sku()
Get the sku value.
|
Map<String,String> |
tags()
Get resource tags.
|
DiskUpdate |
withDiskIOPSReadWrite(Long diskIOPSReadWrite)
Set the number of IOPS allowed for this disk; only settable for UltraSSD disks.
|
DiskUpdate |
withDiskMBpsReadWrite(Integer diskMBpsReadWrite)
Set the bandwidth allowed for this disk; only settable for UltraSSD disks.
|
DiskUpdate |
withDiskSizeGB(Integer diskSizeGB)
Set if creationData.createOption is Empty, this field is mandatory and it indicates the size of the VHD to create.
|
DiskUpdate |
withEncryptionSettingsCollection(EncryptionSettingsCollection encryptionSettingsCollection)
Set encryption settings collection used be Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot.
|
DiskUpdate |
withOsType(OperatingSystemTypes osType)
Set the Operating System type.
|
DiskUpdate |
withSku(DiskSku sku)
Set the sku value.
|
DiskUpdate |
withTags(Map<String,String> tags)
Set resource tags.
|
public OperatingSystemTypes osType()
public DiskUpdate withOsType(OperatingSystemTypes osType)
osType
- the osType value to setpublic Integer diskSizeGB()
public DiskUpdate withDiskSizeGB(Integer diskSizeGB)
diskSizeGB
- the diskSizeGB value to setpublic EncryptionSettingsCollection encryptionSettingsCollection()
public DiskUpdate withEncryptionSettingsCollection(EncryptionSettingsCollection encryptionSettingsCollection)
encryptionSettingsCollection
- the encryptionSettingsCollection value to setpublic Long diskIOPSReadWrite()
public DiskUpdate withDiskIOPSReadWrite(Long diskIOPSReadWrite)
diskIOPSReadWrite
- the diskIOPSReadWrite value to setpublic Integer diskMBpsReadWrite()
public DiskUpdate withDiskMBpsReadWrite(Integer diskMBpsReadWrite)
diskMBpsReadWrite
- the diskMBpsReadWrite value to setpublic DiskUpdate withTags(Map<String,String> tags)
tags
- the tags value to setpublic DiskSku sku()
public DiskUpdate withSku(DiskSku sku)
sku
- the sku value to setCopyright © 2019. All rights reserved.