ArmComputeFleetModelFactory.ZonePreference Method

Definition

public static Azure.ResourceManager.ComputeFleet.Models.ZonePreference ZonePreference(string zone = default, int? rank = default);
static member ZonePreference : string * Nullable<int> -> Azure.ResourceManager.ComputeFleet.Models.ZonePreference
Public Shared Function ZonePreference (Optional zone As String = Nothing, Optional rank As Nullable(Of Integer) = Nothing) As ZonePreference

Parameters

zone
String

Name of the zone.

rank
Nullable<Int32>

The rank of the zone. This is used with 'Prioritized' ZoneDistributionStrategy. The lower the number, the higher the priority, starting with 0. 0 is the highest rank. If not specified, defaults to lowest rank.

Returns

A new ZonePreference instance for mocking.

Applies to