VirtualMachineScaleSetExtension Constructors

Definition

Overloads

VirtualMachineScaleSetExtension()

Initializes a new instance of the VirtualMachineScaleSetExtension class.

VirtualMachineScaleSetExtension(String, String, String, String, String, String, String, Nullable<Boolean>, Nullable<Boolean>, Object, Object, String, IList<String>, Nullable<Boolean>, KeyVaultSecretReference)

Initializes a new instance of the VirtualMachineScaleSetExtension class.

VirtualMachineScaleSetExtension()

Initializes a new instance of the VirtualMachineScaleSetExtension class.

public VirtualMachineScaleSetExtension ();
Public Sub New ()

Applies to

VirtualMachineScaleSetExtension(String, String, String, String, String, String, String, Nullable<Boolean>, Nullable<Boolean>, Object, Object, String, IList<String>, Nullable<Boolean>, KeyVaultSecretReference)

Initializes a new instance of the VirtualMachineScaleSetExtension class.

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

Parameters

id
String

Resource Id

name
String

The name of the extension.

type
String

Resource type

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.

type1
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.

enableAutomaticUpgrade
Nullable<Boolean>

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

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.

suppressFailures
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
KeyVaultSecretReference

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

Applies to