PrivateLinkResourcesOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

CosmosDBManagementClient's

<xref:private_link_resources> attribute.

Inheritance
builtins.object
PrivateLinkResourcesOperations

Constructor

PrivateLinkResourcesOperations(*args, **kwargs)

Methods

get

Gets the private link resources that need to be created for a Cosmos DB account.

list_by_database_account

Gets the private link resources that need to be created for a Cosmos DB account.

get

Gets the private link resources that need to be created for a Cosmos DB account.

async get(resource_group_name: str, account_name: str, group_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.

account_name
Required
str

Cosmos DB database account name. Required.

group_name
Required
str

The name of the private link resource. Required.

Returns

Type Description

PrivateLinkResource or the result of cls(response)

Exceptions

Type Description

list_by_database_account

Gets the private link resources that need to be created for a Cosmos DB account.

list_by_database_account(resource_group_name: str, account_name: str, **kwargs: Any) -> AsyncIterable[PrivateLinkResource]

Parameters

Name Description
resource_group_name
Required
str

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

account_name
Required
str

Cosmos DB database account name. Required.

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.cosmosdb.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.9\\x64\\Lib\\site-packages\\azure\\mgmt\\cosmosdb\\models\\__init__.py'>