你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
SkillsetsOperationsExtensions.CreateOrUpdate 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
CreateOrUpdate(ISkillsetsOperations, Skillset, SearchRequestOptions, AccessCondition)
创建新的技能组或更新技能集(如果已存在)。
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
参数
- operations
- ISkillsetsOperations
此扩展方法的操作组。
- skillset
- Skillset
要创建或更新的技能集的定义。
- searchRequestOptions
- SearchRequestOptions
操作的其他参数
- accessCondition
- AccessCondition
操作的其他参数
返回
适用于
CreateOrUpdate(ISkillsetsOperations, String, Skillset, SearchRequestOptions)
在搜索服务中创建新的技能组,或更新技能集(如果已存在)。 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
参数
- operations
- ISkillsetsOperations
此扩展方法的操作组。
- skillsetName
- String
要创建或更新的技能组的名称。
- skillset
- Skillset
包含一个或多个技能的技能集,用于在搜索服务中创建或更新。
- searchRequestOptions
- SearchRequestOptions
操作的其他参数