SearchManagementClient Class
Client that can be used to manage Azure AI Search services and API keys.
Constructor
SearchManagementClient(credential: TokenCredential, subscription_id: str, base_url: str | None = None, **kwargs: Any)
Parameters
| Name | Description |
|---|---|
|
credential
Required
|
Credential needed for the client to connect to Azure. Required. |
|
subscription_id
Required
|
The unique identifier for a Microsoft Azure subscription. You can obtain this value from the Azure Resource Manager API or the portal. Required. |
|
base_url
|
Service URL. Default value is None. Default value: None
|
Keyword-Only Parameters
| Name | Description |
|---|---|
|
api_version
|
Api Version. Default value is "2025-05-01". Note that overriding this default value may result in unsupported behavior. |
|
polling_interval
|
Default waiting time between two polls for LRO operations if no Retry-After header is present. |
Variables
| Name | Description |
|---|---|
|
operations
|
Operations operations |
|
admin_keys
|
AdminKeysOperations operations |
|
query_keys
|
QueryKeysOperations operations |
|
services
|
ServicesOperations operations |
|
private_link_resources
|
PrivateLinkResourcesOperations operations |
|
private_endpoint_connections
|
PrivateEndpointConnectionsOperations operations |
|
shared_private_link_resources
|
SharedPrivateLinkResourcesOperations operations |
|
usages
|
UsagesOperations operations |
|
network_security_perimeter_configurations
|
NetworkSecurityPerimeterConfigurationsOperations operations |
Methods
| close |
close
close() -> None