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.objectPrivateLinkResourceOperations
Constructor
PrivateLinkResourceOperations(client, config, serializer, deserializer)
Parameters
- client
Client for service requests.
- config
Configuration of service client.
- serializer
An object model serializer.
- deserializer
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
- private_link_resource_name
- str
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
- maxresults
- int
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'>
Feedback
Submit and view feedback for