Share via


ExtensionParameters Class

Definition

Describes the properties of a Machine Extension. This object mirrors the definition in HybridCompute.

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

Constructors

ExtensionParameters()

Creates an new ExtensionParameters 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

Protected settings (may contain secrets).

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. Latest version would be used if not specified.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ExtensionParameters.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ExtensionParameters.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ExtensionParameters into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to