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
| begin_put |
Update the state of specified private endpoint connection associated with the redis cache. |
| delete |
Deletes the specified private endpoint connection associated with the redis cache. |
| get |
Gets the specified private endpoint connection associated with the redis cache. |
| list |
List all the private endpoint connections associated with the redis cache. |
begin_put
Update the state of specified private endpoint connection associated with the redis cache.
async begin_put(resource_group_name: str, cache_name: str, private_endpoint_connection_name: str, properties: _models.PrivateEndpointConnection, *, content_type: str = 'application/json', **kwargs: Any) -> AsyncLROPoller[_models.PrivateEndpointConnection]
Parameters
| Name | Description |
|---|---|
|
resource_group_name
Required
|
The name of the resource group. The name is case insensitive. Required. |
|
cache_name
Required
|
The name of the Redis cache. Required. |
|
private_endpoint_connection_name
Required
|
The name of the private endpoint connection associated with the Azure resource. Required. |
|
properties
Required
|
The private endpoint connection properties. Is either a PrivateEndpointConnection type or a IO[bytes] type. Required. |
Returns
| Type | Description |
|---|---|
|
An instance of AsyncLROPoller that returns either PrivateEndpointConnection or the result of cls(response) |
Exceptions
| Type | Description |
|---|---|
delete
Deletes the specified private endpoint connection associated with the redis cache.
async delete(resource_group_name: str, cache_name: str, private_endpoint_connection_name: str, **kwargs: Any) -> None
Parameters
| Name | Description |
|---|---|
|
resource_group_name
Required
|
The name of the resource group. The name is case insensitive. Required. |
|
cache_name
Required
|
The name of the Redis cache. Required. |
|
private_endpoint_connection_name
Required
|
The name of the private endpoint connection associated with the Azure resource. Required. |
Returns
| Type | Description |
|---|---|
|
None or the result of cls(response) |
Exceptions
| Type | Description |
|---|---|
get
Gets the specified private endpoint connection associated with the redis cache.
async get(resource_group_name: str, cache_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. |
|
cache_name
Required
|
The name of the Redis cache. Required. |
|
private_endpoint_connection_name
Required
|
The name of the private endpoint connection associated with the Azure resource. Required. |
Returns
| Type | Description |
|---|---|
|
PrivateEndpointConnection or the result of cls(response) |
Exceptions
| Type | Description |
|---|---|
list
List all the private endpoint connections associated with the redis cache.
list(resource_group_name: str, cache_name: str, **kwargs: Any) -> AsyncIterable[PrivateEndpointConnection]
Parameters
| Name | Description |
|---|---|
|
resource_group_name
Required
|
The name of the resource group. The name is case insensitive. Required. |
|
cache_name
Required
|
The name of the Redis cache. Required. |
Returns
| Type | Description |
|---|---|
|
An iterator like instance of either PrivateEndpointConnection or the result of cls(response) |
Exceptions
| Type | Description |
|---|---|
Attributes
models
models = <module 'azure.mgmt.redis.models' from 'C:\\ToolCache\\Python\\3.11.9\\x64\\Lib\\site-packages\\py2docfx\\venv\\venv203\\Lib\\site-packages\\azure\\mgmt\\redis\\models\\__init__.py'>