PrivateLinkResourcesOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

IotHubClient's

<xref:private_link_resources> attribute.

Inheritance
builtins.object
PrivateLinkResourcesOperations

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