ArmHybridComputeModelFactory.MachineExtensionProperties Method

Definition

Initializes a new instance of MachineExtensionProperties.

public static Azure.ResourceManager.HybridCompute.Models.MachineExtensionProperties MachineExtensionProperties (string forceUpdateTag = default, string publisher = default, string machineExtensionPropertiesType = default, string typeHandlerVersion = default, bool? enableAutomaticUpgrade = default, bool? autoUpgradeMinorVersion = default, System.Collections.Generic.IDictionary<string,BinaryData> settings = default, System.Collections.Generic.IDictionary<string,BinaryData> protectedSettings = default, string provisioningState = default, Azure.ResourceManager.HybridCompute.Models.MachineExtensionInstanceView instanceView = default);
static member MachineExtensionProperties : string * string * string * string * Nullable<bool> * Nullable<bool> * System.Collections.Generic.IDictionary<string, BinaryData> * System.Collections.Generic.IDictionary<string, BinaryData> * string * Azure.ResourceManager.HybridCompute.Models.MachineExtensionInstanceView -> Azure.ResourceManager.HybridCompute.Models.MachineExtensionProperties
Public Shared Function MachineExtensionProperties (Optional forceUpdateTag As String = Nothing, Optional publisher As String = Nothing, Optional machineExtensionPropertiesType As String = Nothing, Optional typeHandlerVersion As String = Nothing, Optional enableAutomaticUpgrade As Nullable(Of Boolean) = Nothing, Optional autoUpgradeMinorVersion As Nullable(Of Boolean) = Nothing, Optional settings As IDictionary(Of String, BinaryData) = Nothing, Optional protectedSettings As IDictionary(Of String, BinaryData) = Nothing, Optional provisioningState As String = Nothing, Optional instanceView As MachineExtensionInstanceView = Nothing) As MachineExtensionProperties

Parameters

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.

machineExtensionPropertiesType
String

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

typeHandlerVersion
String

Specifies the version of the script handler.

enableAutomaticUpgrade
Nullable<Boolean>

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

autoUpgradeMinorVersion
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
IDictionary<String,BinaryData>

Json formatted public settings for the extension.

protectedSettings
IDictionary<String,BinaryData>

The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.

provisioningState
String

The provisioning state, which only appears in the response.

instanceView
MachineExtensionInstanceView

The machine extension instance view.

Returns

A new MachineExtensionProperties instance for mocking.

Applies to