Share via


MachineExtension Class

Definition

Describes a Machine Extension.

[Microsoft.Rest.Serialization.JsonTransformation]
public class MachineExtension : Microsoft.Azure.Management.HybridCompute.Models.TrackedResource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type MachineExtension = class
    inherit TrackedResource
Public Class MachineExtension
Inherits TrackedResource
Inheritance
MachineExtension
Attributes

Constructors

MachineExtension()

Initializes a new instance of the MachineExtension class.

MachineExtension(String, String, String, String, IDictionary<String, String>, String, String, String, String, Nullable<Boolean>, Object, Object, String, MachineExtensionPropertiesInstanceView)

Initializes a new instance of the MachineExtension 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 fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

(Inherited from Resource)
InstanceView

Gets or sets the machine extension instance view.

Location

Gets or sets the geo-location where the resource lives

(Inherited from TrackedResource)
MachineExtensionType

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

Name

Gets the name of the resource

(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 TrackedResource)
Type

Gets the type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.

(Inherited from Resource)
TypeHandlerVersion

Gets or sets specifies the version of the script handler.

Methods

Validate()

Validate the object.

Applies to