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.

get(resource_group_name: str, account_name: str, group_name: str, **kwargs: Any) -> azure.mgmt.cosmosdb.models._models_py3.PrivateLinkResource

Parameters

resource_group_name
str
Required

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

account_name
str
Required

Cosmos DB database account name.

group_name
str
Required

The name of the private link resource.

cls
callable

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

Returns

PrivateLinkResource, or the result of cls(response)

Return type

Exceptions

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) -> Iterable[azure.mgmt.cosmosdb.models._models_py3.PrivateLinkResourceListResult]

Parameters

resource_group_name
str
Required

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

account_name
str
Required

Cosmos DB database account name.

cls
callable

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

Returns

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

Return type

Exceptions

Attributes

models

models = <module 'azure.mgmt.cosmosdb.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.9.13\\x64\\lib\\site-packages\\azure\\mgmt\\cosmosdb\\models\\__init__.py'>