public class SnapshotUpdate extends Object
Constructor and Description |
---|
SnapshotUpdate() |
Modifier and Type | Method and Description |
---|---|
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.
|
SnapshotSku |
sku()
Get the sku value.
|
Map<String,String> |
tags()
Get resource tags.
|
SnapshotUpdate |
withDiskSizeGB(Integer diskSizeGB)
Set if creationData.createOption is Empty, this field is mandatory and it indicates the size of the VHD to create.
|
SnapshotUpdate |
withEncryptionSettingsCollection(EncryptionSettingsCollection encryptionSettingsCollection)
Set encryption settings collection used be Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot.
|
SnapshotUpdate |
withOsType(OperatingSystemTypes osType)
Set the Operating System type.
|
SnapshotUpdate |
withSku(SnapshotSku sku)
Set the sku value.
|
SnapshotUpdate |
withTags(Map<String,String> tags)
Set resource tags.
|
public OperatingSystemTypes osType()
public SnapshotUpdate withOsType(OperatingSystemTypes osType)
osType
- the osType value to setpublic Integer diskSizeGB()
public SnapshotUpdate withDiskSizeGB(Integer diskSizeGB)
diskSizeGB
- the diskSizeGB value to setpublic EncryptionSettingsCollection encryptionSettingsCollection()
public SnapshotUpdate withEncryptionSettingsCollection(EncryptionSettingsCollection encryptionSettingsCollection)
encryptionSettingsCollection
- the encryptionSettingsCollection value to setpublic SnapshotUpdate withTags(Map<String,String> tags)
tags
- the tags value to setpublic SnapshotSku sku()
public SnapshotUpdate withSku(SnapshotSku sku)
sku
- the sku value to setCopyright © 2019. All rights reserved.