PrivateLinkResourceOperations Class

PrivateLinkResourceOperations 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
PrivateLinkResourceOperations

Constructor

PrivateLinkResourceOperations(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

Gets information about the specified private link resource.

list_by_batch_account

Lists all of the private link resources in the specified account.

get

Gets information about the specified private link resource.

async get(resource_group_name: str, account_name: str, private_link_resource_name: str, **kwargs: Any) -> azure.mgmt.batch.models._models_py3.PrivateLinkResource

Parameters

resource_group_name
str
Required

The name of the resource group that contains the Batch account.

account_name
str
Required

The name of the Batch account.

private_link_resource_name
str
Required

The private link resource name. This must be unique within the account.

cls
callable

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

Returns

PrivateLinkResource, or the result of cls(response)

Return type

Exceptions

list_by_batch_account

Lists all of the private link resources in the specified account.

list_by_batch_account(resource_group_name: str, account_name: str, maxresults: Optional[int] = None, **kwargs: Any) -> AsyncIterable[azure.mgmt.batch.models._models_py3.ListPrivateLinkResourcesResult]

Parameters

resource_group_name
str
Required

The name of the resource group that contains the Batch account.

account_name
str
Required

The name of the Batch account.

maxresults
int
Required

The maximum number of items to return in the response. Default value is None.

cls
callable

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

Returns

An iterator like instance of either ListPrivateLinkResourcesResult or the result of cls(response)

Return type

Exceptions

Attributes

models

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