ArmHciModelFactory.ArcExtensionData Method

Definition

Initializes a new instance of ArcExtensionData.

public static Azure.ResourceManager.Hci.ArcExtensionData ArcExtensionData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.Hci.Models.HciProvisioningState? provisioningState = default, Azure.ResourceManager.Hci.Models.ArcExtensionAggregateState? aggregateState = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Hci.Models.PerNodeExtensionState> perNodeExtensionDetails = default, Azure.ResourceManager.Hci.Models.ArcExtensionManagedBy? managedBy = default, string forceUpdateTag = default, string publisher = default, string arcExtensionType = default, string typeHandlerVersion = default, bool? shouldAutoUpgradeMinorVersion = default, BinaryData settings = default, BinaryData protectedSettings = default, bool? enableAutomaticUpgrade = default);
static member ArcExtensionData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.ResourceManager.Hci.Models.HciProvisioningState> * Nullable<Azure.ResourceManager.Hci.Models.ArcExtensionAggregateState> * seq<Azure.ResourceManager.Hci.Models.PerNodeExtensionState> * Nullable<Azure.ResourceManager.Hci.Models.ArcExtensionManagedBy> * string * string * string * string * Nullable<bool> * BinaryData * BinaryData * Nullable<bool> -> Azure.ResourceManager.Hci.ArcExtensionData
Public Shared Function ArcExtensionData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional provisioningState As Nullable(Of HciProvisioningState) = Nothing, Optional aggregateState As Nullable(Of ArcExtensionAggregateState) = Nothing, Optional perNodeExtensionDetails As IEnumerable(Of PerNodeExtensionState) = Nothing, Optional managedBy As Nullable(Of ArcExtensionManagedBy) = Nothing, Optional forceUpdateTag As String = Nothing, Optional publisher As String = Nothing, Optional arcExtensionType As String = Nothing, Optional typeHandlerVersion As String = Nothing, Optional shouldAutoUpgradeMinorVersion As Nullable(Of Boolean) = Nothing, Optional settings As BinaryData = Nothing, Optional protectedSettings As BinaryData = Nothing, Optional enableAutomaticUpgrade As Nullable(Of Boolean) = Nothing) As ArcExtensionData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

provisioningState
Nullable<HciProvisioningState>

Provisioning state of the Extension proxy resource.

aggregateState
Nullable<ArcExtensionAggregateState>

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

perNodeExtensionDetails
IEnumerable<PerNodeExtensionState>

State of Arc Extension in each of the nodes.

managedBy
Nullable<ArcExtensionManagedBy>

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

forceUpdateTag
String

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

publisher
String

The name of the extension handler publisher.

arcExtensionType
String

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

typeHandlerVersion
String

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

shouldAutoUpgradeMinorVersion
Nullable<Boolean>

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.

settings
BinaryData

Json formatted public settings for the extension.

protectedSettings
BinaryData

Protected settings (may contain secrets).

enableAutomaticUpgrade
Nullable<Boolean>

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

Returns

A new ArcExtensionData instance for mocking.

Applies to