Share via


PrivateLinkResourcesOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

CosmosdbForPostgresqlMgmtClient's

<xref:private_link_resources> attribute.

Constructor

PrivateLinkResourcesOperations(*args, **kwargs)

Methods

get

Gets a private link resource for cluster.

list_by_cluster

Gets the private link resources for cluster.

get

Gets a private link resource for cluster.

get(resource_group_name: str, cluster_name: str, private_link_resource_name: str, **kwargs: Any) -> PrivateLinkResource

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

cluster_name
Required
str

The name of the cluster. Required.

private_link_resource_name
Required
str

The name of the private link resource. Required.

Keyword-Only Parameters

Name Description
cls

A custom type or function that will be passed the direct response

Returns

Type Description

PrivateLinkResource or the result of cls(response)

Exceptions

Type Description

list_by_cluster

Gets the private link resources for cluster.

list_by_cluster(resource_group_name: str, cluster_name: str, **kwargs: Any) -> Iterable[PrivateLinkResource]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

cluster_name
Required
str

The name of the cluster. Required.

Keyword-Only Parameters

Name Description
cls

A custom type or function that will be passed the direct response

Returns

Type Description

An iterator like instance of either PrivateLinkResource or the result of cls(response)

Exceptions

Type Description

Attributes

models

models = <module 'azure.mgmt.cosmosdbforpostgresql.models' from 'C:\\ToolCache\\Python\\3.11.9\\x64\\Lib\\site-packages\\py2docfx\\venv\\venv102\\Lib\\site-packages\\azure\\mgmt\\cosmosdbforpostgresql\\models\\__init__.py'>