Share via


ExtensionPatchParameters Class

Definition

Describes the properties of a Machine Extension that can be updated.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Models.Api20240401.ExtensionPatchParametersTypeConverter))]
public class ExtensionPatchParameters : Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Models.Api20240401.IExtensionPatchParameters
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Models.Api20240401.ExtensionPatchParametersTypeConverter))>]
type ExtensionPatchParameters = class
    interface IExtensionPatchParameters
    interface IJsonSerializable
Public Class ExtensionPatchParameters
Implements IExtensionPatchParameters
Inheritance
ExtensionPatchParameters
Attributes
Implements

Constructors

ExtensionPatchParameters()

Creates an new ExtensionPatchParameters instance.

Properties

EnableAutomaticUpgrade

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

ProtectedSetting

Protected settings (may contain secrets).

Setting

Json formatted public settings for the extension.

TypeHandlerVersion

Specifies the version of the script handler. Latest version would be used if not specified.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ExtensionPatchParameters.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ExtensionPatchParameters.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Models.Api20240401.IExtensionPatchParameters.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ExtensionPatchParameters into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to