PrivateLinkScopesOperations Class
PrivateLinkScopesOperations 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.objectPrivateLinkScopesOperations
Constructor
PrivateLinkScopesOperations(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
| begin_delete |
Deletes a Azure Arc PrivateLinkScope. |
| create_or_update |
Creates (or updates) a Azure Arc PrivateLinkScope. Note: You cannot specify a different value for InstrumentationKey nor AppId in the Put operation. |
| get |
Returns a Azure Arc PrivateLinkScope. |
| get_validation_details |
Returns a Azure Arc PrivateLinkScope's validation details. |
| get_validation_details_for_machine |
Returns a Azure Arc PrivateLinkScope's validation details for a given machine. |
| list |
Gets a list of all Azure Arc PrivateLinkScopes within a subscription. |
| list_by_resource_group |
Gets a list of Azure Arc PrivateLinkScopes within a resource group. |
| update_tags |
Updates an existing PrivateLinkScope's tags. To update other fields use the CreateOrUpdate method. |
begin_delete
Deletes a Azure Arc PrivateLinkScope.
async begin_delete(resource_group_name: str, scope_name: str, **kwargs) -> azure.core.polling._async_poller.AsyncLROPoller[None]
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
- continuation_token
- str
A continuation token to restart a poller from a saved state.
- polling
- bool or AsyncPollingMethod
Pass in True if you'd like the AsyncARMPolling polling method, False for no polling, or your own initialized polling object for a personal polling strategy.
- polling_interval
- int
Default waiting time between two polls for LRO operations if no Retry-After header is present.
Returns
An instance of AsyncLROPoller that returns either None or the result of cls(response)
Return type
Exceptions
create_or_update
Creates (or updates) a Azure Arc PrivateLinkScope. Note: You cannot specify a different value for InstrumentationKey nor AppId in the Put operation.
async create_or_update(resource_group_name: str, scope_name: str, parameters: azure.mgmt.hybridcompute.models._models_py3.HybridComputePrivateLinkScope, **kwargs) -> azure.mgmt.hybridcompute.models._models_py3.HybridComputePrivateLinkScope
Parameters
- parameters
- HybridComputePrivateLinkScope
Properties that need to be specified to create or update a Azure Arc for Servers and Clusters PrivateLinkScope.
- cls
- callable
A custom type or function that will be passed the direct response
Returns
HybridComputePrivateLinkScope, or the result of cls(response)
Return type
Exceptions
get
Returns a Azure Arc PrivateLinkScope.
async get(resource_group_name: str, scope_name: str, **kwargs) -> azure.mgmt.hybridcompute.models._models_py3.HybridComputePrivateLinkScope
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
HybridComputePrivateLinkScope, or the result of cls(response)
Return type
Exceptions
get_validation_details
Returns a Azure Arc PrivateLinkScope's validation details.
async get_validation_details(location: str, private_link_scope_id: str, **kwargs) -> azure.mgmt.hybridcompute.models._models_py3.PrivateLinkScopeValidationDetails
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
PrivateLinkScopeValidationDetails, or the result of cls(response)
Return type
Exceptions
get_validation_details_for_machine
Returns a Azure Arc PrivateLinkScope's validation details for a given machine.
async get_validation_details_for_machine(resource_group_name: str, machine_name: str, **kwargs) -> azure.mgmt.hybridcompute.models._models_py3.PrivateLinkScopeValidationDetails
Parameters
- machine_name
- str
The name of the target machine to get the private link scope validation details for.
- cls
- callable
A custom type or function that will be passed the direct response
Returns
PrivateLinkScopeValidationDetails, or the result of cls(response)
Return type
Exceptions
list
Gets a list of all Azure Arc PrivateLinkScopes within a subscription.
list(**kwargs) -> AsyncIterable[azure.mgmt.hybridcompute.models._models_py3.HybridComputePrivateLinkScopeListResult]
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
An iterator like instance of either HybridComputePrivateLinkScopeListResult or the result of cls(response)
Return type
Exceptions
list_by_resource_group
Gets a list of Azure Arc PrivateLinkScopes within a resource group.
list_by_resource_group(resource_group_name: str, **kwargs) -> AsyncIterable[azure.mgmt.hybridcompute.models._models_py3.HybridComputePrivateLinkScopeListResult]
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
An iterator like instance of either HybridComputePrivateLinkScopeListResult or the result of cls(response)
Return type
Exceptions
update_tags
Updates an existing PrivateLinkScope's tags. To update other fields use the CreateOrUpdate method.
async update_tags(resource_group_name: str, scope_name: str, private_link_scope_tags: azure.mgmt.hybridcompute.models._models_py3.TagsResource, **kwargs) -> azure.mgmt.hybridcompute.models._models_py3.HybridComputePrivateLinkScope
Parameters
- private_link_scope_tags
- TagsResource
Updated tag information to set into the PrivateLinkScope instance.
- cls
- callable
A custom type or function that will be passed the direct response
Returns
HybridComputePrivateLinkScope, or the result of cls(response)
Return type
Exceptions
Attributes
models
models = <module 'azure.mgmt.hybridcompute.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.9.13\\x64\\lib\\site-packages\\azure\\mgmt\\hybridcompute\\models\\__init__.py'>
Feedback
Submit and view feedback for