VirtualMachineScaleSetVMProfile 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
VirtualMachineScaleSetVMProfile() |
Initializes a new instance of the VirtualMachineScaleSetVMProfile class. |
VirtualMachineScaleSetVMProfile(VirtualMachineScaleSetOSProfile, VirtualMachineScaleSetStorageProfile, VirtualMachineScaleSetNetworkProfile, SecurityProfile, DiagnosticsProfile, VirtualMachineScaleSetExtensionProfile, String, VirtualMachinePriorityTypes, VirtualMachineEvictionPolicyTypes, BillingProfile, ScheduledEventsProfile) |
Initializes a new instance of the VirtualMachineScaleSetVMProfile class. |
VirtualMachineScaleSetVMProfile()
Initializes a new instance of the VirtualMachineScaleSetVMProfile class.
public VirtualMachineScaleSetVMProfile ();
Public Sub New ()
Applies to
VirtualMachineScaleSetVMProfile(VirtualMachineScaleSetOSProfile, VirtualMachineScaleSetStorageProfile, VirtualMachineScaleSetNetworkProfile, SecurityProfile, DiagnosticsProfile, VirtualMachineScaleSetExtensionProfile, String, VirtualMachinePriorityTypes, VirtualMachineEvictionPolicyTypes, BillingProfile, ScheduledEventsProfile)
Initializes a new instance of the VirtualMachineScaleSetVMProfile class.
public VirtualMachineScaleSetVMProfile (Microsoft.Azure.Management.Compute.Fluent.Models.VirtualMachineScaleSetOSProfile osProfile = default, Microsoft.Azure.Management.Compute.Fluent.Models.VirtualMachineScaleSetStorageProfile storageProfile = default, Microsoft.Azure.Management.Compute.Fluent.Models.VirtualMachineScaleSetNetworkProfile networkProfile = default, Microsoft.Azure.Management.Compute.Fluent.Models.SecurityProfile securityProfile = default, Microsoft.Azure.Management.Compute.Fluent.Models.DiagnosticsProfile diagnosticsProfile = default, Microsoft.Azure.Management.Compute.Fluent.Models.VirtualMachineScaleSetExtensionProfile extensionProfile = default, string licenseType = default, Microsoft.Azure.Management.Compute.Fluent.Models.VirtualMachinePriorityTypes priority = default, Microsoft.Azure.Management.Compute.Fluent.Models.VirtualMachineEvictionPolicyTypes evictionPolicy = default, Microsoft.Azure.Management.Compute.Fluent.Models.BillingProfile billingProfile = default, Microsoft.Azure.Management.Compute.Fluent.Models.ScheduledEventsProfile scheduledEventsProfile = default);
new Microsoft.Azure.Management.Compute.Fluent.Models.VirtualMachineScaleSetVMProfile : Microsoft.Azure.Management.Compute.Fluent.Models.VirtualMachineScaleSetOSProfile * Microsoft.Azure.Management.Compute.Fluent.Models.VirtualMachineScaleSetStorageProfile * Microsoft.Azure.Management.Compute.Fluent.Models.VirtualMachineScaleSetNetworkProfile * Microsoft.Azure.Management.Compute.Fluent.Models.SecurityProfile * Microsoft.Azure.Management.Compute.Fluent.Models.DiagnosticsProfile * Microsoft.Azure.Management.Compute.Fluent.Models.VirtualMachineScaleSetExtensionProfile * string * Microsoft.Azure.Management.Compute.Fluent.Models.VirtualMachinePriorityTypes * Microsoft.Azure.Management.Compute.Fluent.Models.VirtualMachineEvictionPolicyTypes * Microsoft.Azure.Management.Compute.Fluent.Models.BillingProfile * Microsoft.Azure.Management.Compute.Fluent.Models.ScheduledEventsProfile -> Microsoft.Azure.Management.Compute.Fluent.Models.VirtualMachineScaleSetVMProfile
Public Sub New (Optional osProfile As VirtualMachineScaleSetOSProfile = Nothing, Optional storageProfile As VirtualMachineScaleSetStorageProfile = Nothing, Optional networkProfile As VirtualMachineScaleSetNetworkProfile = Nothing, Optional securityProfile As SecurityProfile = Nothing, Optional diagnosticsProfile As DiagnosticsProfile = Nothing, Optional extensionProfile As VirtualMachineScaleSetExtensionProfile = Nothing, Optional licenseType As String = Nothing, Optional priority As VirtualMachinePriorityTypes = Nothing, Optional evictionPolicy As VirtualMachineEvictionPolicyTypes = Nothing, Optional billingProfile As BillingProfile = Nothing, Optional scheduledEventsProfile As ScheduledEventsProfile = Nothing)
Parameters
- osProfile
- VirtualMachineScaleSetOSProfile
Specifies the operating system settings for the virtual machines in the scale set.
- storageProfile
- VirtualMachineScaleSetStorageProfile
Specifies the storage settings for the virtual machine disks.
- networkProfile
- VirtualMachineScaleSetNetworkProfile
Specifies properties of the network interfaces of the virtual machines in the scale set.
- securityProfile
- SecurityProfile
Specifies the Security related profile settings for the virtual machines in the scale set.
- diagnosticsProfile
- DiagnosticsProfile
Specifies the boot diagnostic settings state. <br><br>Minimum api-version: 2015-06-15.
- extensionProfile
- VirtualMachineScaleSetExtensionProfile
Specifies a collection of settings for extensions installed on virtual machines in the scale set.
- 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
- priority
- VirtualMachinePriorityTypes
Specifies the priority for the virtual machines in the scale set. <br><br>Minimum api-version: 2017-10-30-preview. Possible values include: 'Regular', 'Low', 'Spot'
- evictionPolicy
- VirtualMachineEvictionPolicyTypes
Specifies the eviction policy for the Azure Spot virtual machine and Azure Spot scale set. <br><br>For Azure Spot virtual machines, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2019-03-01. <br><br>For Azure Spot scale sets, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2017-10-30-preview. Possible values include: 'Deallocate', 'Delete'
- billingProfile
- BillingProfile
Specifies the billing related details of a Azure Spot VMSS. <br><br>Minimum api-version: 2019-03-01.
- scheduledEventsProfile
- ScheduledEventsProfile
Specifies Scheduled Event related configurations.
Applies to
Azure SDK for .NET