VirtualMachine Constructors
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.
Overloads
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
- tags
- IDictionary<String,String>
- plan
- Plan
- hardwareProfile
- HardwareProfile
- storageProfile
- StorageProfile
- osProfile
- OSProfile
- networkProfile
- NetworkProfile
- diagnosticsProfile
- DiagnosticsProfile
- availabilitySet
- SubResource
- provisioningState
- String
- instanceView
- VirtualMachineInstanceView
- licenseType
- String
- vmId
- String
- resources
- IList<VirtualMachineExtension>
- identity
- VirtualMachineIdentity