ParentT - the return type of Attachable.InUpdate.attach()public static interface VirtualMachineDataDisk.UpdateDefinitionStages.WithAttach<ParentT>
extends com.microsoft.azure.management.resources.fluentcore.model.Attachable.InDefinition<ParentT>
At this stage, any remaining optional settings can be specified, or the data disk definition
can be attached to the parent virtual machine definition using Attachable.InUpdate.attach().
| Modifier and Type | Method and Description |
|---|---|
VirtualMachineDataDisk.UpdateDefinitionStages.WithAttach<ParentT> |
withCaching(CachingTypes cachingType)
Specifies the caching type for the data disk.
|
VirtualMachineDataDisk.UpdateDefinitionStages.WithAttach<ParentT> |
withLun(Integer lun)
Specifies the logical unit number for the data disk.
|
VirtualMachineDataDisk.UpdateDefinitionStages.WithAttach<ParentT> withLun(Integer lun)
lun - the logical unit numberVirtualMachineDataDisk.UpdateDefinitionStages.WithAttach<ParentT> withCaching(CachingTypes cachingType)
cachingType - the disk caching type. Possible values include: 'None', 'ReadOnly', 'ReadWrite'/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/