Sprog

ArmComputeModelFactory.VirtualMachineExtensionImageData Method

Definition

public static Azure.ResourceManager.Compute.VirtualMachineExtensionImageData VirtualMachineExtensionImageData(Azure.Core.ResourceIdentifier id, string name, Azure.Core.ResourceType resourceType, Azure.ResourceManager.Models.SystemData systemData, System.Collections.Generic.IDictionary<string,string> tags, Azure.Core.AzureLocation location, string operatingSystem, string computeRole, string handlerSchema, bool? virtualMachineScaleSetEnabled, bool? supportsMultipleExtensions, string releaseNotes, Azure.ResourceManager.Compute.Models.ReleaseCategory? releaseCategory = default, Azure.ResourceManager.Compute.Models.UrgencyLevel? urgencyLevel = default, Azure.ResourceManager.Compute.Models.RunProfile? runProfile = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Compute.Models.ExtensionFeatureTag> extensionFeatureTags = 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> * string * Nullable<Azure.ResourceManager.Compute.Models.ReleaseCategory> * Nullable<Azure.ResourceManager.Compute.Models.UrgencyLevel> * Nullable<Azure.ResourceManager.Compute.Models.RunProfile> * seq<Azure.ResourceManager.Compute.Models.ExtensionFeatureTag> -> Azure.ResourceManager.Compute.VirtualMachineExtensionImageData
Public Shared Function VirtualMachineExtensionImageData (id As ResourceIdentifier, name As String, resourceType As ResourceType, systemData As SystemData, tags As IDictionary(Of String, String), location As AzureLocation, operatingSystem As String, computeRole As String, handlerSchema As String, virtualMachineScaleSetEnabled As Nullable(Of Boolean), supportsMultipleExtensions As Nullable(Of Boolean), releaseNotes As String, Optional releaseCategory As Nullable(Of ReleaseCategory) = Nothing, Optional urgencyLevel As Nullable(Of UrgencyLevel) = Nothing, Optional runProfile As Nullable(Of RunProfile) = Nothing, Optional extensionFeatureTags As IEnumerable(Of ExtensionFeatureTag) = Nothing) As VirtualMachineExtensionImageData

Parameters

id
ResourceIdentifier

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

name
String

The name of the resource.

resourceType
ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

systemData
SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

tags
IDictionary<String,String>

Resource tags.

location
AzureLocation

The geo-location where the resource lives.

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.

releaseNotes
String

Summary of changes or updates in this extension version.

releaseCategory
Nullable<ReleaseCategory>

Categorizes the type of change introduced (e.g., BugFix, SecurityFix, CompatibilityUpdate, NewFeature, Other).

urgencyLevel
Nullable<UrgencyLevel>

Indicates the urgency level for applying this extension update.

runProfile
Nullable<RunProfile>

Specifies when and how the extension should be executed.

extensionFeatureTags
IEnumerable<ExtensionFeatureTag>

List of additional metadata properties (e.g., compliance flags, supported features).

Returns

A new VirtualMachineExtensionImageData instance for mocking.

Applies to