public class ImageOSDisk extends Object
| Constructor and Description |
|---|
ImageOSDisk() |
| Modifier and Type | Method and Description |
|---|---|
String |
blobUri()
Get the blobUri value.
|
CachingTypes |
caching()
Get the caching value.
|
Integer |
diskSizeGB()
Get the diskSizeGB value.
|
com.microsoft.azure.SubResource |
managedDisk()
Get the managedDisk value.
|
OperatingSystemStateTypes |
osState()
Get the osState value.
|
OperatingSystemTypes |
osType()
Get the osType value.
|
com.microsoft.azure.SubResource |
snapshot()
Get the snapshot value.
|
StorageAccountTypes |
storageAccountType()
Get the storageAccountType value.
|
ImageOSDisk |
withBlobUri(String blobUri)
Set the blobUri value.
|
ImageOSDisk |
withCaching(CachingTypes caching)
Set the caching value.
|
ImageOSDisk |
withDiskSizeGB(Integer diskSizeGB)
Set the diskSizeGB value.
|
ImageOSDisk |
withManagedDisk(com.microsoft.azure.SubResource managedDisk)
Set the managedDisk value.
|
ImageOSDisk |
withOsState(OperatingSystemStateTypes osState)
Set the osState value.
|
ImageOSDisk |
withOsType(OperatingSystemTypes osType)
Set the osType value.
|
ImageOSDisk |
withSnapshot(com.microsoft.azure.SubResource snapshot)
Set the snapshot value.
|
ImageOSDisk |
withStorageAccountType(StorageAccountTypes storageAccountType)
Set the storageAccountType value.
|
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 com.microsoft.azure.SubResource snapshot()
public ImageOSDisk withSnapshot(com.microsoft.azure.SubResource snapshot)
snapshot - the snapshot value to setpublic com.microsoft.azure.SubResource managedDisk()
public ImageOSDisk withManagedDisk(com.microsoft.azure.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 set/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/