Skip to content

Commit 76cbd69

Browse files
[AutoRelease] t2-apimanagement-2025-03-28-08926(can only be merged by SDK owner) (#40266)
* code and test * update-testcase --------- Co-authored-by: azure-sdk <PythonSdkPipelines> Co-authored-by: ChenxiJiang333 <[email protected]>
1 parent 52fde9f commit 76cbd69

File tree

1,259 files changed

+111781
-8023
lines changed

Some content is hidden

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

1,259 files changed

+111781
-8023
lines changed

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

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

3+
## 5.0.0 (2025-04-21)
4+
5+
### Features Added
6+
7+
- Client `ApiManagementClient` added operation group `api_gateway`
8+
- Client `ApiManagementClient` added operation group `api_management_gateway_skus`
9+
- Client `ApiManagementClient` added operation group `all_policies`
10+
- Client `ApiManagementClient` added operation group `api_gateway_config_connection`
11+
- Client `ApiManagementClient` added operation group `policy_restriction`
12+
- Client `ApiManagementClient` added operation group `policy_restriction_validations`
13+
- Client `ApiManagementClient` added operation group `product_api_link`
14+
- Client `ApiManagementClient` added operation group `product_group_link`
15+
- Client `ApiManagementClient` added operation group `tag_api_link`
16+
- Client `ApiManagementClient` added operation group `tag_operation_link`
17+
- Client `ApiManagementClient` added operation group `tag_product_link`
18+
- Client `ApiManagementClient` added operation group `workspace_backend`
19+
- Client `ApiManagementClient` added operation group `workspace_certificate`
20+
- Client `ApiManagementClient` added operation group `workspace_diagnostic`
21+
- Client `ApiManagementClient` added operation group `workspace_api_diagnostic`
22+
- Client `ApiManagementClient` added operation group `api_management_workspace_links`
23+
- Client `ApiManagementClient` added operation group `api_management_workspace_link`
24+
- Client `ApiManagementClient` added operation group `workspace_logger`
25+
- Client `ApiManagementClient` added operation group `workspace`
26+
- Client `ApiManagementClient` added operation group `workspace_policy`
27+
- Client `ApiManagementClient` added operation group `workspace_named_value`
28+
- Client `ApiManagementClient` added operation group `workspace_global_schema`
29+
- Client `ApiManagementClient` added operation group `workspace_notification`
30+
- Client `ApiManagementClient` added operation group `workspace_notification_recipient_user`
31+
- Client `ApiManagementClient` added operation group `workspace_notification_recipient_email`
32+
- Client `ApiManagementClient` added operation group `workspace_policy_fragment`
33+
- Client `ApiManagementClient` added operation group `workspace_group`
34+
- Client `ApiManagementClient` added operation group `workspace_group_user`
35+
- Client `ApiManagementClient` added operation group `workspace_subscription`
36+
- Client `ApiManagementClient` added operation group `workspace_api_version_set`
37+
- Client `ApiManagementClient` added operation group `workspace_api`
38+
- Client `ApiManagementClient` added operation group `workspace_api_revision`
39+
- Client `ApiManagementClient` added operation group `workspace_api_release`
40+
- Client `ApiManagementClient` added operation group `workspace_api_operation`
41+
- Client `ApiManagementClient` added operation group `workspace_api_operation_policy`
42+
- Client `ApiManagementClient` added operation group `workspace_api_policy`
43+
- Client `ApiManagementClient` added operation group `workspace_api_schema`
44+
- Client `ApiManagementClient` added operation group `workspace_product`
45+
- Client `ApiManagementClient` added operation group `workspace_product_api_link`
46+
- Client `ApiManagementClient` added operation group `workspace_product_group_link`
47+
- Client `ApiManagementClient` added operation group `workspace_product_policy`
48+
- Client `ApiManagementClient` added operation group `workspace_tag`
49+
- Client `ApiManagementClient` added operation group `workspace_tag_api_link`
50+
- Client `ApiManagementClient` added operation group `workspace_tag_operation_link`
51+
- Client `ApiManagementClient` added operation group `workspace_tag_product_link`
52+
- Client `ApiManagementClient` added operation group `workspace_api_export`
53+
- Client `ApiManagementClient` added operation group `operation_status`
54+
- Client `ApiManagementClient` added operation group `operations_results`
55+
- Model `ApiContract` added property `provisioning_state`
56+
- Model `ApiContractProperties` added property `provisioning_state`
57+
- Model `ApiCreateOrUpdateParameter` added property `provisioning_state`
58+
- Model `ApiCreateOrUpdateProperties` added property `provisioning_state`
59+
- Model `ApiManagementServiceBaseProperties` added property `configuration_api`
60+
- Model `ApiManagementServiceBaseProperties` added property `legacy_portal_status`
61+
- Model `ApiManagementServiceBaseProperties` added property `developer_portal_status`
62+
- Model `ApiManagementServiceProperties` added property `configuration_api`
63+
- Model `ApiManagementServiceProperties` added property `legacy_portal_status`
64+
- Model `ApiManagementServiceProperties` added property `developer_portal_status`
65+
- Model `ApiManagementServiceResource` added property `configuration_api`
66+
- Model `ApiManagementServiceResource` added property `legacy_portal_status`
67+
- Model `ApiManagementServiceResource` added property `developer_portal_status`
68+
- Model `ApiManagementServiceUpdateParameters` added property `configuration_api`
69+
- Model `ApiManagementServiceUpdateParameters` added property `legacy_portal_status`
70+
- Model `ApiManagementServiceUpdateParameters` added property `developer_portal_status`
71+
- Model `ApiManagementServiceUpdateProperties` added property `configuration_api`
72+
- Model `ApiManagementServiceUpdateProperties` added property `legacy_portal_status`
73+
- Model `ApiManagementServiceUpdateProperties` added property `developer_portal_status`
74+
- Enum `ApiType` added member `GRPC`
75+
- Enum `ApiType` added member `ODATA`
76+
- Model `AuthorizationAccessPolicyContract` added property `app_ids`
77+
- Model `BackendBaseParameters` added property `circuit_breaker`
78+
- Model `BackendBaseParameters` added property `pool`
79+
- Model `BackendBaseParameters` added property `type`
80+
- Model `BackendContract` added property `circuit_breaker`
81+
- Model `BackendContract` added property `pool`
82+
- Model `BackendContract` added property `type_properties_type`
83+
- Model `BackendContractProperties` added property `circuit_breaker`
84+
- Model `BackendContractProperties` added property `pool`
85+
- Model `BackendContractProperties` added property `type`
86+
- Model `BackendUpdateParameterProperties` added property `circuit_breaker`
87+
- Model `BackendUpdateParameterProperties` added property `pool`
88+
- Model `BackendUpdateParameterProperties` added property `type`
89+
- Model `BackendUpdateParameters` added property `circuit_breaker`
90+
- Model `BackendUpdateParameters` added property `pool`
91+
- Model `BackendUpdateParameters` added property `type`
92+
- Enum `ContentFormat` added member `GRPC`
93+
- Enum `ContentFormat` added member `GRPC_LINK`
94+
- Enum `ContentFormat` added member `ODATA`
95+
- Enum `ContentFormat` added member `ODATA_LINK`
96+
- Model `ErrorResponse` added property `error`
97+
- Model `GlobalSchemaContract` added property `provisioning_state`
98+
- Enum `HostnameType` added member `CONFIGURATION_API`
99+
- Model `NamedValueContract` added property `provisioning_state`
100+
- Model `NamedValueContractProperties` added property `provisioning_state`
101+
- Enum `PlatformVersion` added member `STV2_1`
102+
- Model `PolicyFragmentContract` added property `provisioning_state`
103+
- Model `PortalRevisionContract` added property `provisioning_state`
104+
- Model `SchemaContract` added property `provisioning_state`
105+
- Enum `SkuType` added member `BASIC_V2`
106+
- Enum `SkuType` added member `STANDARD_V2`
107+
- Enum `SoapApiType` added member `G_RPC`
108+
- Enum `SoapApiType` added member `O_DATA`
109+
- Added model `AllPoliciesCollection`
110+
- Added model `AllPoliciesContract`
111+
- Added enum `ApiGatewaySkuType`
112+
- Added model `ApiManagementGatewayBaseProperties`
113+
- Added model `ApiManagementGatewayConfigConnectionListResult`
114+
- Added model `ApiManagementGatewayConfigConnectionResource`
115+
- Added model `ApiManagementGatewayListResult`
116+
- Added model `ApiManagementGatewayProperties`
117+
- Added model `ApiManagementGatewayResource`
118+
- Added model `ApiManagementGatewaySkuProperties`
119+
- Added model `ApiManagementGatewaySkuPropertiesForPatch`
120+
- Added model `ApiManagementGatewayUpdateParameters`
121+
- Added model `ApiManagementGatewayUpdateProperties`
122+
- Added model `ApiManagementWorkspaceLinksListResult`
123+
- Added model `ApiManagementWorkspaceLinksProperties`
124+
- Added model `ApiManagementWorkspaceLinksResource`
125+
- Added model `BackendBaseParametersPool`
126+
- Added model `BackendCircuitBreaker`
127+
- Added model `BackendConfiguration`
128+
- Added model `BackendPool`
129+
- Added model `BackendPoolItem`
130+
- Added model `BackendSubnetConfiguration`
131+
- Added enum `BackendType`
132+
- Added model `CircuitBreakerFailureCondition`
133+
- Added model `CircuitBreakerRule`
134+
- Added model `ConfigurationApi`
135+
- Added enum `DeveloperPortalStatus`
136+
- Added model `DiagnosticUpdateContract`
137+
- Added model `ErrorAdditionalInfo`
138+
- Added model `ErrorDetail`
139+
- Added model `FailureStatusCodeRange`
140+
- Added model `FrontendConfiguration`
141+
- Added model `GatewayConfigurationApi`
142+
- Added model `GatewayDebugCredentialsContract`
143+
- Added model `GatewayListDebugCredentialsContract`
144+
- Added enum `GatewayListDebugCredentialsContractPurpose`
145+
- Added model `GatewayListTraceContract`
146+
- Added model `GatewayResourceSkuResult`
147+
- Added model `GatewayResourceSkuResults`
148+
- Added model `GatewaySku`
149+
- Added model `GatewaySkuCapacity`
150+
- Added enum `GatewaySkuCapacityScaleType`
151+
- Added enum `KeyVaultRefreshState`
152+
- Added enum `LegacyApiState`
153+
- Added enum `LegacyPortalStatus`
154+
- Added model `MigrateToStv2Contract`
155+
- Added enum `MigrateToStv2Mode`
156+
- Added model `OperationStatusResult`
157+
- Added enum `PolicyComplianceState`
158+
- Added model `PolicyRestrictionCollection`
159+
- Added model `PolicyRestrictionContract`
160+
- Added enum `PolicyRestrictionRequireBase`
161+
- Added model `PolicyRestrictionUpdateContract`
162+
- Added model `PolicyWithComplianceCollection`
163+
- Added model `PolicyWithComplianceContract`
164+
- Added model `ProductApiLinkCollection`
165+
- Added model `ProductApiLinkContract`
166+
- Added model `ProductGroupLinkCollection`
167+
- Added model `ProductGroupLinkContract`
168+
- Added model `TagApiLinkCollection`
169+
- Added model `TagApiLinkContract`
170+
- Added model `TagOperationLinkCollection`
171+
- Added model `TagOperationLinkContract`
172+
- Added model `TagProductLinkCollection`
173+
- Added model `TagProductLinkContract`
174+
- Added model `WorkspaceCollection`
175+
- Added model `WorkspaceContract`
176+
- Added model `WorkspaceLinksBaseProperties`
177+
- Added model `WorkspaceLinksGateway`
178+
- Model `ApiOperations` added method `begin_delete`
179+
- Model `GatewayOperations` added method `invalidate_debug_credentials`
180+
- Model `GatewayOperations` added method `list_debug_credentials`
181+
- Model `GatewayOperations` added method `list_trace`
182+
- Model `UserOperations` added method `begin_delete`
183+
- Added model `AllPoliciesOperations`
184+
- Added model `ApiGatewayConfigConnectionOperations`
185+
- Added model `ApiGatewayOperations`
186+
- Added model `ApiManagementGatewaySkusOperations`
187+
- Added model `ApiManagementWorkspaceLinkOperations`
188+
- Added model `ApiManagementWorkspaceLinksOperations`
189+
- Added model `OperationStatusOperations`
190+
- Added model `OperationsResultsOperations`
191+
- Added model `PolicyRestrictionOperations`
192+
- Added model `PolicyRestrictionValidationsOperations`
193+
- Added model `ProductApiLinkOperations`
194+
- Added model `ProductGroupLinkOperations`
195+
- Added model `TagApiLinkOperations`
196+
- Added model `TagOperationLinkOperations`
197+
- Added model `TagProductLinkOperations`
198+
- Added model `WorkspaceApiDiagnosticOperations`
199+
- Added model `WorkspaceApiExportOperations`
200+
- Added model `WorkspaceApiOperationOperations`
201+
- Added model `WorkspaceApiOperationPolicyOperations`
202+
- Added model `WorkspaceApiOperations`
203+
- Added model `WorkspaceApiPolicyOperations`
204+
- Added model `WorkspaceApiReleaseOperations`
205+
- Added model `WorkspaceApiRevisionOperations`
206+
- Added model `WorkspaceApiSchemaOperations`
207+
- Added model `WorkspaceApiVersionSetOperations`
208+
- Added model `WorkspaceBackendOperations`
209+
- Added model `WorkspaceCertificateOperations`
210+
- Added model `WorkspaceDiagnosticOperations`
211+
- Added model `WorkspaceGlobalSchemaOperations`
212+
- Added model `WorkspaceGroupOperations`
213+
- Added model `WorkspaceGroupUserOperations`
214+
- Added model `WorkspaceLoggerOperations`
215+
- Added model `WorkspaceNamedValueOperations`
216+
- Added model `WorkspaceNotificationOperations`
217+
- Added model `WorkspaceNotificationRecipientEmailOperations`
218+
- Added model `WorkspaceNotificationRecipientUserOperations`
219+
- Added model `WorkspaceOperations`
220+
- Added model `WorkspacePolicyFragmentOperations`
221+
- Added model `WorkspacePolicyOperations`
222+
- Added model `WorkspaceProductApiLinkOperations`
223+
- Added model `WorkspaceProductGroupLinkOperations`
224+
- Added model `WorkspaceProductOperations`
225+
- Added model `WorkspaceProductPolicyOperations`
226+
- Added model `WorkspaceSubscriptionOperations`
227+
- Added model `WorkspaceTagApiLinkOperations`
228+
- Added model `WorkspaceTagOperationLinkOperations`
229+
- Added model `WorkspaceTagOperations`
230+
- Added model `WorkspaceTagProductLinkOperations`
231+
232+
### Breaking Changes
233+
234+
- Parameter `virtual_network_type` of model `ApiManagementServiceBaseProperties` is now optional
235+
- Parameter `virtual_network_type` of model `ApiManagementServiceProperties` is now optional
236+
- Parameter `virtual_network_type` of model `ApiManagementServiceResource` is now optional
237+
- Parameter `virtual_network_type` of model `ApiManagementServiceUpdateParameters` is now optional
238+
- Parameter `virtual_network_type` of model `ApiManagementServiceUpdateProperties` is now optional
239+
- Model `ErrorResponse` deleted or renamed its instance variable `code`
240+
- Model `ErrorResponse` deleted or renamed its instance variable `message`
241+
- Model `ErrorResponse` deleted or renamed its instance variable `details`
242+
- Deleted or renamed method `ApiOperations.delete`
243+
- Deleted or renamed method `UserOperations.delete`
244+
3245
## 4.0.1 (2024-03-19)
4246

5247
### Other Changes

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
2-
"commit": "44d7a32482656b3a79a2fa11ac27c981f8e0e3cd",
2+
"commit": "7c1e8a2c1e18ac0dd65b88f00447992ed86fcc0f",
33
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
4-
"autorest": "3.9.7",
4+
"autorest": "3.10.2",
55
"use": [
6-
"@autorest/python@6.13.7",
6+
"@autorest/python@6.27.4",
77
"@autorest/[email protected]"
88
],
9-
"autorest_command": "autorest specification/apimanagement/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 --tag=package-2022-08 --use=@autorest/python@6.13.7 --use=@autorest/[email protected] --version=3.9.7 --version-tolerant=False",
9+
"autorest_command": "autorest specification/apimanagement/resource-manager/readme.md --generate-sample=True --generate-test=True --include-x-ms-examples-original-file=True --python --python-sdks-folder=/mnt/vss/_work/1/azure-sdk-for-python/sdk --tag=package-2024-05 --use=@autorest/python@6.27.4 --use=@autorest/[email protected] --version=3.10.2 --version-tolerant=False",
1010
"readme": "specification/apimanagement/resource-manager/readme.md"
1111
}

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

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,28 @@
55
# Code generated by Microsoft (R) AutoRest 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 ._api_management_client import ApiManagementClient
10+
from typing import TYPE_CHECKING
11+
12+
if TYPE_CHECKING:
13+
from ._patch import * # pylint: disable=unused-wildcard-import
14+
15+
from ._api_management_client import ApiManagementClient # 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
"ApiManagementClient",
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)