ResourceGuardsOperations Class
ResourceGuardsOperations 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.objectResourceGuardsOperations
Constructor
ResourceGuardsOperations(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
| delete |
Deletes a ResourceGuard resource from the resource group. Deletes a ResourceGuard resource from the resource group. |
| get |
Returns a ResourceGuard belonging to a resource group. Returns a ResourceGuard belonging to a resource group. |
| get_backup_security_pin_requests_objects |
Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource. Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource. |
| get_default_backup_security_pin_requests_object |
Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource. Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource. |
| get_default_delete_protected_item_requests_object |
Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource. Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource. |
| get_default_delete_resource_guard_proxy_requests_object |
Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource. Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource. |
| get_default_disable_soft_delete_requests_object |
Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource. Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource. |
| get_default_update_protected_item_requests_object |
Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource. Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource. |
| get_default_update_protection_policy_requests_object |
Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource. Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource. |
| get_delete_protected_item_requests_objects |
Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource. Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource. |
| get_delete_resource_guard_proxy_requests_objects |
Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource. Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource. |
| get_disable_soft_delete_requests_objects |
Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource. Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource. |
| get_resources_in_resource_group |
Returns ResourceGuards collection belonging to a ResourceGroup. Returns ResourceGuards collection belonging to a ResourceGroup. |
| get_resources_in_subscription |
Returns ResourceGuards collection belonging to a subscription. Returns ResourceGuards collection belonging to a subscription. |
| get_update_protected_item_requests_objects |
Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource. Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource. |
| get_update_protection_policy_requests_objects |
Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource. Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource. |
| patch |
Updates a ResourceGuard resource belonging to a resource group. For example, updating tags for a resource. Updates a ResourceGuard resource belonging to a resource group. For example, updating tags for a resource. |
| put |
Creates or updates a ResourceGuard resource belonging to a resource group. Creates or updates a ResourceGuard resource belonging to a resource group. |
delete
Deletes a ResourceGuard resource from the resource group.
Deletes a ResourceGuard resource from the resource group.
async delete(resource_group_name: str, resource_guards_name: str, **kwargs: Any) -> None
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
None, or the result of cls(response)
Return type
Exceptions
get
Returns a ResourceGuard belonging to a resource group.
Returns a ResourceGuard belonging to a resource group.
async get(resource_group_name: str, resource_guards_name: str, **kwargs: Any) -> azure.mgmt.dataprotection.models._models_py3.ResourceGuardResource
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
ResourceGuardResource, or the result of cls(response)
Return type
Exceptions
get_backup_security_pin_requests_objects
Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource.
Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource.
get_backup_security_pin_requests_objects(resource_group_name: str, resource_guards_name: str, **kwargs: Any) -> AsyncIterable[azure.mgmt.dataprotection.models._models_py3.DppBaseResourceList]
Parameters
- resource_guards_name
- str
- cls
- callable
A custom type or function that will be passed the direct response
Returns
An iterator like instance of either DppBaseResourceList or the result of cls(response)
Return type
Exceptions
get_default_backup_security_pin_requests_object
Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource.
Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource.
async get_default_backup_security_pin_requests_object(resource_group_name: str, resource_guards_name: str, request_name: str, **kwargs: Any) -> azure.mgmt.dataprotection.models._models_py3.DppBaseResource
Parameters
- resource_guards_name
- str
- request_name
- str
- cls
- callable
A custom type or function that will be passed the direct response
Returns
DppBaseResource, or the result of cls(response)
Return type
Exceptions
get_default_delete_protected_item_requests_object
Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource.
Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource.
async get_default_delete_protected_item_requests_object(resource_group_name: str, resource_guards_name: str, request_name: str, **kwargs: Any) -> azure.mgmt.dataprotection.models._models_py3.DppBaseResource
Parameters
- resource_guards_name
- str
- request_name
- str
- cls
- callable
A custom type or function that will be passed the direct response
Returns
DppBaseResource, or the result of cls(response)
Return type
Exceptions
get_default_delete_resource_guard_proxy_requests_object
Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource.
Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource.
async get_default_delete_resource_guard_proxy_requests_object(resource_group_name: str, resource_guards_name: str, request_name: str, **kwargs: Any) -> azure.mgmt.dataprotection.models._models_py3.DppBaseResource
Parameters
- resource_guards_name
- str
- request_name
- str
- cls
- callable
A custom type or function that will be passed the direct response
Returns
DppBaseResource, or the result of cls(response)
Return type
Exceptions
get_default_disable_soft_delete_requests_object
Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource.
Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource.
async get_default_disable_soft_delete_requests_object(resource_group_name: str, resource_guards_name: str, request_name: str, **kwargs: Any) -> azure.mgmt.dataprotection.models._models_py3.DppBaseResource
Parameters
- resource_guards_name
- str
- request_name
- str
- cls
- callable
A custom type or function that will be passed the direct response
Returns
DppBaseResource, or the result of cls(response)
Return type
Exceptions
get_default_update_protected_item_requests_object
Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource.
Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource.
async get_default_update_protected_item_requests_object(resource_group_name: str, resource_guards_name: str, request_name: str, **kwargs: Any) -> azure.mgmt.dataprotection.models._models_py3.DppBaseResource
Parameters
- resource_guards_name
- str
- request_name
- str
- cls
- callable
A custom type or function that will be passed the direct response
Returns
DppBaseResource, or the result of cls(response)
Return type
Exceptions
get_default_update_protection_policy_requests_object
Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource.
Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource.
async get_default_update_protection_policy_requests_object(resource_group_name: str, resource_guards_name: str, request_name: str, **kwargs: Any) -> azure.mgmt.dataprotection.models._models_py3.DppBaseResource
Parameters
- resource_guards_name
- str
- request_name
- str
- cls
- callable
A custom type or function that will be passed the direct response
Returns
DppBaseResource, or the result of cls(response)
Return type
Exceptions
get_delete_protected_item_requests_objects
Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource.
Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource.
get_delete_protected_item_requests_objects(resource_group_name: str, resource_guards_name: str, **kwargs: Any) -> AsyncIterable[azure.mgmt.dataprotection.models._models_py3.DppBaseResourceList]
Parameters
- resource_guards_name
- str
- cls
- callable
A custom type or function that will be passed the direct response
Returns
An iterator like instance of either DppBaseResourceList or the result of cls(response)
Return type
Exceptions
get_delete_resource_guard_proxy_requests_objects
Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource.
Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource.
get_delete_resource_guard_proxy_requests_objects(resource_group_name: str, resource_guards_name: str, **kwargs: Any) -> AsyncIterable[azure.mgmt.dataprotection.models._models_py3.DppBaseResourceList]
Parameters
- resource_guards_name
- str
- cls
- callable
A custom type or function that will be passed the direct response
Returns
An iterator like instance of either DppBaseResourceList or the result of cls(response)
Return type
Exceptions
get_disable_soft_delete_requests_objects
Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource.
Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource.
get_disable_soft_delete_requests_objects(resource_group_name: str, resource_guards_name: str, **kwargs: Any) -> AsyncIterable[azure.mgmt.dataprotection.models._models_py3.DppBaseResourceList]
Parameters
- resource_guards_name
- str
- cls
- callable
A custom type or function that will be passed the direct response
Returns
An iterator like instance of either DppBaseResourceList or the result of cls(response)
Return type
Exceptions
get_resources_in_resource_group
Returns ResourceGuards collection belonging to a ResourceGroup.
Returns ResourceGuards collection belonging to a ResourceGroup.
get_resources_in_resource_group(resource_group_name: str, **kwargs: Any) -> AsyncIterable[azure.mgmt.dataprotection.models._models_py3.ResourceGuardResourceList]
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
An iterator like instance of either ResourceGuardResourceList or the result of cls(response)
Return type
Exceptions
get_resources_in_subscription
Returns ResourceGuards collection belonging to a subscription.
Returns ResourceGuards collection belonging to a subscription.
get_resources_in_subscription(**kwargs: Any) -> AsyncIterable[azure.mgmt.dataprotection.models._models_py3.ResourceGuardResourceList]
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
An iterator like instance of either ResourceGuardResourceList or the result of cls(response)
Return type
Exceptions
get_update_protected_item_requests_objects
Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource.
Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource.
get_update_protected_item_requests_objects(resource_group_name: str, resource_guards_name: str, **kwargs: Any) -> AsyncIterable[azure.mgmt.dataprotection.models._models_py3.DppBaseResourceList]
Parameters
- resource_guards_name
- str
- cls
- callable
A custom type or function that will be passed the direct response
Returns
An iterator like instance of either DppBaseResourceList or the result of cls(response)
Return type
Exceptions
get_update_protection_policy_requests_objects
Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource.
Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource.
get_update_protection_policy_requests_objects(resource_group_name: str, resource_guards_name: str, **kwargs: Any) -> AsyncIterable[azure.mgmt.dataprotection.models._models_py3.DppBaseResourceList]
Parameters
- resource_guards_name
- str
- cls
- callable
A custom type or function that will be passed the direct response
Returns
An iterator like instance of either DppBaseResourceList or the result of cls(response)
Return type
Exceptions
patch
Updates a ResourceGuard resource belonging to a resource group. For example, updating tags for a resource.
Updates a ResourceGuard resource belonging to a resource group. For example, updating tags for a resource.
async patch(resource_group_name: str, resource_guards_name: str, parameters: azure.mgmt.dataprotection.models._models_py3.PatchResourceRequestInput, **kwargs: Any) -> azure.mgmt.dataprotection.models._models_py3.ResourceGuardResource
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
ResourceGuardResource, or the result of cls(response)
Return type
Exceptions
put
Creates or updates a ResourceGuard resource belonging to a resource group.
Creates or updates a ResourceGuard resource belonging to a resource group.
async put(resource_group_name: str, resource_guards_name: str, parameters: azure.mgmt.dataprotection.models._models_py3.ResourceGuardResource, **kwargs: Any) -> azure.mgmt.dataprotection.models._models_py3.ResourceGuardResource
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
ResourceGuardResource, or the result of cls(response)
Return type
Exceptions
Attributes
models
models = <module 'azure.mgmt.dataprotection.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.9.13\\x64\\lib\\site-packages\\azure\\mgmt\\dataprotection\\models\\__init__.py'>
Feedback
Submit and view feedback for