PrivateLinkResourceOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<xref:private_link_resource> attribute.
- Inheritance
-
builtins.objectPrivateLinkResourceOperations
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.
get(resource_group_name: str, account_name: str, private_link_resource_name: str, **kwargs: Any) -> PrivateLinkResource
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
The name of the resource group that contains the Batch account. Required. |
account_name
Required
|
The name of the Batch account. Required. |
private_link_resource_name
Required
|
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) -> Iterable[PrivateLinkResource]
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
The name of the resource group that contains the Batch account. Required. |
account_name
Required
|
The name of the Batch account. Required. |
maxresults
Required
|
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.9\\x64\\Lib\\site-packages\\azure\\mgmt\\batch\\models\\__init__.py'>
Azure SDK for Python