다음을 통해 공유


VMSSExtension Constructors

Definition

Overloads

VMSSExtension()

Initializes a new instance of the VMSSExtension class.

VMSSExtension(String, String, String, String, String, Nullable<Boolean>, Object, Object, String, IList<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, String, Nullable<Boolean>, Object, Object, String, IList<String>)

Initializes a new instance of the VMSSExtension class.

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

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.

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.

provisioningState
String

The provisioning state, which only appears in the response.

provisionAfterExtensions
IList<String>

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

Applies to