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

IUpdate 接口

定义

更新操作的模板,包含可修改的所有设置。

public interface IUpdate : Microsoft.Azure.Management.Compute.Fluent.Disk.Update.IWithHyperVGeneration, Microsoft.Azure.Management.Compute.Fluent.Disk.Update.IWithOSSettings, Microsoft.Azure.Management.Compute.Fluent.Disk.Update.IWithSize, Microsoft.Azure.Management.Compute.Fluent.Disk.Update.IWithSku, Microsoft.Azure.Management.ResourceManager.Fluent.Core.Resource.Update.IUpdateWithTags<Microsoft.Azure.Management.Compute.Fluent.Disk.Update.IUpdate>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.IAppliable<Microsoft.Azure.Management.Compute.Fluent.IDisk>
type IUpdate = interface
    interface IAppliable<IDisk>
    interface IIndexable
    interface IUpdateWithTags<IUpdate>
    interface IWithSku
    interface IWithSize
    interface IWithOSSettings
    interface IWithHyperVGeneration
Public Interface IUpdate
Implements IAppliable(Of IDisk), IUpdateWithTags(Of IUpdate), IWithHyperVGeneration, IWithOSSettings, IWithSize, IWithSku
实现

属性

Key

更新操作的模板,包含可修改的所有设置。

(继承自 IIndexable)

方法

Apply()

执行更新请求。

(继承自 IAppliable<T>)
ApplyAsync(CancellationToken, Boolean)

异步执行更新请求。

(继承自 IAppliable<T>)
WithHyperVGeneration(HyperVGeneration)

指定虚拟机的虚拟机监控程序生成。

(继承自 IWithHyperVGeneration)
WithOSType(OperatingSystemTypes)

指定操作系统。

(继承自 IWithOSSettings)
WithoutTag(String)

从资源中删除标记。

(继承自 IUpdateWithTags<T>)
WithSizeInGB(Int32)

指定磁盘大小。

(继承自 IWithSize)
WithSku(DiskSkuTypes)

指定 SKU。

(继承自 IWithSku)
WithTag(String, String)

将标记添加到资源。

(继承自 IUpdateWithTags<T>)
WithTags(IDictionary<String,String>)

将资源的标记指定为 {@link Map}。

(继承自 IUpdateWithTags<T>)

适用于