你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

IndexersOperationsExtensions.CreateOrUpdate 方法

定义

重载

CreateOrUpdate(IIndexersOperations, Indexer, SearchRequestOptions, AccessCondition)

创建新的索引器或更新索引器(如果已存在)。 https://docs.microsoft.com/rest/api/searchservice/Create-Indexer

CreateOrUpdate(IIndexersOperations, String, Indexer, SearchRequestOptions, AccessCondition)

创建新的索引器或更新索引器(如果已存在)。 https://docs.microsoft.com/rest/api/searchservice/Create-Indexer

CreateOrUpdate(IIndexersOperations, Indexer, SearchRequestOptions, AccessCondition)

Source:
IndexersOperationsExtensions.Customization.cs

创建新的索引器或更新索引器(如果已存在)。 https://docs.microsoft.com/rest/api/searchservice/Create-Indexer

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

参数

operations
IIndexersOperations

此扩展方法的操作组。

indexer
Indexer

要创建或更新的索引器的定义。

searchRequestOptions
SearchRequestOptions

操作的其他参数。

accessCondition
AccessCondition

操作的其他参数。

返回

创建或更新的索引器。

适用于

CreateOrUpdate(IIndexersOperations, String, Indexer, SearchRequestOptions, AccessCondition)

Source:
IndexersOperationsExtensions.cs

创建新的索引器或更新索引器(如果已存在)。 https://docs.microsoft.com/rest/api/searchservice/Create-Indexer

public static Microsoft.Azure.Search.Models.Indexer CreateOrUpdate (this Microsoft.Azure.Search.IIndexersOperations operations, string indexerName, Microsoft.Azure.Search.Models.Indexer indexer, Microsoft.Azure.Search.Models.SearchRequestOptions searchRequestOptions = default, Microsoft.Azure.Search.Models.AccessCondition accessCondition = default);
static member CreateOrUpdate : Microsoft.Azure.Search.IIndexersOperations * string * Microsoft.Azure.Search.Models.Indexer * Microsoft.Azure.Search.Models.SearchRequestOptions * Microsoft.Azure.Search.Models.AccessCondition -> Microsoft.Azure.Search.Models.Indexer
<Extension()>
Public Function CreateOrUpdate (operations As IIndexersOperations, indexerName As String, indexer As Indexer, Optional searchRequestOptions As SearchRequestOptions = Nothing, Optional accessCondition As AccessCondition = Nothing) As Indexer

参数

operations
IIndexersOperations

此扩展方法的操作组。

indexerName
String

要创建或更新的索引器的名称。

indexer
Indexer

要创建或更新的索引器的定义。

searchRequestOptions
SearchRequestOptions

操作的其他参数

accessCondition
AccessCondition

操作的其他参数

返回

适用于