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

IDefinitionWithNewVhd<ParentT> 接口

定义

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

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

类型参数

ParentT

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

实现

方法

Attach()

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

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

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

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

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

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

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

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

指定需要创建具有给定大小的新 VHD 的非托管磁盘。

(继承自 IWithDiskSource<ParentT>)

适用于