Condividi tramite


VirtualMachineExtensionImage Constructors

Definition

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

vmScaleSetEnabled
Nullable<Boolean>

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.

supportsMultipleExtensions
Nullable<Boolean>

Whether the handler can support multiple extensions.

Applies to