共用方式為


VirtualMachineExtensionUpdate Class

Definition

Describes a Virtual Machine Extension.

[Microsoft.Rest.Serialization.JsonTransformation]
public class VirtualMachineExtensionUpdate : Microsoft.Azure.Management.Compute.Models.UpdateResource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type VirtualMachineExtensionUpdate = class
    inherit UpdateResource
Public Class VirtualMachineExtensionUpdate
Inherits UpdateResource
Inheritance
VirtualMachineExtensionUpdate
Attributes

Constructors

VirtualMachineExtensionUpdate()

Initializes a new instance of the VirtualMachineExtensionUpdate class.

VirtualMachineExtensionUpdate(IDictionary<String,String>, String, String, String, String, Nullable<Boolean>, Nullable<Boolean>, Object, Object, Nullable<Boolean>, KeyVaultSecretReference)

Initializes a new instance of the VirtualMachineExtensionUpdate class.

Properties

AutoUpgradeMinorVersion

Gets or sets indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.

EnableAutomaticUpgrade

Gets or sets indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.

ForceUpdateTag

Gets or sets how the extension handler should be forced to update even if the extension configuration has not changed.

ProtectedSettings

Gets or sets the extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.

ProtectedSettingsFromKeyVault

Gets or sets the extensions protected settings that are passed by reference, and consumed from key vault

Publisher

Gets or sets the name of the extension handler publisher.

Settings

Gets or sets json formatted public settings for the extension.

SuppressFailures

Gets or sets indicates whether failures stemming from the extension will be suppressed (Operational failures such as not connecting to the VM will not be suppressed regardless of this value). The default is false.

Tags

Gets or sets resource tags

(Inherited from UpdateResource)
Type

Gets or sets specifies the type of the extension; an example is "CustomScriptExtension".

TypeHandlerVersion

Gets or sets specifies the version of the script handler.

Methods

Validate()

Validate the object.

Applies to