VirtualMachineScaleSetVM Constructors
Definition
Overloads
VirtualMachineScaleSetVM() |
Initializes a new instance of the VirtualMachineScaleSetVM class. |
VirtualMachineScaleSetVM(String, String, String, String, IDictionary<String,String>, String, Sku, Nullable<Boolean>, String, VirtualMachineInstanceView, HardwareProfile, StorageProfile, OSProfile, NetworkProfile, DiagnosticsProfile, SubResource, String, String, Plan, IList<VirtualMachineExtension>) |
Initializes a new instance of the VirtualMachineScaleSetVM class. |
VirtualMachineScaleSetVM()
Initializes a new instance of the VirtualMachineScaleSetVM class.
public VirtualMachineScaleSetVM ();
Public Sub New ()
Applies to
Product | Introduced |
---|
VirtualMachineScaleSetVM(String, String, String, String, IDictionary<String,String>, String, Sku, Nullable<Boolean>, String, VirtualMachineInstanceView, HardwareProfile, StorageProfile, OSProfile, NetworkProfile, DiagnosticsProfile, SubResource, String, String, Plan, IList<VirtualMachineExtension>)
Initializes a new instance of the VirtualMachineScaleSetVM class.
public VirtualMachineScaleSetVM (string location, string id = null, string name = null, string type = null, System.Collections.Generic.IDictionary<string,string> tags = null, string instanceId = null, Microsoft.Azure.Management.Compute.Models.Sku sku = null, Nullable<bool> latestModelApplied = null, string vmId = null, Microsoft.Azure.Management.Compute.Models.VirtualMachineInstanceView instanceView = null, Microsoft.Azure.Management.Compute.Models.HardwareProfile hardwareProfile = null, Microsoft.Azure.Management.Compute.Models.StorageProfile storageProfile = null, Microsoft.Azure.Management.Compute.Models.OSProfile osProfile = null, Microsoft.Azure.Management.Compute.Models.NetworkProfile networkProfile = null, Microsoft.Azure.Management.Compute.Models.DiagnosticsProfile diagnosticsProfile = null, Microsoft.Azure.Management.Compute.Models.SubResource availabilitySet = null, string provisioningState = null, string licenseType = null, Microsoft.Azure.Management.Compute.Models.Plan plan = null, System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.VirtualMachineExtension> resources = null);
new Microsoft.Azure.Management.Compute.Models.VirtualMachineScaleSetVM : string * string * string * string * System.Collections.Generic.IDictionary<string, string> * string * Microsoft.Azure.Management.Compute.Models.Sku * Nullable<bool> * string * Microsoft.Azure.Management.Compute.Models.VirtualMachineInstanceView * Microsoft.Azure.Management.Compute.Models.HardwareProfile * Microsoft.Azure.Management.Compute.Models.StorageProfile * Microsoft.Azure.Management.Compute.Models.OSProfile * Microsoft.Azure.Management.Compute.Models.NetworkProfile * Microsoft.Azure.Management.Compute.Models.DiagnosticsProfile * Microsoft.Azure.Management.Compute.Models.SubResource * string * string * Microsoft.Azure.Management.Compute.Models.Plan * System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.VirtualMachineExtension> -> Microsoft.Azure.Management.Compute.Models.VirtualMachineScaleSetVM
Parameters
- location
- String
Resource location
- id
- String
Resource Id
- name
- String
Resource name
- type
- String
Resource type
- tags
- IDictionary<String,String>
Resource tags
- instanceId
- String
The virtual machine instance ID.
- sku
- Sku
The virtual machine SKU.
Specifies whether the latest model has been applied to the virtual machine.
- vmId
- String
Azure VM unique ID.
- instanceView
- VirtualMachineInstanceView
The virtual machine instance view.
- hardwareProfile
- HardwareProfile
Specifies the hardware settings for the virtual machine.
- storageProfile
- StorageProfile
Specifies the storage settings for the virtual machine disks.
- osProfile
- OSProfile
Specifies the operating system settings for the virtual machine.
- networkProfile
- NetworkProfile
Specifies the network interfaces of the virtual machine.
- diagnosticsProfile
- DiagnosticsProfile
Specifies the boot diagnostic settings state. <br><br>Minimum api-version: 2015-06-15.
- availabilitySet
- SubResource
Specifies information about the availability set that the virtual machine should be assigned to. Virtual machines specified in the same availability set are allocated to different nodes to maximize availability. For more information about availability sets, see Manage the availability of virtual machines. <br><br> For more information on Azure planned maintainance, see Planned maintenance for virtual machines in Azure <br><br> Currently, a VM can only be added to availability set at creation time. An existing VM cannot be added to an availability set.
- provisioningState
- String
The provisioning state, which only appears in the response.
- licenseType
- String
Specifies that the image or disk that is being used was licensed on-premises. This element is only used for images that contain the Windows Server operating system. <br><br> Possible values are: <br><br> Windows_Client <br><br> Windows_Server <br><br> If this element is included in a request for an update, the value must match the initial value. This value cannot be updated. <br><br> For more information, see Azure Hybrid Use Benefit for Windows Server <br><br> Minimum api-version: 2015-06-15
- plan
- Plan
Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click Want to deploy programmatically, Get Started ->. Enter any required information and then click Save.
- resources
- IList<VirtualMachineExtension>
The virtual machine child extension resources.
Applies to
Product | Introduced |
---|