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

IDefinitionWithExistingVhd<ParentT> 接口

定义

虚拟机规模集定义的整个非托管数据磁盘。

public interface IDefinitionWithExistingVhd<ParentT> : Microsoft.Azure.Management.Compute.Fluent.VirtualMachineUnmanagedDataDisk.Definition.IBlank<ParentT>, Microsoft.Azure.Management.Compute.Fluent.VirtualMachineUnmanagedDataDisk.Definition.IWithAttach<ParentT>, Microsoft.Azure.Management.Compute.Fluent.VirtualMachineUnmanagedDataDisk.Definition.IWithDiskSource<ParentT>, Microsoft.Azure.Management.Compute.Fluent.VirtualMachineUnmanagedDataDisk.Definition.IWithVhdAttachedDiskSettings<ParentT>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ChildResource.Definition.IInDefinition<ParentT>
type IDefinitionWithExistingVhd<'ParentT> = interface
    interface IBlank<'ParentT>
    interface IWithDiskSource<'ParentT>
    interface IWithVhdAttachedDiskSettings<'ParentT>
    interface IWithAttach<'ParentT>
    interface IInDefinition<'ParentT>
Public Interface IDefinitionWithExistingVhd(Of ParentT)
Implements IBlank(Of ParentT), IInDefinition(Of ParentT), IWithAttach(Of ParentT), IWithDiskSource(Of ParentT), IWithVhdAttachedDiskSettings(Of ParentT)

类型参数

ParentT

附加此定义后要返回到的父定义的阶段。

实现

方法

Attach()

虚拟机规模集定义的整个非托管数据磁盘。

(继承自 IInDefinition<ParentT>)
FromImage(Int32)

指定源磁盘映像的映像 LUN 标识符。

(继承自 IWithDiskSource<ParentT>)
WithCaching(CachingTypes)

指定数据磁盘的缓存类型。

(继承自 IWithVhdAttachedDiskSettings<ParentT>)
WithExistingVhd(String, String, String)

指定磁盘的现有源 VHD。

(继承自 IWithDiskSource<ParentT>)
WithLun(Int32)

指定数据磁盘的逻辑单元号。

(继承自 IWithVhdAttachedDiskSettings<ParentT>)
WithNewVhd(Int32)

指定需要使用给定大小的新 VHD 创建磁盘。

(继承自 IWithDiskSource<ParentT>)
WithSizeInGB(Int32)

指定需要调整磁盘大小的大小(以 GB 为单位)。

(继承自 IWithVhdAttachedDiskSettings<ParentT>)

适用于