public final class VirtualMachineScaleSetUpdateStorageProfile extends Object
Constructor and Description |
---|
VirtualMachineScaleSetUpdateStorageProfile() |
Modifier and Type | Method and Description |
---|---|
List<VirtualMachineScaleSetDataDisk> |
dataDisks()
Get the dataDisks property: The data disks.
|
ImageReference |
imageReference()
Get the imageReference property: The image reference.
|
VirtualMachineScaleSetUpdateOSDisk |
osDisk()
Get the osDisk property: The OS disk.
|
void |
validate()
Validates the instance.
|
VirtualMachineScaleSetUpdateStorageProfile |
withDataDisks(List<VirtualMachineScaleSetDataDisk> dataDisks)
Set the dataDisks property: The data disks.
|
VirtualMachineScaleSetUpdateStorageProfile |
withImageReference(ImageReference imageReference)
Set the imageReference property: The image reference.
|
VirtualMachineScaleSetUpdateStorageProfile |
withOsDisk(VirtualMachineScaleSetUpdateOSDisk osDisk)
Set the osDisk property: The OS disk.
|
public VirtualMachineScaleSetUpdateStorageProfile()
public ImageReference imageReference()
public VirtualMachineScaleSetUpdateStorageProfile withImageReference(ImageReference imageReference)
imageReference
- the imageReference value to set.public VirtualMachineScaleSetUpdateOSDisk osDisk()
public VirtualMachineScaleSetUpdateStorageProfile withOsDisk(VirtualMachineScaleSetUpdateOSDisk osDisk)
osDisk
- the osDisk value to set.public List<VirtualMachineScaleSetDataDisk> dataDisks()
public VirtualMachineScaleSetUpdateStorageProfile withDataDisks(List<VirtualMachineScaleSetDataDisk> dataDisks)
dataDisks
- the dataDisks value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.