PrivateLinkResourcesOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<xref:private_link_resources> attribute.
- Inheritance
-
builtins.objectPrivateLinkResourcesOperations
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.
async get(resource_group_name: str, resource_name: str, group_id: str, **kwargs: Any) -> GroupIdInformation
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
The name of the resource group that contains the IoT hub. Required. |
resource_name
Required
|
The name of the IoT hub. Required. |
group_id
Required
|
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.
async list(resource_group_name: str, resource_name: str, **kwargs: Any) -> PrivateLinkResources
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
The name of the resource group that contains the IoT hub. Required. |
resource_name
Required
|
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.9\\x64\\Lib\\site-packages\\azure\\mgmt\\iothub\\v2021_07_02\\models\\__init__.py'>
Azure SDK for Python