Language

ArmComputeBulkActionsModelFactory.BulkCreateCustomOverride Method

Definition

A single per-VM override. Extends the shared override fields with a per-VM name.

public static Azure.ResourceManager.Compute.BulkActions.Models.BulkCreateCustomOverride BulkCreateCustomOverride(string virtualMachineName = default, string zone = default, Azure.ResourceManager.Resources.Models.ExtendedLocation extendedLocation = default, Azure.ResourceManager.Compute.BulkActions.Models.BulkActionsVirtualMachinePlacement placement = default, Azure.ResourceManager.Compute.BulkActions.Models.BulkActionVMProperties virtualMachineProfile = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.ResourceManager.Compute.BulkActions.Models.VirtualMachineIdentity identity = default, Azure.ResourceManager.Models.ArmPlan plan = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Compute.BulkActions.Models.BulkActionVMExtension> extensions = default);
static member BulkCreateCustomOverride : string * string * Azure.ResourceManager.Resources.Models.ExtendedLocation * Azure.ResourceManager.Compute.BulkActions.Models.BulkActionsVirtualMachinePlacement * Azure.ResourceManager.Compute.BulkActions.Models.BulkActionVMProperties * System.Collections.Generic.IDictionary<string, string> * Azure.ResourceManager.Compute.BulkActions.Models.VirtualMachineIdentity * Azure.ResourceManager.Models.ArmPlan * seq<Azure.ResourceManager.Compute.BulkActions.Models.BulkActionVMExtension> -> Azure.ResourceManager.Compute.BulkActions.Models.BulkCreateCustomOverride
Public Shared Function BulkCreateCustomOverride (Optional virtualMachineName As String = Nothing, Optional zone As String = Nothing, Optional extendedLocation As ExtendedLocation = Nothing, Optional placement As BulkActionsVirtualMachinePlacement = Nothing, Optional virtualMachineProfile As BulkActionVMProperties = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional identity As VirtualMachineIdentity = Nothing, Optional plan As ArmPlan = Nothing, Optional extensions As IEnumerable(Of BulkActionVMExtension) = Nothing) As BulkCreateCustomOverride

Parameters

virtualMachineName
String

ARM VM name for this VM. Optional; when omitted the name is generated from the prefix as {prefix}_{index}.

zone
String

The availability zone this VM is created in. Overrides the operation-level zones for this VM only. A null value does not override, so the VM is placed using the operation-level zones; an empty value does override and deploys this VM as a regional (non-zonal) VM.

extendedLocation
ExtendedLocation

The extended location this VM is created in. Overrides the operation-level extendedLocation for this VM only; when omitted the VM inherits the operation-level extendedLocation.

placement
BulkActionsVirtualMachinePlacement

The placement constraints applied to this VM. Overrides the operation-level placement for this VM only; when omitted the VM inherits the operation-level placement.

virtualMachineProfile
BulkActionVMProperties

VM profile, the same shape as operation-level ComputeProfile.virtualMachineProfile. Overrides the operation-level VM profile.

tags
IDictionary<String,String>

Tags overriding the operation-level tags.

identity
VirtualMachineIdentity

Identity overriding the operation-level identity.

plan
ArmPlan

Plan overriding the operation-level plan.

extensions
IEnumerable<BulkActionVMExtension>

Extensions. When non-empty they replace the operation-level extensions; when omitted the operation-level extensions are inherited.

Returns

A new BulkCreateCustomOverride instance for mocking.

Applies to