ConfigurationModelFactory.PercentileAllocation(String, Double, Double) 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.
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.