Share via


VMExtension Class

Definition

The configuration for virtual machine extensions.

public class VMExtension
type VMExtension = class
Public Class VMExtension
Inheritance
VMExtension

Constructors

VMExtension()

Initializes a new instance of the VMExtension class.

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

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

Name

Gets or sets the name of the virtual machine extension.

ProtectedSettings

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

ProvisionAfterExtensions

Gets or sets the collection of extension names.

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 the type of the extensions.

TypeHandlerVersion

Gets or sets the version of script handler.

Methods

Validate()

Validate the object.

Applies to