PrivateLinkResourceOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<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.
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. The name is case insensitive. Required. |
|
account_name
Required
|
A name for the Batch account which must be unique within the region. Batch account names must be between 3 and 24 characters in length and must use only numbers and lowercase letters. This name is used as part of the DNS name that is used to access the Batch service in the region in which the account is created. For example: http://accountname.region.batch.azure.com/. Required. |
|
private_link_resource_name
Required
|
The private link resource name. This must be unique within the account. Required. |
Returns
| Type | Description |
|---|---|
|
PrivateLinkResource. The PrivateLinkResource is compatible with MutableMapping |
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) -> ItemPaged[PrivateLinkResource]
Parameters
| Name | Description |
|---|---|
|
resource_group_name
Required
|
The name of the resource group. The name is case insensitive. Required. |
|
account_name
Required
|
A name for the Batch account which must be unique within the region. Batch account names must be between 3 and 24 characters in length and must use only numbers and lowercase letters. This name is used as part of the DNS name that is used to access the Batch service in the region in which the account is created. For example: http://accountname.region.batch.azure.com/. Required. |
Keyword-Only Parameters
| Name | Description |
|---|---|
|
maxresults
|
The maximum number of items to return in the response. Default value is None. Default value: None
|
Returns
| Type | Description |
|---|---|
|
An iterator like instance of PrivateLinkResource |
Exceptions
| Type | Description |
|---|---|