语言

你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。

ConfigurationModelFactory.GroupAllocation Method

Definition

Feature Flag GroupAllocation object.

public static Azure.Data.AppConfiguration.GroupAllocation GroupAllocation(string variant = default, System.Collections.Generic.IEnumerable<string> groups = default);
static member GroupAllocation : string * seq<string> -> Azure.Data.AppConfiguration.GroupAllocation
Public Shared Function GroupAllocation (Optional variant As String = Nothing, Optional groups As IEnumerable(Of String) = Nothing) As GroupAllocation

Parameters

variant
String

The variant to allocate these percentiles to.

groups
IEnumerable<String>

The groups to get this variant.

Returns

A new GroupAllocation instance for mocking.

Applies to