Skip to content

Commit 6dfa585

Browse files
author
SDKAuto
committed
CodeGen from PR 31185 in Azure/azure-rest-api-specs
Merge a64bf44d3afa8d9213fe8b1c7d0b1d9576bc0b7c into 114d978ecc182c7255bab0ac73c94a335bc285ca
1 parent 323609b commit 6dfa585

File tree

398 files changed

+41961
-3943
lines changed

Some content is hidden

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

398 files changed

+41961
-3943
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": "9cf0d72def7838f1131618cc0da80274de28ea80",
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: 127 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,25 +19,45 @@
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+
HttpRouteConfigOperations,
52+
JavaComponentsOperations,
3753
JobsExecutionsOperations,
3854
JobsOperations,
55+
LogicAppsOperations,
56+
MaintenanceConfigurationsOperations,
3957
ManagedCertificatesOperations,
4058
ManagedEnvironmentDiagnosticsOperations,
59+
ManagedEnvironmentPrivateEndpointConnectionsOperations,
60+
ManagedEnvironmentPrivateLinkResourcesOperations,
4161
ManagedEnvironmentUsagesOperations,
4262
ManagedEnvironmentsDiagnosticsOperations,
4363
ManagedEnvironmentsOperations,
@@ -55,8 +75,12 @@
5575
class ContainerAppsAPIClient(
5676
ContainerAppsAPIClientOperationsMixin
5777
): # pylint: disable=client-accepts-api-version-keyword,too-many-instance-attributes
58-
"""ContainerAppsAPIClient.
78+
"""Functions is an extension resource to revisions and the api listed is used to proxy the call
79+
from Web RP to the function app's host process, this api is not exposed to users and only Web
80+
RP is allowed to invoke functions extension resource.
5981
82+
:ivar app_resiliency: AppResiliencyOperations operations
83+
:vartype app_resiliency: azure.mgmt.appcontainers.operations.AppResiliencyOperations
6084
:ivar container_apps_auth_configs: ContainerAppsAuthConfigsOperations operations
6185
:vartype container_apps_auth_configs:
6286
azure.mgmt.appcontainers.operations.ContainerAppsAuthConfigsOperations
@@ -65,6 +89,15 @@ class ContainerAppsAPIClient(
6589
azure.mgmt.appcontainers.operations.AvailableWorkloadProfilesOperations
6690
:ivar billing_meters: BillingMetersOperations operations
6791
:vartype billing_meters: azure.mgmt.appcontainers.operations.BillingMetersOperations
92+
:ivar builders: BuildersOperations operations
93+
:vartype builders: azure.mgmt.appcontainers.operations.BuildersOperations
94+
:ivar builds_by_builder_resource: BuildsByBuilderResourceOperations operations
95+
:vartype builds_by_builder_resource:
96+
azure.mgmt.appcontainers.operations.BuildsByBuilderResourceOperations
97+
:ivar builds: BuildsOperations operations
98+
:vartype builds: azure.mgmt.appcontainers.operations.BuildsOperations
99+
:ivar build_auth_token: BuildAuthTokenOperations operations
100+
:vartype build_auth_token: azure.mgmt.appcontainers.operations.BuildAuthTokenOperations
68101
:ivar connected_environments: ConnectedEnvironmentsOperations operations
69102
:vartype connected_environments:
70103
azure.mgmt.appcontainers.operations.ConnectedEnvironmentsOperations
@@ -81,6 +114,19 @@ class ContainerAppsAPIClient(
81114
azure.mgmt.appcontainers.operations.ConnectedEnvironmentsStoragesOperations
82115
:ivar container_apps: ContainerAppsOperations operations
83116
:vartype container_apps: azure.mgmt.appcontainers.operations.ContainerAppsOperations
117+
:ivar container_apps_builds_by_container_app: ContainerAppsBuildsByContainerAppOperations
118+
operations
119+
:vartype container_apps_builds_by_container_app:
120+
azure.mgmt.appcontainers.operations.ContainerAppsBuildsByContainerAppOperations
121+
:ivar container_apps_builds: ContainerAppsBuildsOperations operations
122+
:vartype container_apps_builds:
123+
azure.mgmt.appcontainers.operations.ContainerAppsBuildsOperations
124+
:ivar container_apps_patches: ContainerAppsPatchesOperations operations
125+
:vartype container_apps_patches:
126+
azure.mgmt.appcontainers.operations.ContainerAppsPatchesOperations
127+
:ivar container_apps_label_history: ContainerAppsLabelHistoryOperations operations
128+
:vartype container_apps_label_history:
129+
azure.mgmt.appcontainers.operations.ContainerAppsLabelHistoryOperations
84130
:ivar container_apps_revisions: ContainerAppsRevisionsOperations operations
85131
:vartype container_apps_revisions:
86132
azure.mgmt.appcontainers.operations.ContainerAppsRevisionsOperations
@@ -98,10 +144,18 @@ class ContainerAppsAPIClient(
98144
azure.mgmt.appcontainers.operations.ManagedEnvironmentsDiagnosticsOperations
99145
:ivar jobs: JobsOperations operations
100146
:vartype jobs: azure.mgmt.appcontainers.operations.JobsOperations
147+
:ivar dot_net_components: DotNetComponentsOperations operations
148+
:vartype dot_net_components: azure.mgmt.appcontainers.operations.DotNetComponentsOperations
149+
:ivar functions_extension: FunctionsExtensionOperations operations
150+
:vartype functions_extension: azure.mgmt.appcontainers.operations.FunctionsExtensionOperations
101151
:ivar operations: Operations operations
102152
:vartype operations: azure.mgmt.appcontainers.operations.Operations
153+
:ivar java_components: JavaComponentsOperations operations
154+
:vartype java_components: azure.mgmt.appcontainers.operations.JavaComponentsOperations
103155
:ivar jobs_executions: JobsExecutionsOperations operations
104156
:vartype jobs_executions: azure.mgmt.appcontainers.operations.JobsExecutionsOperations
157+
:ivar logic_apps: LogicAppsOperations operations
158+
:vartype logic_apps: azure.mgmt.appcontainers.operations.LogicAppsOperations
105159
:ivar managed_environments: ManagedEnvironmentsOperations operations
106160
:vartype managed_environments:
107161
azure.mgmt.appcontainers.operations.ManagedEnvironmentsOperations
@@ -112,11 +166,32 @@ class ContainerAppsAPIClient(
112166
azure.mgmt.appcontainers.operations.ManagedCertificatesOperations
113167
:ivar namespaces: NamespacesOperations operations
114168
:vartype namespaces: azure.mgmt.appcontainers.operations.NamespacesOperations
169+
:ivar managed_environment_private_endpoint_connections:
170+
ManagedEnvironmentPrivateEndpointConnectionsOperations operations
171+
:vartype managed_environment_private_endpoint_connections:
172+
azure.mgmt.appcontainers.operations.ManagedEnvironmentPrivateEndpointConnectionsOperations
173+
:ivar managed_environment_private_link_resources:
174+
ManagedEnvironmentPrivateLinkResourcesOperations operations
175+
:vartype managed_environment_private_link_resources:
176+
azure.mgmt.appcontainers.operations.ManagedEnvironmentPrivateLinkResourcesOperations
177+
:ivar dapr_component_resiliency_policies: DaprComponentResiliencyPoliciesOperations operations
178+
:vartype dapr_component_resiliency_policies:
179+
azure.mgmt.appcontainers.operations.DaprComponentResiliencyPoliciesOperations
115180
:ivar dapr_components: DaprComponentsOperations operations
116181
:vartype dapr_components: azure.mgmt.appcontainers.operations.DaprComponentsOperations
182+
:ivar dapr_subscriptions: DaprSubscriptionsOperations operations
183+
:vartype dapr_subscriptions: azure.mgmt.appcontainers.operations.DaprSubscriptionsOperations
184+
:ivar http_route_config: HttpRouteConfigOperations operations
185+
:vartype http_route_config: azure.mgmt.appcontainers.operations.HttpRouteConfigOperations
186+
:ivar maintenance_configurations: MaintenanceConfigurationsOperations operations
187+
:vartype maintenance_configurations:
188+
azure.mgmt.appcontainers.operations.MaintenanceConfigurationsOperations
117189
:ivar managed_environments_storages: ManagedEnvironmentsStoragesOperations operations
118190
:vartype managed_environments_storages:
119191
azure.mgmt.appcontainers.operations.ManagedEnvironmentsStoragesOperations
192+
:ivar container_apps_session_pools: ContainerAppsSessionPoolsOperations operations
193+
:vartype container_apps_session_pools:
194+
azure.mgmt.appcontainers.operations.ContainerAppsSessionPoolsOperations
120195
:ivar container_apps_source_controls: ContainerAppsSourceControlsOperations operations
121196
:vartype container_apps_source_controls:
122197
azure.mgmt.appcontainers.operations.ContainerAppsSourceControlsOperations
@@ -127,12 +202,12 @@ class ContainerAppsAPIClient(
127202
azure.mgmt.appcontainers.operations.ManagedEnvironmentUsagesOperations
128203
:param credential: Credential needed for the client to connect to Azure. Required.
129204
:type credential: ~azure.core.credentials.TokenCredential
130-
:param subscription_id: The ID of the target subscription. Required.
205+
:param subscription_id: The ID of the target subscription. The value must be an UUID. Required.
131206
:type subscription_id: str
132207
:param base_url: Service URL. Default value is "https://management.azure.com".
133208
: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.
209+
:keyword api_version: Api Version. Default value is "2024-10-02-preview". Note that overriding
210+
this default value may result in unsupported behavior.
136211
:paramtype api_version: str
137212
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
138213
Retry-After header is present.
@@ -172,13 +247,20 @@ def __init__(
172247
self._serialize = Serializer(client_models)
173248
self._deserialize = Deserializer(client_models)
174249
self._serialize.client_side_validation = False
250+
self.app_resiliency = AppResiliencyOperations(self._client, self._config, self._serialize, self._deserialize)
175251
self.container_apps_auth_configs = ContainerAppsAuthConfigsOperations(
176252
self._client, self._config, self._serialize, self._deserialize
177253
)
178254
self.available_workload_profiles = AvailableWorkloadProfilesOperations(
179255
self._client, self._config, self._serialize, self._deserialize
180256
)
181257
self.billing_meters = BillingMetersOperations(self._client, self._config, self._serialize, self._deserialize)
258+
self.builders = BuildersOperations(self._client, self._config, self._serialize, self._deserialize)
259+
self.builds_by_builder_resource = BuildsByBuilderResourceOperations(
260+
self._client, self._config, self._serialize, self._deserialize
261+
)
262+
self.builds = BuildsOperations(self._client, self._config, self._serialize, self._deserialize)
263+
self.build_auth_token = BuildAuthTokenOperations(self._client, self._config, self._serialize, self._deserialize)
182264
self.connected_environments = ConnectedEnvironmentsOperations(
183265
self._client, self._config, self._serialize, self._deserialize
184266
)
@@ -192,6 +274,18 @@ def __init__(
192274
self._client, self._config, self._serialize, self._deserialize
193275
)
194276
self.container_apps = ContainerAppsOperations(self._client, self._config, self._serialize, self._deserialize)
277+
self.container_apps_builds_by_container_app = ContainerAppsBuildsByContainerAppOperations(
278+
self._client, self._config, self._serialize, self._deserialize
279+
)
280+
self.container_apps_builds = ContainerAppsBuildsOperations(
281+
self._client, self._config, self._serialize, self._deserialize
282+
)
283+
self.container_apps_patches = ContainerAppsPatchesOperations(
284+
self._client, self._config, self._serialize, self._deserialize
285+
)
286+
self.container_apps_label_history = ContainerAppsLabelHistoryOperations(
287+
self._client, self._config, self._serialize, self._deserialize
288+
)
195289
self.container_apps_revisions = ContainerAppsRevisionsOperations(
196290
self._client, self._config, self._serialize, self._deserialize
197291
)
@@ -208,8 +302,16 @@ def __init__(
208302
self._client, self._config, self._serialize, self._deserialize
209303
)
210304
self.jobs = JobsOperations(self._client, self._config, self._serialize, self._deserialize)
305+
self.dot_net_components = DotNetComponentsOperations(
306+
self._client, self._config, self._serialize, self._deserialize
307+
)
308+
self.functions_extension = FunctionsExtensionOperations(
309+
self._client, self._config, self._serialize, self._deserialize
310+
)
211311
self.operations = Operations(self._client, self._config, self._serialize, self._deserialize)
312+
self.java_components = JavaComponentsOperations(self._client, self._config, self._serialize, self._deserialize)
212313
self.jobs_executions = JobsExecutionsOperations(self._client, self._config, self._serialize, self._deserialize)
314+
self.logic_apps = LogicAppsOperations(self._client, self._config, self._serialize, self._deserialize)
213315
self.managed_environments = ManagedEnvironmentsOperations(
214316
self._client, self._config, self._serialize, self._deserialize
215317
)
@@ -218,10 +320,31 @@ def __init__(
218320
self._client, self._config, self._serialize, self._deserialize
219321
)
220322
self.namespaces = NamespacesOperations(self._client, self._config, self._serialize, self._deserialize)
323+
self.managed_environment_private_endpoint_connections = ManagedEnvironmentPrivateEndpointConnectionsOperations(
324+
self._client, self._config, self._serialize, self._deserialize
325+
)
326+
self.managed_environment_private_link_resources = ManagedEnvironmentPrivateLinkResourcesOperations(
327+
self._client, self._config, self._serialize, self._deserialize
328+
)
329+
self.dapr_component_resiliency_policies = DaprComponentResiliencyPoliciesOperations(
330+
self._client, self._config, self._serialize, self._deserialize
331+
)
221332
self.dapr_components = DaprComponentsOperations(self._client, self._config, self._serialize, self._deserialize)
333+
self.dapr_subscriptions = DaprSubscriptionsOperations(
334+
self._client, self._config, self._serialize, self._deserialize
335+
)
336+
self.http_route_config = HttpRouteConfigOperations(
337+
self._client, self._config, self._serialize, self._deserialize
338+
)
339+
self.maintenance_configurations = MaintenanceConfigurationsOperations(
340+
self._client, self._config, self._serialize, self._deserialize
341+
)
222342
self.managed_environments_storages = ManagedEnvironmentsStoragesOperations(
223343
self._client, self._config, self._serialize, self._deserialize
224344
)
345+
self.container_apps_session_pools = ContainerAppsSessionPoolsOperations(
346+
self._client, self._config, self._serialize, self._deserialize
347+
)
225348
self.container_apps_source_controls = ContainerAppsSourceControlsOperations(
226349
self._client, self._config, self._serialize, self._deserialize
227350
)

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)