public final class ImageStorageProfile extends Object
Constructor and Description |
---|
ImageStorageProfile() |
Modifier and Type | Method and Description |
---|---|
List<ImageDataDisk> |
dataDisks()
Get the dataDisks property: Specifies the parameters that are used to add a data disk to a virtual machine.
|
ImageOSDisk |
osDisk()
Get the osDisk property: Specifies information about the operating system disk used by the virtual machine.
|
void |
validate()
Validates the instance.
|
ImageStorageProfile |
withDataDisks(List<ImageDataDisk> dataDisks)
Set the dataDisks property: Specifies the parameters that are used to add a data disk to a virtual machine.
|
ImageStorageProfile |
withOsDisk(ImageOSDisk osDisk)
Set the osDisk property: Specifies information about the operating system disk used by the virtual machine.
|
ImageStorageProfile |
withZoneResilient(Boolean zoneResilient)
Set the zoneResilient property: Specifies whether an image is zone resilient or not.
|
Boolean |
zoneResilient()
Get the zoneResilient property: Specifies whether an image is zone resilient or not.
|
public ImageOSDisk osDisk()
public ImageStorageProfile withOsDisk(ImageOSDisk osDisk)
osDisk
- the osDisk value to set.public List<ImageDataDisk> dataDisks()
public ImageStorageProfile withDataDisks(List<ImageDataDisk> dataDisks)
dataDisks
- the dataDisks value to set.public Boolean zoneResilient()
public ImageStorageProfile withZoneResilient(Boolean zoneResilient)
zoneResilient
- the zoneResilient value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.