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

IUpdateDefinition<ParentT> 接口

定义

作为父更新的一部分的整个虚拟机扩展定义。

public interface IUpdateDefinition<ParentT> : Microsoft.Azure.Management.Compute.Fluent.VirtualMachineExtension.UpdateDefinition.IBlank<ParentT>, Microsoft.Azure.Management.Compute.Fluent.VirtualMachineExtension.UpdateDefinition.IWithAttach<ParentT>, Microsoft.Azure.Management.Compute.Fluent.VirtualMachineExtension.UpdateDefinition.IWithAutoUpgradeMinorVersion<ParentT>, Microsoft.Azure.Management.Compute.Fluent.VirtualMachineExtension.UpdateDefinition.IWithImageOrPublisher<ParentT>, Microsoft.Azure.Management.Compute.Fluent.VirtualMachineExtension.UpdateDefinition.IWithPublisher<ParentT>, Microsoft.Azure.Management.Compute.Fluent.VirtualMachineExtension.UpdateDefinition.IWithSettings<ParentT>, Microsoft.Azure.Management.Compute.Fluent.VirtualMachineExtension.UpdateDefinition.IWithTags<ParentT>, Microsoft.Azure.Management.Compute.Fluent.VirtualMachineExtension.UpdateDefinition.IWithType<ParentT>, Microsoft.Azure.Management.Compute.Fluent.VirtualMachineExtension.UpdateDefinition.IWithVersion<ParentT>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ChildResource.Update.IInUpdate<ParentT>
type IUpdateDefinition<'ParentT> = interface
    interface IBlank<'ParentT>
    interface IWithImageOrPublisher<'ParentT>
    interface IWithPublisher<'ParentT>
    interface IWithType<'ParentT>
    interface IWithVersion<'ParentT>
    interface IWithAttach<'ParentT>
    interface IInUpdate<'ParentT>
    interface IWithAutoUpgradeMinorVersion<'ParentT>
    interface IWithSettings<'ParentT>
    interface IWithTags<'ParentT>
Public Interface IUpdateDefinition(Of ParentT)
Implements IBlank(Of ParentT), IInUpdate(Of ParentT), IWithAttach(Of ParentT), IWithAutoUpgradeMinorVersion(Of ParentT), IWithImageOrPublisher(Of ParentT), IWithPublisher(Of ParentT), IWithSettings(Of ParentT), IWithTags(Of ParentT), IWithType(Of ParentT), IWithVersion(Of ParentT)

类型参数

ParentT

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

实现

方法

Attach()

作为父更新的一部分的整个虚拟机扩展定义。

(继承自 IInUpdate<ParentT>)
WithImage(IVirtualMachineExtensionImage)

指定要使用的虚拟机扩展映像。

(继承自 IWithImageOrPublisher<ParentT>)
WithMinorVersionAutoUpgrade()

启用扩展的自动升级。

(继承自 IWithAutoUpgradeMinorVersion<ParentT>)
WithoutMinorVersionAutoUpgrade()

禁用扩展的自动升级。

(继承自 IWithAutoUpgradeMinorVersion<ParentT>)
WithProtectedSetting(String, Object)

指定专用设置条目。

(继承自 IWithSettings<ParentT>)
WithProtectedSettings(IDictionary<String,Object>)

指定专用设置。

(继承自 IWithSettings<ParentT>)
WithPublicSetting(String, Object)

指定公共设置条目。

(继承自 IWithSettings<ParentT>)
WithPublicSettings(IDictionary<String,Object>)

指定公共设置。

(继承自 IWithSettings<ParentT>)
WithPublisher(String)

指定虚拟机扩展映像发布者的名称。

(继承自 IWithPublisher<ParentT>)
WithTag(String, String)

将标记添加到资源。

(继承自 IWithTags<ParentT>)
WithTags(IDictionary<String,String>)

指定资源的标记。

(继承自 IWithTags<ParentT>)
WithType(String)

指定虚拟机扩展映像的类型。

(继承自 IWithType<ParentT>)
WithVersion(String)

指定虚拟机映像扩展的版本。

(继承自 IWithVersion<ParentT>)

适用于