Share via


你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

IVirtualMachineDataDisk 接口

定义

虚拟机的托管数据磁盘。

public interface IVirtualMachineDataDisk : Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasId, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasInner<Microsoft.Azure.Management.Compute.Fluent.Models.DataDisk>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasName
type IVirtualMachineDataDisk = interface
    interface IHasInner<DataDisk>
    interface IHasName
    interface IHasId
Public Interface IVirtualMachineDataDisk
Implements IHasId, IHasInner(Of DataDisk), IHasName
实现

属性

CachingType

获取磁盘缓存类型。

CreationMethod

获取创建此磁盘时使用的创建方法。

Id

获取资源 ID 字符串

(继承自 IHasId)
Inner

虚拟机的托管数据磁盘。

(继承自 IHasInner<T>)
Lun

获取分配给此数据磁盘的逻辑单元号。

Name

获取资源的名称

(继承自 IHasName)
Size

获取此数据磁盘的大小(以 GB 为单位)。

StorageAccountType

获取磁盘的存储帐户类型。

适用于