Skip to content

Commit 0aca69a

Browse files
author
SDKAuto
committed
CodeGen from PR 33392 in Azure/azure-rest-api-specs
Merge 8062ff9a2d984ecfe690b28ea7d7588c47fc9a6f into 5aba44a88a8afe43e644671dab7be0e3a2f44c37
1 parent 7656cf2 commit 0aca69a

File tree

351 files changed

+5823
-27245
lines changed

Some content is hidden

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

351 files changed

+5823
-27245
lines changed
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
2-
"commit": "c3f246bece34c122def67e59945e634490f205fe",
2+
"commit": "8256a34ec3a0131e89cb0af5c35e969a4207f1c4",
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

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 ._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

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,27 +14,26 @@
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
2524
attributes.
2625
2726
:param credential: Credential needed for the client to connect to Azure. Required.
2827
:type credential: ~azure.core.credentials.TokenCredential
29-
:param subscription_id: The ID of the target subscription. The value must be an UUID. Required.
28+
:param subscription_id: The ID of the target subscription. Required.
3029
:type subscription_id: str
31-
:keyword api_version: Api Version. Default value is "2024-08-02-preview". Note that overriding
32-
this default value may result in unsupported behavior.
30+
:keyword api_version: Api Version. Default value is "2025-01-01". Note that overriding this
31+
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", "2025-01-01")
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

Lines changed: 10 additions & 98 deletions
Original file line numberDiff line numberDiff line change
@@ -19,42 +19,28 @@
1919
from ._configuration import ContainerAppsAPIClientConfiguration
2020
from ._serialization import Deserializer, Serializer
2121
from .operations import (
22-
AppResiliencyOperations,
2322
AvailableWorkloadProfilesOperations,
2423
BillingMetersOperations,
25-
BuildAuthTokenOperations,
26-
BuildersOperations,
27-
BuildsByBuilderResourceOperations,
28-
BuildsOperations,
2924
CertificatesOperations,
3025
ConnectedEnvironmentsCertificatesOperations,
3126
ConnectedEnvironmentsDaprComponentsOperations,
3227
ConnectedEnvironmentsOperations,
3328
ConnectedEnvironmentsStoragesOperations,
3429
ContainerAppsAPIClientOperationsMixin,
3530
ContainerAppsAuthConfigsOperations,
36-
ContainerAppsBuildsByContainerAppOperations,
37-
ContainerAppsBuildsOperations,
3831
ContainerAppsDiagnosticsOperations,
3932
ContainerAppsOperations,
40-
ContainerAppsPatchesOperations,
4133
ContainerAppsRevisionReplicasOperations,
4234
ContainerAppsRevisionsOperations,
4335
ContainerAppsSessionPoolsOperations,
4436
ContainerAppsSourceControlsOperations,
45-
DaprComponentResiliencyPoliciesOperations,
4637
DaprComponentsOperations,
47-
DaprSubscriptionsOperations,
48-
DotNetComponentsOperations,
49-
FunctionsExtensionOperations,
5038
JavaComponentsOperations,
5139
JobsExecutionsOperations,
5240
JobsOperations,
53-
LogicAppsOperations,
41+
MaintenanceConfigurationsOperations,
5442
ManagedCertificatesOperations,
5543
ManagedEnvironmentDiagnosticsOperations,
56-
ManagedEnvironmentPrivateEndpointConnectionsOperations,
57-
ManagedEnvironmentPrivateLinkResourcesOperations,
5844
ManagedEnvironmentUsagesOperations,
5945
ManagedEnvironmentsDiagnosticsOperations,
6046
ManagedEnvironmentsOperations,
@@ -65,19 +51,12 @@
6551
)
6652

6753
if TYPE_CHECKING:
68-
# pylint: disable=unused-import,ungrouped-imports
6954
from azure.core.credentials import TokenCredential
7055

7156

72-
class ContainerAppsAPIClient(
73-
ContainerAppsAPIClientOperationsMixin
74-
): # pylint: disable=client-accepts-api-version-keyword,too-many-instance-attributes
75-
"""Functions is an extension resource to revisions and the api listed is used to proxy the call
76-
from Web RP to the function app's host process, this api is not exposed to users and only Web
77-
RP is allowed to invoke functions extension resource.
57+
class ContainerAppsAPIClient(ContainerAppsAPIClientOperationsMixin): # pylint: disable=too-many-instance-attributes
58+
"""ContainerAppsAPIClient.
7859
79-
:ivar app_resiliency: AppResiliencyOperations operations
80-
:vartype app_resiliency: azure.mgmt.appcontainers.operations.AppResiliencyOperations
8160
:ivar container_apps_auth_configs: ContainerAppsAuthConfigsOperations operations
8261
:vartype container_apps_auth_configs:
8362
azure.mgmt.appcontainers.operations.ContainerAppsAuthConfigsOperations
@@ -86,15 +65,6 @@ class ContainerAppsAPIClient(
8665
azure.mgmt.appcontainers.operations.AvailableWorkloadProfilesOperations
8766
:ivar billing_meters: BillingMetersOperations operations
8867
:vartype billing_meters: azure.mgmt.appcontainers.operations.BillingMetersOperations
89-
:ivar builders: BuildersOperations operations
90-
:vartype builders: azure.mgmt.appcontainers.operations.BuildersOperations
91-
:ivar builds_by_builder_resource: BuildsByBuilderResourceOperations operations
92-
:vartype builds_by_builder_resource:
93-
azure.mgmt.appcontainers.operations.BuildsByBuilderResourceOperations
94-
:ivar builds: BuildsOperations operations
95-
:vartype builds: azure.mgmt.appcontainers.operations.BuildsOperations
96-
:ivar build_auth_token: BuildAuthTokenOperations operations
97-
:vartype build_auth_token: azure.mgmt.appcontainers.operations.BuildAuthTokenOperations
9868
:ivar connected_environments: ConnectedEnvironmentsOperations operations
9969
:vartype connected_environments:
10070
azure.mgmt.appcontainers.operations.ConnectedEnvironmentsOperations
@@ -111,16 +81,6 @@ class ContainerAppsAPIClient(
11181
azure.mgmt.appcontainers.operations.ConnectedEnvironmentsStoragesOperations
11282
:ivar container_apps: ContainerAppsOperations operations
11383
:vartype container_apps: azure.mgmt.appcontainers.operations.ContainerAppsOperations
114-
:ivar container_apps_builds_by_container_app: ContainerAppsBuildsByContainerAppOperations
115-
operations
116-
:vartype container_apps_builds_by_container_app:
117-
azure.mgmt.appcontainers.operations.ContainerAppsBuildsByContainerAppOperations
118-
:ivar container_apps_builds: ContainerAppsBuildsOperations operations
119-
:vartype container_apps_builds:
120-
azure.mgmt.appcontainers.operations.ContainerAppsBuildsOperations
121-
:ivar container_apps_patches: ContainerAppsPatchesOperations operations
122-
:vartype container_apps_patches:
123-
azure.mgmt.appcontainers.operations.ContainerAppsPatchesOperations
12484
:ivar container_apps_revisions: ContainerAppsRevisionsOperations operations
12585
:vartype container_apps_revisions:
12686
azure.mgmt.appcontainers.operations.ContainerAppsRevisionsOperations
@@ -138,18 +98,12 @@ class ContainerAppsAPIClient(
13898
azure.mgmt.appcontainers.operations.ManagedEnvironmentsDiagnosticsOperations
13999
:ivar jobs: JobsOperations operations
140100
:vartype jobs: azure.mgmt.appcontainers.operations.JobsOperations
141-
:ivar dot_net_components: DotNetComponentsOperations operations
142-
:vartype dot_net_components: azure.mgmt.appcontainers.operations.DotNetComponentsOperations
143-
:ivar functions_extension: FunctionsExtensionOperations operations
144-
:vartype functions_extension: azure.mgmt.appcontainers.operations.FunctionsExtensionOperations
145101
:ivar operations: Operations operations
146102
:vartype operations: azure.mgmt.appcontainers.operations.Operations
147103
:ivar java_components: JavaComponentsOperations operations
148104
:vartype java_components: azure.mgmt.appcontainers.operations.JavaComponentsOperations
149105
:ivar jobs_executions: JobsExecutionsOperations operations
150106
:vartype jobs_executions: azure.mgmt.appcontainers.operations.JobsExecutionsOperations
151-
:ivar logic_apps: LogicAppsOperations operations
152-
:vartype logic_apps: azure.mgmt.appcontainers.operations.LogicAppsOperations
153107
:ivar managed_environments: ManagedEnvironmentsOperations operations
154108
:vartype managed_environments:
155109
azure.mgmt.appcontainers.operations.ManagedEnvironmentsOperations
@@ -160,21 +114,11 @@ class ContainerAppsAPIClient(
160114
azure.mgmt.appcontainers.operations.ManagedCertificatesOperations
161115
:ivar namespaces: NamespacesOperations operations
162116
:vartype namespaces: azure.mgmt.appcontainers.operations.NamespacesOperations
163-
:ivar managed_environment_private_endpoint_connections:
164-
ManagedEnvironmentPrivateEndpointConnectionsOperations operations
165-
:vartype managed_environment_private_endpoint_connections:
166-
azure.mgmt.appcontainers.operations.ManagedEnvironmentPrivateEndpointConnectionsOperations
167-
:ivar managed_environment_private_link_resources:
168-
ManagedEnvironmentPrivateLinkResourcesOperations operations
169-
:vartype managed_environment_private_link_resources:
170-
azure.mgmt.appcontainers.operations.ManagedEnvironmentPrivateLinkResourcesOperations
171-
:ivar dapr_component_resiliency_policies: DaprComponentResiliencyPoliciesOperations operations
172-
:vartype dapr_component_resiliency_policies:
173-
azure.mgmt.appcontainers.operations.DaprComponentResiliencyPoliciesOperations
174117
:ivar dapr_components: DaprComponentsOperations operations
175118
:vartype dapr_components: azure.mgmt.appcontainers.operations.DaprComponentsOperations
176-
:ivar dapr_subscriptions: DaprSubscriptionsOperations operations
177-
:vartype dapr_subscriptions: azure.mgmt.appcontainers.operations.DaprSubscriptionsOperations
119+
:ivar maintenance_configurations: MaintenanceConfigurationsOperations operations
120+
:vartype maintenance_configurations:
121+
azure.mgmt.appcontainers.operations.MaintenanceConfigurationsOperations
178122
:ivar managed_environments_storages: ManagedEnvironmentsStoragesOperations operations
179123
:vartype managed_environments_storages:
180124
azure.mgmt.appcontainers.operations.ManagedEnvironmentsStoragesOperations
@@ -191,12 +135,12 @@ class ContainerAppsAPIClient(
191135
azure.mgmt.appcontainers.operations.ManagedEnvironmentUsagesOperations
192136
:param credential: Credential needed for the client to connect to Azure. Required.
193137
:type credential: ~azure.core.credentials.TokenCredential
194-
:param subscription_id: The ID of the target subscription. The value must be an UUID. Required.
138+
:param subscription_id: The ID of the target subscription. Required.
195139
:type subscription_id: str
196140
:param base_url: Service URL. Default value is "https://management.azure.com".
197141
:type base_url: str
198-
:keyword api_version: Api Version. Default value is "2024-08-02-preview". Note that overriding
199-
this default value may result in unsupported behavior.
142+
:keyword api_version: Api Version. Default value is "2025-01-01". Note that overriding this
143+
default value may result in unsupported behavior.
200144
:paramtype api_version: str
201145
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
202146
Retry-After header is present.
@@ -236,20 +180,13 @@ def __init__(
236180
self._serialize = Serializer(client_models)
237181
self._deserialize = Deserializer(client_models)
238182
self._serialize.client_side_validation = False
239-
self.app_resiliency = AppResiliencyOperations(self._client, self._config, self._serialize, self._deserialize)
240183
self.container_apps_auth_configs = ContainerAppsAuthConfigsOperations(
241184
self._client, self._config, self._serialize, self._deserialize
242185
)
243186
self.available_workload_profiles = AvailableWorkloadProfilesOperations(
244187
self._client, self._config, self._serialize, self._deserialize
245188
)
246189
self.billing_meters = BillingMetersOperations(self._client, self._config, self._serialize, self._deserialize)
247-
self.builders = BuildersOperations(self._client, self._config, self._serialize, self._deserialize)
248-
self.builds_by_builder_resource = BuildsByBuilderResourceOperations(
249-
self._client, self._config, self._serialize, self._deserialize
250-
)
251-
self.builds = BuildsOperations(self._client, self._config, self._serialize, self._deserialize)
252-
self.build_auth_token = BuildAuthTokenOperations(self._client, self._config, self._serialize, self._deserialize)
253190
self.connected_environments = ConnectedEnvironmentsOperations(
254191
self._client, self._config, self._serialize, self._deserialize
255192
)
@@ -263,15 +200,6 @@ def __init__(
263200
self._client, self._config, self._serialize, self._deserialize
264201
)
265202
self.container_apps = ContainerAppsOperations(self._client, self._config, self._serialize, self._deserialize)
266-
self.container_apps_builds_by_container_app = ContainerAppsBuildsByContainerAppOperations(
267-
self._client, self._config, self._serialize, self._deserialize
268-
)
269-
self.container_apps_builds = ContainerAppsBuildsOperations(
270-
self._client, self._config, self._serialize, self._deserialize
271-
)
272-
self.container_apps_patches = ContainerAppsPatchesOperations(
273-
self._client, self._config, self._serialize, self._deserialize
274-
)
275203
self.container_apps_revisions = ContainerAppsRevisionsOperations(
276204
self._client, self._config, self._serialize, self._deserialize
277205
)
@@ -288,16 +216,9 @@ def __init__(
288216
self._client, self._config, self._serialize, self._deserialize
289217
)
290218
self.jobs = JobsOperations(self._client, self._config, self._serialize, self._deserialize)
291-
self.dot_net_components = DotNetComponentsOperations(
292-
self._client, self._config, self._serialize, self._deserialize
293-
)
294-
self.functions_extension = FunctionsExtensionOperations(
295-
self._client, self._config, self._serialize, self._deserialize
296-
)
297219
self.operations = Operations(self._client, self._config, self._serialize, self._deserialize)
298220
self.java_components = JavaComponentsOperations(self._client, self._config, self._serialize, self._deserialize)
299221
self.jobs_executions = JobsExecutionsOperations(self._client, self._config, self._serialize, self._deserialize)
300-
self.logic_apps = LogicAppsOperations(self._client, self._config, self._serialize, self._deserialize)
301222
self.managed_environments = ManagedEnvironmentsOperations(
302223
self._client, self._config, self._serialize, self._deserialize
303224
)
@@ -306,17 +227,8 @@ def __init__(
306227
self._client, self._config, self._serialize, self._deserialize
307228
)
308229
self.namespaces = NamespacesOperations(self._client, self._config, self._serialize, self._deserialize)
309-
self.managed_environment_private_endpoint_connections = ManagedEnvironmentPrivateEndpointConnectionsOperations(
310-
self._client, self._config, self._serialize, self._deserialize
311-
)
312-
self.managed_environment_private_link_resources = ManagedEnvironmentPrivateLinkResourcesOperations(
313-
self._client, self._config, self._serialize, self._deserialize
314-
)
315-
self.dapr_component_resiliency_policies = DaprComponentResiliencyPoliciesOperations(
316-
self._client, self._config, self._serialize, self._deserialize
317-
)
318230
self.dapr_components = DaprComponentsOperations(self._client, self._config, self._serialize, self._deserialize)
319-
self.dapr_subscriptions = DaprSubscriptionsOperations(
231+
self.maintenance_configurations = MaintenanceConfigurationsOperations(
320232
self._client, self._config, self._serialize, self._deserialize
321233
)
322234
self.managed_environments_storages = ManagedEnvironmentsStoragesOperations(

0 commit comments

Comments
 (0)