Skip to main content

Microsoft Azure Device Update Management Client Library for Python

Project description

Microsoft Azure SDK for Python

This is the Microsoft Azure Device Update Management Client Library. This package has been tested with Python 3.7+. For a more complete view of Azure libraries, see the azure sdk python release.

Disclaimer

Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691

Getting started

Prerequisites

Install the package

pip install azure-mgmt-deviceupdate
pip install azure-identity

Authentication

By default, Azure Active Directory token authentication depends on correct configure of following environment variables.

  • AZURE_CLIENT_ID for Azure client ID.
  • AZURE_TENANT_ID for Azure tenant ID.
  • AZURE_CLIENT_SECRET for Azure client secret.

In addition, Azure subscription ID can be configured via environment variable AZURE_SUBSCRIPTION_ID.

With above configuration, client can be authenticated by following code:

from azure.identity import DefaultAzureCredential
from azure.mgmt.deviceupdate import DeviceUpdateMgmtClient
import os

sub_id = os.getenv("AZURE_SUBSCRIPTION_ID")
client = DeviceUpdateMgmtClient(credential=DefaultAzureCredential(), subscription_id=sub_id)

Examples

Code samples for this package can be found at:

Troubleshooting

Next steps

Provide Feedback

If you encounter any bugs or have suggestions, please file an issue in the Issues section of the project.

Release History

1.1.0 (2023-12-18)

Features Added

  • Model Account has a new parameter encryption

1.1.0b1 (2022-12-26)

Other Changes

  • Added generated samples in github repo
  • Drop support for python<3.7.0

1.0.0 (2022-08-26)

Breaking Changes

  • Client name is changed from DeviceUpdate to DeviceUpdateMgmtClient

1.0.0b4 (2022-05-26)

Features

  • Added operation group PrivateEndpointConnectionProxiesOperations
  • Model Account has a new parameter locations
  • Model Account has a new parameter private_endpoint_connections
  • Model Account has a new parameter sku
  • Model PrivateEndpointConnection has a new parameter group_ids

Breaking changes

  • Model IotHubSettings no longer has parameter event_hub_connection_string
  • Model IotHubSettings no longer has parameter io_t_hub_connection_string
  • Parameter private_link_service_connection_state of model PrivateEndpointConnection is now required

1.0.0b3 (2021-11-04)

Features

  • Model AccountUpdate has a new parameter identity
  • Model Instance has a new parameter diagnostic_storage_properties
  • Model Instance has a new parameter enable_diagnostics
  • Model Instance has a new parameter system_data
  • Model Account has a new parameter identity
  • Model Account has a new parameter system_data
  • Model Account has a new parameter public_network_access
  • Model Resource has a new parameter system_data
  • Model TrackedResource has a new parameter system_data
  • Model ErrorResponse has a new parameter error
  • Added operation InstancesOperations.head
  • Added operation AccountsOperations.head
  • Added operation group PrivateLinkResourcesOperations
  • Added operation group DeviceUpdateOperationsMixin
  • Added operation group PrivateEndpointConnectionsOperations

Breaking changes

  • Model ErrorResponse no longer has parameter additional_info
  • Model ErrorResponse no longer has parameter message
  • Model ErrorResponse no longer has parameter details
  • Model ErrorResponse no longer has parameter code
  • Model ErrorResponse no longer has parameter target

1.0.0b2 (2021-03-24)

Breaking changes

  • Removed operation InstancesOperations.list_by_subscription
  • Model ErrorResponse has a new signature
  • Model ErrorDefinition has a new signature

1.0.0b1 (2021-03-02)

  • Initial Release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

azure-mgmt-deviceupdate-1.1.0.tar.gz (72.0 kB view hashes)

Uploaded Source

Built Distribution

azure_mgmt_deviceupdate-1.1.0-py3-none-any.whl (98.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page