SearchIndexClient コンストラクター

定義

オーバーロード

SearchIndexClient()

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

SearchIndexClient(Uri, AzureKeyCredential)

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

SearchIndexClient(Uri, TokenCredential)

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

SearchIndexClient(Uri, AzureKeyCredential, SearchClientOptions)

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

SearchIndexClient(Uri, TokenCredential, SearchClientOptions)

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

SearchIndexClient()

ソース:
SearchIndexClient.cs
ソース:
SearchIndexClient.cs

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

protected SearchIndexClient ();
Protected Sub New ()

適用対象

SearchIndexClient(Uri, AzureKeyCredential)

ソース:
SearchIndexClient.cs
ソース:
SearchIndexClient.cs

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

public SearchIndexClient (Uri endpoint, Azure.AzureKeyCredential credential);
new Azure.Search.Documents.Indexes.SearchIndexClient : Uri * Azure.AzureKeyCredential -> Azure.Search.Documents.Indexes.SearchIndexClient
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 キー資格情報。 SearchIndexClient で操作を実行するには、管理者キーを使用する必要があります。 Azure Cognitive Searchの API キーの詳細については、「Azure Cognitive Search サービスの api キーの作成と管理」を参照してください。

例外

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

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

適用対象

SearchIndexClient(Uri, TokenCredential)

ソース:
SearchIndexClient.cs
ソース:
SearchIndexClient.cs

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

public SearchIndexClient (Uri endpoint, Azure.Core.TokenCredential tokenCredential);
new Azure.Search.Documents.Indexes.SearchIndexClient : Uri * Azure.Core.TokenCredential -> Azure.Search.Documents.Indexes.SearchIndexClient
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 使用していない場合にスローされます。

適用対象

SearchIndexClient(Uri, AzureKeyCredential, SearchClientOptions)

ソース:
SearchIndexClient.cs
ソース:
SearchIndexClient.cs

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

public SearchIndexClient (Uri endpoint, Azure.AzureKeyCredential credential, Azure.Search.Documents.SearchClientOptions options);
new Azure.Search.Documents.Indexes.SearchIndexClient : Uri * Azure.AzureKeyCredential * Azure.Search.Documents.SearchClientOptions -> Azure.Search.Documents.Indexes.SearchIndexClient
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 キー資格情報。 SearchIndexClient で操作を実行するには、管理者キーを使用する必要があります。 Azure Cognitive Searchの API キーの詳細については、「Azure Cognitive Search サービスの api キーの作成と管理」を参照してください。

options
SearchClientOptions

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

例外

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

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

適用対象

SearchIndexClient(Uri, TokenCredential, SearchClientOptions)

ソース:
SearchIndexClient.cs
ソース:
SearchIndexClient.cs

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

public SearchIndexClient (Uri endpoint, Azure.Core.TokenCredential tokenCredential, Azure.Search.Documents.SearchClientOptions options);
new Azure.Search.Documents.Indexes.SearchIndexClient : Uri * Azure.Core.TokenCredential * Azure.Search.Documents.SearchClientOptions -> Azure.Search.Documents.Indexes.SearchIndexClient
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 使用していない場合にスローされます。

適用対象