CostControlAdditionalInfoFilter Class
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.
Selects traffic whose named additional-info attribute equals at least one of the supplied values.
public class CostControlAdditionalInfoFilter : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.CognitiveServices.Models.CostControlAdditionalInfoFilter>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.CognitiveServices.Models.CostControlAdditionalInfoFilter>
type CostControlAdditionalInfoFilter = class
interface IJsonModel<CostControlAdditionalInfoFilter>
interface IPersistableModel<CostControlAdditionalInfoFilter>
Public Class CostControlAdditionalInfoFilter
Implements IJsonModel(Of CostControlAdditionalInfoFilter), IPersistableModel(Of CostControlAdditionalInfoFilter)
- Inheritance
-
CostControlAdditionalInfoFilter
- Implements
Constructors
| Name | Description |
|---|---|
| CostControlAdditionalInfoFilter(CostControlFilterName, IEnumerable<String>) |
Initializes a new instance of CostControlAdditionalInfoFilter. |
Properties
| Name | Description |
|---|---|
| Name |
The built-in attribute: agent, sessionId, project, deployment, or tokenType. Resource selectors use owner-scoped short names, not Azure resource IDs. Agent selections require an explicit project filter selecting exactly one project; multiple agents in that project are supported. A project-owned control can select only its owning project. Project, agent, and deployment values must be plain names of 1-64 characters without leading or trailing whitespace, control characters, path/query/fragment separators, percent signs, or . and .. path segments. tokenType accepts input, output, or both for a Tokens budget; omission measures overall tokens. |
| Operator |
The comparison operator. |
| Values |
One or more nonempty, non-whitespace strings to match. There is no per-condition value-count limit; the serialized cost-control definition must not exceed 32 KiB. |