共用方式為


VMSSExtension Class

Definition

Specifies set of extensions that should be installed onto the virtual machines.

[Microsoft.Rest.Serialization.JsonTransformation]
public class VMSSExtension
[<Microsoft.Rest.Serialization.JsonTransformation>]
type VMSSExtension = class
Public Class VMSSExtension
Inheritance
VMSSExtension
Attributes

Constructors

VMSSExtension()

Initializes a new instance of the VMSSExtension class.

VMSSExtension(String, String, String, String, String, Nullable<Boolean>, Object, Object, String, IList<String>)

Initializes a new instance of the VMSSExtension 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.

ForceUpdateTag

Gets or sets if a value is provided and is different from the previous value, the extension handler will be forced to update even if the extension configuration has not changed.

Name

Gets or sets the name of the extension.

ProtectedSettings

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

ProvisionAfterExtensions

Gets or sets collection of extension names after which this extension needs to be provisioned.

ProvisioningState

Gets the provisioning state, which only appears in the response.

Publisher

Gets or sets the name of the extension handler publisher.

Settings

Gets or sets json formatted public settings for the extension.

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