VirtualMachineScaleSetVMInner 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
VirtualMachineScaleSetVMInner() |
Initializes a new instance of the VirtualMachineScaleSetVMInner class. |
VirtualMachineScaleSetVMInner(String, String, String, String, IDictionary<String,String>, String, Sku, Nullable<Boolean>, String, VirtualMachineScaleSetVMInstanceView, HardwareProfile, StorageProfile, AdditionalCapabilities, OSProfile, SecurityProfile, NetworkProfile, VirtualMachineScaleSetVMNetworkProfileConfiguration, DiagnosticsProfile, SubResource, String, String, String, VirtualMachineScaleSetVMProtectionPolicy, Plan, IList<VirtualMachineExtensionInner>, IList<String>) |
Initializes a new instance of the VirtualMachineScaleSetVMInner class. |
VirtualMachineScaleSetVMInner()
Initializes a new instance of the VirtualMachineScaleSetVMInner class.
public VirtualMachineScaleSetVMInner ();
Public Sub New ()
Applies to
VirtualMachineScaleSetVMInner(String, String, String, String, IDictionary<String,String>, String, Sku, Nullable<Boolean>, String, VirtualMachineScaleSetVMInstanceView, HardwareProfile, StorageProfile, AdditionalCapabilities, OSProfile, SecurityProfile, NetworkProfile, VirtualMachineScaleSetVMNetworkProfileConfiguration, DiagnosticsProfile, SubResource, String, String, String, VirtualMachineScaleSetVMProtectionPolicy, Plan, IList<VirtualMachineExtensionInner>, IList<String>)
Initializes a new instance of the VirtualMachineScaleSetVMInner class.
public VirtualMachineScaleSetVMInner (string location, string id = default, string name = default, string type = default, System.Collections.Generic.IDictionary<string,string> tags = default, string instanceId = default, Microsoft.Azure.Management.Compute.Fluent.Models.Sku sku = default, bool? latestModelApplied = default, string vmId = default, Microsoft.Azure.Management.Compute.Fluent.Models.VirtualMachineScaleSetVMInstanceView instanceView = default, Microsoft.Azure.Management.Compute.Fluent.Models.HardwareProfile hardwareProfile = default, Microsoft.Azure.Management.Compute.Fluent.Models.StorageProfile storageProfile = default, Microsoft.Azure.Management.Compute.Fluent.Models.AdditionalCapabilities additionalCapabilities = default, Microsoft.Azure.Management.Compute.Fluent.Models.OSProfile osProfile = default, Microsoft.Azure.Management.Compute.Fluent.Models.SecurityProfile securityProfile = default, Microsoft.Azure.Management.Compute.Fluent.Models.NetworkProfile networkProfile = default, Microsoft.Azure.Management.Compute.Fluent.Models.VirtualMachineScaleSetVMNetworkProfileConfiguration networkProfileConfiguration = default, Microsoft.Azure.Management.Compute.Fluent.Models.DiagnosticsProfile diagnosticsProfile = default, Microsoft.Azure.Management.ResourceManager.Fluent.SubResource availabilitySet = default, string provisioningState = default, string licenseType = default, string modelDefinitionApplied = default, Microsoft.Azure.Management.Compute.Fluent.Models.VirtualMachineScaleSetVMProtectionPolicy protectionPolicy = default, Microsoft.Azure.Management.Compute.Fluent.Models.Plan plan = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Fluent.Models.VirtualMachineExtensionInner> resources = default, System.Collections.Generic.IList<string> zones = default);
new Microsoft.Azure.Management.Compute.Fluent.Models.VirtualMachineScaleSetVMInner : string * string * string * string * System.Collections.Generic.IDictionary<string, string> * string * Microsoft.Azure.Management.Compute.Fluent.Models.Sku * Nullable<bool> * string * Microsoft.Azure.Management.Compute.Fluent.Models.VirtualMachineScaleSetVMInstanceView * Microsoft.Azure.Management.Compute.Fluent.Models.HardwareProfile * Microsoft.Azure.Management.Compute.Fluent.Models.StorageProfile * Microsoft.Azure.Management.Compute.Fluent.Models.AdditionalCapabilities * Microsoft.Azure.Management.Compute.Fluent.Models.OSProfile * Microsoft.Azure.Management.Compute.Fluent.Models.SecurityProfile * Microsoft.Azure.Management.Compute.Fluent.Models.NetworkProfile * Microsoft.Azure.Management.Compute.Fluent.Models.VirtualMachineScaleSetVMNetworkProfileConfiguration * Microsoft.Azure.Management.Compute.Fluent.Models.DiagnosticsProfile * Microsoft.Azure.Management.ResourceManager.Fluent.SubResource * string * string * string * Microsoft.Azure.Management.Compute.Fluent.Models.VirtualMachineScaleSetVMProtectionPolicy * Microsoft.Azure.Management.Compute.Fluent.Models.Plan * System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Fluent.Models.VirtualMachineExtensionInner> * System.Collections.Generic.IList<string> -> Microsoft.Azure.Management.Compute.Fluent.Models.VirtualMachineScaleSetVMInner
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 instanceId As String = Nothing, Optional sku As Sku = Nothing, Optional latestModelApplied As Nullable(Of Boolean) = Nothing, Optional vmId As String = Nothing, Optional instanceView As VirtualMachineScaleSetVMInstanceView = Nothing, Optional hardwareProfile As HardwareProfile = Nothing, Optional storageProfile As StorageProfile = Nothing, Optional additionalCapabilities As AdditionalCapabilities = Nothing, Optional osProfile As OSProfile = Nothing, Optional securityProfile As SecurityProfile = Nothing, Optional networkProfile As NetworkProfile = Nothing, Optional networkProfileConfiguration As VirtualMachineScaleSetVMNetworkProfileConfiguration = Nothing, Optional diagnosticsProfile As DiagnosticsProfile = Nothing, Optional availabilitySet As SubResource = Nothing, Optional provisioningState As String = Nothing, Optional licenseType As String = Nothing, Optional modelDefinitionApplied As String = Nothing, Optional protectionPolicy As VirtualMachineScaleSetVMProtectionPolicy = Nothing, Optional plan As Plan = Nothing, Optional resources As IList(Of VirtualMachineExtensionInner) = Nothing, Optional zones As IList(Of String) = Nothing)
Parameters
- location
- String
- id
- String
- name
- String
- type
- String
- tags
- IDictionary<String,String>
- 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
- VirtualMachineScaleSetVMInstanceView
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.
- additionalCapabilities
- AdditionalCapabilities
Specifies additional capabilities enabled or disabled on the virtual machine in the scale set. For instance: whether the virtual machine has the capability to support attaching managed data disks with UltraSSD_LRS storage account type.
- osProfile
- OSProfile
Specifies the operating system settings for the virtual machine.
- securityProfile
- SecurityProfile
Specifies the Security related profile settings for the virtual machine.
- networkProfile
- NetworkProfile
Specifies the network interfaces of the virtual machine.
- networkProfileConfiguration
- VirtualMachineScaleSetVMNetworkProfileConfiguration
Specifies the network profile configuration 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 maintenance, 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
- modelDefinitionApplied
- String
Specifies whether the model applied to the virtual machine is the model of the virtual machine scale set or the customized model for the virtual machine.
- protectionPolicy
- VirtualMachineScaleSetVMProtectionPolicy
Specifies the protection policy of the virtual machine.
- 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<VirtualMachineExtensionInner>
The virtual machine child extension resources.
Applies to
Azure SDK for .NET