VirtualMachineExtension Class

Definition

Describes a Virtual Machine Extension.

[Microsoft.Rest.Serialization.JsonTransformation]
public class VirtualMachineExtension : Microsoft.Azure.Management.Compute.Models.Resource
type VirtualMachineExtension = class
    inherit Resource
Public Class VirtualMachineExtension
Inherits Resource
Inheritance
VirtualMachineExtension
Attributes

Constructors

VirtualMachineExtension()

Initializes a new instance of the VirtualMachineExtension class.

VirtualMachineExtension(String, String, String, String, IDictionary<String,String>, String, String, String, String, Nullable<Boolean>, Object, Object, String, VirtualMachineExtensionInstanceView)

Initializes a new instance of the VirtualMachineExtension 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 how the extension handler should be forced to update even if the extension configuration has not changed.

Id

Gets resource Id

(Inherited from Resource)
InstanceView

Gets or sets the virtual machine extension instance view.

Location

Gets or sets resource location

(Inherited from Resource)
Name

Gets resource name

(Inherited from Resource)
ProtectedSettings

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

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.

Tags

Gets or sets resource tags

(Inherited from Resource)
Type

Gets resource type

(Inherited from Resource)
TypeHandlerVersion

Gets or sets specifies the version of the script handler.

VirtualMachineExtensionType

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

Methods

Validate()

Validate the object.

Applies to