ArmComputeFleetModelFactory.ComputeFleetZoneAllocationPolicy Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
ZoneAllocationPolicy for Compute Fleet.
public static Azure.ResourceManager.ComputeFleet.Models.ComputeFleetZoneAllocationPolicy ComputeFleetZoneAllocationPolicy(Azure.ResourceManager.ComputeFleet.Models.ComputeFleetZoneDistributionStrategy distributionStrategy = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ComputeFleet.Models.ZonePreference> zonePreferences = default);
static member ComputeFleetZoneAllocationPolicy : Azure.ResourceManager.ComputeFleet.Models.ComputeFleetZoneDistributionStrategy * seq<Azure.ResourceManager.ComputeFleet.Models.ZonePreference> -> Azure.ResourceManager.ComputeFleet.Models.ComputeFleetZoneAllocationPolicy
Public Shared Function ComputeFleetZoneAllocationPolicy (Optional distributionStrategy As ComputeFleetZoneDistributionStrategy = Nothing, Optional zonePreferences As IEnumerable(Of ZonePreference) = Nothing) As ComputeFleetZoneAllocationPolicy
Parameters
- distributionStrategy
- ComputeFleetZoneDistributionStrategy
Distribution strategy used for zone allocation policy.
- zonePreferences
- IEnumerable<ZonePreference>
Zone preferences, required when zone distribution strategy is Prioritized.
Returns
A new ComputeFleetZoneAllocationPolicy instance for mocking.