public class GalleryDiskImage extends Object
| Constructor and Description |
|---|
GalleryDiskImage() |
| Modifier and Type | Method and Description |
|---|---|
HostCaching |
hostCaching()
Get the hostCaching property: The host caching of the disk.
|
Integer |
sizeInGB()
Get the sizeInGB property: This property indicates the size of the VHD to be created.
|
GalleryArtifactVersionSource |
source()
Get the source property: The gallery artifact version source.
|
void |
validate()
Validates the instance.
|
GalleryDiskImage |
withHostCaching(HostCaching hostCaching)
Set the hostCaching property: The host caching of the disk.
|
GalleryDiskImage |
withSource(GalleryArtifactVersionSource source)
Set the source property: The gallery artifact version source.
|
public Integer sizeInGB()
public HostCaching hostCaching()
public GalleryDiskImage withHostCaching(HostCaching hostCaching)
hostCaching - the hostCaching value to set.public GalleryArtifactVersionSource source()
public GalleryDiskImage withSource(GalleryArtifactVersionSource source)
source - the source value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.