SharedPrivateLinkResourcesOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<xref:shared_private_link_resources> attribute.
Constructor
SharedPrivateLinkResourcesOperations(*args, **kwargs)
Methods
| begin_create_or_update |
Initiates the creation or update of a shared private link resource managed by the search service in the given resource group. |
| begin_delete |
Initiates the deletion of the shared private link resource from the search service. Returns 202 (Accepted) for asynchronous deletion, 204 (No Content) if the service exists but the shared private link is not found, or 404 (Not Found) if the service is not found. 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 shared private link resource managed by the search service in the given resource group. |
| list_by_service |
Gets a list of all shared private link resources managed by the given service. |
begin_create_or_update
Initiates the creation or update of a shared private link resource managed by the search service in the given resource group.
begin_create_or_update(resource_group_name: str, search_service_name: str, shared_private_link_resource_name: str, shared_private_link_resource: _models.SharedPrivateLinkResource, *, content_type: str = 'application/json', **kwargs: Any) -> LROPoller[_models.SharedPrivateLinkResource]
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. |
|
shared_private_link_resource_name
Required
|
The name of the shared private link resource managed by the Azure AI Search service within the specified resource group. Required. |
|
shared_private_link_resource
Required
|
The definition of the shared private link resource to create or update. Is either a SharedPrivateLinkResource type or a IO[bytes] type. Required. |
Returns
| Type | Description |
|---|---|
|
An instance of LROPoller that returns SharedPrivateLinkResource. The SharedPrivateLinkResource is compatible with MutableMapping |
Exceptions
| Type | Description |
|---|---|
begin_delete
Initiates the deletion of the shared private link resource from the search service. Returns 202 (Accepted) for asynchronous deletion, 204 (No Content) if the service exists but the shared private link is not found, or 404 (Not Found) if the service is not found. 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.
begin_delete(resource_group_name: str, search_service_name: str, shared_private_link_resource_name: str, **kwargs: Any) -> LROPoller[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. |
|
shared_private_link_resource_name
Required
|
The name of the shared private link resource managed by the Azure AI Search service within the specified resource group. Required. |
Returns
| Type | Description |
|---|---|
|
An instance of LROPoller that returns None |
Exceptions
| Type | Description |
|---|---|
get
Gets the details of the shared private link resource managed by the search service in the given resource group.
get(resource_group_name: str, search_service_name: str, shared_private_link_resource_name: str, **kwargs: Any) -> SharedPrivateLinkResource
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. |
|
shared_private_link_resource_name
Required
|
The name of the shared private link resource managed by the Azure AI Search service within the specified resource group. Required. |
Returns
| Type | Description |
|---|---|
|
SharedPrivateLinkResource. The SharedPrivateLinkResource is compatible with MutableMapping |
Exceptions
| Type | Description |
|---|---|
list_by_service
Gets a list of all shared private link resources managed by the given service.
list_by_service(resource_group_name: str, search_service_name: str, **kwargs: Any) -> ItemPaged[SharedPrivateLinkResource]
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 SharedPrivateLinkResource |
Exceptions
| Type | Description |
|---|---|