Skip to content

Commit 94a9296

Browse files
author
SDKAuto
committed
CodeGen from PR 30769 in Azure/azure-rest-api-specs
Merge 94a280ef37b124d71a2627f66285c072f5452c02 into 1429666e645daa8e7b70cc063c9cd31e8b1e3d6c
1 parent 2c98e7e commit 94a9296

File tree

387 files changed

+39442
-3635
lines changed

Some content is hidden

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

387 files changed

+39442
-3635
lines changed
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
2-
"commit": "c4b33165c43ba9253bb5b36a8c907dbef570bb6f",
2+
"commit": "3a0cf59b6870f6a153689a2a78eed5d009cb221f",
33
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
44
"autorest": "3.10.2",
55
"use": [
6-
"@autorest/python@6.17.0",
6+
"@autorest/python@6.19.0",
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=/home/vsts/work/1/azure-sdk-for-python/sdk --tag=package-2024-03 --use=@autorest/python@6.17.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.19.0 --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/_configuration.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,15 @@ class ContainerAppsAPIClientConfiguration: # pylint: disable=too-many-instance-
2626
2727
:param credential: Credential needed for the client to connect to Azure. Required.
2828
:type credential: ~azure.core.credentials.TokenCredential
29-
:param subscription_id: The ID of the target subscription. Required.
29+
:param subscription_id: The ID of the target subscription. The value must be an UUID. Required.
3030
:type subscription_id: str
31-
:keyword api_version: Api Version. Default value is "2024-03-01". Note that overriding this
32-
default value may result in unsupported behavior.
31+
:keyword api_version: Api Version. Default value is "2024-10-02-preview". Note that overriding
32+
this default value may result in unsupported behavior.
3333
:paramtype api_version: str
3434
"""
3535

3636
def __init__(self, credential: "TokenCredential", subscription_id: str, **kwargs: Any) -> None:
37-
api_version: str = kwargs.pop("api_version", "2024-03-01")
37+
api_version: str = kwargs.pop("api_version", "2024-10-02-preview")
3838

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

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

Lines changed: 121 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,25 +19,44 @@
1919
from ._configuration import ContainerAppsAPIClientConfiguration
2020
from ._serialization import Deserializer, Serializer
2121
from .operations import (
22+
AppResiliencyOperations,
2223
AvailableWorkloadProfilesOperations,
2324
BillingMetersOperations,
25+
BuildAuthTokenOperations,
26+
BuildersOperations,
27+
BuildsByBuilderResourceOperations,
28+
BuildsOperations,
2429
CertificatesOperations,
2530
ConnectedEnvironmentsCertificatesOperations,
2631
ConnectedEnvironmentsDaprComponentsOperations,
2732
ConnectedEnvironmentsOperations,
2833
ConnectedEnvironmentsStoragesOperations,
2934
ContainerAppsAPIClientOperationsMixin,
3035
ContainerAppsAuthConfigsOperations,
36+
ContainerAppsBuildsByContainerAppOperations,
37+
ContainerAppsBuildsOperations,
3138
ContainerAppsDiagnosticsOperations,
39+
ContainerAppsLabelHistoryOperations,
3240
ContainerAppsOperations,
41+
ContainerAppsPatchesOperations,
3342
ContainerAppsRevisionReplicasOperations,
3443
ContainerAppsRevisionsOperations,
44+
ContainerAppsSessionPoolsOperations,
3545
ContainerAppsSourceControlsOperations,
46+
DaprComponentResiliencyPoliciesOperations,
3647
DaprComponentsOperations,
48+
DaprSubscriptionsOperations,
49+
DotNetComponentsOperations,
50+
FunctionsExtensionOperations,
51+
JavaComponentsOperations,
3752
JobsExecutionsOperations,
3853
JobsOperations,
54+
LogicAppsOperations,
55+
MaintenanceConfigurationsOperations,
3956
ManagedCertificatesOperations,
4057
ManagedEnvironmentDiagnosticsOperations,
58+
ManagedEnvironmentPrivateEndpointConnectionsOperations,
59+
ManagedEnvironmentPrivateLinkResourcesOperations,
4160
ManagedEnvironmentUsagesOperations,
4261
ManagedEnvironmentsDiagnosticsOperations,
4362
ManagedEnvironmentsOperations,
@@ -55,8 +74,12 @@
5574
class ContainerAppsAPIClient(
5675
ContainerAppsAPIClientOperationsMixin
5776
): # pylint: disable=client-accepts-api-version-keyword,too-many-instance-attributes
58-
"""ContainerAppsAPIClient.
77+
"""Functions is an extension resource to revisions and the api listed is used to proxy the call
78+
from Web RP to the function app's host process, this api is not exposed to users and only Web
79+
RP is allowed to invoke functions extension resource.
5980
81+
:ivar app_resiliency: AppResiliencyOperations operations
82+
:vartype app_resiliency: azure.mgmt.appcontainers.operations.AppResiliencyOperations
6083
:ivar container_apps_auth_configs: ContainerAppsAuthConfigsOperations operations
6184
:vartype container_apps_auth_configs:
6285
azure.mgmt.appcontainers.operations.ContainerAppsAuthConfigsOperations
@@ -65,6 +88,15 @@ class ContainerAppsAPIClient(
6588
azure.mgmt.appcontainers.operations.AvailableWorkloadProfilesOperations
6689
:ivar billing_meters: BillingMetersOperations operations
6790
:vartype billing_meters: azure.mgmt.appcontainers.operations.BillingMetersOperations
91+
:ivar builders: BuildersOperations operations
92+
:vartype builders: azure.mgmt.appcontainers.operations.BuildersOperations
93+
:ivar builds_by_builder_resource: BuildsByBuilderResourceOperations operations
94+
:vartype builds_by_builder_resource:
95+
azure.mgmt.appcontainers.operations.BuildsByBuilderResourceOperations
96+
:ivar builds: BuildsOperations operations
97+
:vartype builds: azure.mgmt.appcontainers.operations.BuildsOperations
98+
:ivar build_auth_token: BuildAuthTokenOperations operations
99+
:vartype build_auth_token: azure.mgmt.appcontainers.operations.BuildAuthTokenOperations
68100
:ivar connected_environments: ConnectedEnvironmentsOperations operations
69101
:vartype connected_environments:
70102
azure.mgmt.appcontainers.operations.ConnectedEnvironmentsOperations
@@ -81,6 +113,19 @@ class ContainerAppsAPIClient(
81113
azure.mgmt.appcontainers.operations.ConnectedEnvironmentsStoragesOperations
82114
:ivar container_apps: ContainerAppsOperations operations
83115
:vartype container_apps: azure.mgmt.appcontainers.operations.ContainerAppsOperations
116+
:ivar container_apps_builds_by_container_app: ContainerAppsBuildsByContainerAppOperations
117+
operations
118+
:vartype container_apps_builds_by_container_app:
119+
azure.mgmt.appcontainers.operations.ContainerAppsBuildsByContainerAppOperations
120+
:ivar container_apps_builds: ContainerAppsBuildsOperations operations
121+
:vartype container_apps_builds:
122+
azure.mgmt.appcontainers.operations.ContainerAppsBuildsOperations
123+
:ivar container_apps_patches: ContainerAppsPatchesOperations operations
124+
:vartype container_apps_patches:
125+
azure.mgmt.appcontainers.operations.ContainerAppsPatchesOperations
126+
:ivar container_apps_label_history: ContainerAppsLabelHistoryOperations operations
127+
:vartype container_apps_label_history:
128+
azure.mgmt.appcontainers.operations.ContainerAppsLabelHistoryOperations
84129
:ivar container_apps_revisions: ContainerAppsRevisionsOperations operations
85130
:vartype container_apps_revisions:
86131
azure.mgmt.appcontainers.operations.ContainerAppsRevisionsOperations
@@ -98,10 +143,18 @@ class ContainerAppsAPIClient(
98143
azure.mgmt.appcontainers.operations.ManagedEnvironmentsDiagnosticsOperations
99144
:ivar jobs: JobsOperations operations
100145
:vartype jobs: azure.mgmt.appcontainers.operations.JobsOperations
146+
:ivar dot_net_components: DotNetComponentsOperations operations
147+
:vartype dot_net_components: azure.mgmt.appcontainers.operations.DotNetComponentsOperations
148+
:ivar functions_extension: FunctionsExtensionOperations operations
149+
:vartype functions_extension: azure.mgmt.appcontainers.operations.FunctionsExtensionOperations
101150
:ivar operations: Operations operations
102151
:vartype operations: azure.mgmt.appcontainers.operations.Operations
152+
:ivar java_components: JavaComponentsOperations operations
153+
:vartype java_components: azure.mgmt.appcontainers.operations.JavaComponentsOperations
103154
:ivar jobs_executions: JobsExecutionsOperations operations
104155
:vartype jobs_executions: azure.mgmt.appcontainers.operations.JobsExecutionsOperations
156+
:ivar logic_apps: LogicAppsOperations operations
157+
:vartype logic_apps: azure.mgmt.appcontainers.operations.LogicAppsOperations
105158
:ivar managed_environments: ManagedEnvironmentsOperations operations
106159
:vartype managed_environments:
107160
azure.mgmt.appcontainers.operations.ManagedEnvironmentsOperations
@@ -112,11 +165,30 @@ class ContainerAppsAPIClient(
112165
azure.mgmt.appcontainers.operations.ManagedCertificatesOperations
113166
:ivar namespaces: NamespacesOperations operations
114167
:vartype namespaces: azure.mgmt.appcontainers.operations.NamespacesOperations
168+
:ivar managed_environment_private_endpoint_connections:
169+
ManagedEnvironmentPrivateEndpointConnectionsOperations operations
170+
:vartype managed_environment_private_endpoint_connections:
171+
azure.mgmt.appcontainers.operations.ManagedEnvironmentPrivateEndpointConnectionsOperations
172+
:ivar managed_environment_private_link_resources:
173+
ManagedEnvironmentPrivateLinkResourcesOperations operations
174+
:vartype managed_environment_private_link_resources:
175+
azure.mgmt.appcontainers.operations.ManagedEnvironmentPrivateLinkResourcesOperations
176+
:ivar dapr_component_resiliency_policies: DaprComponentResiliencyPoliciesOperations operations
177+
:vartype dapr_component_resiliency_policies:
178+
azure.mgmt.appcontainers.operations.DaprComponentResiliencyPoliciesOperations
115179
:ivar dapr_components: DaprComponentsOperations operations
116180
:vartype dapr_components: azure.mgmt.appcontainers.operations.DaprComponentsOperations
181+
:ivar dapr_subscriptions: DaprSubscriptionsOperations operations
182+
:vartype dapr_subscriptions: azure.mgmt.appcontainers.operations.DaprSubscriptionsOperations
183+
:ivar maintenance_configurations: MaintenanceConfigurationsOperations operations
184+
:vartype maintenance_configurations:
185+
azure.mgmt.appcontainers.operations.MaintenanceConfigurationsOperations
117186
:ivar managed_environments_storages: ManagedEnvironmentsStoragesOperations operations
118187
:vartype managed_environments_storages:
119188
azure.mgmt.appcontainers.operations.ManagedEnvironmentsStoragesOperations
189+
:ivar container_apps_session_pools: ContainerAppsSessionPoolsOperations operations
190+
:vartype container_apps_session_pools:
191+
azure.mgmt.appcontainers.operations.ContainerAppsSessionPoolsOperations
120192
:ivar container_apps_source_controls: ContainerAppsSourceControlsOperations operations
121193
:vartype container_apps_source_controls:
122194
azure.mgmt.appcontainers.operations.ContainerAppsSourceControlsOperations
@@ -127,12 +199,12 @@ class ContainerAppsAPIClient(
127199
azure.mgmt.appcontainers.operations.ManagedEnvironmentUsagesOperations
128200
:param credential: Credential needed for the client to connect to Azure. Required.
129201
:type credential: ~azure.core.credentials.TokenCredential
130-
:param subscription_id: The ID of the target subscription. Required.
202+
:param subscription_id: The ID of the target subscription. The value must be an UUID. Required.
131203
:type subscription_id: str
132204
:param base_url: Service URL. Default value is "https://management.azure.com".
133205
:type base_url: str
134-
:keyword api_version: Api Version. Default value is "2024-03-01". Note that overriding this
135-
default value may result in unsupported behavior.
206+
:keyword api_version: Api Version. Default value is "2024-10-02-preview". Note that overriding
207+
this default value may result in unsupported behavior.
136208
:paramtype api_version: str
137209
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
138210
Retry-After header is present.
@@ -172,13 +244,20 @@ def __init__(
172244
self._serialize = Serializer(client_models)
173245
self._deserialize = Deserializer(client_models)
174246
self._serialize.client_side_validation = False
247+
self.app_resiliency = AppResiliencyOperations(self._client, self._config, self._serialize, self._deserialize)
175248
self.container_apps_auth_configs = ContainerAppsAuthConfigsOperations(
176249
self._client, self._config, self._serialize, self._deserialize
177250
)
178251
self.available_workload_profiles = AvailableWorkloadProfilesOperations(
179252
self._client, self._config, self._serialize, self._deserialize
180253
)
181254
self.billing_meters = BillingMetersOperations(self._client, self._config, self._serialize, self._deserialize)
255+
self.builders = BuildersOperations(self._client, self._config, self._serialize, self._deserialize)
256+
self.builds_by_builder_resource = BuildsByBuilderResourceOperations(
257+
self._client, self._config, self._serialize, self._deserialize
258+
)
259+
self.builds = BuildsOperations(self._client, self._config, self._serialize, self._deserialize)
260+
self.build_auth_token = BuildAuthTokenOperations(self._client, self._config, self._serialize, self._deserialize)
182261
self.connected_environments = ConnectedEnvironmentsOperations(
183262
self._client, self._config, self._serialize, self._deserialize
184263
)
@@ -192,6 +271,18 @@ def __init__(
192271
self._client, self._config, self._serialize, self._deserialize
193272
)
194273
self.container_apps = ContainerAppsOperations(self._client, self._config, self._serialize, self._deserialize)
274+
self.container_apps_builds_by_container_app = ContainerAppsBuildsByContainerAppOperations(
275+
self._client, self._config, self._serialize, self._deserialize
276+
)
277+
self.container_apps_builds = ContainerAppsBuildsOperations(
278+
self._client, self._config, self._serialize, self._deserialize
279+
)
280+
self.container_apps_patches = ContainerAppsPatchesOperations(
281+
self._client, self._config, self._serialize, self._deserialize
282+
)
283+
self.container_apps_label_history = ContainerAppsLabelHistoryOperations(
284+
self._client, self._config, self._serialize, self._deserialize
285+
)
195286
self.container_apps_revisions = ContainerAppsRevisionsOperations(
196287
self._client, self._config, self._serialize, self._deserialize
197288
)
@@ -208,8 +299,16 @@ def __init__(
208299
self._client, self._config, self._serialize, self._deserialize
209300
)
210301
self.jobs = JobsOperations(self._client, self._config, self._serialize, self._deserialize)
302+
self.dot_net_components = DotNetComponentsOperations(
303+
self._client, self._config, self._serialize, self._deserialize
304+
)
305+
self.functions_extension = FunctionsExtensionOperations(
306+
self._client, self._config, self._serialize, self._deserialize
307+
)
211308
self.operations = Operations(self._client, self._config, self._serialize, self._deserialize)
309+
self.java_components = JavaComponentsOperations(self._client, self._config, self._serialize, self._deserialize)
212310
self.jobs_executions = JobsExecutionsOperations(self._client, self._config, self._serialize, self._deserialize)
311+
self.logic_apps = LogicAppsOperations(self._client, self._config, self._serialize, self._deserialize)
213312
self.managed_environments = ManagedEnvironmentsOperations(
214313
self._client, self._config, self._serialize, self._deserialize
215314
)
@@ -218,10 +317,28 @@ def __init__(
218317
self._client, self._config, self._serialize, self._deserialize
219318
)
220319
self.namespaces = NamespacesOperations(self._client, self._config, self._serialize, self._deserialize)
320+
self.managed_environment_private_endpoint_connections = ManagedEnvironmentPrivateEndpointConnectionsOperations(
321+
self._client, self._config, self._serialize, self._deserialize
322+
)
323+
self.managed_environment_private_link_resources = ManagedEnvironmentPrivateLinkResourcesOperations(
324+
self._client, self._config, self._serialize, self._deserialize
325+
)
326+
self.dapr_component_resiliency_policies = DaprComponentResiliencyPoliciesOperations(
327+
self._client, self._config, self._serialize, self._deserialize
328+
)
221329
self.dapr_components = DaprComponentsOperations(self._client, self._config, self._serialize, self._deserialize)
330+
self.dapr_subscriptions = DaprSubscriptionsOperations(
331+
self._client, self._config, self._serialize, self._deserialize
332+
)
333+
self.maintenance_configurations = MaintenanceConfigurationsOperations(
334+
self._client, self._config, self._serialize, self._deserialize
335+
)
222336
self.managed_environments_storages = ManagedEnvironmentsStoragesOperations(
223337
self._client, self._config, self._serialize, self._deserialize
224338
)
339+
self.container_apps_session_pools = ContainerAppsSessionPoolsOperations(
340+
self._client, self._config, self._serialize, self._deserialize
341+
)
225342
self.container_apps_source_controls = ContainerAppsSourceControlsOperations(
226343
self._client, self._config, self._serialize, self._deserialize
227344
)

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
VERSION = "3.1.0"
9+
VERSION = "1.0.0b1"

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,15 @@ class ContainerAppsAPIClientConfiguration: # pylint: disable=too-many-instance-
2626
2727
:param credential: Credential needed for the client to connect to Azure. Required.
2828
:type credential: ~azure.core.credentials_async.AsyncTokenCredential
29-
:param subscription_id: The ID of the target subscription. Required.
29+
:param subscription_id: The ID of the target subscription. The value must be an UUID. Required.
3030
:type subscription_id: str
31-
:keyword api_version: Api Version. Default value is "2024-03-01". Note that overriding this
32-
default value may result in unsupported behavior.
31+
:keyword api_version: Api Version. Default value is "2024-10-02-preview". Note that overriding
32+
this default value may result in unsupported behavior.
3333
:paramtype api_version: str
3434
"""
3535

3636
def __init__(self, credential: "AsyncTokenCredential", subscription_id: str, **kwargs: Any) -> None:
37-
api_version: str = kwargs.pop("api_version", "2024-03-01")
37+
api_version: str = kwargs.pop("api_version", "2024-10-02-preview")
3838

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

0 commit comments

Comments
 (0)