ArmComputeModelFactory.MaxInstancePercentPerZonePolicy Method

Definition

public static Azure.ResourceManager.Compute.Models.MaxInstancePercentPerZonePolicy MaxInstancePercentPerZonePolicy(bool? enabled = default, int? value = default);
static member MaxInstancePercentPerZonePolicy : Nullable<bool> * Nullable<int> -> Azure.ResourceManager.Compute.Models.MaxInstancePercentPerZonePolicy
Public Shared Function MaxInstancePercentPerZonePolicy (Optional enabled As Nullable(Of Boolean) = Nothing, Optional value As Nullable(Of Integer) = Nothing) As MaxInstancePercentPerZonePolicy

Parameters

enabled
Nullable<Boolean>

Specifies whether maxInstancePercentPerZonePolicy should be enabled on the virtual machine scale set.

value
Nullable<Int32>

Limit on the number of instances in each zone as a percentage of the total capacity of the virtual machine scale set.

Returns

A new MaxInstancePercentPerZonePolicy instance for mocking.

Applies to