ArmComputeFleetModelFactory.ZonePreference 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.
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.
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.