Skip to main content

Microsoft Azure Extendedlocation Management Client Library for Python

Project description

Microsoft Azure SDK for Python

This is the Microsoft Azure Extended Location Management Client Library. This package has been tested with Python 3.10+. 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-extendedlocation
pip install azure-identity

Authentication

By default, Azure Active Directory token authentication depends on correct configuration of the 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.extendedlocation import CustomLocationsMgmtClient
import os

sub_id = os.getenv("AZURE_SUBSCRIPTION_ID")
client = CustomLocationsMgmtClient(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

3.0.0b1 (2026-05-20)

Features Added

  • Model ProxyResource added property system_data
  • Model Resource added property system_data
  • Model TrackedResource added property system_data
  • Added model CustomLocationFindTargetResourceGroupProperties
  • Added model CustomLocationFindTargetResourceGroupResult
  • Added model MatchExpressionsProperties
  • Added model PatchableResourceSyncRule
  • Added model ResourceSyncRule
  • Added model ResourceSyncRuleProperties
  • Added model ResourceSyncRulePropertiesSelector
  • Operation group CustomLocationsOperations added method find_target_resource_group
  • Added operation group ResourceSyncRulesOperations

Breaking Changes

  • This version introduces new hybrid models which have dual dictionary and model nature. Please follow https://aka.ms/azsdk/python/migrate/hybrid-models for migration.
  • Renamed client CustomLocations to CustomLocationsMgmtClient
  • Model CustomLocationOperation moved instance variable description, operation, provider and resource under property display whose type is CustomLocationOperationValueDisplay
  • Model PatchableCustomLocations moved instance variable authentication, cluster_extension_ids, display_name, host_resource_id, host_type, namespace and provisioning_state under property properties whose type is CustomLocationProperties
  • Method CustomLocationsOperations.update replaced its parameters identity/tags/authentication/cluster_extension_ids/display_name/host_resource_id/host_type/namespace/provisioning_state with a single parameters argument of type PatchableCustomLocations

Other Changes

  • Deleted model CustomLocationOperationsList which actually was not used by SDK users

2.0.0 (2024-10-30)

Breaking Changes

  • This package now only targets the latest Api-Version available on Azure and removes APIs of other Api-Version. After this change, the package can have much smaller size. If your application requires a specific and non-latest Api-Version, it's recommended to pin this package to the previous released version; If your application always only use latest Api-Version, please ignore this change.

1.2.0b1 (2023-02-14)

Other Changes

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

1.1.0 (2022-07-12)

Features

  • Added operation CustomLocationsOperations.find_target_resource_group
  • Added operation group ResourceSyncRulesOperations

1.0.0 (2021-09-22)

Features

  • Adding a new API Version 2021-08-15
  • Adding support for Managed Identity [SystemAssigned]
  • Model PatchableCustomLocations has a new parameter identity
  • Model CustomLocation has a new parameter identity

Breaking changes

  • Operation CustomLocationsOperations.update has a new signature

1.0.0b2 (2021-05-06)

  • Remove v2020_07_15_privatepreview

1.0.0b1 (2021-03-25)

  • 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_extendedlocation-3.0.0b1.tar.gz (64.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

azure_mgmt_extendedlocation-3.0.0b1-py3-none-any.whl (71.5 kB view details)

Uploaded Python 3

File details

Details for the file azure_mgmt_extendedlocation-3.0.0b1.tar.gz.

File metadata

File hashes

Hashes for azure_mgmt_extendedlocation-3.0.0b1.tar.gz
Algorithm Hash digest
SHA256 8ced226293c253045e01c7553ed47285d8765162bf62c3fb7ec1581975f4ee18
MD5 98c8b94b8b0757ed07d4d5c0857ae050
BLAKE2b-256 6ad043e507611b5b31578e682ab79cd7d8bf865bb84e0d1ebbb8a65b9b5d26e6

See more details on using hashes here.

File details

Details for the file azure_mgmt_extendedlocation-3.0.0b1-py3-none-any.whl.

File metadata

File hashes

Hashes for azure_mgmt_extendedlocation-3.0.0b1-py3-none-any.whl
Algorithm Hash digest
SHA256 630a0d894f281d44aaf3a38361ef0a99fd80665bc6ce79192c706798355ea1b7
MD5 f1c93907527b741127c7c8c6ee5eb60c
BLAKE2b-256 be22a092c9ded8c42efd1fd546fb2d7370fac1276772292b2e968efb93078eaf

See more details on using hashes here.

Supported by

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