Partager via


IndexResource Class

Definition

A Index resource.

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

Constructors

IndexResource(String, String)

Initializes a new instance of IndexResource.

Properties

IndexConnectionId

An index connection id in an IndexResource attached to this agent.

IndexName

The name of an index in an IndexResource attached to this agent.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<IndexResource>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<IndexResource>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<IndexResource>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<IndexResource>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<IndexResource>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to