VirtualMachineExtensionImage 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
VirtualMachineExtensionImage() |
Initializes a new instance of the VirtualMachineExtensionImage class. |
VirtualMachineExtensionImage(String, String, String, String, String, String, String, IDictionary<String,String>, Nullable<Boolean>, Nullable<Boolean>) |
Initializes a new instance of the VirtualMachineExtensionImage class. |
VirtualMachineExtensionImage()
Initializes a new instance of the VirtualMachineExtensionImage class.
public VirtualMachineExtensionImage ();
Public Sub New ()
Applies to
VirtualMachineExtensionImage(String, String, String, String, String, String, String, IDictionary<String,String>, Nullable<Boolean>, Nullable<Boolean>)
Initializes a new instance of the VirtualMachineExtensionImage class.
public VirtualMachineExtensionImage (string location, string operatingSystem, string computeRole, string handlerSchema, string id = default, string name = default, string type = default, System.Collections.Generic.IDictionary<string,string> tags = default, bool? vmScaleSetEnabled = default, bool? supportsMultipleExtensions = default);
new Microsoft.Azure.Management.Compute.Models.VirtualMachineExtensionImage : string * string * string * string * string * string * string * System.Collections.Generic.IDictionary<string, string> * Nullable<bool> * Nullable<bool> -> Microsoft.Azure.Management.Compute.Models.VirtualMachineExtensionImage
Public Sub New (location As String, operatingSystem As String, computeRole As String, handlerSchema As String, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional vmScaleSetEnabled As Nullable(Of Boolean) = Nothing, Optional supportsMultipleExtensions As Nullable(Of Boolean) = Nothing)
Parameters
- location
- String
Resource location
- operatingSystem
- String
The operating system this extension supports.
- computeRole
- String
The type of role (IaaS or PaaS) this extension supports.
- handlerSchema
- String
The schema defined by publisher, where extension consumers should provide settings in a matching schema.
- id
- String
Resource Id
- name
- String
Resource name
- type
- String
Resource type
- tags
- IDictionary<String,String>
Resource tags
Whether the extension can be used on xRP VMScaleSets. By default existing extensions are usable on scalesets, but there might be cases where a publisher wants to explicitly indicate the extension is only enabled for CRP VMs but not VMSS.
Applies to
Azure SDK for .NET