SkillsetsOperationsExtensions.CreateOrUpdate Method

Definition

Overloads

CreateOrUpdate(ISkillsetsOperations, Skillset, SearchRequestOptions, AccessCondition)

Creates a new skillset or updates a skillset if it already exists.

CreateOrUpdate(ISkillsetsOperations, String, Skillset, SearchRequestOptions)

Creates a new skillset in a search service or updates the skillset if it already exists. https://docs.microsoft.com/rest/api/searchservice/update-skillset

CreateOrUpdate(ISkillsetsOperations, Skillset, SearchRequestOptions, AccessCondition)

Source:
SkillsetsOperationsExtensions.Customization.cs

Creates a new skillset or updates a skillset if it already exists.

public static Microsoft.Azure.Search.Models.Skillset CreateOrUpdate (this Microsoft.Azure.Search.ISkillsetsOperations operations, Microsoft.Azure.Search.Models.Skillset skillset, Microsoft.Azure.Search.Models.SearchRequestOptions searchRequestOptions = default, Microsoft.Azure.Search.Models.AccessCondition accessCondition = default);
static member CreateOrUpdate : Microsoft.Azure.Search.ISkillsetsOperations * Microsoft.Azure.Search.Models.Skillset * Microsoft.Azure.Search.Models.SearchRequestOptions * Microsoft.Azure.Search.Models.AccessCondition -> Microsoft.Azure.Search.Models.Skillset
<Extension()>
Public Function CreateOrUpdate (operations As ISkillsetsOperations, skillset As Skillset, Optional searchRequestOptions As SearchRequestOptions = Nothing, Optional accessCondition As AccessCondition = Nothing) As Skillset

Parameters

operations
ISkillsetsOperations

The operations group for this extension method.

skillset
Skillset

The definition of the skillset to create or update.

searchRequestOptions
SearchRequestOptions

Additional parameters for the operation

accessCondition
AccessCondition

Additional parameters for the operation

Returns

Applies to

CreateOrUpdate(ISkillsetsOperations, String, Skillset, SearchRequestOptions)

Source:
SkillsetsOperationsExtensions.cs

Creates a new skillset in a search service or updates the skillset if it already exists. https://docs.microsoft.com/rest/api/searchservice/update-skillset

public static Microsoft.Azure.Search.Models.Skillset CreateOrUpdate (this Microsoft.Azure.Search.ISkillsetsOperations operations, string skillsetName, Microsoft.Azure.Search.Models.Skillset skillset, Microsoft.Azure.Search.Models.SearchRequestOptions searchRequestOptions = default);
static member CreateOrUpdate : Microsoft.Azure.Search.ISkillsetsOperations * string * Microsoft.Azure.Search.Models.Skillset * Microsoft.Azure.Search.Models.SearchRequestOptions -> Microsoft.Azure.Search.Models.Skillset
<Extension()>
Public Function CreateOrUpdate (operations As ISkillsetsOperations, skillsetName As String, skillset As Skillset, Optional searchRequestOptions As SearchRequestOptions = Nothing) As Skillset

Parameters

operations
ISkillsetsOperations

The operations group for this extension method.

skillsetName
String

The name of the skillset to create or update.

skillset
Skillset

The skillset containing one or more skills to create or update in a search service.

searchRequestOptions
SearchRequestOptions

Additional parameters for the operation

Returns

Applies to