VMExtension 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
VMExtension() |
Initializes a new instance of the VMExtension class. |
VMExtension(String, String, String, String, Nullable<Boolean>, Object, Object, IList<String>) |
Initializes a new instance of the VMExtension class. |
VMExtension()
Initializes a new instance of the VMExtension class.
public VMExtension ();
Public Sub New ()
Applies to
VMExtension(String, String, String, String, Nullable<Boolean>, Object, Object, IList<String>)
Initializes a new instance of the VMExtension class.
public VMExtension (string name, string publisher, string type, string typeHandlerVersion = default, bool? autoUpgradeMinorVersion = default, object settings = default, object protectedSettings = default, System.Collections.Generic.IList<string> provisionAfterExtensions = default);
new Microsoft.Azure.Management.Batch.Models.VMExtension : string * string * string * string * Nullable<bool> * obj * obj * System.Collections.Generic.IList<string> -> Microsoft.Azure.Management.Batch.Models.VMExtension
Public Sub New (name As String, publisher As String, type As String, Optional typeHandlerVersion As String = Nothing, Optional autoUpgradeMinorVersion As Nullable(Of Boolean) = Nothing, Optional settings As Object = Nothing, Optional protectedSettings As Object = Nothing, Optional provisionAfterExtensions As IList(Of String) = Nothing)
Parameters
- name
- String
The name of the virtual machine extension.
- publisher
- String
The name of the extension handler publisher.
- type
- String
The type of the extensions.
- typeHandlerVersion
- String
The version of 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.
- 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.
Applies to
Azure SDK for .NET