IotDefenderSettingsOperations Class

IotDefenderSettingsOperations 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
IotDefenderSettingsOperations

Constructor

IotDefenderSettingsOperations(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

create_or_update

Create or update IoT Defender settings.

delete

Delete IoT Defender settings.

download_manager_activation

Download manager activation data defined for this subscription.

get

Get IoT Defender Settings.

list

List IoT Defender Settings.

package_downloads

Information about downloadable packages.

create_or_update

Create or update IoT Defender settings.

async create_or_update(iot_defender_settings_model: azure.mgmt.security.models._models_py3.IotDefenderSettingsModel, **kwargs) -> azure.mgmt.security.models._models_py3.IotDefenderSettingsModel

Parameters

iot_defender_settings_model
IotDefenderSettingsModel
Required

The IoT defender settings model.

cls
callable

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

Returns

IotDefenderSettingsModel, or the result of cls(response)

Return type

Exceptions

delete

Delete IoT Defender settings.

async delete(**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

download_manager_activation

Download manager activation data defined for this subscription.

async download_manager_activation(**kwargs) -> IO

Parameters

cls
callable

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

Returns

IO, or the result of cls(response)

Return type

<xref:IO>

Exceptions

get

Get IoT Defender Settings.

async get(**kwargs) -> azure.mgmt.security.models._models_py3.IotDefenderSettingsModel

Parameters

cls
callable

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

Returns

IotDefenderSettingsModel, or the result of cls(response)

Return type

Exceptions

list

List IoT Defender Settings.

async list(**kwargs) -> azure.mgmt.security.models._models_py3.IotDefenderSettingsList

Parameters

cls
callable

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

Returns

IotDefenderSettingsList, or the result of cls(response)

Return type

Exceptions

package_downloads

Information about downloadable packages.

async package_downloads(**kwargs) -> azure.mgmt.security.models._models_py3.PackageDownloads

Parameters

cls
callable

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

Returns

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