Share via


VirtualMachine Constructors

Definition

Overloads

VirtualMachine()
VirtualMachine(String, String, String, String, IDictionary<String, String>, Plan, HardwareProfile, StorageProfile, OSProfile, NetworkProfile, DiagnosticsProfile, SubResource, String, VirtualMachineInstanceView, String, String, IList<VirtualMachineExtension>, VirtualMachineIdentity, IList<String>)

VirtualMachine()

public VirtualMachine ();
Public Sub New ()

Applies to

VirtualMachine(String, String, String, String, IDictionary<String, String>, Plan, HardwareProfile, StorageProfile, OSProfile, NetworkProfile, DiagnosticsProfile, SubResource, String, VirtualMachineInstanceView, String, String, IList<VirtualMachineExtension>, VirtualMachineIdentity, IList<String>)

public VirtualMachine (string location, string id = default, string name = default, string type = default, System.Collections.Generic.IDictionary<string,string> tags = default, Microsoft.Azure.Commands.Common.Compute.Version_2018_04.Models.Plan plan = default, Microsoft.Azure.Commands.Common.Compute.Version_2018_04.Models.HardwareProfile hardwareProfile = default, Microsoft.Azure.Commands.Common.Compute.Version_2018_04.Models.StorageProfile storageProfile = default, Microsoft.Azure.Commands.Common.Compute.Version_2018_04.Models.OSProfile osProfile = default, Microsoft.Azure.Commands.Common.Compute.Version_2018_04.Models.NetworkProfile networkProfile = default, Microsoft.Azure.Commands.Common.Compute.Version_2018_04.Models.DiagnosticsProfile diagnosticsProfile = default, Microsoft.Azure.Commands.Common.Compute.Version_2018_04.Models.SubResource availabilitySet = default, string provisioningState = default, Microsoft.Azure.Commands.Common.Compute.Version_2018_04.Models.VirtualMachineInstanceView instanceView = default, string licenseType = default, string vmId = default, System.Collections.Generic.IList<Microsoft.Azure.Commands.Common.Compute.Version_2018_04.Models.VirtualMachineExtension> resources = default, Microsoft.Azure.Commands.Common.Compute.Version_2018_04.Models.VirtualMachineIdentity identity = default, System.Collections.Generic.IList<string> zones = default);
new Microsoft.Azure.Commands.Common.Compute.Version_2018_04.Models.VirtualMachine : string * string * string * string * System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.Commands.Common.Compute.Version_2018_04.Models.Plan * Microsoft.Azure.Commands.Common.Compute.Version_2018_04.Models.HardwareProfile * Microsoft.Azure.Commands.Common.Compute.Version_2018_04.Models.StorageProfile * Microsoft.Azure.Commands.Common.Compute.Version_2018_04.Models.OSProfile * Microsoft.Azure.Commands.Common.Compute.Version_2018_04.Models.NetworkProfile * Microsoft.Azure.Commands.Common.Compute.Version_2018_04.Models.DiagnosticsProfile * Microsoft.Azure.Commands.Common.Compute.Version_2018_04.Models.SubResource * string * Microsoft.Azure.Commands.Common.Compute.Version_2018_04.Models.VirtualMachineInstanceView * string * string * System.Collections.Generic.IList<Microsoft.Azure.Commands.Common.Compute.Version_2018_04.Models.VirtualMachineExtension> * Microsoft.Azure.Commands.Common.Compute.Version_2018_04.Models.VirtualMachineIdentity * System.Collections.Generic.IList<string> -> Microsoft.Azure.Commands.Common.Compute.Version_2018_04.Models.VirtualMachine
Public Sub New (location 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 plan As Plan = Nothing, Optional hardwareProfile As HardwareProfile = Nothing, Optional storageProfile As StorageProfile = Nothing, Optional osProfile As OSProfile = Nothing, Optional networkProfile As NetworkProfile = Nothing, Optional diagnosticsProfile As DiagnosticsProfile = Nothing, Optional availabilitySet As SubResource = Nothing, Optional provisioningState As String = Nothing, Optional instanceView As VirtualMachineInstanceView = Nothing, Optional licenseType As String = Nothing, Optional vmId As String = Nothing, Optional resources As IList(Of VirtualMachineExtension) = Nothing, Optional identity As VirtualMachineIdentity = Nothing, Optional zones As IList(Of String) = Nothing)

Parameters

location
String
id
String
name
String
type
String
plan
Plan
hardwareProfile
HardwareProfile
storageProfile
StorageProfile
osProfile
OSProfile
networkProfile
NetworkProfile
diagnosticsProfile
DiagnosticsProfile
availabilitySet
SubResource
provisioningState
String
licenseType
String
vmId
String
zones
IList<String>

Applies to