SearchIndexerClient コンストラクター

定義

オーバーロード

SearchIndexerClient()

モック作成のために クラスの SearchIndexerClient 新しいインスタンスを初期化します。

SearchIndexerClient(Uri, AzureKeyCredential)

SearchIndexerClient クラスの新しいインスタンスを初期化します。

SearchIndexerClient(Uri, TokenCredential)

SearchIndexerClient クラスの新しいインスタンスを初期化します。

SearchIndexerClient(Uri, AzureKeyCredential, SearchClientOptions)

SearchIndexerClient クラスの新しいインスタンスを初期化します。

SearchIndexerClient(Uri, TokenCredential, SearchClientOptions)

SearchIndexerClient クラスの新しいインスタンスを初期化します。

SearchIndexerClient()

ソース:
SearchIndexerClient.cs
ソース:
SearchIndexerClient.cs

モック作成のために クラスの SearchIndexerClient 新しいインスタンスを初期化します。

protected SearchIndexerClient ();
Protected Sub New ()

適用対象

SearchIndexerClient(Uri, AzureKeyCredential)

ソース:
SearchIndexerClient.cs
ソース:
SearchIndexerClient.cs

SearchIndexerClient クラスの新しいインスタンスを初期化します。

public SearchIndexerClient (Uri endpoint, Azure.AzureKeyCredential credential);
new Azure.Search.Documents.Indexes.SearchIndexerClient : Uri * Azure.AzureKeyCredential -> Azure.Search.Documents.Indexes.SearchIndexerClient
Public Sub New (endpoint As Uri, credential As AzureKeyCredential)

パラメーター

endpoint
Uri

必須。 Search Serviceの URI エンドポイント。 これは、"https://{search_service}.search.windows.net" に似ている可能性があります。 URI は HTTPS を使用する必要があります。

credential
AzureKeyCredential

必須。 Search Serviceに対する要求の認証に使用される API キー資格情報。 SearchIndexerClient で操作を実行するには、管理者キーを使用する必要があります。 Azure Cognitive Searchの API キーの詳細については、「Azure Cognitive Search サービスの api キーの作成と管理」を参照してください。

例外

または credential が null の場合にendpointスローされます。

が HTTPS を endpoint 使用していない場合にスローされます。

適用対象

SearchIndexerClient(Uri, TokenCredential)

ソース:
SearchIndexerClient.cs
ソース:
SearchIndexerClient.cs

SearchIndexerClient クラスの新しいインスタンスを初期化します。

public SearchIndexerClient (Uri endpoint, Azure.Core.TokenCredential tokenCredential);
new Azure.Search.Documents.Indexes.SearchIndexerClient : Uri * Azure.Core.TokenCredential -> Azure.Search.Documents.Indexes.SearchIndexerClient
Public Sub New (endpoint As Uri, tokenCredential As TokenCredential)

パラメーター

endpoint
Uri

必須。 Search Serviceの URI エンドポイント。 これは、"https://{search_service}.search.windows.net" に似ている可能性があります。 URI は HTTPS を使用する必要があります。

tokenCredential
TokenCredential

必須。Search Serviceに対する要求の認証に使用されるトークン資格情報。 Azure Cognitive Searchでのロールベースの承認の詳細については、「Azure Cognitive Searchでロールベースの承認を使用する」を参照してください。

例外

または tokenCredential が null の場合にendpointスローされます。

が HTTPS を endpoint 使用していない場合にスローされます。

適用対象

SearchIndexerClient(Uri, AzureKeyCredential, SearchClientOptions)

ソース:
SearchIndexerClient.cs
ソース:
SearchIndexerClient.cs

SearchIndexerClient クラスの新しいインスタンスを初期化します。

public SearchIndexerClient (Uri endpoint, Azure.AzureKeyCredential credential, Azure.Search.Documents.SearchClientOptions options);
new Azure.Search.Documents.Indexes.SearchIndexerClient : Uri * Azure.AzureKeyCredential * Azure.Search.Documents.SearchClientOptions -> Azure.Search.Documents.Indexes.SearchIndexerClient
Public Sub New (endpoint As Uri, credential As AzureKeyCredential, options As SearchClientOptions)

パラメーター

endpoint
Uri

必須。 Search Serviceの URI エンドポイント。 これは、"https://{search_service}.search.windows.net" に似ている可能性があります。 URI は HTTPS を使用する必要があります。

credential
AzureKeyCredential

必須。 Search Serviceに対する要求の認証に使用される API キー資格情報。 SearchIndexerClient で操作を実行するには、管理者キーを使用する必要があります。 Azure Cognitive Searchの API キーの詳細については、「Azure Cognitive Search サービスの api キーの作成と管理」を参照してください。

options
SearchClientOptions

Azure Cognitive Searchに接続するためのクライアント構成オプション。

例外

または credential が null の場合にendpointスローされます。

が HTTPS を endpoint 使用していない場合にスローされます。

適用対象

SearchIndexerClient(Uri, TokenCredential, SearchClientOptions)

ソース:
SearchIndexerClient.cs
ソース:
SearchIndexerClient.cs

SearchIndexerClient クラスの新しいインスタンスを初期化します。

public SearchIndexerClient (Uri endpoint, Azure.Core.TokenCredential tokenCredential, Azure.Search.Documents.SearchClientOptions options);
new Azure.Search.Documents.Indexes.SearchIndexerClient : Uri * Azure.Core.TokenCredential * Azure.Search.Documents.SearchClientOptions -> Azure.Search.Documents.Indexes.SearchIndexerClient
Public Sub New (endpoint As Uri, tokenCredential As TokenCredential, options As SearchClientOptions)

パラメーター

endpoint
Uri

必須。 Search Serviceの URI エンドポイント。 これは、"https://{search_service}.search.windows.net" に似ている可能性があります。 URI は HTTPS を使用する必要があります。

tokenCredential
TokenCredential

必須。 Search Serviceに対する要求の認証に使用されるトークン資格情報。 Azure Cognitive Searchでのロールベースの承認の詳細については、「Azure Cognitive Searchでロールベースの承認を使用する」を参照してください。

options
SearchClientOptions

Azure Cognitive Searchに接続するためのクライアント構成オプション。

例外

または tokenCredential が null の場合にendpointスローされます。

が HTTPS を endpoint 使用していない場合にスローされます。

適用対象