Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information.
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. */
package com.microsoft.azure.management.compute; import com.microsoft.azure.management.apigeneration.Fluent; import com.microsoft.azure.management.resources.fluentcore.arm.models.HasId; import com.microsoft.azure.management.resources.fluentcore.arm.models.HasName; import com.microsoft.azure.management.resources.fluentcore.model.HasInner;
A managed data disk of a virtual machine.
/** * A managed data disk of a virtual machine. */
@Fluent public interface VirtualMachineDataDisk extends HasInner<DataDisk>, HasName, HasId {
Returns:the size of this data disk in GB
/** * @return the size of this data disk in GB */
int size();
Returns:the logical unit number assigned to this data disk
/** * @return the logical unit number assigned to this data disk */
int lun();
Returns:the disk caching type
/** * @return the disk caching type */
CachingTypes cachingType();
Returns:the creation method used while creating this disk
/** * @return the creation method used while creating this disk */
DiskCreateOptionTypes creationMethod();
Returns:the storage account type of the disk
/** * @return the storage account type of the disk */
StorageAccountTypes storageAccountType(); }