| Modifier and Type | Method and Description |
|---|---|
DataDisk |
DataDisk.withCaching(CachingType caching)
Set values are:
none - The caching mode for the disk is not enabled.
|
DataDisk |
DataDisk.withDiskSizeGB(int diskSizeGB)
Set the diskSizeGB value.
|
DataDisk |
DataDisk.withLun(int lun)
Set the lun is used to uniquely identify each data disk.
|
DataDisk |
DataDisk.withStorageAccountType(StorageAccountType storageAccountType)
Set if omitted, the default is "Standard_LRS".
|
| Modifier and Type | Method and Description |
|---|---|
List<DataDisk> |
VirtualMachineConfiguration.dataDisks()
Get this property must be specified if the compute nodes in the pool need to have empty data disks attached to them.
|
| Modifier and Type | Method and Description |
|---|---|
VirtualMachineConfiguration |
VirtualMachineConfiguration.withDataDisks(List<DataDisk> dataDisks)
Set this property must be specified if the compute nodes in the pool need to have empty data disks attached to them.
|
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/