Share via


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

CognitiveServicesConnectionServicePrincipal()

Initializes a new instance of CognitiveServicesConnectionServicePrincipal.

Properties

ClientId

Gets or sets the client id.

ClientSecret

Gets or sets the client secret.

TenantId

Gets or sets the tenant id.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

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