public class ImageDisk extends Object
Constructor and Description |
---|
ImageDisk() |
Modifier and Type | Method and Description |
---|---|
String |
blobUri()
Get the blobUri property: The Virtual Hard Disk.
|
CachingTypes |
caching()
Get the caching property: Specifies the caching requirements.
|
com.azure.core.management.SubResource |
diskEncryptionSet()
Get the diskEncryptionSet property: Specifies the customer managed disk encryption set resource id for the
managed image disk.
|
Integer |
diskSizeGB()
Get the diskSizeGB property: Specifies the size of empty data disks in gigabytes.
|
com.azure.core.management.SubResource |
managedDisk()
Get the managedDisk property: The managedDisk.
|
com.azure.core.management.SubResource |
snapshot()
Get the snapshot property: The snapshot.
|
StorageAccountTypes |
storageAccountType()
Get the storageAccountType property: Specifies the storage account type for the managed disk.
|
void |
validate()
Validates the instance.
|
ImageDisk |
withBlobUri(String blobUri)
Set the blobUri property: The Virtual Hard Disk.
|
ImageDisk |
withCaching(CachingTypes caching)
Set the caching property: Specifies the caching requirements.
|
ImageDisk |
withDiskEncryptionSet(com.azure.core.management.SubResource diskEncryptionSet)
Set the diskEncryptionSet property: Specifies the customer managed disk encryption set resource id for the
managed image disk.
|
ImageDisk |
withDiskSizeGB(Integer diskSizeGB)
Set the diskSizeGB property: Specifies the size of empty data disks in gigabytes.
|
ImageDisk |
withManagedDisk(com.azure.core.management.SubResource managedDisk)
Set the managedDisk property: The managedDisk.
|
ImageDisk |
withSnapshot(com.azure.core.management.SubResource snapshot)
Set the snapshot property: The snapshot.
|
ImageDisk |
withStorageAccountType(StorageAccountTypes storageAccountType)
Set the storageAccountType property: Specifies the storage account type for the managed disk.
|
public com.azure.core.management.SubResource snapshot()
public ImageDisk withSnapshot(com.azure.core.management.SubResource snapshot)
snapshot
- the snapshot value to set.public com.azure.core.management.SubResource managedDisk()
public ImageDisk withManagedDisk(com.azure.core.management.SubResource managedDisk)
managedDisk
- the managedDisk value to set.public String blobUri()
public ImageDisk withBlobUri(String blobUri)
blobUri
- the blobUri value to set.public CachingTypes caching()
public ImageDisk withCaching(CachingTypes caching)
caching
- the caching value to set.public Integer diskSizeGB()
public ImageDisk withDiskSizeGB(Integer diskSizeGB)
diskSizeGB
- the diskSizeGB value to set.public StorageAccountTypes storageAccountType()
public ImageDisk withStorageAccountType(StorageAccountTypes storageAccountType)
storageAccountType
- the storageAccountType value to set.public com.azure.core.management.SubResource diskEncryptionSet()
public ImageDisk withDiskEncryptionSet(com.azure.core.management.SubResource diskEncryptionSet)
diskEncryptionSet
- the diskEncryptionSet value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.