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 associated with the device update account.

list_by_account

List all private link resources in a device update account.

get

Get the specified private link resource associated with the device update account.

async get(resource_group_name: str, account_name: str, group_id: str, **kwargs: Any) -> azure.mgmt.deviceupdate.models._models_py3.GroupInformation

Parameters

resource_group_name
str
Required

The resource group name.

account_name
str
Required

Account name.

group_id
str
Required

The group ID of the private link resource.

cls
callable

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

Returns

GroupInformation, or the result of cls(response)

Return type

<xref:device_update.models.GroupInformation>

Exceptions

list_by_account

List all private link resources in a device update account.

list_by_account(resource_group_name: str, account_name: str, **kwargs: Any) -> AsyncIterable[azure.mgmt.deviceupdate.models._models_py3.PrivateLinkResourceListResult]

Parameters

resource_group_name
str
Required

The resource group name.

account_name
str
Required

Account name.

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:device_update.models.PrivateLinkResourceListResult>]

Exceptions

Attributes

models

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