Skip to content

Commit 7b5db26

Browse files
azure-sdkChenxiJiang333msyycCopilot
authored
[AutoPR azure-mgmt-maps]-generated-from-SDK Generation - Python-6085658 (#46008)
* Configurations: 'specification/maps/resource-manager/Microsoft.Maps/Maps/tspconfig.yaml', API Version: 2025-10-01-preview, SDK Release Type: beta, and CommitSHA: '94db7d273945296435e15719fd0ade793fdcf7d2' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6085658 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release. * Configurations: 'specification/maps/resource-manager/Microsoft.Maps/Maps/tspconfig.yaml', API Version: 2025-10-01-preview, SDK Release Type: beta, and CommitSHA: '8190168d2cdaada2b72891ea20e22880f9382575' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6092351 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release. * Update dev_requirements.txt * update * Configurations: 'specification/maps/resource-manager/Microsoft.Maps/Maps/tspconfig.yaml', API Version: 2025-10-01-preview, SDK Release Type: beta, and CommitSHA: '843ab81f0fb6e0d22bca64e1c73ffe64d1681ca9' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6103329 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release. * update * Configurations: 'specification/maps/resource-manager/Microsoft.Maps/Maps/tspconfig.yaml', API Version: 2025-10-01-preview, SDK Release Type: beta, and CommitSHA: '4034064754d0c7a1138c518ee223bcde85170787' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6104520 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release. * Optimize changelog for azure-mgmt-maps Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: ChenxiJiang333 <119990644+ChenxiJiang333@users.noreply.github.com> Co-authored-by: ChenxiJiang333 <v-chenjiang@microsoft.com> Co-authored-by: Yuchao Yan <yuchaoyan@microsoft.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 12a195f commit 7b5db26

95 files changed

Lines changed: 12516 additions & 6767 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

sdk/maps/azure-mgmt-maps/CHANGELOG.md

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,61 @@
11
# Release History
22

3+
## 3.0.0b1 (2026-04-03)
4+
5+
### Features Added
6+
7+
- Client `AzureMapsManagementClient` added parameter `cloud_setting` in method `__init__`
8+
- Client `AzureMapsManagementClient` added method `send_request`
9+
- Client `AzureMapsManagementClient` added operation group `private_link_resources`
10+
- Client `AzureMapsManagementClient` added operation group `private_endpoint_connections`
11+
- Client `AzureMapsManagementClient` added operation group `operation_result`
12+
- Client `AzureMapsManagementClient` added operation group `operation_status`
13+
- Model `CreatorProperties` added property `total_storage_unit_size_in_bytes`
14+
- Model `CreatorProperties` added property `consumed_storage_unit_size_in_bytes`
15+
- Model `CustomerManagedKeyEncryptionKeyIdentity` added property `federated_client_id`
16+
- Model `MapsAccountProperties` added property `locations`
17+
- Model `MapsAccountProperties` added property `private_endpoint_connections`
18+
- Model `MapsAccountProperties` added property `public_network_access`
19+
- Model `Resource` added property `system_data`
20+
- Model `TrackedResource` added property `system_data`
21+
- Added enum `ActionType`
22+
- Added model `LocationsItem`
23+
- Added model `Operation`
24+
- Added model `OperationStatusResult`
25+
- Added enum `Origin`
26+
- Added model `PrivateEndpoint`
27+
- Added model `PrivateEndpointConnection`
28+
- Added model `PrivateEndpointConnectionProperties`
29+
- Added enum `PrivateEndpointConnectionProvisioningState`
30+
- Added enum `PrivateEndpointServiceConnectionStatus`
31+
- Added model `PrivateLinkResource`
32+
- Added model `PrivateLinkResourceProperties`
33+
- Added model `PrivateLinkServiceConnectionState`
34+
- Added model `ProxyResource`
35+
- Added enum `PublicNetworkAccess`
36+
- Added operation group `OperationResultOperations`
37+
- Added operation group `OperationStatusOperations`
38+
- Added operation group `PrivateEndpointConnectionsOperations`
39+
- Added operation group `PrivateLinkResourcesOperations`
40+
41+
### Breaking Changes
42+
43+
- 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.
44+
- Model `CreatorUpdateParameters` moved instance variable `provisioning_state` and `storage_units` under property `properties` whose type is `CreatorProperties`
45+
- Deleted or renamed enum value `Kind.GEN1`
46+
- Model `MapsAccountUpdateParameters` moved instance variable `unique_id`, `disable_local_auth`, `provisioning_state`, `linked_resources`, `cors` and `encryption` under property `properties` whose type is `MapsAccountProperties`
47+
- Deleted or renamed enum value `Name.S0`
48+
- Deleted or renamed enum value `Name.S1`
49+
- Deleted or renamed model `Dimension`
50+
- Deleted or renamed model `MetricSpecification`
51+
- Deleted or renamed model `OperationDetail`
52+
- Deleted or renamed model `ServiceSpecification`
53+
- Deleted or renamed method `MapsOperations.list_subscription_operations`
54+
55+
### Other Changes
56+
57+
- Deleted model `CreatorList`/`MapsAccounts`/`MapsOperations` which actually were not used by SDK users
58+
359
## 2.1.0 (2023-09-11)
460

561
### Features Added
Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
include _meta.json
2-
recursive-include tests *.py *.json
3-
recursive-include samples *.py *.md
41
include *.md
5-
include azure/__init__.py
6-
include azure/mgmt/__init__.py
72
include LICENSE
83
include azure/mgmt/maps/py.typed
4+
recursive-include tests *.py
5+
recursive-include samples *.py *.md
6+
include azure/__init__.py
7+
include azure/mgmt/__init__.py

sdk/maps/azure-mgmt-maps/README.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Microsoft Azure SDK for Python
22

33
This is the Microsoft Azure Maps Client Library.
4-
This package has been tested with Python 3.8+.
4+
This package has been tested with Python 3.9+.
55
For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all).
66

77
## _Disclaimer_
@@ -12,7 +12,7 @@ _Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For
1212

1313
### Prerequisites
1414

15-
- Python 3.8+ is required to use this package.
15+
- Python 3.9+ is required to use this package.
1616
- [Azure subscription](https://azure.microsoft.com/free/)
1717

1818
### Install the package
@@ -24,7 +24,7 @@ pip install azure-identity
2424

2525
### Authentication
2626

27-
By default, [Azure Active Directory](https://aka.ms/awps/aad) token authentication depends on correct configure of following environment variables.
27+
By default, [Azure Active Directory](https://aka.ms/awps/aad) token authentication depends on correct configuration of the following environment variables.
2828

2929
- `AZURE_CLIENT_ID` for Azure client ID.
3030
- `AZURE_TENANT_ID` for Azure tenant ID.
@@ -59,6 +59,3 @@ Code samples for this package can be found at:
5959
If you encounter any bugs or have suggestions, please file an issue in the
6060
[Issues](https://github.com/Azure/azure-sdk-for-python/issues)
6161
section of the project.
62-
63-
64-

sdk/maps/azure-mgmt-maps/_meta.json

Lines changed: 0 additions & 11 deletions
This file was deleted.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"apiVersion": "2025-10-01-preview",
3+
"apiVersions": {
4+
"Microsoft.Maps": "2025-10-01-preview"
5+
},
6+
"commit": "4034064754d0c7a1138c518ee223bcde85170787",
7+
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
8+
"typespec_src": "specification/maps/resource-manager/Microsoft.Maps/Maps",
9+
"emitterVersion": "0.61.2"
10+
}
Lines changed: 100 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,100 @@
1+
{
2+
"CrossLanguagePackageId": "Microsoft.Maps",
3+
"CrossLanguageDefinitionId": {
4+
"azure.mgmt.maps.models.AccountSasParameters": "Microsoft.Maps.AccountSasParameters",
5+
"azure.mgmt.maps.models.CorsRule": "Microsoft.Maps.CorsRule",
6+
"azure.mgmt.maps.models.CorsRules": "Microsoft.Maps.CorsRules",
7+
"azure.mgmt.maps.models.Resource": "Azure.ResourceManager.CommonTypes.Resource",
8+
"azure.mgmt.maps.models.TrackedResource": "Azure.ResourceManager.CommonTypes.TrackedResource",
9+
"azure.mgmt.maps.models.Creator": "Microsoft.Maps.Creator",
10+
"azure.mgmt.maps.models.CreatorProperties": "Microsoft.Maps.CreatorProperties",
11+
"azure.mgmt.maps.models.CreatorUpdateParameters": "Microsoft.Maps.CreatorUpdateParameters",
12+
"azure.mgmt.maps.models.CustomerManagedKeyEncryption": "Azure.ResourceManager.CommonTypes.CustomerManagedKeyEncryption",
13+
"azure.mgmt.maps.models.CustomerManagedKeyEncryptionKeyIdentity": "Azure.ResourceManager.CommonTypes.KeyEncryptionKeyIdentity",
14+
"azure.mgmt.maps.models.Encryption": "Azure.ResourceManager.CommonTypes.Encryption",
15+
"azure.mgmt.maps.models.ErrorAdditionalInfo": "Azure.ResourceManager.CommonTypes.ErrorAdditionalInfo",
16+
"azure.mgmt.maps.models.ErrorDetail": "Azure.ResourceManager.CommonTypes.ErrorDetail",
17+
"azure.mgmt.maps.models.ErrorResponse": "Azure.ResourceManager.CommonTypes.ErrorResponse",
18+
"azure.mgmt.maps.models.LinkedResource": "Microsoft.Maps.LinkedResource",
19+
"azure.mgmt.maps.models.LocationsItem": "Microsoft.Maps.LocationsItem",
20+
"azure.mgmt.maps.models.ManagedServiceIdentity": "Azure.ResourceManager.CommonTypes.ManagedServiceIdentity",
21+
"azure.mgmt.maps.models.MapsAccount": "Microsoft.Maps.MapsAccount",
22+
"azure.mgmt.maps.models.MapsAccountKeys": "Microsoft.Maps.MapsAccountKeys",
23+
"azure.mgmt.maps.models.MapsAccountProperties": "Microsoft.Maps.MapsAccountProperties",
24+
"azure.mgmt.maps.models.MapsAccountSasToken": "Microsoft.Maps.MapsAccountSasToken",
25+
"azure.mgmt.maps.models.MapsAccountUpdateParameters": "Microsoft.Maps.MapsAccountUpdateParameters",
26+
"azure.mgmt.maps.models.MapsKeySpecification": "Microsoft.Maps.MapsKeySpecification",
27+
"azure.mgmt.maps.models.Operation": "Azure.ResourceManager.CommonTypes.Operation",
28+
"azure.mgmt.maps.models.OperationDisplay": "Azure.ResourceManager.CommonTypes.OperationDisplay",
29+
"azure.mgmt.maps.models.OperationStatusResult": "Azure.ResourceManager.CommonTypes.OperationStatusResult",
30+
"azure.mgmt.maps.models.PrivateEndpoint": "Azure.ResourceManager.CommonTypes.PrivateEndpoint",
31+
"azure.mgmt.maps.models.PrivateEndpointConnection": "Microsoft.Maps.PrivateEndpointConnection",
32+
"azure.mgmt.maps.models.PrivateEndpointConnectionProperties": "Azure.ResourceManager.CommonTypes.PrivateEndpointConnectionProperties",
33+
"azure.mgmt.maps.models.ProxyResource": "Azure.ResourceManager.CommonTypes.ProxyResource",
34+
"azure.mgmt.maps.models.PrivateLinkResource": "Microsoft.Maps.PrivateLinkResource",
35+
"azure.mgmt.maps.models.PrivateLinkResourceProperties": "Azure.ResourceManager.CommonTypes.PrivateLinkResourceProperties",
36+
"azure.mgmt.maps.models.PrivateLinkServiceConnectionState": "Azure.ResourceManager.CommonTypes.PrivateLinkServiceConnectionState",
37+
"azure.mgmt.maps.models.Sku": "Microsoft.Maps.Sku",
38+
"azure.mgmt.maps.models.SystemData": "Azure.ResourceManager.CommonTypes.SystemData",
39+
"azure.mgmt.maps.models.UserAssignedIdentity": "Azure.ResourceManager.CommonTypes.UserAssignedIdentity",
40+
"azure.mgmt.maps.models.CreatedByType": "Azure.ResourceManager.CommonTypes.createdByType",
41+
"azure.mgmt.maps.models.InfrastructureEncryption": "Azure.ResourceManager.CommonTypes.InfrastructureEncryption",
42+
"azure.mgmt.maps.models.IdentityType": "Azure.ResourceManager.CommonTypes.KeyEncryptionKeyIdentityType",
43+
"azure.mgmt.maps.models.PrivateEndpointServiceConnectionStatus": "Azure.ResourceManager.CommonTypes.PrivateEndpointServiceConnectionStatus",
44+
"azure.mgmt.maps.models.PrivateEndpointConnectionProvisioningState": "Azure.ResourceManager.CommonTypes.PrivateEndpointConnectionProvisioningState",
45+
"azure.mgmt.maps.models.PublicNetworkAccess": "Microsoft.Maps.PublicNetworkAccess",
46+
"azure.mgmt.maps.models.Name": "Microsoft.Maps.Name",
47+
"azure.mgmt.maps.models.Kind": "Microsoft.Maps.Kind",
48+
"azure.mgmt.maps.models.ManagedServiceIdentityType": "Azure.ResourceManager.CommonTypes.ManagedServiceIdentityType",
49+
"azure.mgmt.maps.models.SigningKey": "Microsoft.Maps.SigningKey",
50+
"azure.mgmt.maps.models.KeyType": "Microsoft.Maps.KeyType",
51+
"azure.mgmt.maps.models.Origin": "Azure.ResourceManager.CommonTypes.Origin",
52+
"azure.mgmt.maps.models.ActionType": "Azure.ResourceManager.CommonTypes.ActionType",
53+
"azure.mgmt.maps.operations.AccountsOperations.get": "Microsoft.Maps.Accounts.get",
54+
"azure.mgmt.maps.aio.operations.AccountsOperations.get": "Microsoft.Maps.Accounts.get",
55+
"azure.mgmt.maps.operations.AccountsOperations.create_or_update": "Microsoft.Maps.Accounts.createOrUpdate",
56+
"azure.mgmt.maps.aio.operations.AccountsOperations.create_or_update": "Microsoft.Maps.Accounts.createOrUpdate",
57+
"azure.mgmt.maps.operations.AccountsOperations.update": "Microsoft.Maps.Accounts.update",
58+
"azure.mgmt.maps.aio.operations.AccountsOperations.update": "Microsoft.Maps.Accounts.update",
59+
"azure.mgmt.maps.operations.AccountsOperations.delete": "Microsoft.Maps.Accounts.delete",
60+
"azure.mgmt.maps.aio.operations.AccountsOperations.delete": "Microsoft.Maps.Accounts.delete",
61+
"azure.mgmt.maps.operations.AccountsOperations.list_by_resource_group": "Microsoft.Maps.Accounts.listByResourceGroup",
62+
"azure.mgmt.maps.aio.operations.AccountsOperations.list_by_resource_group": "Microsoft.Maps.Accounts.listByResourceGroup",
63+
"azure.mgmt.maps.operations.AccountsOperations.list_by_subscription": "Microsoft.Maps.Accounts.listBySubscription",
64+
"azure.mgmt.maps.aio.operations.AccountsOperations.list_by_subscription": "Microsoft.Maps.Accounts.listBySubscription",
65+
"azure.mgmt.maps.operations.AccountsOperations.list_sas": "Microsoft.Maps.Accounts.listSas",
66+
"azure.mgmt.maps.aio.operations.AccountsOperations.list_sas": "Microsoft.Maps.Accounts.listSas",
67+
"azure.mgmt.maps.operations.AccountsOperations.list_keys": "Microsoft.Maps.Accounts.listKeys",
68+
"azure.mgmt.maps.aio.operations.AccountsOperations.list_keys": "Microsoft.Maps.Accounts.listKeys",
69+
"azure.mgmt.maps.operations.AccountsOperations.regenerate_keys": "Microsoft.Maps.Accounts.regenerateKeys",
70+
"azure.mgmt.maps.aio.operations.AccountsOperations.regenerate_keys": "Microsoft.Maps.Accounts.regenerateKeys",
71+
"azure.mgmt.maps.operations.CreatorsOperations.get": "Microsoft.Maps.Creators.get",
72+
"azure.mgmt.maps.aio.operations.CreatorsOperations.get": "Microsoft.Maps.Creators.get",
73+
"azure.mgmt.maps.operations.CreatorsOperations.create_or_update": "Microsoft.Maps.Creators.createOrUpdate",
74+
"azure.mgmt.maps.aio.operations.CreatorsOperations.create_or_update": "Microsoft.Maps.Creators.createOrUpdate",
75+
"azure.mgmt.maps.operations.CreatorsOperations.update": "Microsoft.Maps.Creators.update",
76+
"azure.mgmt.maps.aio.operations.CreatorsOperations.update": "Microsoft.Maps.Creators.update",
77+
"azure.mgmt.maps.operations.CreatorsOperations.delete": "Microsoft.Maps.Creators.delete",
78+
"azure.mgmt.maps.aio.operations.CreatorsOperations.delete": "Microsoft.Maps.Creators.delete",
79+
"azure.mgmt.maps.operations.CreatorsOperations.list_by_account": "Microsoft.Maps.Creators.listByAccount",
80+
"azure.mgmt.maps.aio.operations.CreatorsOperations.list_by_account": "Microsoft.Maps.Creators.listByAccount",
81+
"azure.mgmt.maps.operations.PrivateLinkResourcesOperations.get": "Microsoft.Maps.PrivateLinkResources.get",
82+
"azure.mgmt.maps.aio.operations.PrivateLinkResourcesOperations.get": "Microsoft.Maps.PrivateLinkResources.get",
83+
"azure.mgmt.maps.operations.PrivateLinkResourcesOperations.list_by_account": "Microsoft.Maps.PrivateLinkResources.listByAccount",
84+
"azure.mgmt.maps.aio.operations.PrivateLinkResourcesOperations.list_by_account": "Microsoft.Maps.PrivateLinkResources.listByAccount",
85+
"azure.mgmt.maps.operations.PrivateEndpointConnectionsOperations.get": "Microsoft.Maps.PrivateEndpointConnections.get",
86+
"azure.mgmt.maps.aio.operations.PrivateEndpointConnectionsOperations.get": "Microsoft.Maps.PrivateEndpointConnections.get",
87+
"azure.mgmt.maps.operations.PrivateEndpointConnectionsOperations.begin_create": "Microsoft.Maps.PrivateEndpointConnections.create",
88+
"azure.mgmt.maps.aio.operations.PrivateEndpointConnectionsOperations.begin_create": "Microsoft.Maps.PrivateEndpointConnections.create",
89+
"azure.mgmt.maps.operations.PrivateEndpointConnectionsOperations.begin_delete": "Microsoft.Maps.PrivateEndpointConnections.delete",
90+
"azure.mgmt.maps.aio.operations.PrivateEndpointConnectionsOperations.begin_delete": "Microsoft.Maps.PrivateEndpointConnections.delete",
91+
"azure.mgmt.maps.operations.PrivateEndpointConnectionsOperations.list_by_account": "Microsoft.Maps.PrivateEndpointConnections.listByAccount",
92+
"azure.mgmt.maps.aio.operations.PrivateEndpointConnectionsOperations.list_by_account": "Microsoft.Maps.PrivateEndpointConnections.listByAccount",
93+
"azure.mgmt.maps.operations.MapsOperations.list_operations": "Azure.ResourceManager.Operations.list",
94+
"azure.mgmt.maps.aio.operations.MapsOperations.list_operations": "Azure.ResourceManager.Operations.list",
95+
"azure.mgmt.maps.operations.OperationResultOperations.begin_get": "Microsoft.Maps.OperationResultOperationGroup.get",
96+
"azure.mgmt.maps.aio.operations.OperationResultOperations.begin_get": "Microsoft.Maps.OperationResultOperationGroup.get",
97+
"azure.mgmt.maps.operations.OperationStatusOperations.get": "Microsoft.Maps.OperationStatusOperationGroup.get",
98+
"azure.mgmt.maps.aio.operations.OperationStatusOperations.get": "Microsoft.Maps.OperationStatusOperationGroup.get"
99+
}
100+
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__path__ = __import__("pkgutil").extend_path(__path__, __name__)
1+
__path__ = __import__("pkgutil").extend_path(__path__, __name__) # type: ignore
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__path__ = __import__("pkgutil").extend_path(__path__, __name__)
1+
__path__ = __import__("pkgutil").extend_path(__path__, __name__) # type: ignore

sdk/maps/azure-mgmt-maps/azure/mgmt/maps/__init__.py

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,25 +2,31 @@
22
# --------------------------------------------------------------------------
33
# Copyright (c) Microsoft Corporation. All rights reserved.
44
# Licensed under the MIT License. See License.txt in the project root for license information.
5-
# Code generated by Microsoft (R) AutoRest Code Generator.
5+
# Code generated by Microsoft (R) Python Code Generator.
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
8+
# pylint: disable=wrong-import-position
89

9-
from ._azure_maps_management_client import AzureMapsManagementClient
10+
from typing import TYPE_CHECKING
11+
12+
if TYPE_CHECKING:
13+
from ._patch import * # pylint: disable=unused-wildcard-import
14+
15+
from ._client import AzureMapsManagementClient # type: ignore
1016
from ._version import VERSION
1117

1218
__version__ = VERSION
1319

1420
try:
1521
from ._patch import __all__ as _patch_all
16-
from ._patch import * # pylint: disable=unused-wildcard-import
22+
from ._patch import *
1723
except ImportError:
1824
_patch_all = []
1925
from ._patch import patch_sdk as _patch_sdk
2026

2127
__all__ = [
2228
"AzureMapsManagementClient",
2329
]
24-
__all__.extend([p for p in _patch_all if p not in __all__])
30+
__all__.extend([p for p in _patch_all if p not in __all__]) # pyright: ignore
2531

2632
_patch_sdk()

0 commit comments

Comments
 (0)