| | 1 | | // Copyright (c) Microsoft Corporation. All rights reserved. |
| | 2 | | // Licensed under the MIT License. |
| | 3 | |
|
| | 4 | | // <auto-generated/> |
| | 5 | |
|
| | 6 | | #nullable disable |
| | 7 | |
|
| | 8 | | using System.Collections.Generic; |
| | 9 | |
|
| | 10 | | namespace Azure.ResourceManager.Compute.Models |
| | 11 | | { |
| | 12 | | /// <summary> Describes a Virtual Machine Scale Set. </summary> |
| | 13 | | public partial class VirtualMachineScaleSetUpdate : UpdateResource |
| | 14 | | { |
| | 15 | | /// <summary> Initializes a new instance of VirtualMachineScaleSetUpdate. </summary> |
| 0 | 16 | | public VirtualMachineScaleSetUpdate() |
| | 17 | | { |
| 0 | 18 | | } |
| | 19 | |
|
| | 20 | | /// <summary> Initializes a new instance of VirtualMachineScaleSetUpdate. </summary> |
| | 21 | | /// <param name="tags"> Resource tags. </param> |
| | 22 | | /// <param name="sku"> The virtual machine scale set sku. </param> |
| | 23 | | /// <param name="plan"> The purchase plan when deploying a virtual machine scale set from VM Marketplace images. |
| | 24 | | /// <param name="identity"> The identity of the virtual machine scale set, if configured. </param> |
| | 25 | | /// <param name="upgradePolicy"> The upgrade policy. </param> |
| | 26 | | /// <param name="automaticRepairsPolicy"> Policy for automatic repairs. </param> |
| | 27 | | /// <param name="virtualMachineProfile"> The virtual machine profile. </param> |
| | 28 | | /// <param name="overprovision"> Specifies whether the Virtual Machine Scale Set should be overprovisioned. </pa |
| | 29 | | /// <param name="doNotRunExtensionsOnOverprovisionedVMs"> When Overprovision is enabled, extensions are launched |
| | 30 | | /// <param name="singlePlacementGroup"> When true this limits the scale set to a single placement group, of max |
| | 31 | | /// <param name="additionalCapabilities"> Specifies additional capabilities enabled or disabled on the Virtual M |
| | 32 | | /// <param name="scaleInPolicy"> Specifies the scale-in policy that decides which virtual machines are chosen fo |
| | 33 | | /// <param name="proximityPlacementGroup"> Specifies information about the proximity placement group that the vi |
| 0 | 34 | | internal VirtualMachineScaleSetUpdate(IDictionary<string, string> tags, Sku sku, Plan plan, VirtualMachineScaleS |
| | 35 | | { |
| 0 | 36 | | Sku = sku; |
| 0 | 37 | | Plan = plan; |
| 0 | 38 | | Identity = identity; |
| 0 | 39 | | UpgradePolicy = upgradePolicy; |
| 0 | 40 | | AutomaticRepairsPolicy = automaticRepairsPolicy; |
| 0 | 41 | | VirtualMachineProfile = virtualMachineProfile; |
| 0 | 42 | | Overprovision = overprovision; |
| 0 | 43 | | DoNotRunExtensionsOnOverprovisionedVMs = doNotRunExtensionsOnOverprovisionedVMs; |
| 0 | 44 | | SinglePlacementGroup = singlePlacementGroup; |
| 0 | 45 | | AdditionalCapabilities = additionalCapabilities; |
| 0 | 46 | | ScaleInPolicy = scaleInPolicy; |
| 0 | 47 | | ProximityPlacementGroup = proximityPlacementGroup; |
| 0 | 48 | | } |
| | 49 | |
|
| | 50 | | /// <summary> The virtual machine scale set sku. </summary> |
| 0 | 51 | | public Sku Sku { get; set; } |
| | 52 | | /// <summary> The purchase plan when deploying a virtual machine scale set from VM Marketplace images. </summary |
| 0 | 53 | | public Plan Plan { get; set; } |
| | 54 | | /// <summary> The identity of the virtual machine scale set, if configured. </summary> |
| 0 | 55 | | public VirtualMachineScaleSetIdentity Identity { get; set; } |
| | 56 | | /// <summary> The upgrade policy. </summary> |
| 0 | 57 | | public UpgradePolicy UpgradePolicy { get; set; } |
| | 58 | | /// <summary> Policy for automatic repairs. </summary> |
| 0 | 59 | | public AutomaticRepairsPolicy AutomaticRepairsPolicy { get; set; } |
| | 60 | | /// <summary> The virtual machine profile. </summary> |
| 0 | 61 | | public VirtualMachineScaleSetUpdateVMProfile VirtualMachineProfile { get; set; } |
| | 62 | | /// <summary> Specifies whether the Virtual Machine Scale Set should be overprovisioned. </summary> |
| 0 | 63 | | public bool? Overprovision { get; set; } |
| | 64 | | /// <summary> When Overprovision is enabled, extensions are launched only on the requested number of VMs which a |
| 0 | 65 | | public bool? DoNotRunExtensionsOnOverprovisionedVMs { get; set; } |
| | 66 | | /// <summary> When true this limits the scale set to a single placement group, of max size 100 virtual machines. |
| 0 | 67 | | public bool? SinglePlacementGroup { get; set; } |
| | 68 | | /// <summary> Specifies additional capabilities enabled or disabled on the Virtual Machines in the Virtual Machi |
| 0 | 69 | | public AdditionalCapabilities AdditionalCapabilities { get; set; } |
| | 70 | | /// <summary> Specifies the scale-in policy that decides which virtual machines are chosen for removal when a Vi |
| 0 | 71 | | public ScaleInPolicy ScaleInPolicy { get; set; } |
| | 72 | | /// <summary> Specifies information about the proximity placement group that the virtual machine scale set shoul |
| 0 | 73 | | public SubResource ProximityPlacementGroup { get; set; } |
| | 74 | | } |
| | 75 | | } |