Condividi tramite


ManagedInstancePrivateLinkResourcesOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

SqlManagementClient's

<xref:managed_instance_private_link_resources> attribute.

Constructor

ManagedInstancePrivateLinkResourcesOperations(*args, **kwargs)

Methods

get

Gets a private link resource for SQL server.

list_by_managed_instance

Gets the private link resources for SQL server.

get

Gets a private link resource for SQL server.

async get(resource_group_name: str, managed_instance_name: str, group_name: str, **kwargs: Any) -> ManagedInstancePrivateLink

Parameters

Name Description
resource_group_name
Required
str

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
str

The name of the managed instance. Required.

group_name
Required
str

The name of the private link resource. Required.

Returns

Type Description

ManagedInstancePrivateLink or the result of cls(response)

Exceptions

Type Description

list_by_managed_instance

Gets the private link resources for SQL server.

list_by_managed_instance(resource_group_name: str, managed_instance_name: str, **kwargs: Any) -> AsyncItemPaged[ManagedInstancePrivateLink]

Parameters

Name Description
resource_group_name
Required
str

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
str

The name of the managed instance. Required.

Returns

Type Description

An iterator like instance of either ManagedInstancePrivateLink 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'>