public final class VirtualMachineScaleSetStorageProfile extends Object
Constructor and Description |
---|
VirtualMachineScaleSetStorageProfile() |
Modifier and Type | Method and Description |
---|---|
List<VirtualMachineScaleSetDataDisk> |
dataDisks()
Get the dataDisks property: Specifies the parameters that are used to add data disks to the virtual machines in
the scale set.
|
ImageReference |
imageReference()
Get the imageReference property: Specifies information about the image to use.
|
VirtualMachineScaleSetOSDisk |
osDisk()
Get the osDisk property: Specifies information about the operating system disk used by the virtual machines in
the scale set.
|
void |
validate()
Validates the instance.
|
VirtualMachineScaleSetStorageProfile |
withDataDisks(List<VirtualMachineScaleSetDataDisk> dataDisks)
Set the dataDisks property: Specifies the parameters that are used to add data disks to the virtual machines in
the scale set.
|
VirtualMachineScaleSetStorageProfile |
withImageReference(ImageReference imageReference)
Set the imageReference property: Specifies information about the image to use.
|
VirtualMachineScaleSetStorageProfile |
withOsDisk(VirtualMachineScaleSetOSDisk osDisk)
Set the osDisk property: Specifies information about the operating system disk used by the virtual machines in
the scale set.
|
public VirtualMachineScaleSetStorageProfile()
public ImageReference imageReference()
public VirtualMachineScaleSetStorageProfile withImageReference(ImageReference imageReference)
imageReference
- the imageReference value to set.public VirtualMachineScaleSetOSDisk osDisk()
public VirtualMachineScaleSetStorageProfile withOsDisk(VirtualMachineScaleSetOSDisk osDisk)
osDisk
- the osDisk value to set.public List<VirtualMachineScaleSetDataDisk> dataDisks()
public VirtualMachineScaleSetStorageProfile 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.