azure.iot.deviceupdate.aio package¶
-
class
azure.iot.deviceupdate.aio.
DeviceUpdateClient
(endpoint: str, instance_id: str, credential: AsyncTokenCredential, **kwargs: Any)[source]¶ Device Update for IoT Hub is an Azure service that enables customers to publish update for their IoT devices to the cloud, and then deploy that update to their devices (approve updates to groups of devices managed and provisioned in IoT Hub). It leverages the proven security and reliability of the Windows Update platform, optimized for IoT devices. It works globally and knows when and how to update devices, enabling customers to focus on their business goals and let Device Update for IoT Hub handle the updates.
- Variables
device_update (azure.iot.deviceupdate.aio.operations.DeviceUpdateOperations) – DeviceUpdateOperations operations
device_management (azure.iot.deviceupdate.aio.operations.DeviceManagementOperations) – DeviceManagementOperations operations
- Parameters
- Keyword Arguments
-
send_request
(request: azure.core.rest._rest_py3.HttpRequest, **kwargs: Any) → Awaitable[azure.core.rest._rest_py3.AsyncHttpResponse][source]¶ Runs the network request through the client’s chained policies.
>>> from azure.core.rest import HttpRequest >>> request = HttpRequest("GET", "https://www.example.org/") <HttpRequest [GET], url: 'https://www.example.org/'> >>> response = await client.send_request(request) <AsyncHttpResponse: 200 OK>
For more information on this code flow, see https://aka.ms/azsdk/python/protocol/quickstart
- Parameters
request (HttpRequest) – The network request you want to make. Required.
- Keyword Arguments
stream (bool) – Whether the response payload will be streamed. Defaults to False.
- Returns
The response of your network call. Does not do error handling on your response.
- Return type