IotSensorsOperations Class
IotSensorsOperations 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.objectIotSensorsOperations
Constructor
IotSensorsOperations(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_or_update |
Create or update IoT sensor. |
| delete |
Delete IoT sensor. |
| download_activation |
Download sensor activation file. |
| download_reset_password |
Download file for reset password of the sensor. |
| get |
Get IoT sensor. |
| list |
List IoT sensors. |
| trigger_ti_package_update |
Trigger threat intelligence package update. |
create_or_update
Create or update IoT sensor.
async create_or_update(scope: str, iot_sensor_name: str, iot_sensors_model: azure.mgmt.security.models._models_py3.IotSensorsModel, **kwargs) -> azure.mgmt.security.models._models_py3.IotSensorsModel
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
IotSensorsModel, or the result of cls(response)
Return type
Exceptions
delete
Delete IoT sensor.
async delete(scope: str, iot_sensor_name: str, **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_activation
Download sensor activation file.
async download_activation(scope: str, iot_sensor_name: str, **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
Exceptions
download_reset_password
Download file for reset password of the sensor.
async download_reset_password(scope: str, iot_sensor_name: str, body: azure.mgmt.security.models._models_py3.ResetPasswordInput, **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
Exceptions
get
Get IoT sensor.
async get(scope: str, iot_sensor_name: str, **kwargs) -> azure.mgmt.security.models._models_py3.IotSensorsModel
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
IotSensorsModel, or the result of cls(response)
Return type
Exceptions
list
List IoT sensors.
async list(scope: str, **kwargs) -> azure.mgmt.security.models._models_py3.IotSensorsList
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
IotSensorsList, or the result of cls(response)
Return type
Exceptions
trigger_ti_package_update
Trigger threat intelligence package update.
async trigger_ti_package_update(scope: str, iot_sensor_name: str, **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