ArmComputeModelFactory.VirtualMachineExtensionImageData Method

Definition

Initializes a new instance of VirtualMachineExtensionImageData.

public static Azure.ResourceManager.Compute.VirtualMachineExtensionImageData VirtualMachineExtensionImageData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, string operatingSystem = default, string computeRole = default, string handlerSchema = default, bool? virtualMachineScaleSetEnabled = default, bool? supportsMultipleExtensions = default);
static member VirtualMachineExtensionImageData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * string * string * string * Nullable<bool> * Nullable<bool> -> Azure.ResourceManager.Compute.VirtualMachineExtensionImageData
Public Shared Function VirtualMachineExtensionImageData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional operatingSystem As String = Nothing, Optional computeRole As String = Nothing, Optional handlerSchema As String = Nothing, Optional virtualMachineScaleSetEnabled As Nullable(Of Boolean) = Nothing, Optional supportsMultipleExtensions As Nullable(Of Boolean) = Nothing) As VirtualMachineExtensionImageData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

tags
IDictionary<String,String>

The tags.

location
AzureLocation

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

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

Returns

A new VirtualMachineExtensionImageData instance for mocking.

Applies to