Share via


SearchServiceAdminKeyResult Class

Definition

Response containing the primary and secondary admin API keys for a given Azure AI Search service.

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

Properties

PrimaryKey

The primary admin API key of the search service.

SecondaryKey

The secondary admin API key of the search service.

Explicit Interface Implementations

IJsonModel<SearchServiceAdminKeyResult>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<SearchServiceAdminKeyResult>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SearchServiceAdminKeyResult>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SearchServiceAdminKeyResult>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<SearchServiceAdminKeyResult>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to