Skip to content

Commit a994fab

Browse files
author
SDKAuto
committed
CodeGen from PR 31850 in Azure/azure-rest-api-specs
Merge 4e332b15e3da815635c2c348797388d93eaa6801 into 6e7af6c78f20307bc9f2127fbdbfe7c8aebcbd4b
1 parent fb792e8 commit a994fab

File tree

344 files changed

+2680
-31505
lines changed

Some content is hidden

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

344 files changed

+2680
-31505
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": "a56c88a9b1bdc6cc820c17a3ba48444ea2726340",
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.2",
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.2 --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 & 111 deletions
Original file line numberDiff line numberDiff line change
@@ -19,42 +19,25 @@
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,
50-
JavaComponentsOperations,
5137
JobsExecutionsOperations,
5238
JobsOperations,
53-
LogicAppsOperations,
5439
ManagedCertificatesOperations,
5540
ManagedEnvironmentDiagnosticsOperations,
56-
ManagedEnvironmentPrivateEndpointConnectionsOperations,
57-
ManagedEnvironmentPrivateLinkResourcesOperations,
5841
ManagedEnvironmentUsagesOperations,
5942
ManagedEnvironmentsDiagnosticsOperations,
6043
ManagedEnvironmentsOperations,
@@ -65,19 +48,12 @@
6548
)
6649

6750
if TYPE_CHECKING:
68-
# pylint: disable=unused-import,ungrouped-imports
6951
from azure.core.credentials import TokenCredential
7052

7153

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.
54+
class ContainerAppsAPIClient(ContainerAppsAPIClientOperationsMixin): # pylint: disable=too-many-instance-attributes
55+
"""ContainerAppsAPIClient.
7856
79-
:ivar app_resiliency: AppResiliencyOperations operations
80-
:vartype app_resiliency: azure.mgmt.appcontainers.operations.AppResiliencyOperations
8157
:ivar container_apps_auth_configs: ContainerAppsAuthConfigsOperations operations
8258
:vartype container_apps_auth_configs:
8359
azure.mgmt.appcontainers.operations.ContainerAppsAuthConfigsOperations
@@ -86,15 +62,6 @@ class ContainerAppsAPIClient(
8662
azure.mgmt.appcontainers.operations.AvailableWorkloadProfilesOperations
8763
:ivar billing_meters: BillingMetersOperations operations
8864
: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
9865
:ivar connected_environments: ConnectedEnvironmentsOperations operations
9966
:vartype connected_environments:
10067
azure.mgmt.appcontainers.operations.ConnectedEnvironmentsOperations
@@ -111,16 +78,6 @@ class ContainerAppsAPIClient(
11178
azure.mgmt.appcontainers.operations.ConnectedEnvironmentsStoragesOperations
11279
:ivar container_apps: ContainerAppsOperations operations
11380
: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
12481
:ivar container_apps_revisions: ContainerAppsRevisionsOperations operations
12582
:vartype container_apps_revisions:
12683
azure.mgmt.appcontainers.operations.ContainerAppsRevisionsOperations
@@ -138,18 +95,10 @@ class ContainerAppsAPIClient(
13895
azure.mgmt.appcontainers.operations.ManagedEnvironmentsDiagnosticsOperations
13996
:ivar jobs: JobsOperations operations
14097
: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
14598
:ivar operations: Operations operations
14699
:vartype operations: azure.mgmt.appcontainers.operations.Operations
147-
:ivar java_components: JavaComponentsOperations operations
148-
:vartype java_components: azure.mgmt.appcontainers.operations.JavaComponentsOperations
149100
:ivar jobs_executions: JobsExecutionsOperations operations
150101
:vartype jobs_executions: azure.mgmt.appcontainers.operations.JobsExecutionsOperations
151-
:ivar logic_apps: LogicAppsOperations operations
152-
:vartype logic_apps: azure.mgmt.appcontainers.operations.LogicAppsOperations
153102
:ivar managed_environments: ManagedEnvironmentsOperations operations
154103
:vartype managed_environments:
155104
azure.mgmt.appcontainers.operations.ManagedEnvironmentsOperations
@@ -160,27 +109,11 @@ class ContainerAppsAPIClient(
160109
azure.mgmt.appcontainers.operations.ManagedCertificatesOperations
161110
:ivar namespaces: NamespacesOperations operations
162111
: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
174112
:ivar dapr_components: DaprComponentsOperations operations
175113
:vartype dapr_components: azure.mgmt.appcontainers.operations.DaprComponentsOperations
176-
:ivar dapr_subscriptions: DaprSubscriptionsOperations operations
177-
:vartype dapr_subscriptions: azure.mgmt.appcontainers.operations.DaprSubscriptionsOperations
178114
:ivar managed_environments_storages: ManagedEnvironmentsStoragesOperations operations
179115
:vartype managed_environments_storages:
180116
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
184117
:ivar container_apps_source_controls: ContainerAppsSourceControlsOperations operations
185118
:vartype container_apps_source_controls:
186119
azure.mgmt.appcontainers.operations.ContainerAppsSourceControlsOperations
@@ -191,12 +124,12 @@ class ContainerAppsAPIClient(
191124
azure.mgmt.appcontainers.operations.ManagedEnvironmentUsagesOperations
192125
:param credential: Credential needed for the client to connect to Azure. Required.
193126
:type credential: ~azure.core.credentials.TokenCredential
194-
:param subscription_id: The ID of the target subscription. The value must be an UUID. Required.
127+
:param subscription_id: The ID of the target subscription. Required.
195128
:type subscription_id: str
196129
:param base_url: Service URL. Default value is "https://management.azure.com".
197130
: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.
131+
:keyword api_version: Api Version. Default value is "2025-01-01". Note that overriding this
132+
default value may result in unsupported behavior.
200133
:paramtype api_version: str
201134
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
202135
Retry-After header is present.
@@ -236,20 +169,13 @@ def __init__(
236169
self._serialize = Serializer(client_models)
237170
self._deserialize = Deserializer(client_models)
238171
self._serialize.client_side_validation = False
239-
self.app_resiliency = AppResiliencyOperations(self._client, self._config, self._serialize, self._deserialize)
240172
self.container_apps_auth_configs = ContainerAppsAuthConfigsOperations(
241173
self._client, self._config, self._serialize, self._deserialize
242174
)
243175
self.available_workload_profiles = AvailableWorkloadProfilesOperations(
244176
self._client, self._config, self._serialize, self._deserialize
245177
)
246178
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)
253179
self.connected_environments = ConnectedEnvironmentsOperations(
254180
self._client, self._config, self._serialize, self._deserialize
255181
)
@@ -263,15 +189,6 @@ def __init__(
263189
self._client, self._config, self._serialize, self._deserialize
264190
)
265191
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-
)
275192
self.container_apps_revisions = ContainerAppsRevisionsOperations(
276193
self._client, self._config, self._serialize, self._deserialize
277194
)
@@ -288,16 +205,8 @@ def __init__(
288205
self._client, self._config, self._serialize, self._deserialize
289206
)
290207
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-
)
297208
self.operations = Operations(self._client, self._config, self._serialize, self._deserialize)
298-
self.java_components = JavaComponentsOperations(self._client, self._config, self._serialize, self._deserialize)
299209
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)
301210
self.managed_environments = ManagedEnvironmentsOperations(
302211
self._client, self._config, self._serialize, self._deserialize
303212
)
@@ -306,25 +215,10 @@ def __init__(
306215
self._client, self._config, self._serialize, self._deserialize
307216
)
308217
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-
)
318218
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-
)
322219
self.managed_environments_storages = ManagedEnvironmentsStoragesOperations(
323220
self._client, self._config, self._serialize, self._deserialize
324221
)
325-
self.container_apps_session_pools = ContainerAppsSessionPoolsOperations(
326-
self._client, self._config, self._serialize, self._deserialize
327-
)
328222
self.container_apps_source_controls = ContainerAppsSourceControlsOperations(
329223
self._client, self._config, self._serialize, self._deserialize
330224
)

0 commit comments

Comments
 (0)