TasksOperations Class
TasksOperations 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.objectTasksOperations
Constructor
TasksOperations(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_resource_group_level_task |
Recommended tasks that will help improve the security of the subscription proactively. |
| get_subscription_level_task |
Recommended tasks that will help improve the security of the subscription proactively. |
| list |
Recommended tasks that will help improve the security of the subscription proactively. |
| list_by_home_region |
Recommended tasks that will help improve the security of the subscription proactively. |
| list_by_resource_group |
Recommended tasks that will help improve the security of the subscription proactively. |
| update_resource_group_level_task_state |
Recommended tasks that will help improve the security of the subscription proactively. |
| update_subscription_level_task_state |
Recommended tasks that will help improve the security of the subscription proactively. |
get_resource_group_level_task
Recommended tasks that will help improve the security of the subscription proactively.
async get_resource_group_level_task(resource_group_name: str, task_name: str, **kwargs) -> azure.mgmt.security.models._models_py3.SecurityTask
Parameters
- resource_group_name
- str
The name of the resource group within the user's subscription. The name is case insensitive.
- cls
- callable
A custom type or function that will be passed the direct response
Returns
SecurityTask, or the result of cls(response)
Return type
Exceptions
get_subscription_level_task
Recommended tasks that will help improve the security of the subscription proactively.
async get_subscription_level_task(task_name: str, **kwargs) -> azure.mgmt.security.models._models_py3.SecurityTask
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
SecurityTask, or the result of cls(response)
Return type
Exceptions
list
Recommended tasks that will help improve the security of the subscription proactively.
list(filter: Optional[str] = None, **kwargs) -> AsyncIterable[azure.mgmt.security.models._models_py3.SecurityTaskList]
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
An iterator like instance of either SecurityTaskList or the result of cls(response)
Return type
Exceptions
list_by_home_region
Recommended tasks that will help improve the security of the subscription proactively.
list_by_home_region(filter: Optional[str] = None, **kwargs) -> AsyncIterable[azure.mgmt.security.models._models_py3.SecurityTaskList]
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
An iterator like instance of either SecurityTaskList or the result of cls(response)
Return type
Exceptions
list_by_resource_group
Recommended tasks that will help improve the security of the subscription proactively.
list_by_resource_group(resource_group_name: str, filter: Optional[str] = None, **kwargs) -> AsyncIterable[azure.mgmt.security.models._models_py3.SecurityTaskList]
Parameters
- resource_group_name
- str
The name of the resource group within the user's subscription. The name is case insensitive.
- cls
- callable
A custom type or function that will be passed the direct response
Returns
An iterator like instance of either SecurityTaskList or the result of cls(response)
Return type
Exceptions
update_resource_group_level_task_state
Recommended tasks that will help improve the security of the subscription proactively.
async update_resource_group_level_task_state(resource_group_name: str, task_name: str, task_update_action_type: Union[str, azure.mgmt.security.models._security_center_enums.Enum15], **kwargs) -> None
Parameters
- resource_group_name
- str
The name of the resource group within the user's subscription. The name is case insensitive.
- 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
update_subscription_level_task_state
Recommended tasks that will help improve the security of the subscription proactively.
async update_subscription_level_task_state(task_name: str, task_update_action_type: Union[str, azure.mgmt.security.models._security_center_enums.Enum15], **kwargs) -> 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
Attributes
models
models = <module 'azure.mgmt.security.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.9.13\\x64\\lib\\site-packages\\azure\\mgmt\\security\\models\\__init__.py'>
Feedback
Submit and view feedback for