Partager via


Extension Class

Definition

Details of a particular extension in HCI Cluster.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Models.Api20230301.ExtensionTypeConverter))]
public class Extension : Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Models.Api20230301.IExtension, Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Models.Api20230301.ExtensionTypeConverter))>]
type Extension = class
    interface IExtension
    interface IJsonSerializable
    interface IResource
    interface IValidates
Public Class Extension
Implements IExtension, IValidates
Inheritance
Extension
Attributes
Implements

Constructors

Extension()

Creates an new Extension instance.

Properties

AggregateState

Aggregate state of Arc Extensions across the nodes in this HCI cluster.

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

ManagedBy

Indicates if the extension is managed by azure or the user.

Name

The name of the resource

ParameterAutoUpgradeMinorVersion

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.

ParameterEnableAutomaticUpgrade

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

ParameterForceUpdateTag

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

ParameterProtectedSetting

Protected settings (may contain secrets).

ParameterPublisher

The name of the extension handler publisher.

ParameterSetting

Json formatted public settings for the extension.

ParameterType

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

ParameterTypeHandlerVersion

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

PerNodeExtensionDetail

State of Arc Extension in each of the nodes.

ProvisioningState

Provisioning state of the Extension proxy resource.

ResourceGroupName

Gets the resource group name

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

SystemDataCreatedAt

The timestamp of resource creation (UTC).

SystemDataCreatedBy

The identity that created the resource.

SystemDataCreatedByType

The type of identity that created the resource.

SystemDataLastModifiedAt

The timestamp of resource last modification (UTC)

SystemDataLastModifiedBy

The identity that last modified the resource.

SystemDataLastModifiedByType

The type of identity that last modified the resource.

Type

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of Extension.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of Extension.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Models.Api20230301.IExtension.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of Extension into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to