Share via


CustomCredential Class

Definition

Custom credential definition.

public class CustomCredential : Azure.AI.Projects.BaseCredentials, System.ClientModel.Primitives.IJsonModel<Azure.AI.Projects.CustomCredential>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Projects.CustomCredential>
type CustomCredential = class
    inherit BaseCredentials
    interface IJsonModel<CustomCredential>
    interface IPersistableModel<CustomCredential>
Public Class CustomCredential
Inherits BaseCredentials
Implements IJsonModel(Of CustomCredential), IPersistableModel(Of CustomCredential)
Inheritance
CustomCredential
Implements

Properties

Keys

The credential type.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<BaseCredentials>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

(Inherited from BaseCredentials)
IJsonModel<BaseCredentials>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from BaseCredentials)
IJsonModel<CustomCredential>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<CustomCredential>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<BaseCredentials>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from BaseCredentials)
IPersistableModel<BaseCredentials>.GetFormatFromOptions(ModelReaderWriterOptions)

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

(Inherited from BaseCredentials)
IPersistableModel<BaseCredentials>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from BaseCredentials)
IPersistableModel<CustomCredential>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CustomCredential>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<CustomCredential>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to