Partager via


IndexResource(String, String) Constructor

Definition

Initializes a new instance of IndexResource.

public IndexResource (string indexConnectionId, string indexName);
new Azure.AI.Projects.IndexResource : string * string -> Azure.AI.Projects.IndexResource
Public Sub New (indexConnectionId As String, indexName As String)

Parameters

indexConnectionId
String

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

indexName
String

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

Exceptions

indexConnectionId or indexName is null.

Applies to