ManagedInstancePrivateEndpointConnectionsOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<xref:managed_instance_private_endpoint_connections> attribute.
Constructor
ManagedInstancePrivateEndpointConnectionsOperations(*args, **kwargs)
Methods
| begin_create_or_update |
Approve or reject a private endpoint connection with a given name. |
| begin_delete |
Deletes a private endpoint connection with a given name. |
| get |
Gets a private endpoint connection. |
| list_by_managed_instance |
Gets all private endpoint connections on a server. |
begin_create_or_update
Approve or reject a private endpoint connection with a given name.
async begin_create_or_update(resource_group_name: str, managed_instance_name: str, private_endpoint_connection_name: str, parameters: _models.ManagedInstancePrivateEndpointConnection, *, content_type: str = 'application/json', **kwargs: Any) -> AsyncLROPoller[_models.ManagedInstancePrivateEndpointConnection]
Parameters
| Name | Description |
|---|---|
|
resource_group_name
Required
|
The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. Required. |
|
managed_instance_name
Required
|
The name of the managed instance. Required. |
|
private_endpoint_connection_name
Required
|
Required. |
|
parameters
Required
|
Is either a ManagedInstancePrivateEndpointConnection type or a IO[bytes] type. Required. |
Returns
| Type | Description |
|---|---|
|
An instance of AsyncLROPoller that returns either ManagedInstancePrivateEndpointConnection or the result of cls(response) |
Exceptions
| Type | Description |
|---|---|
begin_delete
Deletes a private endpoint connection with a given name.
async begin_delete(resource_group_name: str, managed_instance_name: str, private_endpoint_connection_name: str, **kwargs: Any) -> AsyncLROPoller[None]
Parameters
| Name | Description |
|---|---|
|
resource_group_name
Required
|
The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. Required. |
|
managed_instance_name
Required
|
The name of the managed instance. Required. |
|
private_endpoint_connection_name
Required
|
Required. |
Returns
| Type | Description |
|---|---|
|
An instance of AsyncLROPoller that returns either None or the result of cls(response) |
Exceptions
| Type | Description |
|---|---|
get
Gets a private endpoint connection.
async get(resource_group_name: str, managed_instance_name: str, private_endpoint_connection_name: str, **kwargs: Any) -> ManagedInstancePrivateEndpointConnection
Parameters
| Name | Description |
|---|---|
|
resource_group_name
Required
|
The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. Required. |
|
managed_instance_name
Required
|
The name of the managed instance. Required. |
|
private_endpoint_connection_name
Required
|
The name of the private endpoint connection. Required. |
Returns
| Type | Description |
|---|---|
|
ManagedInstancePrivateEndpointConnection or the result of cls(response) |
Exceptions
| Type | Description |
|---|---|
list_by_managed_instance
Gets all private endpoint connections on a server.
list_by_managed_instance(resource_group_name: str, managed_instance_name: str, **kwargs: Any) -> AsyncItemPaged[ManagedInstancePrivateEndpointConnection]
Parameters
| Name | Description |
|---|---|
|
resource_group_name
Required
|
The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. Required. |
|
managed_instance_name
Required
|
The name of the managed instance. Required. |
Returns
| Type | Description |
|---|---|
|
An iterator like instance of either ManagedInstancePrivateEndpointConnection or the result of cls(response) |
Exceptions
| Type | Description |
|---|---|
Attributes
models
models = <module 'azure.mgmt.sql.models' from 'C:\\ToolCache\\Python\\3.12.10\\x64\\Lib\\site-packages\\py2docfx\\venv\\venv268\\Lib\\site-packages\\azure\\mgmt\\sql\\models\\__init__.py'>