ConfigurationModelFactory.PercentileAllocation(String, Double, Double) Method

Definition

Feature Flag PercentileAllocation object.

public static Azure.Data.AppConfiguration.PercentileAllocation PercentileAllocation(string variant = default, double from = 0, double to = 0);
static member PercentileAllocation : string * double * double -> Azure.Data.AppConfiguration.PercentileAllocation
Public Shared Function PercentileAllocation (Optional variant As String = Nothing, Optional from As Double = 0, Optional to As Double = 0) As PercentileAllocation

Parameters

variant
String

The variant to allocate these percentiles to.

from
Double

The lower bounds for this percentile allocation.

to
Double

The upper bounds for this percentile allocation.

Returns

A new PercentileAllocation instance for mocking.

Applies to