Skip to content

Commit faa0349

Browse files
author
SDKAuto
committed
CodeGen from PR 31958 in Azure/azure-rest-api-specs
Merge 9b66846298ec1eff7d7aee181d06aa35e0d26623 into 243782d80a21acc839f364be94f6825d2a48656c
1 parent fcdfb8e commit faa0349

File tree

346 files changed

+2681
-28586
lines changed

Some content is hidden

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

346 files changed

+2681
-28586
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": "2d16f116fdfa8ce98a60c9c5f4545360a32d2d2b",
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: 5 additions & 107 deletions
Original file line numberDiff line numberDiff line change
@@ -19,42 +19,26 @@
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,
43-
ContainerAppsSessionPoolsOperations,
4435
ContainerAppsSourceControlsOperations,
45-
DaprComponentResiliencyPoliciesOperations,
4636
DaprComponentsOperations,
47-
DaprSubscriptionsOperations,
48-
DotNetComponentsOperations,
49-
FunctionsExtensionOperations,
5037
JavaComponentsOperations,
5138
JobsExecutionsOperations,
5239
JobsOperations,
53-
LogicAppsOperations,
5440
ManagedCertificatesOperations,
5541
ManagedEnvironmentDiagnosticsOperations,
56-
ManagedEnvironmentPrivateEndpointConnectionsOperations,
57-
ManagedEnvironmentPrivateLinkResourcesOperations,
5842
ManagedEnvironmentUsagesOperations,
5943
ManagedEnvironmentsDiagnosticsOperations,
6044
ManagedEnvironmentsOperations,
@@ -65,19 +49,12 @@
6549
)
6650

6751
if TYPE_CHECKING:
68-
# pylint: disable=unused-import,ungrouped-imports
6952
from azure.core.credentials import TokenCredential
7053

7154

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.
55+
class ContainerAppsAPIClient(ContainerAppsAPIClientOperationsMixin): # pylint: disable=too-many-instance-attributes
56+
"""ContainerAppsAPIClient.
7857
79-
:ivar app_resiliency: AppResiliencyOperations operations
80-
:vartype app_resiliency: azure.mgmt.appcontainers.operations.AppResiliencyOperations
8158
:ivar container_apps_auth_configs: ContainerAppsAuthConfigsOperations operations
8259
:vartype container_apps_auth_configs:
8360
azure.mgmt.appcontainers.operations.ContainerAppsAuthConfigsOperations
@@ -86,15 +63,6 @@ class ContainerAppsAPIClient(
8663
azure.mgmt.appcontainers.operations.AvailableWorkloadProfilesOperations
8764
:ivar billing_meters: BillingMetersOperations operations
8865
: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
9866
:ivar connected_environments: ConnectedEnvironmentsOperations operations
9967
:vartype connected_environments:
10068
azure.mgmt.appcontainers.operations.ConnectedEnvironmentsOperations
@@ -111,16 +79,6 @@ class ContainerAppsAPIClient(
11179
azure.mgmt.appcontainers.operations.ConnectedEnvironmentsStoragesOperations
11280
:ivar container_apps: ContainerAppsOperations operations
11381
: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
12482
:ivar container_apps_revisions: ContainerAppsRevisionsOperations operations
12583
:vartype container_apps_revisions:
12684
azure.mgmt.appcontainers.operations.ContainerAppsRevisionsOperations
@@ -138,18 +96,12 @@ class ContainerAppsAPIClient(
13896
azure.mgmt.appcontainers.operations.ManagedEnvironmentsDiagnosticsOperations
13997
:ivar jobs: JobsOperations operations
14098
: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
14599
:ivar operations: Operations operations
146100
:vartype operations: azure.mgmt.appcontainers.operations.Operations
147101
:ivar java_components: JavaComponentsOperations operations
148102
:vartype java_components: azure.mgmt.appcontainers.operations.JavaComponentsOperations
149103
:ivar jobs_executions: JobsExecutionsOperations operations
150104
:vartype jobs_executions: azure.mgmt.appcontainers.operations.JobsExecutionsOperations
151-
:ivar logic_apps: LogicAppsOperations operations
152-
:vartype logic_apps: azure.mgmt.appcontainers.operations.LogicAppsOperations
153105
:ivar managed_environments: ManagedEnvironmentsOperations operations
154106
:vartype managed_environments:
155107
azure.mgmt.appcontainers.operations.ManagedEnvironmentsOperations
@@ -160,27 +112,11 @@ class ContainerAppsAPIClient(
160112
azure.mgmt.appcontainers.operations.ManagedCertificatesOperations
161113
:ivar namespaces: NamespacesOperations operations
162114
: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
174115
:ivar dapr_components: DaprComponentsOperations operations
175116
:vartype dapr_components: azure.mgmt.appcontainers.operations.DaprComponentsOperations
176-
:ivar dapr_subscriptions: DaprSubscriptionsOperations operations
177-
:vartype dapr_subscriptions: azure.mgmt.appcontainers.operations.DaprSubscriptionsOperations
178117
:ivar managed_environments_storages: ManagedEnvironmentsStoragesOperations operations
179118
:vartype managed_environments_storages:
180119
azure.mgmt.appcontainers.operations.ManagedEnvironmentsStoragesOperations
181-
:ivar container_apps_session_pools: ContainerAppsSessionPoolsOperations operations
182-
:vartype container_apps_session_pools:
183-
azure.mgmt.appcontainers.operations.ContainerAppsSessionPoolsOperations
184120
:ivar container_apps_source_controls: ContainerAppsSourceControlsOperations operations
185121
:vartype container_apps_source_controls:
186122
azure.mgmt.appcontainers.operations.ContainerAppsSourceControlsOperations
@@ -191,12 +127,12 @@ class ContainerAppsAPIClient(
191127
azure.mgmt.appcontainers.operations.ManagedEnvironmentUsagesOperations
192128
:param credential: Credential needed for the client to connect to Azure. Required.
193129
:type credential: ~azure.core.credentials.TokenCredential
194-
:param subscription_id: The ID of the target subscription. The value must be an UUID. Required.
130+
:param subscription_id: The ID of the target subscription. Required.
195131
:type subscription_id: str
196132
:param base_url: Service URL. Default value is "https://management.azure.com".
197133
: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.
134+
:keyword api_version: Api Version. Default value is "2025-01-01". Note that overriding this
135+
default value may result in unsupported behavior.
200136
:paramtype api_version: str
201137
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
202138
Retry-After header is present.
@@ -236,20 +172,13 @@ def __init__(
236172
self._serialize = Serializer(client_models)
237173
self._deserialize = Deserializer(client_models)
238174
self._serialize.client_side_validation = False
239-
self.app_resiliency = AppResiliencyOperations(self._client, self._config, self._serialize, self._deserialize)
240175
self.container_apps_auth_configs = ContainerAppsAuthConfigsOperations(
241176
self._client, self._config, self._serialize, self._deserialize
242177
)
243178
self.available_workload_profiles = AvailableWorkloadProfilesOperations(
244179
self._client, self._config, self._serialize, self._deserialize
245180
)
246181
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)
253182
self.connected_environments = ConnectedEnvironmentsOperations(
254183
self._client, self._config, self._serialize, self._deserialize
255184
)
@@ -263,15 +192,6 @@ def __init__(
263192
self._client, self._config, self._serialize, self._deserialize
264193
)
265194
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-
)
275195
self.container_apps_revisions = ContainerAppsRevisionsOperations(
276196
self._client, self._config, self._serialize, self._deserialize
277197
)
@@ -288,16 +208,9 @@ def __init__(
288208
self._client, self._config, self._serialize, self._deserialize
289209
)
290210
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-
)
297211
self.operations = Operations(self._client, self._config, self._serialize, self._deserialize)
298212
self.java_components = JavaComponentsOperations(self._client, self._config, self._serialize, self._deserialize)
299213
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)
301214
self.managed_environments = ManagedEnvironmentsOperations(
302215
self._client, self._config, self._serialize, self._deserialize
303216
)
@@ -306,25 +219,10 @@ def __init__(
306219
self._client, self._config, self._serialize, self._deserialize
307220
)
308221
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-
)
318222
self.dapr_components = DaprComponentsOperations(self._client, self._config, self._serialize, self._deserialize)
319-
self.dapr_subscriptions = DaprSubscriptionsOperations(
320-
self._client, self._config, self._serialize, self._deserialize
321-
)
322223
self.managed_environments_storages = ManagedEnvironmentsStoragesOperations(
323224
self._client, self._config, self._serialize, self._deserialize
324225
)
325-
self.container_apps_session_pools = ContainerAppsSessionPoolsOperations(
326-
self._client, self._config, self._serialize, self._deserialize
327-
)
328226
self.container_apps_source_controls = ContainerAppsSourceControlsOperations(
329227
self._client, self._config, self._serialize, self._deserialize
330228
)

0 commit comments

Comments
 (0)