CognitiveServicesRegionSetting Class

Definition

The call rate limit Cognitive Services account.

public class CognitiveServicesRegionSetting : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesRegionSetting>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesRegionSetting>
type CognitiveServicesRegionSetting = class
    interface IJsonModel<CognitiveServicesRegionSetting>
    interface IPersistableModel<CognitiveServicesRegionSetting>
Public Class CognitiveServicesRegionSetting
Implements IJsonModel(Of CognitiveServicesRegionSetting), IPersistableModel(Of CognitiveServicesRegionSetting)
Inheritance
CognitiveServicesRegionSetting
Implements

Constructors

CognitiveServicesRegionSetting()

Initializes a new instance of CognitiveServicesRegionSetting.

Properties

Customsubdomain

Maps the region to the regional custom subdomain.

Name

Name of the region.

Value

A value for priority or weighted routing methods.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<CognitiveServicesRegionSetting>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<CognitiveServicesRegionSetting>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<CognitiveServicesRegionSetting>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CognitiveServicesRegionSetting>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<CognitiveServicesRegionSetting>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to