Language

SearchIndexerClient.GetSkillset Method

Definition

Overloads

Name Description
GetSkillset(String, RequestContext)

[Protocol Method] Retrieves a skillset in a search service.

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
GetSkillset(String, CancellationToken)

Retrieves a skillset in a search service.

GetSkillset(String, RequestContext)

Source:
SearchIndexerClient.cs
Source:
SearchIndexerClient.cs

[Protocol Method] Retrieves a skillset in a search service.

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
public virtual Azure.Response GetSkillset(string skillsetName, Azure.RequestContext context);
abstract member GetSkillset : string * Azure.RequestContext -> Azure.Response
override this.GetSkillset : string * Azure.RequestContext -> Azure.Response
Public Overridable Function GetSkillset (skillsetName As String, context As RequestContext) As Response

Parameters

skillsetName
String

The name of the skillset.

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

skillsetName is null.

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

Service returned a non-success status code.

Applies to

GetSkillset(String, CancellationToken)

Source:
SearchIndexerClient.cs
Source:
SearchIndexerClient.cs

Retrieves a skillset in a search service.

public virtual Azure.Response<Azure.Search.Documents.Indexes.Models.SearchIndexerSkillset> GetSkillset(string skillsetName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetSkillset : string * System.Threading.CancellationToken -> Azure.Response<Azure.Search.Documents.Indexes.Models.SearchIndexerSkillset>
override this.GetSkillset : string * System.Threading.CancellationToken -> Azure.Response<Azure.Search.Documents.Indexes.Models.SearchIndexerSkillset>
Public Overridable Function GetSkillset (skillsetName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of SearchIndexerSkillset)

Parameters

skillsetName
String

The name of the skillset.

cancellationToken
CancellationToken

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

Returns

The Response<T> from the server containing the requested SearchIndexerSkillset.

Exceptions

skillsetName is null.

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

Service returned a non-success status code.

Applies to