Bagikan melalui


MachineExtensionUpdate Class

Definition

Describes a Machine Extension Update.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.MachineExtensionUpdateTypeConverter))]
public class MachineExtensionUpdate : System.Collections.Hashtable, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtensionUpdate, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.MachineExtensionUpdateTypeConverter))>]
type MachineExtensionUpdate = class
    inherit Hashtable
    interface IMachineExtensionUpdate
    interface IJsonSerializable
    interface IResourceUpdate
    interface IValidates
Public Class MachineExtensionUpdate
Inherits Hashtable
Implements IMachineExtensionUpdate, IValidates
Inheritance
MachineExtensionUpdate
Attributes
Implements

Constructors

MachineExtensionUpdate()

Creates an new MachineExtensionUpdate 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.

Tags

Resource tags

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 MachineExtensionUpdate.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of MachineExtensionUpdate.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of MachineExtensionUpdate into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to