public class ImageOSDisk extends ImageDisk
| Constructor and Description |
|---|
ImageOSDisk() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
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.
|
blobUri, caching, diskEncryptionSet, diskSizeGB, managedDisk, snapshot, storageAccountType, withBlobUri, withCaching, withDiskEncryptionSet, withDiskSizeGB, withManagedDisk, withSnapshot, withStorageAccountTypepublic 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 set/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/