Skip to content

Commit 316006c

Browse files
author
SDKAuto
committed
CodeGen from PR 32067 in Azure/azure-rest-api-specs
Merge 8b261d110e0a32622f5af7e0018589901df3f77a into 8a4eca6b060cf70da696963245656fdc440b666b
1 parent c7d1d0e commit 316006c

File tree

406 files changed

+9618
-3046
lines changed

Some content is hidden

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

406 files changed

+9618
-3046
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
2-
"commit": "c3f246bece34c122def67e59945e634490f205fe",
2+
"commit": "643fca7042d6ce2fd3bb147f31bec4cb77a137f5",
33
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
44
"autorest": "3.10.2",
55
"use": [
6-
"@autorest/python@6.19.0",
6+
"@autorest/python@6.27.4",
77
"@autorest/[email protected]"
88
],
9-
"autorest_command": "autorest specification/app/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 --use=@autorest/python@6.19.0 --use=@autorest/[email protected] --version=3.10.2 --version-tolerant=False",
9+
"autorest_command": "autorest specification/app/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/s/azure-sdk-for-python/sdk --use=@autorest/python@6.27.4 --use=@autorest/[email protected] --version=3.10.2 --version-tolerant=False",
1010
"readme": "specification/app/resource-manager/readme.md"
1111
}

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

+9-3
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 ._container_apps_api_client import ContainerAppsAPIClient
10+
from typing import TYPE_CHECKING
11+
12+
if TYPE_CHECKING:
13+
from ._patch import * # pylint: disable=unused-wildcard-import
14+
15+
from ._container_apps_api_client import ContainerAppsAPIClient # 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
"ContainerAppsAPIClient",
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()

sdk/appcontainers/azure-mgmt-appcontainers/azure/mgmt/appcontainers/_configuration.py

+3-4
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,10 @@
1414
from ._version import VERSION
1515

1616
if TYPE_CHECKING:
17-
# pylint: disable=unused-import,ungrouped-imports
1817
from azure.core.credentials import TokenCredential
1918

2019

21-
class ContainerAppsAPIClientConfiguration: # pylint: disable=too-many-instance-attributes,name-too-long
20+
class ContainerAppsAPIClientConfiguration: # pylint: disable=too-many-instance-attributes
2221
"""Configuration for ContainerAppsAPIClient.
2322
2423
Note that all parameters used to create this instance are saved as instance
@@ -28,13 +27,13 @@ class ContainerAppsAPIClientConfiguration: # pylint: disable=too-many-instance-
2827
:type credential: ~azure.core.credentials.TokenCredential
2928
:param subscription_id: The ID of the target subscription. The value must be an UUID. Required.
3029
:type subscription_id: str
31-
:keyword api_version: Api Version. Default value is "2024-08-02-preview". Note that overriding
30+
:keyword api_version: Api Version. Default value is "2024-10-02-preview". Note that overriding
3231
this default value may result in unsupported behavior.
3332
:paramtype api_version: str
3433
"""
3534

3635
def __init__(self, credential: "TokenCredential", subscription_id: str, **kwargs: Any) -> None:
37-
api_version: str = kwargs.pop("api_version", "2024-08-02-preview")
36+
api_version: str = kwargs.pop("api_version", "2024-10-02-preview")
3837

3938
if credential is None:
4039
raise ValueError("Parameter 'credential' must not be None.")

sdk/appcontainers/azure-mgmt-appcontainers/azure/mgmt/appcontainers/_container_apps_api_client.py

+22-5
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
ContainerAppsBuildsByContainerAppOperations,
3737
ContainerAppsBuildsOperations,
3838
ContainerAppsDiagnosticsOperations,
39+
ContainerAppsLabelHistoryOperations,
3940
ContainerAppsOperations,
4041
ContainerAppsPatchesOperations,
4142
ContainerAppsRevisionReplicasOperations,
@@ -47,10 +48,12 @@
4748
DaprSubscriptionsOperations,
4849
DotNetComponentsOperations,
4950
FunctionsExtensionOperations,
51+
HttpRouteConfigOperations,
5052
JavaComponentsOperations,
5153
JobsExecutionsOperations,
5254
JobsOperations,
5355
LogicAppsOperations,
56+
MaintenanceConfigurationsOperations,
5457
ManagedCertificatesOperations,
5558
ManagedEnvironmentDiagnosticsOperations,
5659
ManagedEnvironmentPrivateEndpointConnectionsOperations,
@@ -65,13 +68,10 @@
6568
)
6669

6770
if TYPE_CHECKING:
68-
# pylint: disable=unused-import,ungrouped-imports
6971
from azure.core.credentials import TokenCredential
7072

7173

72-
class ContainerAppsAPIClient(
73-
ContainerAppsAPIClientOperationsMixin
74-
): # pylint: disable=client-accepts-api-version-keyword,too-many-instance-attributes
74+
class ContainerAppsAPIClient(ContainerAppsAPIClientOperationsMixin): # pylint: disable=too-many-instance-attributes
7575
"""Functions is an extension resource to revisions and the api listed is used to proxy the call
7676
from Web RP to the function app's host process, this api is not exposed to users and only Web
7777
RP is allowed to invoke functions extension resource.
@@ -121,6 +121,9 @@ class ContainerAppsAPIClient(
121121
:ivar container_apps_patches: ContainerAppsPatchesOperations operations
122122
:vartype container_apps_patches:
123123
azure.mgmt.appcontainers.operations.ContainerAppsPatchesOperations
124+
:ivar container_apps_label_history: ContainerAppsLabelHistoryOperations operations
125+
:vartype container_apps_label_history:
126+
azure.mgmt.appcontainers.operations.ContainerAppsLabelHistoryOperations
124127
:ivar container_apps_revisions: ContainerAppsRevisionsOperations operations
125128
:vartype container_apps_revisions:
126129
azure.mgmt.appcontainers.operations.ContainerAppsRevisionsOperations
@@ -175,6 +178,11 @@ class ContainerAppsAPIClient(
175178
:vartype dapr_components: azure.mgmt.appcontainers.operations.DaprComponentsOperations
176179
:ivar dapr_subscriptions: DaprSubscriptionsOperations operations
177180
:vartype dapr_subscriptions: azure.mgmt.appcontainers.operations.DaprSubscriptionsOperations
181+
:ivar http_route_config: HttpRouteConfigOperations operations
182+
:vartype http_route_config: azure.mgmt.appcontainers.operations.HttpRouteConfigOperations
183+
:ivar maintenance_configurations: MaintenanceConfigurationsOperations operations
184+
:vartype maintenance_configurations:
185+
azure.mgmt.appcontainers.operations.MaintenanceConfigurationsOperations
178186
:ivar managed_environments_storages: ManagedEnvironmentsStoragesOperations operations
179187
:vartype managed_environments_storages:
180188
azure.mgmt.appcontainers.operations.ManagedEnvironmentsStoragesOperations
@@ -195,7 +203,7 @@ class ContainerAppsAPIClient(
195203
:type subscription_id: str
196204
:param base_url: Service URL. Default value is "https://management.azure.com".
197205
:type base_url: str
198-
:keyword api_version: Api Version. Default value is "2024-08-02-preview". Note that overriding
206+
:keyword api_version: Api Version. Default value is "2024-10-02-preview". Note that overriding
199207
this default value may result in unsupported behavior.
200208
:paramtype api_version: str
201209
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
@@ -272,6 +280,9 @@ def __init__(
272280
self.container_apps_patches = ContainerAppsPatchesOperations(
273281
self._client, self._config, self._serialize, self._deserialize
274282
)
283+
self.container_apps_label_history = ContainerAppsLabelHistoryOperations(
284+
self._client, self._config, self._serialize, self._deserialize
285+
)
275286
self.container_apps_revisions = ContainerAppsRevisionsOperations(
276287
self._client, self._config, self._serialize, self._deserialize
277288
)
@@ -319,6 +330,12 @@ def __init__(
319330
self.dapr_subscriptions = DaprSubscriptionsOperations(
320331
self._client, self._config, self._serialize, self._deserialize
321332
)
333+
self.http_route_config = HttpRouteConfigOperations(
334+
self._client, self._config, self._serialize, self._deserialize
335+
)
336+
self.maintenance_configurations = MaintenanceConfigurationsOperations(
337+
self._client, self._config, self._serialize, self._deserialize
338+
)
322339
self.managed_environments_storages = ManagedEnvironmentsStoragesOperations(
323340
self._client, self._config, self._serialize, self._deserialize
324341
)

0 commit comments

Comments
 (0)