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

IUpdateDefinitionWithExistingVhd<ParentT> 接口

定义

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

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

类型参数

ParentT

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

实现

方法

Attach()

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

(继承自 IInUpdate<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>)

适用于