SearchIndexerClient.ResetSkills Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| ResetSkills(String, ResetSkillsOptions, CancellationToken) |
Reset an existing skillset in a search service. |
| ResetSkills(String, RequestContent, RequestContext) |
[Protocol Method] Reset an existing skillset in a search service.
|
ResetSkills(String, ResetSkillsOptions, CancellationToken)
- Source:
- SearchIndexerClient.cs
Reset an existing skillset in a search service.
public virtual Azure.Response ResetSkills(string skillsetName, Azure.Search.Documents.Indexes.Models.ResetSkillsOptions skillNames, System.Threading.CancellationToken cancellationToken = default);
abstract member ResetSkills : string * Azure.Search.Documents.Indexes.Models.ResetSkillsOptions * System.Threading.CancellationToken -> Azure.Response
override this.ResetSkills : string * Azure.Search.Documents.Indexes.Models.ResetSkillsOptions * System.Threading.CancellationToken -> Azure.Response
Public Overridable Function ResetSkills (skillsetName As String, skillNames As ResetSkillsOptions, Optional cancellationToken As CancellationToken = Nothing) As Response
Parameters
- skillsetName
- String
The name of the skillset.
- skillNames
- ResetSkillsOptions
The names of the skills to reset. If not specified, all skills in the skillset will be reset.
- cancellationToken
- CancellationToken
The cancellation token that can be used to cancel the operation.
Returns
Exceptions
skillsetName or skillNames is null.
skillsetName is an empty string, and was expected to be non-empty.
Service returned a non-success status code.
Applies to
ResetSkills(String, RequestContent, RequestContext)
- Source:
- SearchIndexerClient.cs
[Protocol Method] Reset an existing 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 ResetSkills(string skillsetName, Azure.Core.RequestContent content, Azure.RequestContext context = default);
abstract member ResetSkills : string * Azure.Core.RequestContent * Azure.RequestContext -> Azure.Response
override this.ResetSkills : string * Azure.Core.RequestContent * Azure.RequestContext -> Azure.Response
Public Overridable Function ResetSkills (skillsetName As String, content As RequestContent, Optional context As RequestContext = Nothing) As Response
Parameters
- skillsetName
- String
The name of the skillset.
- 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
skillsetName or content is null.
skillsetName is an empty string, and was expected to be non-empty.
Service returned a non-success status code.