Skip to content

Commit 6975c01

Browse files
author
SDKAuto
committed
CodeGen from PR 34496 in Azure/azure-rest-api-specs
Merge cda524fd4161504b30f5c81780066bd0c1eed923 into c45e699554f6117525c2d1de4846968958f62ce5
1 parent 206fa48 commit 6975c01

File tree

120 files changed

+15470
-11238
lines changed

Some content is hidden

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

120 files changed

+15470
-11238
lines changed

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

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

3+
## 2.2.0b3 (2025-05-12)
4+
5+
change log generation failed!!!
6+
37
## 2.2.0b2 (2024-05-20)
48

59
### Features Added

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

Lines changed: 3 additions & 3 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 Maintenance Management 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.
Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
{
2-
"commit": "f8b7c60c9839bc32fa19eb3d1d13069b70ba345d",
2+
"commit": "bfbf24e06a1e475b4c340163b56527417e2d7096",
33
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
4-
"autorest": "3.9.7",
5-
"use": [
6-
"@autorest/[email protected]",
7-
"@autorest/[email protected]"
8-
],
9-
"autorest_command": "autorest specification/maintenance/resource-manager/readme.md --generate-sample=True --include-x-ms-examples-original-file=True --python --python-sdks-folder=/home/vsts/work/1/azure-sdk-for-python/sdk --use=@autorest/[email protected] --use=@autorest/[email protected] --version=3.9.7 --version-tolerant=False",
10-
"readme": "specification/maintenance/resource-manager/readme.md"
4+
"typespec_src": "specification/maintenance/Maintenance.Management",
5+
"@azure-tools/typespec-python": "0.44.2"
116
}
Lines changed: 109 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,109 @@
1+
{
2+
"CrossLanguagePackageId": "Microsoft.Maintenance",
3+
"CrossLanguageDefinitionId": {
4+
"azure.mgmt.maintenance.models.Resource": "Azure.ResourceManager.CommonTypes.Resource",
5+
"azure.mgmt.maintenance.models.ProxyResource": "Azure.ResourceManager.CommonTypes.ProxyResource",
6+
"azure.mgmt.maintenance.models.ApplyUpdate": "Microsoft.Maintenance.ApplyUpdate",
7+
"azure.mgmt.maintenance.models.ApplyUpdateProperties": "Microsoft.Maintenance.ApplyUpdateProperties",
8+
"azure.mgmt.maintenance.models.ConfigurationAssignment": "Microsoft.Maintenance.ConfigurationAssignment",
9+
"azure.mgmt.maintenance.models.ConfigurationAssignmentFilterProperties": "Microsoft.Maintenance.ConfigurationAssignmentFilterProperties",
10+
"azure.mgmt.maintenance.models.ConfigurationAssignmentProperties": "Microsoft.Maintenance.ConfigurationAssignmentProperties",
11+
"azure.mgmt.maintenance.models.ErrorDetails": "Microsoft.Maintenance.ErrorDetails",
12+
"azure.mgmt.maintenance.models.InputLinuxParameters": "Microsoft.Maintenance.InputLinuxParameters",
13+
"azure.mgmt.maintenance.models.InputPatchConfiguration": "Microsoft.Maintenance.InputPatchConfiguration",
14+
"azure.mgmt.maintenance.models.InputWindowsParameters": "Microsoft.Maintenance.InputWindowsParameters",
15+
"azure.mgmt.maintenance.models.TrackedResource": "Azure.ResourceManager.CommonTypes.TrackedResource",
16+
"azure.mgmt.maintenance.models.MaintenanceConfiguration": "Microsoft.Maintenance.MaintenanceConfiguration",
17+
"azure.mgmt.maintenance.models.MaintenanceConfigurationProperties": "Microsoft.Maintenance.MaintenanceConfigurationProperties",
18+
"azure.mgmt.maintenance.models.MaintenanceError": "Microsoft.Maintenance.MaintenanceError",
19+
"azure.mgmt.maintenance.models.MaintenanceWindow": "Microsoft.Maintenance.MaintenanceWindow",
20+
"azure.mgmt.maintenance.models.Operation": "Azure.ResourceManager.CommonTypes.Operation",
21+
"azure.mgmt.maintenance.models.OperationDisplay": "Azure.ResourceManager.CommonTypes.OperationDisplay",
22+
"azure.mgmt.maintenance.models.ScheduledEventApproveResponse": "Microsoft.Maintenance.ScheduledEventApproveResponse",
23+
"azure.mgmt.maintenance.models.SystemData": "Azure.ResourceManager.CommonTypes.SystemData",
24+
"azure.mgmt.maintenance.models.TagSettingsProperties": "Microsoft.Maintenance.TagSettingsProperties",
25+
"azure.mgmt.maintenance.models.Update": "Microsoft.Maintenance.Update",
26+
"azure.mgmt.maintenance.models.UpdateProperties": "Microsoft.Maintenance.UpdateProperties",
27+
"azure.mgmt.maintenance.models.Origin": "Azure.ResourceManager.CommonTypes.Origin",
28+
"azure.mgmt.maintenance.models.ActionType": "Azure.ResourceManager.CommonTypes.ActionType",
29+
"azure.mgmt.maintenance.models.CreatedByType": "Azure.ResourceManager.CommonTypes.createdByType",
30+
"azure.mgmt.maintenance.models.MaintenanceScope": "Microsoft.Maintenance.MaintenanceScope",
31+
"azure.mgmt.maintenance.models.Visibility": "Microsoft.Maintenance.Visibility",
32+
"azure.mgmt.maintenance.models.RebootOptions": "Microsoft.Maintenance.RebootOptions",
33+
"azure.mgmt.maintenance.models.UpdateStatus": "Microsoft.Maintenance.UpdateStatus",
34+
"azure.mgmt.maintenance.models.TagOperators": "Microsoft.Maintenance.TagOperators",
35+
"azure.mgmt.maintenance.models.ImpactType": "Microsoft.Maintenance.ImpactType",
36+
"azure.mgmt.maintenance.operations.Operations.list": "Microsoft.Maintenance.Operations.list",
37+
"azure.mgmt.maintenance.aio.operations.Operations.list": "Microsoft.Maintenance.Operations.list",
38+
"azure.mgmt.maintenance.operations.MaintenanceConfigurationsOperations.get": "Microsoft.Maintenance.MaintenanceConfigurations.get",
39+
"azure.mgmt.maintenance.aio.operations.MaintenanceConfigurationsOperations.get": "Microsoft.Maintenance.MaintenanceConfigurations.get",
40+
"azure.mgmt.maintenance.operations.MaintenanceConfigurationsOperations.list": "Microsoft.Maintenance.MaintenanceConfigurations.list",
41+
"azure.mgmt.maintenance.aio.operations.MaintenanceConfigurationsOperations.list": "Microsoft.Maintenance.MaintenanceConfigurations.list",
42+
"azure.mgmt.maintenance.operations.MaintenanceConfigurationOperationGroupOperations.get": "Microsoft.Maintenance.MaintenanceConfigurationOperationGroup.get",
43+
"azure.mgmt.maintenance.aio.operations.MaintenanceConfigurationOperationGroupOperations.get": "Microsoft.Maintenance.MaintenanceConfigurationOperationGroup.get",
44+
"azure.mgmt.maintenance.operations.MaintenanceConfigurationOperationGroupOperations.create_or_update": "Microsoft.Maintenance.MaintenanceConfigurationOperationGroup.createOrUpdate",
45+
"azure.mgmt.maintenance.aio.operations.MaintenanceConfigurationOperationGroupOperations.create_or_update": "Microsoft.Maintenance.MaintenanceConfigurationOperationGroup.createOrUpdate",
46+
"azure.mgmt.maintenance.operations.MaintenanceConfigurationOperationGroupOperations.update": "Microsoft.Maintenance.MaintenanceConfigurationOperationGroup.update",
47+
"azure.mgmt.maintenance.aio.operations.MaintenanceConfigurationOperationGroupOperations.update": "Microsoft.Maintenance.MaintenanceConfigurationOperationGroup.update",
48+
"azure.mgmt.maintenance.operations.MaintenanceConfigurationOperationGroupOperations.delete": "Microsoft.Maintenance.MaintenanceConfigurationOperationGroup.delete",
49+
"azure.mgmt.maintenance.aio.operations.MaintenanceConfigurationOperationGroupOperations.delete": "Microsoft.Maintenance.MaintenanceConfigurationOperationGroup.delete",
50+
"azure.mgmt.maintenance.operations.MaintenanceConfigurationOperationGroupOperations.list": "Microsoft.Maintenance.MaintenanceConfigurationOperationGroup.list",
51+
"azure.mgmt.maintenance.aio.operations.MaintenanceConfigurationOperationGroupOperations.list": "Microsoft.Maintenance.MaintenanceConfigurationOperationGroup.list",
52+
"azure.mgmt.maintenance.operations.MaintenanceConfigurationOperationGroupOperations.maintenance_configurations_list": "Microsoft.Maintenance.MaintenanceConfigurationOperationGroup.maintenanceConfigurationsList",
53+
"azure.mgmt.maintenance.aio.operations.MaintenanceConfigurationOperationGroupOperations.maintenance_configurations_list": "Microsoft.Maintenance.MaintenanceConfigurationOperationGroup.maintenanceConfigurationsList",
54+
"azure.mgmt.maintenance.operations.ApplyUpdatesOperations.get_parent": "Microsoft.Maintenance.ApplyUpdates.getParent",
55+
"azure.mgmt.maintenance.aio.operations.ApplyUpdatesOperations.get_parent": "Microsoft.Maintenance.ApplyUpdates.getParent",
56+
"azure.mgmt.maintenance.operations.ApplyUpdateOperationGroupOperations.get": "Microsoft.Maintenance.ApplyUpdateOperationGroup.get",
57+
"azure.mgmt.maintenance.aio.operations.ApplyUpdateOperationGroupOperations.get": "Microsoft.Maintenance.ApplyUpdateOperationGroup.get",
58+
"azure.mgmt.maintenance.operations.ApplyUpdateOperationGroupOperations.create_or_update_or_cancel": "Microsoft.Maintenance.ApplyUpdateOperationGroup.createOrUpdateOrCancel",
59+
"azure.mgmt.maintenance.aio.operations.ApplyUpdateOperationGroupOperations.create_or_update_or_cancel": "Microsoft.Maintenance.ApplyUpdateOperationGroup.createOrUpdateOrCancel",
60+
"azure.mgmt.maintenance.operations.ApplyUpdateOperationGroupOperations.list": "Microsoft.Maintenance.ApplyUpdateOperationGroup.list",
61+
"azure.mgmt.maintenance.aio.operations.ApplyUpdateOperationGroupOperations.list": "Microsoft.Maintenance.ApplyUpdateOperationGroup.list",
62+
"azure.mgmt.maintenance.operations.ConfigurationAssignmentsOperations.get_parent": "Microsoft.Maintenance.ConfigurationAssignments.getParent",
63+
"azure.mgmt.maintenance.aio.operations.ConfigurationAssignmentsOperations.get_parent": "Microsoft.Maintenance.ConfigurationAssignments.getParent",
64+
"azure.mgmt.maintenance.operations.ConfigurationAssignmentsOperations.create_or_update_parent": "Microsoft.Maintenance.ConfigurationAssignments.createOrUpdateParent",
65+
"azure.mgmt.maintenance.aio.operations.ConfigurationAssignmentsOperations.create_or_update_parent": "Microsoft.Maintenance.ConfigurationAssignments.createOrUpdateParent",
66+
"azure.mgmt.maintenance.operations.ConfigurationAssignmentsOperations.delete_parent": "Microsoft.Maintenance.ConfigurationAssignments.deleteParent",
67+
"azure.mgmt.maintenance.aio.operations.ConfigurationAssignmentsOperations.delete_parent": "Microsoft.Maintenance.ConfigurationAssignments.deleteParent",
68+
"azure.mgmt.maintenance.operations.ConfigurationAssignmentsOperations.list_parent": "Microsoft.Maintenance.ConfigurationAssignments.listParent",
69+
"azure.mgmt.maintenance.aio.operations.ConfigurationAssignmentsOperations.list_parent": "Microsoft.Maintenance.ConfigurationAssignments.listParent",
70+
"azure.mgmt.maintenance.operations.ConfigurationAssignmentOperationGroupOperations.get": "Microsoft.Maintenance.ConfigurationAssignmentOperationGroup.get",
71+
"azure.mgmt.maintenance.aio.operations.ConfigurationAssignmentOperationGroupOperations.get": "Microsoft.Maintenance.ConfigurationAssignmentOperationGroup.get",
72+
"azure.mgmt.maintenance.operations.ConfigurationAssignmentOperationGroupOperations.create_or_update": "Microsoft.Maintenance.ConfigurationAssignmentOperationGroup.createOrUpdate",
73+
"azure.mgmt.maintenance.aio.operations.ConfigurationAssignmentOperationGroupOperations.create_or_update": "Microsoft.Maintenance.ConfigurationAssignmentOperationGroup.createOrUpdate",
74+
"azure.mgmt.maintenance.operations.ConfigurationAssignmentOperationGroupOperations.delete": "Microsoft.Maintenance.ConfigurationAssignmentOperationGroup.delete",
75+
"azure.mgmt.maintenance.aio.operations.ConfigurationAssignmentOperationGroupOperations.delete": "Microsoft.Maintenance.ConfigurationAssignmentOperationGroup.delete",
76+
"azure.mgmt.maintenance.operations.ConfigurationAssignmentsForSubscriptionsOperations.get": "Microsoft.Maintenance.ConfigurationAssignmentsForSubscriptions.get",
77+
"azure.mgmt.maintenance.aio.operations.ConfigurationAssignmentsForSubscriptionsOperations.get": "Microsoft.Maintenance.ConfigurationAssignmentsForSubscriptions.get",
78+
"azure.mgmt.maintenance.operations.ConfigurationAssignmentsForSubscriptionsOperations.create_or_update": "Microsoft.Maintenance.ConfigurationAssignmentsForSubscriptions.createOrUpdate",
79+
"azure.mgmt.maintenance.aio.operations.ConfigurationAssignmentsForSubscriptionsOperations.create_or_update": "Microsoft.Maintenance.ConfigurationAssignmentsForSubscriptions.createOrUpdate",
80+
"azure.mgmt.maintenance.operations.ConfigurationAssignmentsForSubscriptionsOperations.update": "Microsoft.Maintenance.ConfigurationAssignmentsForSubscriptions.update",
81+
"azure.mgmt.maintenance.aio.operations.ConfigurationAssignmentsForSubscriptionsOperations.update": "Microsoft.Maintenance.ConfigurationAssignmentsForSubscriptions.update",
82+
"azure.mgmt.maintenance.operations.ConfigurationAssignmentsForSubscriptionsOperations.delete": "Microsoft.Maintenance.ConfigurationAssignmentsForSubscriptions.delete",
83+
"azure.mgmt.maintenance.aio.operations.ConfigurationAssignmentsForSubscriptionsOperations.delete": "Microsoft.Maintenance.ConfigurationAssignmentsForSubscriptions.delete",
84+
"azure.mgmt.maintenance.operations.ConfigurationAssignmentsForSubscriptionsOperations.list": "Microsoft.Maintenance.ConfigurationAssignmentsForSubscriptions.list",
85+
"azure.mgmt.maintenance.aio.operations.ConfigurationAssignmentsForSubscriptionsOperations.list": "Microsoft.Maintenance.ConfigurationAssignmentsForSubscriptions.list",
86+
"azure.mgmt.maintenance.operations.ConfigurationAssignmentsForResourceGroupOperations.get": "Microsoft.Maintenance.ConfigurationAssignmentsForResourceGroup.get",
87+
"azure.mgmt.maintenance.aio.operations.ConfigurationAssignmentsForResourceGroupOperations.get": "Microsoft.Maintenance.ConfigurationAssignmentsForResourceGroup.get",
88+
"azure.mgmt.maintenance.operations.ConfigurationAssignmentsForResourceGroupOperations.create_or_update": "Microsoft.Maintenance.ConfigurationAssignmentsForResourceGroup.createOrUpdate",
89+
"azure.mgmt.maintenance.aio.operations.ConfigurationAssignmentsForResourceGroupOperations.create_or_update": "Microsoft.Maintenance.ConfigurationAssignmentsForResourceGroup.createOrUpdate",
90+
"azure.mgmt.maintenance.operations.ConfigurationAssignmentsForResourceGroupOperations.update": "Microsoft.Maintenance.ConfigurationAssignmentsForResourceGroup.update",
91+
"azure.mgmt.maintenance.aio.operations.ConfigurationAssignmentsForResourceGroupOperations.update": "Microsoft.Maintenance.ConfigurationAssignmentsForResourceGroup.update",
92+
"azure.mgmt.maintenance.operations.ConfigurationAssignmentsForResourceGroupOperations.delete": "Microsoft.Maintenance.ConfigurationAssignmentsForResourceGroup.delete",
93+
"azure.mgmt.maintenance.aio.operations.ConfigurationAssignmentsForResourceGroupOperations.delete": "Microsoft.Maintenance.ConfigurationAssignmentsForResourceGroup.delete",
94+
"azure.mgmt.maintenance.operations.ScheduledEventOperationGroupOperations.acknowledge": "Microsoft.Maintenance.ScheduledEventOperationGroup.acknowledge",
95+
"azure.mgmt.maintenance.aio.operations.ScheduledEventOperationGroupOperations.acknowledge": "Microsoft.Maintenance.ScheduledEventOperationGroup.acknowledge",
96+
"azure.mgmt.maintenance.operations.ApplyUpdatesOperationGroupOperations.create_or_update_parent": "Microsoft.Maintenance.ApplyUpdatesOperationGroup.createOrUpdateParent",
97+
"azure.mgmt.maintenance.aio.operations.ApplyUpdatesOperationGroupOperations.create_or_update_parent": "Microsoft.Maintenance.ApplyUpdatesOperationGroup.createOrUpdateParent",
98+
"azure.mgmt.maintenance.operations.ApplyUpdatesOperationGroupOperations.create_or_update": "Microsoft.Maintenance.ApplyUpdatesOperationGroup.createOrUpdate",
99+
"azure.mgmt.maintenance.aio.operations.ApplyUpdatesOperationGroupOperations.create_or_update": "Microsoft.Maintenance.ApplyUpdatesOperationGroup.createOrUpdate",
100+
"azure.mgmt.maintenance.operations.ApplyUpdateForResourceGroupOperationGroupOperations.list": "Microsoft.Maintenance.ApplyUpdateForResourceGroupOperationGroup.list",
101+
"azure.mgmt.maintenance.aio.operations.ApplyUpdateForResourceGroupOperationGroupOperations.list": "Microsoft.Maintenance.ApplyUpdateForResourceGroupOperationGroup.list",
102+
"azure.mgmt.maintenance.operations.ConfigurationAssignmentForResourceGroupOperationGroupOperations.list": "Microsoft.Maintenance.ConfigurationAssignmentForResourceGroupOperationGroup.list",
103+
"azure.mgmt.maintenance.aio.operations.ConfigurationAssignmentForResourceGroupOperationGroupOperations.list": "Microsoft.Maintenance.ConfigurationAssignmentForResourceGroupOperationGroup.list",
104+
"azure.mgmt.maintenance.operations.UpdatesOperationGroupOperations.list_parent": "Microsoft.Maintenance.UpdatesOperationGroup.listParent",
105+
"azure.mgmt.maintenance.aio.operations.UpdatesOperationGroupOperations.list_parent": "Microsoft.Maintenance.UpdatesOperationGroup.listParent",
106+
"azure.mgmt.maintenance.operations.UpdatesOperationGroupOperations.list": "Microsoft.Maintenance.UpdatesOperationGroup.list",
107+
"azure.mgmt.maintenance.aio.operations.UpdatesOperationGroupOperations.list": "Microsoft.Maintenance.UpdatesOperationGroup.list"
108+
}
109+
}

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

Lines changed: 11 additions & 5 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 ._maintenance_management_client import MaintenanceManagementClient
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 MaintenanceClient # 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__ = [
22-
"MaintenanceManagementClient",
28+
"MaintenanceClient",
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)