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

Get the specified private link resource.

Get the specified private link resource for the given IotHub.

list

List private link resources.

List private link resources for the given IotHub.

get

Get the specified private link resource.

Get the specified private link resource for the given IotHub.

async get(resource_group_name: str, resource_name: str, group_id: str, **kwargs: Any) -> azure.mgmt.iothub.v2021_07_02.models._models_py3.GroupIdInformation

Parameters

resource_group_name
str
Required

The name of the resource group that contains the IoT hub.

resource_name
str
Required

The name of the IoT hub.

group_id
str
Required

The name of the private link resource.

cls
callable

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

Returns

GroupIdInformation, or the result of cls(response)

Return type

Exceptions

list

List private link resources.

List private link resources for the given IotHub.

async list(resource_group_name: str, resource_name: str, **kwargs: Any) -> azure.mgmt.iothub.v2021_07_02.models._models_py3.PrivateLinkResources

Parameters

resource_group_name
str
Required

The name of the resource group that contains the IoT hub.

resource_name
str
Required

The name of the IoT hub.

cls
callable

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

Returns

PrivateLinkResources, or the result of cls(response)

Return type

Exceptions

Attributes

models

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