public class OSDisk extends Object
| Constructor and Description |
|---|
OSDisk() |
| Modifier and Type | Method and Description |
|---|---|
CachingTypes |
caching()
Get the caching value.
|
DiskCreateOptionTypes |
createOption()
Get the createOption value.
|
Integer |
diskSizeGB()
Get the diskSizeGB value.
|
DiskEncryptionSettings |
encryptionSettings()
Get the encryptionSettings value.
|
VirtualHardDisk |
image()
Get the image value.
|
String |
name()
Get the name value.
|
OperatingSystemTypes |
osType()
Get the osType value.
|
VirtualHardDisk |
vhd()
Get the vhd value.
|
OSDisk |
withCaching(CachingTypes caching)
Set the caching value.
|
OSDisk |
withCreateOption(DiskCreateOptionTypes createOption)
Set the createOption value.
|
OSDisk |
withDiskSizeGB(Integer diskSizeGB)
Set the diskSizeGB value.
|
OSDisk |
withEncryptionSettings(DiskEncryptionSettings encryptionSettings)
Set the encryptionSettings value.
|
OSDisk |
withImage(VirtualHardDisk image)
Set the image value.
|
OSDisk |
withName(String name)
Set the name value.
|
OSDisk |
withOsType(OperatingSystemTypes osType)
Set the osType value.
|
OSDisk |
withVhd(VirtualHardDisk vhd)
Set the vhd value.
|
public OperatingSystemTypes osType()
public OSDisk withOsType(OperatingSystemTypes osType)
osType - the osType value to setpublic DiskEncryptionSettings encryptionSettings()
public OSDisk withEncryptionSettings(DiskEncryptionSettings encryptionSettings)
encryptionSettings - the encryptionSettings value to setpublic String name()
public OSDisk withName(String name)
name - the name value to setpublic VirtualHardDisk vhd()
public OSDisk withVhd(VirtualHardDisk vhd)
vhd - the vhd value to setpublic VirtualHardDisk image()
public OSDisk withImage(VirtualHardDisk image)
image - the image value to setpublic CachingTypes caching()
public OSDisk withCaching(CachingTypes caching)
caching - the caching value to setpublic DiskCreateOptionTypes createOption()
public OSDisk withCreateOption(DiskCreateOptionTypes createOption)
createOption - the createOption value to setpublic Integer diskSizeGB()
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/