PrivateLinkResourcesOperations Class

PrivateLinkResourcesOperations async operations.

You should not instantiate this class directly. Instead, you should create a Client instance that instantiates it for you and attaches it as an attribute.

Inheritance
builtins.object
PrivateLinkResourcesOperations

Constructor

PrivateLinkResourcesOperations(client, config, serializer, deserializer)

Parameters

client
Required

Client for service requests.

config
Required

Configuration of service client.

serializer
Required

An object model serializer.

deserializer
Required

An object model deserializer.

Variables

models

Alias to model classes used in this operation group.

Methods

get

Gets the private link resources that need to be created for a Azure Monitor PrivateLinkScope.

list_by_private_link_scope

Gets the private link resources that need to be created for a Azure Monitor PrivateLinkScope.

get

Gets the private link resources that need to be created for a Azure Monitor PrivateLinkScope.

async get(resource_group_name: str, scope_name: str, group_name: str, **kwargs: Any) -> azure.mgmt.monitor.v2019_10_17.models._models_py3.PrivateLinkResource

Parameters

resource_group_name
str
Required

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

scope_name
str
Required

The name of the Azure Monitor PrivateLinkScope resource.

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

<xref:$>(<xref:python-base-namespace>)PrivateLinkResource

Exceptions

Gets the private link resources that need to be created for a Azure Monitor PrivateLinkScope.

list_by_private_link_scope(resource_group_name: str, scope_name: str, **kwargs: Any) -> AsyncIterable[azure.mgmt.monitor.v2019_10_17.models._models_py3.PrivateLinkResourceListResult]

Parameters

resource_group_name
str
Required

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

scope_name
str
Required

The name of the Azure Monitor PrivateLinkScope resource.

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

AsyncItemPaged[<xref:$>(<xref:python-base-namespace>)PrivateLinkResourceListResult]

Exceptions

Attributes

models

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