KnowledgeBases.StartIndexing Method

Definition

Overloads

StartIndexing(WaitUntil, String, RequestContent, RequestContext)

Source:
KnowledgeBases.cs

Start indexing.

public virtual Azure.Operation StartIndexing(Azure.WaitUntil waitUntil, string knowledgeBaseName, Azure.Core.RequestContent content, Azure.RequestContext context = default);
abstract member StartIndexing : Azure.WaitUntil * string * Azure.Core.RequestContent * Azure.RequestContext -> Azure.Operation
override this.StartIndexing : Azure.WaitUntil * string * Azure.Core.RequestContent * Azure.RequestContext -> Azure.Operation
Public Overridable Function StartIndexing (waitUntil As WaitUntil, knowledgeBaseName As String, content As RequestContent, Optional context As RequestContext = Nothing) As Operation

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

knowledgeBaseName
String

The knowledgeBase name.

content
RequestContent

The content to send as the body of the request.

context
RequestContext

The request options, which can override default behaviors of the client pipeline on a per-call basis.

Returns

The response returned from the service.

Exceptions

knowledgeBaseName or content is null.

knowledgeBaseName is an empty string, and was expected to be non-empty.

Applies to

StartIndexing(WaitUntil, String, String, String, CancellationToken)

Source:
KnowledgeBases.cs

Start indexing.

public virtual Azure.Operation StartIndexing(Azure.WaitUntil waitUntil, string knowledgeBaseName, string nodePoolId = default, string projectId = default, System.Threading.CancellationToken cancellationToken = default);
abstract member StartIndexing : Azure.WaitUntil * string * string * string * System.Threading.CancellationToken -> Azure.Operation
override this.StartIndexing : Azure.WaitUntil * string * string * string * System.Threading.CancellationToken -> Azure.Operation
Public Overridable Function StartIndexing (waitUntil As WaitUntil, knowledgeBaseName As String, Optional nodePoolId As String = Nothing, Optional projectId As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Operation

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

knowledgeBaseName
String

The knowledgeBase name.

nodePoolId
String

Node pool ID.

projectId
String

Project ID.

cancellationToken
CancellationToken

The cancellation token that can be used to cancel the operation.

Returns

Exceptions

knowledgeBaseName is null.

knowledgeBaseName is an empty string, and was expected to be non-empty.

Applies to