VirtualMachineScaleSetVMExtension Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
VirtualMachineScaleSetVMExtension()
Initializes a new instance of the VirtualMachineScaleSetVMExtension class.
public VirtualMachineScaleSetVMExtension ();
Public Sub New ()
Applies to
VirtualMachineScaleSetVMExtension(String, String, String, String, String, String, Nullable<Boolean>, Nullable<Boolean>, Object, Object, String, VirtualMachineExtensionInstanceView, Nullable<Boolean>, KeyVaultSecretReference)
public VirtualMachineScaleSetVMExtension (string name, string type, string forceUpdateTag, string publisher = default, string type1 = default, string typeHandlerVersion = default, bool? autoUpgradeMinorVersion = default, bool? enableAutomaticUpgrade = default, object settings = default, object protectedSettings = default, string provisioningState = default, Microsoft.Azure.Management.Compute.Models.VirtualMachineExtensionInstanceView instanceView = default, bool? suppressFailures = default, Microsoft.Azure.Management.Compute.Models.KeyVaultSecretReference protectedSettingsFromKeyVault = default);
new Microsoft.Azure.Management.Compute.Models.VirtualMachineScaleSetVMExtension : string * string * string * string * string * string * Nullable<bool> * Nullable<bool> * obj * obj * string * Microsoft.Azure.Management.Compute.Models.VirtualMachineExtensionInstanceView * Nullable<bool> * Microsoft.Azure.Management.Compute.Models.KeyVaultSecretReference -> Microsoft.Azure.Management.Compute.Models.VirtualMachineScaleSetVMExtension
Public Sub New (name As String, type As String, forceUpdateTag As String, 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 instanceView As VirtualMachineExtensionInstanceView = Nothing, Optional suppressFailures As Nullable(Of Boolean) = Nothing, Optional protectedSettingsFromKeyVault As KeyVaultSecretReference = Nothing)
Parameters
- name
- String
- type
- String
- forceUpdateTag
- String
- publisher
- String
- type1
- String
- typeHandlerVersion
- String
- settings
- Object
- protectedSettings
- Object
- provisioningState
- String
- instanceView
- VirtualMachineExtensionInstanceView
- protectedSettingsFromKeyVault
- KeyVaultSecretReference
Applies to
VirtualMachineScaleSetVMExtension(String, String, String, String, String, String, String, Nullable<Boolean>, Nullable<Boolean>, Object, Object, String, VirtualMachineExtensionInstanceView, Nullable<Boolean>, KeyVaultSecretReference)
Initializes a new instance of the VirtualMachineScaleSetVMExtension class.
public VirtualMachineScaleSetVMExtension (string id, string name, string type, string forceUpdateTag, string publisher = default, string type1 = default, string typeHandlerVersion = default, bool? autoUpgradeMinorVersion = default, bool? enableAutomaticUpgrade = default, object settings = default, object protectedSettings = default, string provisioningState = default, Microsoft.Azure.Management.Compute.Models.VirtualMachineExtensionInstanceView instanceView = default, bool? suppressFailures = default, Microsoft.Azure.Management.Compute.Models.KeyVaultSecretReference protectedSettingsFromKeyVault = default);
new Microsoft.Azure.Management.Compute.Models.VirtualMachineScaleSetVMExtension : string * string * string * string * string * string * string * Nullable<bool> * Nullable<bool> * obj * obj * string * Microsoft.Azure.Management.Compute.Models.VirtualMachineExtensionInstanceView * Nullable<bool> * Microsoft.Azure.Management.Compute.Models.KeyVaultSecretReference -> Microsoft.Azure.Management.Compute.Models.VirtualMachineScaleSetVMExtension
Public Sub New (id As String, name As String, type As String, forceUpdateTag As String, 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 instanceView As VirtualMachineExtensionInstanceView = 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
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.
- type1
- String
Specifies the type of the extension; an example is "CustomScriptExtension".
- typeHandlerVersion
- String
Specifies the version of the script handler.
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.
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.
- instanceView
- VirtualMachineExtensionInstanceView
The virtual machine extension instance view.
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
VirtualMachineScaleSetVMExtension(String, String, String, String, String, String, String, Nullable<Boolean>, Nullable<Boolean>, Object, Object, String, VirtualMachineExtensionInstanceView, Nullable<Boolean>, KeyVaultSecretReference, IList<String>)
Initializes a new instance of the VirtualMachineScaleSetVMExtension class.
public VirtualMachineScaleSetVMExtension (string name = default, string type = default, string location = 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, Microsoft.Azure.Management.Compute.Models.VirtualMachineExtensionInstanceView instanceView = default, bool? suppressFailures = default, Microsoft.Azure.Management.Compute.Models.KeyVaultSecretReference protectedSettingsFromKeyVault = default, System.Collections.Generic.IList<string> provisionAfterExtensions = default);
new Microsoft.Azure.Management.Compute.Models.VirtualMachineScaleSetVMExtension : string * string * string * string * string * string * string * Nullable<bool> * Nullable<bool> * obj * obj * string * Microsoft.Azure.Management.Compute.Models.VirtualMachineExtensionInstanceView * Nullable<bool> * Microsoft.Azure.Management.Compute.Models.KeyVaultSecretReference * System.Collections.Generic.IList<string> -> Microsoft.Azure.Management.Compute.Models.VirtualMachineScaleSetVMExtension
Public Sub New (Optional name As String = Nothing, Optional type As String = Nothing, Optional location 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 instanceView As VirtualMachineExtensionInstanceView = Nothing, Optional suppressFailures As Nullable(Of Boolean) = Nothing, Optional protectedSettingsFromKeyVault As KeyVaultSecretReference = Nothing, Optional provisionAfterExtensions As IList(Of String) = Nothing)
Parameters
- name
- String
The name of the extension.
- type
- String
Resource type
- location
- String
The location of the extension.
- 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.
- type1
- String
Specifies the type of the extension; an example is "CustomScriptExtension".
- typeHandlerVersion
- String
Specifies the version of the script handler.
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.
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.
- instanceView
- VirtualMachineExtensionInstanceView
The virtual machine extension instance view.
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
Collection of extension names after which this extension needs to be provisioned.
Applies to
VirtualMachineScaleSetVMExtension(String, String, String, String, String, String, String, String, Nullable<Boolean>, Nullable<Boolean>, Object, Object, String, VirtualMachineExtensionInstanceView, Nullable<Boolean>, KeyVaultSecretReference)
public VirtualMachineScaleSetVMExtension (string id = default, string name = default, string type = default, string location = 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, Microsoft.Azure.Management.Compute.Models.VirtualMachineExtensionInstanceView instanceView = default, bool? suppressFailures = default, Microsoft.Azure.Management.Compute.Models.KeyVaultSecretReference protectedSettingsFromKeyVault = default);
new Microsoft.Azure.Management.Compute.Models.VirtualMachineScaleSetVMExtension : string * string * string * string * string * string * string * string * Nullable<bool> * Nullable<bool> * obj * obj * string * Microsoft.Azure.Management.Compute.Models.VirtualMachineExtensionInstanceView * Nullable<bool> * Microsoft.Azure.Management.Compute.Models.KeyVaultSecretReference -> Microsoft.Azure.Management.Compute.Models.VirtualMachineScaleSetVMExtension
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional location 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 instanceView As VirtualMachineExtensionInstanceView = Nothing, Optional suppressFailures As Nullable(Of Boolean) = Nothing, Optional protectedSettingsFromKeyVault As KeyVaultSecretReference = Nothing)
Parameters
- id
- String
- name
- String
- type
- String
- location
- String
- forceUpdateTag
- String
- publisher
- String
- type1
- String
- typeHandlerVersion
- String
- settings
- Object
- protectedSettings
- Object
- provisioningState
- String
- instanceView
- VirtualMachineExtensionInstanceView
- protectedSettingsFromKeyVault
- KeyVaultSecretReference
Applies to
Azure SDK for .NET