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

PrivateLinkResourceOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

BatchManagementClient's

<xref:private_link_resource> attribute.

Constructor

PrivateLinkResourceOperations(*args, **kwargs)

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) -> PrivateLinkResource

Parameters

Name Description
resource_group_name
Required
str

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

account_name
Required
str

The name of the Batch account. Required.

private_link_resource_name
Required
str

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

Returns

Type Description

PrivateLinkResource or the result of cls(response)

Exceptions

Type Description

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: int | None = None, **kwargs: Any) -> AsyncIterable[PrivateLinkResource]

Parameters

Name Description
resource_group_name
Required
str

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

account_name
Required
str

The name of the Batch account. Required.

maxresults
Required
int

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

Returns

Type Description

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

Exceptions

Type Description

Attributes

models

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