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

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