/// <summary> /// Initializes a new instance of the VirtualMachineScaleSetVMProfile /// class. /// </summary> /// <param name="osProfile">Specifies the operating system settings for /// the virtual machines in the scale set.</param> /// <param name="storageProfile">Specifies the storage settings for the /// virtual machine disks.</param> /// <param name="networkProfile">Specifies properties of the network /// interfaces of the virtual machines in the scale set.</param> /// <param name="securityProfile">Specifies the Security related /// profile settings for the virtual machines in the scale set.</param> /// <param name="diagnosticsProfile">Specifies the boot diagnostic /// settings state. <br><br>Minimum api-version: /// 2015-06-15.</param> /// <param name="extensionProfile">Specifies a collection of settings /// for extensions installed on virtual machines in the scale /// set.</param> /// <param name="licenseType">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](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-hybrid-use-benefit-licensing?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json) /// <br><br> Minimum api-version: 2015-06-15</param> /// <param name="priority">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'</param> /// <param name="evictionPolicy">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'</param> /// <param name="billingProfile">Specifies the billing related details /// of a Azure Spot VMSS. <br><br>Minimum api-version: /// 2019-03-01.</param> /// <param name="scheduledEventsProfile">Specifies Scheduled Event /// related configurations.</param> public VirtualMachineScaleSetVMProfile(VirtualMachineScaleSetOSProfile osProfile = default(VirtualMachineScaleSetOSProfile), VirtualMachineScaleSetStorageProfile storageProfile = default(VirtualMachineScaleSetStorageProfile), VirtualMachineScaleSetNetworkProfile networkProfile = default(VirtualMachineScaleSetNetworkProfile), SecurityProfile securityProfile = default(SecurityProfile), DiagnosticsProfile diagnosticsProfile = default(DiagnosticsProfile), VirtualMachineScaleSetExtensionProfile extensionProfile = default(VirtualMachineScaleSetExtensionProfile), string licenseType = default(string), VirtualMachinePriorityTypes priority = default(VirtualMachinePriorityTypes), VirtualMachineEvictionPolicyTypes evictionPolicy = default(VirtualMachineEvictionPolicyTypes), BillingProfile billingProfile = default(BillingProfile), ScheduledEventsProfile scheduledEventsProfile = default(ScheduledEventsProfile)) { OsProfile = osProfile; StorageProfile = storageProfile; NetworkProfile = networkProfile; SecurityProfile = securityProfile; DiagnosticsProfile = diagnosticsProfile; ExtensionProfile = extensionProfile; LicenseType = licenseType; Priority = priority; EvictionPolicy = evictionPolicy; BillingProfile = billingProfile; ScheduledEventsProfile = scheduledEventsProfile; CustomInit(); }