Package: azure-mgmt-maps
Microsoft Azure SDK for PythonThis is the Microsoft Azure Maps Client Library.
This package has been tested with Python 3.7+.
For a more complete view of Azure libraries, see theazure sdk python release.DisclaimerAzure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer tohttps://github.com/Azure/azure-sdk-for-python/issues/20691Getting startedPrerequisitesPython 3.7+ is required to use this package.Azure subscriptionInstall the packagepipinstallazure-mgmt-maps
pipinstallazure-identityAuthenticationBy default,Azure Active Directorytoken authentication depends on correct configure of following environment variables.AZURE_CLIENT_IDfor Azure client ID.AZURE_TENANT_IDfor Azure tenant ID.AZURE_CLIENT_SECRETfor Azure client secret.In addition, Azure subscription ID can be configured via environment variableAZURE_SUBSCRIPTION_ID.With above configuration, client can be authenticated by following code:fromazure.identityimportDefaultAzureCredentialfromazure.mgmt.mapsimportAzureMapsManagementClientimportossub_id=os.getenv("AZURE_SUBSCRIPTION_ID")client=AzureMapsManagementClient(credential=DefaultAzureCredential(),subscription_id=sub_id)ExamplesCode samples for this package can be found at:Search Mapson docs.microsoft.comAzure Python Mgmt SDK Samples RepoTroubleshootingNext stepsProvide FeedbackIf you encounter any bugs or have suggestions, please file an issue in theIssuessection of the project.Release History2.1.0 (2023-09-11)Features AddedAdded operation AccountsOperations.list_sasAdded operation MapsOperations.list_subscription_operationsModel Creator has a new parameter system_dataModel Dimension has a new parameter internal_metric_nameModel Dimension has a new parameter internal_nameModel Dimension has a new parameter source_mdm_namespaceModel Dimension has a new parameter to_be_exported_to_shoeboxModel MapsAccount has a new parameter identityModel MapsAccountProperties has a new parameter corsModel MapsAccountProperties has a new parameter encryptionModel MapsAccountProperties has a new parameter linked_resourcesModel MapsAccountUpdateParameters has a new parameter corsModel MapsAccountUpdateParameters has a new parameter encryptionModel MapsAccountUpdateParameters has a new parameter identityModel MapsAccountUpdateParameters has a new parameter linked_resourcesModel MetricSpecification has a new parameter internal_metric_nameModel MetricSpecification has a new parameter lock_aggregation_typeModel MetricSpecification has a new parameter source_mdm_accountModel MetricSpecification has a new parameter source_mdm_namespaceModel MetricSpecification has a new parameter supported_aggregation_types2.1.0b1 (2022-11-01)Features AddedAdded operation AccountsOperations.list_sasAdded operation MapsOperations.list_subscription_operationsModel Creator has a new parameter system_dataModel Dimension has a new parameter internal_metric_nameModel Dimension has a new parameter internal_nameModel Dimension has a new parameter source_mdm_namespaceModel Dimension has a new parameter to_be_exported_to_shoeboxModel MapsAccount has a new parameter identityModel MapsAccountProperties has a new parameter corsModel MapsAccountProperties has a new parameter linked_resourcesModel MapsAccountUpdateParameters has a new parameter corsModel MapsAccountUpdateParameters has a new parameter identityModel MapsAccountUpdateParameters has a new parameter linked_resourcesModel MetricSpecification has a new parameter internal_metric_nameModel MetricSpecification has a new parameter source_mdm_account2.0.0 (2021-05-08)FeaturesModel CreatorUpdateParameters has a new parameter storage_unitsModel CreatorUpdateParameters has a new parameter provisioning_stateModel MapsOperations has a new parameter next_linkModel CreatorList has a new parameter next_linkModel MapsAccountKeys has a new parameter secondary_key_last_updatedModel MapsAccountKeys has a new parameter primary_key_last_updatedModel MapsAccount has a new parameter kindModel MapsAccounts has a new parameter next_linkBreaking changesOperation AccountsOperations.create_or_update has a new signatureOperation CreatorsOperations.create_or_update has a new signatureParameter properties of model Creator is now requiredParameter sku of model MapsAccount is now requiredModel CreatorProperties has a new required parameter storage_unitsModel MapsAccountKeys no longer has parameter idModel MapsAccountUpdateParameters has a new signatureModel MapsAccountProperties has a new signatureRemoved operation group PrivateAtlasesOperations1.0.0 (2021-04-23)GA release1.0.0b1 (2020-12-01)This is beta preview version.This version uses a next-generation code generator that introduces important breaking changes, but also important new features (like unified authentication and async programming).General breaking changesCredential system has been completly revamped:azure.common.credentialsormsrestazure.azure_active_directoryinstances are no longer supported, use theazure-identityclasses instead:https://pypi.org/project/azure-identity/credentialsparameter has been renamedcredentialTheconfigattribute no longer exists on a client, configuration should be passed as kwarg. Example:MyClient(credential, subscription_id, enable_logging=True). For a complete set of
supported options, see theparameters accept in init documentation of azure-coreYou can't import aversionmodule anymore, use__version__insteadOperations that used to return amsrest.polling.LROPollernow returns aazure.core.polling.LROPollerand are prefixed withbegin_.Exceptions tree have been simplified and most exceptions are nowazure.core.exceptions.HttpResponseError(CloudErrorhas been removed).Most of the operation kwarg have changed. Some of the most noticeable:rawhas been removed. Equivalent feature can be found usingcls, a callback that will give access to internal HTTP response for advanced userFor a complete set of
supported options, see theparameters accept in Request documentation of azure-coreGeneral new featuresType annotations support usingtyping. SDKs are mypy ready.This client has now stable and official support for async. Check theaionamespace of your package to find the async client.This client now support natively tracing library like OpenCensus or OpenTelemetry. See thistracing quickstartfor an overview.0.1.0 (2018-05-07)Initial Release