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

CognitiveServicesConnectionServicePrincipal Class

Definition

The CognitiveServicesConnectionServicePrincipal.

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

Constructors

Name Description
CognitiveServicesConnectionServicePrincipal()

Initializes a new instance of CognitiveServicesConnectionServicePrincipal.

Properties

Name Description
ClientId

Gets or sets the client id.

ClientSecret

Gets or sets the client secret.

TenantId

Gets or sets the tenant id.

Methods

Name Description
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<CognitiveServicesConnectionServicePrincipal>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<CognitiveServicesConnectionServicePrincipal>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<CognitiveServicesConnectionServicePrincipal>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CognitiveServicesConnectionServicePrincipal>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<CognitiveServicesConnectionServicePrincipal>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to