AdvancedThreatProtectionOperations Class
AdvancedThreatProtectionOperations 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.objectAdvancedThreatProtectionOperations
Constructor
AdvancedThreatProtectionOperations(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
| create |
Creates or updates the Advanced Threat Protection settings on a specified resource. |
| get |
Gets the Advanced Threat Protection settings for the specified resource. |
create
Creates or updates the Advanced Threat Protection settings on a specified resource.
async create(resource_id: str, advanced_threat_protection_setting: azure.mgmt.security.models._models_py3.AdvancedThreatProtectionSetting, **kwargs) -> azure.mgmt.security.models._models_py3.AdvancedThreatProtectionSetting
Parameters
- advanced_threat_protection_setting
- AdvancedThreatProtectionSetting
Advanced Threat Protection Settings.
- cls
- callable
A custom type or function that will be passed the direct response
Returns
AdvancedThreatProtectionSetting, or the result of cls(response)
Return type
Exceptions
get
Gets the Advanced Threat Protection settings for the specified resource.
async get(resource_id: str, **kwargs) -> azure.mgmt.security.models._models_py3.AdvancedThreatProtectionSetting
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
AdvancedThreatProtectionSetting, 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