Language

CostControlAdditionalInfoFilter Class

Definition

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.In is supported.

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.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<CostControlAdditionalInfoFilter>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<CostControlAdditionalInfoFilter>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IPersistableModel<CostControlAdditionalInfoFilter>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<CostControlAdditionalInfoFilter>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<CostControlAdditionalInfoFilter>.Write(ModelReaderWriterOptions)

Applies to