你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

PrivateLinkResourcesOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

IotHubClient's

<xref:private_link_resources> attribute.

Constructor

PrivateLinkResourcesOperations(*args, **kwargs)

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.

get(resource_group_name: str, resource_name: str, group_id: str, **kwargs: Any) -> GroupIdInformation

Parameters

Name Description
resource_group_name
Required
str

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

resource_name
Required
str

The name of the IoT hub. Required.

group_id
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

GroupIdInformation or the result of cls(response)

Exceptions

Type Description

list

List private link resources.

List private link resources for the given IotHub.

list(resource_group_name: str, resource_name: str, **kwargs: Any) -> PrivateLinkResources

Parameters

Name Description
resource_group_name
Required
str

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

resource_name
Required
str

The name of the IoT hub. Required.

Keyword-Only Parameters

Name Description
cls

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

Returns

Type Description

PrivateLinkResources or the result of cls(response)

Exceptions

Type Description

Attributes

models

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