public class DiskUpdate extends Object
| Constructor and Description |
|---|
DiskUpdate() |
| 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.
|
EncryptionSettings |
encryptionSettings()
Get encryption settings for disk or snapshot.
|
OperatingSystemTypes |
osType()
Get the Operating System type.
|
DiskSku |
sku()
Get the sku value.
|
Map<String,String> |
tags()
Get resource tags.
|
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 |
withEncryptionSettings(EncryptionSettings encryptionSettings)
Set encryption settings for 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 EncryptionSettings encryptionSettings()
public DiskUpdate withEncryptionSettings(EncryptionSettings encryptionSettings)
encryptionSettings - the encryptionSettings 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 set/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/