ArmComputeScheduleModelFactory.BulkVmConfiguration Method
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.
Specifies the configuration for a virtual machine operation.
public static Azure.ResourceManager.ComputeSchedule.Models.BulkVmConfiguration BulkVmConfiguration(string name = default, string computeApiVersion = default, string resourceGroupName = default, System.Collections.Generic.IEnumerable<string> zones = default, Azure.ResourceManager.Models.ArmPlan plan = default, Azure.ResourceManager.Models.ManagedServiceIdentity identity = default, Azure.ResourceManager.Resources.Models.ExtendedLocation extendedLocation = default, Azure.ResourceManager.ComputeSchedule.Models.Placement placement = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.ResourceManager.ComputeSchedule.Models.BulkActionVirtualMachineProperties properties = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ComputeSchedule.Models.BulkActionVmExtension> vmExtensions = default);
static member BulkVmConfiguration : string * string * string * seq<string> * Azure.ResourceManager.Models.ArmPlan * Azure.ResourceManager.Models.ManagedServiceIdentity * Azure.ResourceManager.Resources.Models.ExtendedLocation * Azure.ResourceManager.ComputeSchedule.Models.Placement * System.Collections.Generic.IDictionary<string, string> * Azure.ResourceManager.ComputeSchedule.Models.BulkActionVirtualMachineProperties * seq<Azure.ResourceManager.ComputeSchedule.Models.BulkActionVmExtension> -> Azure.ResourceManager.ComputeSchedule.Models.BulkVmConfiguration
Public Shared Function BulkVmConfiguration (Optional name As String = Nothing, Optional computeApiVersion As String = Nothing, Optional resourceGroupName As String = Nothing, Optional zones As IEnumerable(Of String) = Nothing, Optional plan As ArmPlan = Nothing, Optional identity As ManagedServiceIdentity = Nothing, Optional extendedLocation As ExtendedLocation = Nothing, Optional placement As Placement = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional properties As BulkActionVirtualMachineProperties = Nothing, Optional vmExtensions As IEnumerable(Of BulkActionVmExtension) = Nothing) As BulkVmConfiguration
Parameters
- name
- String
Identifier for created virtual machine. If not passed, it will be created from resource prefix.
- computeApiVersion
- String
Specifies the Microsoft.Compute API version to use when creating underlying Virtual Machines.
- resourceGroupName
- String
Resource group name for the virtual machine.
- zones
- IEnumerable<String>
The availability zones.
- plan
- ArmPlan
The marketplace image plan used for the virtual machine.
- identity
- ManagedServiceIdentity
The identity of the virtual machine, if configured.
- extendedLocation
- ExtendedLocation
The extended location of the Virtual Machine.
- placement
- Placement
Placement constraints for virtual machine hardware placement.
- tags
- IDictionary<String,String>
Resource tags to apply to the virtual machines created by this bulk action.
- properties
- BulkActionVirtualMachineProperties
Specifies the properties of the virtual machine to be created.
- vmExtensions
- IEnumerable<BulkActionVmExtension>
Virtual Machine Extensions Array to be applied to the Virtual Machines.
Returns
A new BulkVmConfiguration instance for mocking.