public class ImageOSDisk extends Object
Constructor and Description |
---|
ImageOSDisk() |
Modifier and Type | Method and Description |
---|---|
String |
blobUri()
Get the Virtual Hard Disk.
|
CachingTypes |
caching()
Get specifies the caching requirements.
|
Integer |
diskSizeGB()
Get specifies the size of empty data disks in gigabytes.
|
SubResource |
managedDisk()
Get the managedDisk.
|
OperatingSystemStateTypes |
osState()
Get the OS State.
|
OperatingSystemTypes |
osType()
Get this property allows you to specify the type of the OS that is included in the disk if creating a VM from a custom image.
|
SubResource |
snapshot()
Get the snapshot.
|
StorageAccountTypes |
storageAccountType()
Get specifies the storage account type for the managed disk.
|
ImageOSDisk |
withBlobUri(String blobUri)
Set the Virtual Hard Disk.
|
ImageOSDisk |
withCaching(CachingTypes caching)
Set specifies the caching requirements.
|
ImageOSDisk |
withDiskSizeGB(Integer diskSizeGB)
Set specifies the size of empty data disks in gigabytes.
|
ImageOSDisk |
withManagedDisk(SubResource managedDisk)
Set the managedDisk.
|
ImageOSDisk |
withOsState(OperatingSystemStateTypes osState)
Set the OS State.
|
ImageOSDisk |
withOsType(OperatingSystemTypes osType)
Set this property allows you to specify the type of the OS that is included in the disk if creating a VM from a custom image.
|
ImageOSDisk |
withSnapshot(SubResource snapshot)
Set the snapshot.
|
ImageOSDisk |
withStorageAccountType(StorageAccountTypes storageAccountType)
Set specifies the storage account type for the managed disk.
|
public OperatingSystemTypes osType()
public ImageOSDisk withOsType(OperatingSystemTypes osType)
osType
- the osType value to setpublic OperatingSystemStateTypes osState()
public ImageOSDisk withOsState(OperatingSystemStateTypes osState)
osState
- the osState value to setpublic SubResource snapshot()
public ImageOSDisk withSnapshot(SubResource snapshot)
snapshot
- the snapshot value to setpublic SubResource managedDisk()
public ImageOSDisk withManagedDisk(SubResource managedDisk)
managedDisk
- the managedDisk value to setpublic String blobUri()
public ImageOSDisk withBlobUri(String blobUri)
blobUri
- the blobUri value to setpublic CachingTypes caching()
public ImageOSDisk withCaching(CachingTypes caching)
caching
- the caching value to setpublic Integer diskSizeGB()
public ImageOSDisk withDiskSizeGB(Integer diskSizeGB)
diskSizeGB
- the diskSizeGB value to setpublic StorageAccountTypes storageAccountType()
public ImageOSDisk withStorageAccountType(StorageAccountTypes storageAccountType)
storageAccountType
- the storageAccountType value to setCopyright © 2019. All rights reserved.