Udostępnij za pośrednictwem


ServiceAccountApiKeys Class

Definition

The access keys for the cognitive services account.

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

Properties

Key1

Gets the value of key 1.

Key2

Gets the value of key 2.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ServiceAccountApiKeys>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ServiceAccountApiKeys>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ServiceAccountApiKeys>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ServiceAccountApiKeys>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ServiceAccountApiKeys>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to