Share via


MachineExtensionUpdateProperties Class

Definition

Describes a Machine Extension.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.MachineExtensionUpdatePropertiesTypeConverter))]
public class MachineExtensionUpdateProperties : Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtensionUpdateProperties
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.MachineExtensionUpdatePropertiesTypeConverter))>]
type MachineExtensionUpdateProperties = class
    interface IMachineExtensionUpdateProperties
    interface IJsonSerializable
Public Class MachineExtensionUpdateProperties
Implements IMachineExtensionUpdateProperties
Inheritance
MachineExtensionUpdateProperties
Attributes
Implements

Constructors

MachineExtensionUpdateProperties()

Creates an new MachineExtensionUpdateProperties instance.

Properties

AutoUpgradeMinorVersion

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

Indicates whether the extension should be automatically upgraded by the platform if there is a newer version available.

ForceUpdateTag

How the extension handler should be forced to update even if the extension configuration has not changed.

ProtectedSetting

The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.

Publisher

The name of the extension handler publisher.

Setting

Json formatted public settings for the extension.

Type

Specifies the type of the extension; an example is "CustomScriptExtension".

TypeHandlerVersion

Specifies the version of the script handler.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of MachineExtensionUpdateProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of MachineExtensionUpdateProperties.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtensionUpdateProperties.

FromJsonString(String)

Creates a new instance of MachineExtensionUpdateProperties, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of MachineExtensionUpdateProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to