Skip to content

Commit 2ae5c76

Browse files
author
SDKAuto
committed
CodeGen from PR 31979 in Azure/azure-rest-api-specs
Merge 69ad9ebc9cad1d212245f81fa51fefbd25f74744 into 5aba44a88a8afe43e644671dab7be0e3a2f44c37
1 parent fa26c29 commit 2ae5c76

File tree

349 files changed

+5202
-28027
lines changed

Some content is hidden

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

349 files changed

+5202
-28027
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": "6f138ed64a182f7ccdfaa52947d3c4fa9a19840f",
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 & 100 deletions
Original file line numberDiff line numberDiff line change
@@ -19,42 +19,27 @@
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,
5441
ManagedCertificatesOperations,
5542
ManagedEnvironmentDiagnosticsOperations,
56-
ManagedEnvironmentPrivateEndpointConnectionsOperations,
57-
ManagedEnvironmentPrivateLinkResourcesOperations,
5843
ManagedEnvironmentUsagesOperations,
5944
ManagedEnvironmentsDiagnosticsOperations,
6045
ManagedEnvironmentsOperations,
@@ -65,19 +50,12 @@
6550
)
6651

6752
if TYPE_CHECKING:
68-
# pylint: disable=unused-import,ungrouped-imports
6953
from azure.core.credentials import TokenCredential
7054

7155

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.
56+
class ContainerAppsAPIClient(ContainerAppsAPIClientOperationsMixin): # pylint: disable=too-many-instance-attributes
57+
"""ContainerAppsAPIClient.
7858
79-
:ivar app_resiliency: AppResiliencyOperations operations
80-
:vartype app_resiliency: azure.mgmt.appcontainers.operations.AppResiliencyOperations
8159
:ivar container_apps_auth_configs: ContainerAppsAuthConfigsOperations operations
8260
:vartype container_apps_auth_configs:
8361
azure.mgmt.appcontainers.operations.ContainerAppsAuthConfigsOperations
@@ -86,15 +64,6 @@ class ContainerAppsAPIClient(
8664
azure.mgmt.appcontainers.operations.AvailableWorkloadProfilesOperations
8765
:ivar billing_meters: BillingMetersOperations operations
8866
: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
9867
:ivar connected_environments: ConnectedEnvironmentsOperations operations
9968
:vartype connected_environments:
10069
azure.mgmt.appcontainers.operations.ConnectedEnvironmentsOperations
@@ -111,16 +80,6 @@ class ContainerAppsAPIClient(
11180
azure.mgmt.appcontainers.operations.ConnectedEnvironmentsStoragesOperations
11281
:ivar container_apps: ContainerAppsOperations operations
11382
: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
12483
:ivar container_apps_revisions: ContainerAppsRevisionsOperations operations
12584
:vartype container_apps_revisions:
12685
azure.mgmt.appcontainers.operations.ContainerAppsRevisionsOperations
@@ -138,18 +97,12 @@ class ContainerAppsAPIClient(
13897
azure.mgmt.appcontainers.operations.ManagedEnvironmentsDiagnosticsOperations
13998
:ivar jobs: JobsOperations operations
14099
: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
145100
:ivar operations: Operations operations
146101
:vartype operations: azure.mgmt.appcontainers.operations.Operations
147102
:ivar java_components: JavaComponentsOperations operations
148103
:vartype java_components: azure.mgmt.appcontainers.operations.JavaComponentsOperations
149104
:ivar jobs_executions: JobsExecutionsOperations operations
150105
:vartype jobs_executions: azure.mgmt.appcontainers.operations.JobsExecutionsOperations
151-
:ivar logic_apps: LogicAppsOperations operations
152-
:vartype logic_apps: azure.mgmt.appcontainers.operations.LogicAppsOperations
153106
:ivar managed_environments: ManagedEnvironmentsOperations operations
154107
:vartype managed_environments:
155108
azure.mgmt.appcontainers.operations.ManagedEnvironmentsOperations
@@ -160,21 +113,8 @@ class ContainerAppsAPIClient(
160113
azure.mgmt.appcontainers.operations.ManagedCertificatesOperations
161114
:ivar namespaces: NamespacesOperations operations
162115
: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
174116
:ivar dapr_components: DaprComponentsOperations operations
175117
:vartype dapr_components: azure.mgmt.appcontainers.operations.DaprComponentsOperations
176-
:ivar dapr_subscriptions: DaprSubscriptionsOperations operations
177-
:vartype dapr_subscriptions: azure.mgmt.appcontainers.operations.DaprSubscriptionsOperations
178118
:ivar managed_environments_storages: ManagedEnvironmentsStoragesOperations operations
179119
:vartype managed_environments_storages:
180120
azure.mgmt.appcontainers.operations.ManagedEnvironmentsStoragesOperations
@@ -191,12 +131,12 @@ class ContainerAppsAPIClient(
191131
azure.mgmt.appcontainers.operations.ManagedEnvironmentUsagesOperations
192132
:param credential: Credential needed for the client to connect to Azure. Required.
193133
:type credential: ~azure.core.credentials.TokenCredential
194-
:param subscription_id: The ID of the target subscription. The value must be an UUID. Required.
134+
:param subscription_id: The ID of the target subscription. Required.
195135
:type subscription_id: str
196136
:param base_url: Service URL. Default value is "https://management.azure.com".
197137
: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.
138+
:keyword api_version: Api Version. Default value is "2025-01-01". Note that overriding this
139+
default value may result in unsupported behavior.
200140
:paramtype api_version: str
201141
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
202142
Retry-After header is present.
@@ -236,20 +176,13 @@ def __init__(
236176
self._serialize = Serializer(client_models)
237177
self._deserialize = Deserializer(client_models)
238178
self._serialize.client_side_validation = False
239-
self.app_resiliency = AppResiliencyOperations(self._client, self._config, self._serialize, self._deserialize)
240179
self.container_apps_auth_configs = ContainerAppsAuthConfigsOperations(
241180
self._client, self._config, self._serialize, self._deserialize
242181
)
243182
self.available_workload_profiles = AvailableWorkloadProfilesOperations(
244183
self._client, self._config, self._serialize, self._deserialize
245184
)
246185
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)
253186
self.connected_environments = ConnectedEnvironmentsOperations(
254187
self._client, self._config, self._serialize, self._deserialize
255188
)
@@ -263,15 +196,6 @@ def __init__(
263196
self._client, self._config, self._serialize, self._deserialize
264197
)
265198
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-
)
275199
self.container_apps_revisions = ContainerAppsRevisionsOperations(
276200
self._client, self._config, self._serialize, self._deserialize
277201
)
@@ -288,16 +212,9 @@ def __init__(
288212
self._client, self._config, self._serialize, self._deserialize
289213
)
290214
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-
)
297215
self.operations = Operations(self._client, self._config, self._serialize, self._deserialize)
298216
self.java_components = JavaComponentsOperations(self._client, self._config, self._serialize, self._deserialize)
299217
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)
301218
self.managed_environments = ManagedEnvironmentsOperations(
302219
self._client, self._config, self._serialize, self._deserialize
303220
)
@@ -306,19 +223,7 @@ def __init__(
306223
self._client, self._config, self._serialize, self._deserialize
307224
)
308225
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-
)
318226
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-
)
322227
self.managed_environments_storages = ManagedEnvironmentsStoragesOperations(
323228
self._client, self._config, self._serialize, self._deserialize
324229
)

0 commit comments

Comments
 (0)