Partilhar via


ArmComputeFleetModelFactory.ComputeFleetVmssExtensionProperties Method

Definition

Initializes a new instance of ComputeFleetVmssExtensionProperties.

public static Azure.ResourceManager.ComputeFleet.Models.ComputeFleetVmssExtensionProperties ComputeFleetVmssExtensionProperties (string forceUpdateTag = default, string publisher = default, string extensionType = default, string typeHandlerVersion = default, bool? shouldAutoUpgradeMinorVersion = default, bool? isAutomaticUpgradeEnabled = default, System.Collections.Generic.IDictionary<string,BinaryData> settings = default, System.Collections.Generic.IDictionary<string,BinaryData> protectedSettings = default, string provisioningState = default, System.Collections.Generic.IEnumerable<string> provisionAfterExtensions = default, bool? isSuppressFailuresEnabled = default, Azure.ResourceManager.ComputeFleet.Models.ComputeFleetKeyVaultSecretReference protectedSettingsFromKeyVault = default);
static member ComputeFleetVmssExtensionProperties : string * string * string * string * Nullable<bool> * Nullable<bool> * System.Collections.Generic.IDictionary<string, BinaryData> * System.Collections.Generic.IDictionary<string, BinaryData> * string * seq<string> * Nullable<bool> * Azure.ResourceManager.ComputeFleet.Models.ComputeFleetKeyVaultSecretReference -> Azure.ResourceManager.ComputeFleet.Models.ComputeFleetVmssExtensionProperties
Public Shared Function ComputeFleetVmssExtensionProperties (Optional forceUpdateTag As String = Nothing, Optional publisher As String = Nothing, Optional extensionType As String = Nothing, Optional typeHandlerVersion As String = Nothing, Optional shouldAutoUpgradeMinorVersion As Nullable(Of Boolean) = Nothing, Optional isAutomaticUpgradeEnabled 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 provisionAfterExtensions As IEnumerable(Of String) = Nothing, Optional isSuppressFailuresEnabled As Nullable(Of Boolean) = Nothing, Optional protectedSettingsFromKeyVault As ComputeFleetKeyVaultSecretReference = Nothing) As ComputeFleetVmssExtensionProperties

Parameters

forceUpdateTag
String

If a value is provided and is different from the previous value, the extension handler will be forced to update even if the extension configuration has not changed.

publisher
String

The name of the extension handler publisher.

extensionType
String

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

typeHandlerVersion
String

Specifies the version of the script handler.

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.

isAutomaticUpgradeEnabled
Nullable<Boolean>

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

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.

provisionAfterExtensions
IEnumerable<String>

Collection of extension names after which this extension needs to be provisioned.

isSuppressFailuresEnabled
Nullable<Boolean>

Indicates whether failures stemming from the extension will be suppressed (Operational failures such as not connecting to the VM will not be suppressed regardless of this value). The default is false.

protectedSettingsFromKeyVault
ComputeFleetKeyVaultSecretReference

The extensions protected settings that are passed by reference, and consumed from key vault

Returns

A new ComputeFleetVmssExtensionProperties instance for mocking.

Applies to