Partager via


AzureAISearchResource Class

Definition

A set of index resources used by the azure_ai_search tool.

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

Constructors

AzureAISearchResource()

Initializes a new instance of AzureAISearchResource.

Properties

IndexList

The indices attached to this agent. There can be a maximum of 1 index resource attached to the agent.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<AzureAISearchResource>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<AzureAISearchResource>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<AzureAISearchResource>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<AzureAISearchResource>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<AzureAISearchResource>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to