SettingsOperations Class

SettingsOperations 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.object
SettingsOperations

Constructor

SettingsOperations(client, config, serializer, deserializer)

Parameters

client
Required

Client for service requests.

config
Required

Configuration of service client.

serializer
Required

An object model serializer.

deserializer
Required

An object model deserializer.

Variables

models

Alias to model classes used in this operation group.

Methods

get

Settings of different configurations in security center.

list

Settings about different configurations in security center.

update

updating settings about different configurations in security center.

get

Settings of different configurations in security center.

async get(setting_name: Union[str, azure.mgmt.security.models._security_center_enums.Enum3], **kwargs) -> azure.mgmt.security.models._models_py3.Setting

Parameters

setting_name
str or Enum3
Required

Name of setting: (MCAS/WDATP).

cls
callable

A custom type or function that will be passed the direct response

Returns

Setting, or the result of cls(response)

Return type

Exceptions

list

Settings about different configurations in security center.

list(**kwargs) -> AsyncIterable[azure.mgmt.security.models._models_py3.SettingsList]

Parameters

cls
callable

A custom type or function that will be passed the direct response

Returns

An iterator like instance of either SettingsList or the result of cls(response)

Return type

Exceptions

update

updating settings about different configurations in security center.

async update(setting_name: Union[str, azure.mgmt.security.models._security_center_enums.Enum3], setting: azure.mgmt.security.models._models_py3.Setting, **kwargs) -> azure.mgmt.security.models._models_py3.Setting

Parameters

setting_name
str or Enum3
Required

Name of setting: (MCAS/WDATP).

setting
Setting
Required

Setting object.

cls
callable

A custom type or function that will be passed the direct response

Returns

Setting, 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'>