Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the VirtualMachineScaleSetUpdate
 /// class.
 /// </summary>
 /// <param name="tags">Resource tags</param>
 /// <param name="sku">The virtual machine scale set sku.</param>
 /// <param name="plan">The purchase plan when deploying a virtual
 /// machine scale set from VM Marketplace images.</param>
 /// <param name="upgradePolicy">The upgrade policy.</param>
 /// <param name="virtualMachineProfile">The virtual machine
 /// profile.</param>
 /// <param name="overprovision">Specifies whether the Virtual Machine
 /// Scale Set should be overprovisioned.</param>
 /// <param name="singlePlacementGroup">When true this limits the scale
 /// set to a single placement group, of max size 100 virtual
 /// machines.</param>
 /// <param name="identity">The identity of the virtual machine scale
 /// set, if configured.</param>
 public VirtualMachineScaleSetUpdate(IDictionary <string, string> tags = default(IDictionary <string, string>), Sku sku = default(Sku), Plan plan = default(Plan), UpgradePolicy upgradePolicy = default(UpgradePolicy), VirtualMachineScaleSetUpdateVMProfile virtualMachineProfile = default(VirtualMachineScaleSetUpdateVMProfile), bool?overprovision = default(bool?), bool?singlePlacementGroup = default(bool?), VirtualMachineScaleSetIdentity identity = default(VirtualMachineScaleSetIdentity))
     : base(tags)
 {
     Sku                   = sku;
     Plan                  = plan;
     UpgradePolicy         = upgradePolicy;
     VirtualMachineProfile = virtualMachineProfile;
     Overprovision         = overprovision;
     SinglePlacementGroup  = singlePlacementGroup;
     Identity              = identity;
     CustomInit();
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the VirtualMachineScaleSetUpdate
 /// class.
 /// </summary>
 /// <param name="tags">Resource tags</param>
 /// <param name="sku">The virtual machine scale set sku.</param>
 /// <param name="plan">The purchase plan when deploying a virtual
 /// machine scale set from VM Marketplace images.</param>
 /// <param name="upgradePolicy">The upgrade policy.</param>
 /// <param name="automaticRepairsPolicy">Policy for automatic
 /// repairs.</param>
 /// <param name="virtualMachineProfile">The virtual machine
 /// profile.</param>
 /// <param name="overprovision">Specifies whether the Virtual Machine
 /// Scale Set should be overprovisioned.</param>
 /// <param name="doNotRunExtensionsOnOverprovisionedVMs">When
 /// Overprovision is enabled, extensions are launched only on the
 /// requested number of VMs which are finally kept. This property will
 /// hence ensure that the extensions do not run on the extra
 /// overprovisioned VMs.</param>
 /// <param name="singlePlacementGroup">When true this limits the scale
 /// set to a single placement group, of max size 100 virtual
 /// machines.</param>
 /// <param name="additionalCapabilities">Specifies additional
 /// capabilities enabled or disabled on the Virtual Machines in the
 /// Virtual Machine Scale Set. For instance: whether the Virtual
 /// Machines have the capability to support attaching managed data
 /// disks with UltraSSD_LRS storage account type.</param>
 /// <param name="scaleInPolicy">Specifies the scale-in policy that
 /// decides which virtual machines are chosen for removal when a
 /// Virtual Machine Scale Set is scaled-in.</param>
 /// <param name="identity">The identity of the virtual machine scale
 /// set, if configured.</param>
 public VirtualMachineScaleSetUpdate(IDictionary <string, string> tags = default(IDictionary <string, string>), Sku sku = default(Sku), Plan plan = default(Plan), UpgradePolicy upgradePolicy = default(UpgradePolicy), AutomaticRepairsPolicy automaticRepairsPolicy = default(AutomaticRepairsPolicy), VirtualMachineScaleSetUpdateVMProfile virtualMachineProfile = default(VirtualMachineScaleSetUpdateVMProfile), bool?overprovision = default(bool?), bool?doNotRunExtensionsOnOverprovisionedVMs = default(bool?), bool?singlePlacementGroup = default(bool?), AdditionalCapabilities additionalCapabilities = default(AdditionalCapabilities), ScaleInPolicy scaleInPolicy = default(ScaleInPolicy), VirtualMachineScaleSetIdentity identity = default(VirtualMachineScaleSetIdentity))
     : base(tags)
 {
     Sku                    = sku;
     Plan                   = plan;
     UpgradePolicy          = upgradePolicy;
     AutomaticRepairsPolicy = automaticRepairsPolicy;
     VirtualMachineProfile  = virtualMachineProfile;
     Overprovision          = overprovision;
     DoNotRunExtensionsOnOverprovisionedVMs = doNotRunExtensionsOnOverprovisionedVMs;
     SinglePlacementGroup   = singlePlacementGroup;
     AdditionalCapabilities = additionalCapabilities;
     ScaleInPolicy          = scaleInPolicy;
     Identity = identity;
     CustomInit();
 }