Share via


SearchManagementClient 類別

可用來管理Azure 認知搜尋服務和 API 金鑰的用戶端。

繼承
builtins.object
SearchManagementClient

建構函式

SearchManagementClient(credential: TokenCredential, subscription_id: str, base_url: str = 'https://management.azure.com', **kwargs: Any)

參數

credential
TokenCredential
必要

用戶端連線到 Azure 所需的認證。 必要。

subscription_id
str
必要

Microsoft Azure 訂用帳戶的唯一識別碼。 您可以從 Azure 資源管理員 API 或入口網站取得這個值。 必要。

base_url
str
預設值: https://management.azure.com

服務 URL。 預設值為 「 https://management.azure.com 」。

api_version
str

API 版本。 預設值為 「2022-09-01」。 請注意,覆寫此預設值可能會導致不支援的行為。

polling_interval
int

如果沒有Retry-After標頭,則兩次輪詢 LRO 作業之間的預設等候時間。

變數

operations
Operations

作業作業

admin_keys
AdminKeysOperations

AdminKeysOperations 作業

query_keys
QueryKeysOperations

QueryKeysOperations 作業

services
ServicesOperations

ServicesOperations 作業

private_link_resources
PrivateLinkResourcesOperations

PrivateLinkResourcesOperations 作業

private_endpoint_connections
PrivateEndpointConnectionsOperations

PrivateEndpointConnectionsOperations 作業

shared_private_link_resources
SharedPrivateLinkResourcesOperations

SharedPrivateLinkResourcesOperations 作業

方法

close

close

close() -> None