Share via


IndexersOperationsExtensions.CreateOrUpdateAsync メソッド

定義

オーバーロード

CreateOrUpdateAsync(IIndexersOperations, Indexer, SearchRequestOptions, AccessCondition, CancellationToken)

新しいインデクサーを作成するか、インデクサーが既に存在する場合は更新します。 https://docs.microsoft.com/rest/api/searchservice/Create-Indexer

CreateOrUpdateAsync(IIndexersOperations, String, Indexer, SearchRequestOptions, AccessCondition, CancellationToken)

新しいインデクサーを作成するか、インデクサーが既に存在する場合は更新します。 https://docs.microsoft.com/rest/api/searchservice/Create-Indexer

CreateOrUpdateAsync(IIndexersOperations, Indexer, SearchRequestOptions, AccessCondition, CancellationToken)

ソース:
IndexersOperationsExtensions.Customization.cs

新しいインデクサーを作成するか、インデクサーが既に存在する場合は更新します。 https://docs.microsoft.com/rest/api/searchservice/Create-Indexer

public static System.Threading.Tasks.Task<Microsoft.Azure.Search.Models.Indexer> CreateOrUpdateAsync (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, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Search.IIndexersOperations * Microsoft.Azure.Search.Models.Indexer * Microsoft.Azure.Search.Models.SearchRequestOptions * Microsoft.Azure.Search.Models.AccessCondition * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Search.Models.Indexer>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IIndexersOperations, indexer As Indexer, Optional searchRequestOptions As SearchRequestOptions = Nothing, Optional accessCondition As AccessCondition = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Indexer)

パラメーター

operations
IIndexersOperations

この拡張メソッドの操作グループ。

indexer
Indexer

作成または更新するインデクサーの定義。

searchRequestOptions
SearchRequestOptions

操作の追加パラメーター。

accessCondition
AccessCondition

操作の追加パラメーター。

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

作成または更新されたインデクサー。

適用対象

CreateOrUpdateAsync(IIndexersOperations, String, Indexer, SearchRequestOptions, AccessCondition, CancellationToken)

ソース:
IndexersOperationsExtensions.Customization.cs

新しいインデクサーを作成するか、インデクサーが既に存在する場合は更新します。 https://docs.microsoft.com/rest/api/searchservice/Create-Indexer

public static System.Threading.Tasks.Task<Microsoft.Azure.Search.Models.Indexer> CreateOrUpdateAsync (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, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Search.IIndexersOperations * string * Microsoft.Azure.Search.Models.Indexer * Microsoft.Azure.Search.Models.SearchRequestOptions * Microsoft.Azure.Search.Models.AccessCondition * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Search.Models.Indexer>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IIndexersOperations, indexerName As String, indexer As Indexer, Optional searchRequestOptions As SearchRequestOptions = Nothing, Optional accessCondition As AccessCondition = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Indexer)

パラメーター

operations
IIndexersOperations

この拡張メソッドの操作グループ。

indexerName
String

作成または更新するインデクサーの名前。

indexer
Indexer

作成または更新するインデクサーの定義。

searchRequestOptions
SearchRequestOptions

操作の追加パラメーター

accessCondition
AccessCondition

操作の追加パラメーター

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

適用対象