PrivateEndpointConnectionsOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<xref:private_endpoint_connections> attribute.
Constructor
PrivateEndpointConnectionsOperations(*args, **kwargs)
Methods
| delete |
Disconnects the private endpoint connection and deletes it from the search service. Returns 200 (OK) with the deleted connection details on successful deletion, or 404 (Not Found) if the connection does not exist. NOTE: The behavior of returning 404 is inconsistent with ARM guidelines. Clients should expect a 204 response in future versions and avoid new dependencies on the 404 response. |
| get |
Gets the details of the private endpoint connection to the search service in the given resource group. |
| list_by_service |
Gets a list of all private endpoint connections in the given service. |
| update |
Updates a private endpoint connection to the search service in the given resource group. |
delete
Disconnects the private endpoint connection and deletes it from the search service. Returns 200 (OK) with the deleted connection details on successful deletion, or 404 (Not Found) if the connection does not exist. NOTE: The behavior of returning 404 is inconsistent with ARM guidelines. Clients should expect a 204 response in future versions and avoid new dependencies on the 404 response.
delete(resource_group_name: str, search_service_name: str, private_endpoint_connection_name: str, **kwargs: Any) -> PrivateEndpointConnection | None
Parameters
| Name | Description |
|---|---|
|
resource_group_name
Required
|
The name of the resource group. The name is case insensitive. Required. |
|
search_service_name
Required
|
The name of the Azure AI Search service associated with the specified resource group. Required. |
|
private_endpoint_connection_name
Required
|
The name of the private endpoint connection to the Azure AI Search service with the specified resource group. Required. |
Returns
| Type | Description |
|---|---|
|
PrivateEndpointConnection or None. The PrivateEndpointConnection is compatible with MutableMapping |
Exceptions
| Type | Description |
|---|---|
get
Gets the details of the private endpoint connection to the search service in the given resource group.
get(resource_group_name: str, search_service_name: str, private_endpoint_connection_name: str, **kwargs: Any) -> PrivateEndpointConnection
Parameters
| Name | Description |
|---|---|
|
resource_group_name
Required
|
The name of the resource group. The name is case insensitive. Required. |
|
search_service_name
Required
|
The name of the Azure AI Search service associated with the specified resource group. Required. |
|
private_endpoint_connection_name
Required
|
The name of the private endpoint connection to the Azure AI Search service with the specified resource group. Required. |
Returns
| Type | Description |
|---|---|
|
PrivateEndpointConnection. The PrivateEndpointConnection is compatible with MutableMapping |
Exceptions
| Type | Description |
|---|---|
list_by_service
Gets a list of all private endpoint connections in the given service.
list_by_service(resource_group_name: str, search_service_name: str, **kwargs: Any) -> ItemPaged[PrivateEndpointConnection]
Parameters
| Name | Description |
|---|---|
|
resource_group_name
Required
|
The name of the resource group. The name is case insensitive. Required. |
|
search_service_name
Required
|
The name of the Azure AI Search service associated with the specified resource group. Required. |
Returns
| Type | Description |
|---|---|
|
An iterator like instance of PrivateEndpointConnection |
Exceptions
| Type | Description |
|---|---|
update
Updates a private endpoint connection to the search service in the given resource group.
update(resource_group_name: str, search_service_name: str, private_endpoint_connection_name: str, private_endpoint_connection: _models.PrivateEndpointConnection, *, content_type: str = 'application/json', **kwargs: Any) -> _models.PrivateEndpointConnection
Parameters
| Name | Description |
|---|---|
|
resource_group_name
Required
|
The name of the resource group. The name is case insensitive. Required. |
|
search_service_name
Required
|
The name of the Azure AI Search service associated with the specified resource group. Required. |
|
private_endpoint_connection_name
Required
|
The name of the private endpoint connection to the Azure AI Search service with the specified resource group. Required. |
|
private_endpoint_connection
Required
|
The definition of the private endpoint connection to update. Is either a PrivateEndpointConnection type or a IO[bytes] type. Required. |
Returns
| Type | Description |
|---|---|
|
PrivateEndpointConnection. The PrivateEndpointConnection is compatible with MutableMapping |
Exceptions
| Type | Description |
|---|---|