共用方式為


VMSSExtension Constructors

Definition

Overloads

VMSSExtension()

Initializes a new instance of the VMSSExtension class.

VMSSExtension(String, String, String, String, Nullable<Boolean>, Object, Object, String, IList<String>, String)

Initializes a new instance of the VMSSExtension class.

VMSSExtension()

Initializes a new instance of the VMSSExtension class.

public VMSSExtension ();
Public Sub New ()

Applies to

VMSSExtension(String, String, String, String, Nullable<Boolean>, Object, Object, String, IList<String>, String)

Initializes a new instance of the VMSSExtension class.

public VMSSExtension (string name, string publisher, string type, string typeHandlerVersion, bool? autoUpgradeMinorVersion = default, object settings = default, object protectedSettings = default, string forceUpdateTag = default, System.Collections.Generic.IList<string> provisionAfterExtensions = default, string provisioningState = default);
new Microsoft.Azure.Management.ServiceFabricManagedClusters.Models.VMSSExtension : string * string * string * string * Nullable<bool> * obj * obj * string * System.Collections.Generic.IList<string> * string -> Microsoft.Azure.Management.ServiceFabricManagedClusters.Models.VMSSExtension
Public Sub New (name As String, publisher As String, type As String, typeHandlerVersion As String, Optional autoUpgradeMinorVersion As Nullable(Of Boolean) = Nothing, Optional settings As Object = Nothing, Optional protectedSettings As Object = Nothing, Optional forceUpdateTag As String = Nothing, Optional provisionAfterExtensions As IList(Of String) = Nothing, Optional provisioningState As String = Nothing)

Parameters

name
String

The name of the extension.

publisher
String

The name of the extension handler publisher.

type
String

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

typeHandlerVersion
String

Specifies the version of the script handler.

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
Object

Json formatted public settings for the extension.

protectedSettings
Object

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

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.

provisionAfterExtensions
IList<String>

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

provisioningState
String

The provisioning state, which only appears in the response.

Applies to