/// <summary> /// Initializes a new instance of the VirtualMachineScaleSetVMProfile /// class. /// </summary> public VirtualMachineScaleSetVMProfile(VirtualMachineScaleSetOSProfile osProfile = default(VirtualMachineScaleSetOSProfile), VirtualMachineScaleSetStorageProfile storageProfile = default(VirtualMachineScaleSetStorageProfile), VirtualMachineScaleSetNetworkProfile networkProfile = default(VirtualMachineScaleSetNetworkProfile), VirtualMachineScaleSetExtensionProfile extensionProfile = default(VirtualMachineScaleSetExtensionProfile)) { OsProfile = osProfile; StorageProfile = storageProfile; NetworkProfile = networkProfile; ExtensionProfile = extensionProfile; }
/// <summary> /// Initializes a new instance of the /// VirtualMachineScaleSetUpdateVMProfile class. /// </summary> /// <param name="osProfile">The virtual machine scale set OS /// profile.</param> /// <param name="storageProfile">The virtual machine scale set storage /// profile.</param> /// <param name="networkProfile">The virtual machine scale set network /// profile.</param> /// <param name="diagnosticsProfile">The virtual machine scale set /// diagnostics profile.</param> /// <param name="extensionProfile">The virtual machine scale set /// extension profile.</param> /// <param name="licenseType">The license type, which is for bring your /// own license scenario.</param> public VirtualMachineScaleSetUpdateVMProfile(VirtualMachineScaleSetUpdateOSProfile osProfile = default(VirtualMachineScaleSetUpdateOSProfile), VirtualMachineScaleSetUpdateStorageProfile storageProfile = default(VirtualMachineScaleSetUpdateStorageProfile), VirtualMachineScaleSetUpdateNetworkProfile networkProfile = default(VirtualMachineScaleSetUpdateNetworkProfile), DiagnosticsProfile diagnosticsProfile = default(DiagnosticsProfile), VirtualMachineScaleSetExtensionProfile extensionProfile = default(VirtualMachineScaleSetExtensionProfile), string licenseType = default(string)) { OsProfile = osProfile; StorageProfile = storageProfile; NetworkProfile = networkProfile; DiagnosticsProfile = diagnosticsProfile; ExtensionProfile = extensionProfile; LicenseType = licenseType; CustomInit(); }
/// <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="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'</param> /// <param name="evictionPolicy">Specifies the eviction policy for /// virtual machines in a low priority scale set. /// <br><br>Minimum api-version: 2017-10-30-preview. /// Possible values include: 'Deallocate', 'Delete'</param> public VirtualMachineScaleSetVMProfile(VirtualMachineScaleSetOSProfile osProfile = default(VirtualMachineScaleSetOSProfile), VirtualMachineScaleSetStorageProfile storageProfile = default(VirtualMachineScaleSetStorageProfile), VirtualMachineScaleSetNetworkProfile networkProfile = default(VirtualMachineScaleSetNetworkProfile), DiagnosticsProfile diagnosticsProfile = default(DiagnosticsProfile), VirtualMachineScaleSetExtensionProfile extensionProfile = default(VirtualMachineScaleSetExtensionProfile), string licenseType = default(string), string priority = default(string), string evictionPolicy = default(string)) { OsProfile = osProfile; StorageProfile = storageProfile; NetworkProfile = networkProfile; DiagnosticsProfile = diagnosticsProfile; ExtensionProfile = extensionProfile; LicenseType = licenseType; Priority = priority; EvictionPolicy = evictionPolicy; CustomInit(); }
/// <summary> /// Initializes a new instance of the /// VirtualMachineScaleSetUpdateVMProfile class. /// </summary> /// <param name="osProfile">The virtual machine scale set OS /// profile.</param> /// <param name="storageProfile">The virtual machine scale set storage /// profile.</param> /// <param name="networkProfile">The virtual machine scale set network /// profile.</param> /// <param name="securityProfile">The virtual machine scale set /// Security profile</param> /// <param name="diagnosticsProfile">The virtual machine scale set /// diagnostics profile.</param> /// <param name="extensionProfile">The virtual machine scale set /// extension profile.</param> /// <param name="licenseType">The license type, which is for bring your /// own license scenario.</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 VirtualMachineScaleSetUpdateVMProfile(VirtualMachineScaleSetUpdateOSProfile osProfile = default(VirtualMachineScaleSetUpdateOSProfile), VirtualMachineScaleSetUpdateStorageProfile storageProfile = default(VirtualMachineScaleSetUpdateStorageProfile), VirtualMachineScaleSetUpdateNetworkProfile networkProfile = default(VirtualMachineScaleSetUpdateNetworkProfile), SecurityProfile securityProfile = default(SecurityProfile), DiagnosticsProfile diagnosticsProfile = default(DiagnosticsProfile), VirtualMachineScaleSetExtensionProfile extensionProfile = default(VirtualMachineScaleSetExtensionProfile), string licenseType = default(string), BillingProfile billingProfile = default(BillingProfile), ScheduledEventsProfile scheduledEventsProfile = default(ScheduledEventsProfile)) { OsProfile = osProfile; StorageProfile = storageProfile; NetworkProfile = networkProfile; SecurityProfile = securityProfile; DiagnosticsProfile = diagnosticsProfile; ExtensionProfile = extensionProfile; LicenseType = licenseType; BillingProfile = billingProfile; ScheduledEventsProfile = scheduledEventsProfile; CustomInit(); }
/// <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. <br><br> Possible /// values for Windows Server operating system are: /// <br><br> Windows_Client <br><br> /// Windows_Server <br><br> Possible values for Linux /// Server operating system are: <br><br> RHEL_BYOS (for /// RHEL) <br><br> SLES_BYOS (for SUSE) /// <br><br> For more information, see [Azure Hybrid Use /// Benefit for Windows /// Server](https://docs.microsoft.com/azure/virtual-machines/windows/hybrid-use-benefit-licensing) /// <br><br> [Azure Hybrid Use Benefit for Linux /// Server](https://docs.microsoft.com/azure/virtual-machines/linux/azure-hybrid-benefit-linux) /// <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), string priority = default(string), string evictionPolicy = default(string), 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(); }
/// <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. <br><br> Possible /// values for Windows Server operating system are: /// <br><br> Windows_Client <br><br> /// Windows_Server <br><br> Possible values for Linux /// Server operating system are: <br><br> RHEL_BYOS (for /// RHEL) <br><br> SLES_BYOS (for SUSE) /// <br><br> For more information, see [Azure Hybrid Use /// Benefit for Windows /// Server](https://docs.microsoft.com/azure/virtual-machines/windows/hybrid-use-benefit-licensing) /// <br><br> [Azure Hybrid Use Benefit for Linux /// Server](https://docs.microsoft.com/azure/virtual-machines/linux/azure-hybrid-benefit-linux) /// <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> /// <param name="userData">UserData for the virtual machines in the /// scale set, which must be base-64 encoded. Customer should not pass /// any secrets in here. <br><br>Minimum api-version: /// 2021-03-01</param> /// <param name="capacityReservation">Specifies the capacity /// reservation related details of a scale set. /// <br><br>Minimum api-version: 2021-04-01.</param> /// <param name="applicationProfile">Specifies the gallery applications /// that should be made available to the VM/VMSS</param> /// <param name="hardwareProfile">Specifies the hardware profile /// related details of a scale set. <br><br>Minimum /// api-version: 2022-03-01.</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), string priority = default(string), string evictionPolicy = default(string), BillingProfile billingProfile = default(BillingProfile), ScheduledEventsProfile scheduledEventsProfile = default(ScheduledEventsProfile), string userData = default(string), CapacityReservationProfile capacityReservation = default(CapacityReservationProfile), ApplicationProfile applicationProfile = default(ApplicationProfile), VirtualMachineScaleSetHardwareProfile hardwareProfile = default(VirtualMachineScaleSetHardwareProfile)) { OsProfile = osProfile; StorageProfile = storageProfile; NetworkProfile = networkProfile; SecurityProfile = securityProfile; DiagnosticsProfile = diagnosticsProfile; ExtensionProfile = extensionProfile; LicenseType = licenseType; Priority = priority; EvictionPolicy = evictionPolicy; BillingProfile = billingProfile; ScheduledEventsProfile = scheduledEventsProfile; UserData = userData; CapacityReservation = capacityReservation; ApplicationProfile = applicationProfile; HardwareProfile = hardwareProfile; CustomInit(); }