Skip to content

Commit 3130fbe

Browse files
author
SDKAuto
committed
CodeGen from PR 30660 in Azure/azure-rest-api-specs
Merge 4dddaacd473555e5ddcb560260ae2cdc2acc1f8f into 17ff6e9bcbbc737b72968625ed60e16c508d419e
1 parent 786b64a commit 3130fbe

File tree

380 files changed

+37242
-3253
lines changed

Some content is hidden

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

380 files changed

+37242
-3253
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": "a07585f0564ce672531eb3942ae36174f9d6ce74",
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-08-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-08-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: 113 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,25 +19,43 @@
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,
3239
ContainerAppsOperations,
40+
ContainerAppsPatchesOperations,
3341
ContainerAppsRevisionReplicasOperations,
3442
ContainerAppsRevisionsOperations,
43+
ContainerAppsSessionPoolsOperations,
3544
ContainerAppsSourceControlsOperations,
45+
DaprComponentResiliencyPoliciesOperations,
3646
DaprComponentsOperations,
47+
DaprSubscriptionsOperations,
48+
DotNetComponentsOperations,
49+
FunctionsExtensionOperations,
50+
HttpRouteConfigOperations,
51+
JavaComponentsOperations,
3752
JobsExecutionsOperations,
3853
JobsOperations,
54+
LogicAppsOperations,
3955
ManagedCertificatesOperations,
4056
ManagedEnvironmentDiagnosticsOperations,
57+
ManagedEnvironmentPrivateEndpointConnectionsOperations,
58+
ManagedEnvironmentPrivateLinkResourcesOperations,
4159
ManagedEnvironmentUsagesOperations,
4260
ManagedEnvironmentsDiagnosticsOperations,
4361
ManagedEnvironmentsOperations,
@@ -55,8 +73,12 @@
5573
class ContainerAppsAPIClient(
5674
ContainerAppsAPIClientOperationsMixin
5775
): # pylint: disable=client-accepts-api-version-keyword,too-many-instance-attributes
58-
"""ContainerAppsAPIClient.
76+
"""Functions is an extension resource to revisions and the api listed is used to proxy the call
77+
from Web RP to the function app's host process, this api is not exposed to users and only Web
78+
RP is allowed to invoke functions extension resource.
5979
80+
:ivar app_resiliency: AppResiliencyOperations operations
81+
:vartype app_resiliency: azure.mgmt.appcontainers.operations.AppResiliencyOperations
6082
:ivar container_apps_auth_configs: ContainerAppsAuthConfigsOperations operations
6183
:vartype container_apps_auth_configs:
6284
azure.mgmt.appcontainers.operations.ContainerAppsAuthConfigsOperations
@@ -65,6 +87,15 @@ class ContainerAppsAPIClient(
6587
azure.mgmt.appcontainers.operations.AvailableWorkloadProfilesOperations
6688
:ivar billing_meters: BillingMetersOperations operations
6789
:vartype billing_meters: azure.mgmt.appcontainers.operations.BillingMetersOperations
90+
:ivar builders: BuildersOperations operations
91+
:vartype builders: azure.mgmt.appcontainers.operations.BuildersOperations
92+
:ivar builds_by_builder_resource: BuildsByBuilderResourceOperations operations
93+
:vartype builds_by_builder_resource:
94+
azure.mgmt.appcontainers.operations.BuildsByBuilderResourceOperations
95+
:ivar builds: BuildsOperations operations
96+
:vartype builds: azure.mgmt.appcontainers.operations.BuildsOperations
97+
:ivar build_auth_token: BuildAuthTokenOperations operations
98+
:vartype build_auth_token: azure.mgmt.appcontainers.operations.BuildAuthTokenOperations
6899
:ivar connected_environments: ConnectedEnvironmentsOperations operations
69100
:vartype connected_environments:
70101
azure.mgmt.appcontainers.operations.ConnectedEnvironmentsOperations
@@ -81,6 +112,16 @@ class ContainerAppsAPIClient(
81112
azure.mgmt.appcontainers.operations.ConnectedEnvironmentsStoragesOperations
82113
:ivar container_apps: ContainerAppsOperations operations
83114
:vartype container_apps: azure.mgmt.appcontainers.operations.ContainerAppsOperations
115+
:ivar container_apps_builds_by_container_app: ContainerAppsBuildsByContainerAppOperations
116+
operations
117+
:vartype container_apps_builds_by_container_app:
118+
azure.mgmt.appcontainers.operations.ContainerAppsBuildsByContainerAppOperations
119+
:ivar container_apps_builds: ContainerAppsBuildsOperations operations
120+
:vartype container_apps_builds:
121+
azure.mgmt.appcontainers.operations.ContainerAppsBuildsOperations
122+
:ivar container_apps_patches: ContainerAppsPatchesOperations operations
123+
:vartype container_apps_patches:
124+
azure.mgmt.appcontainers.operations.ContainerAppsPatchesOperations
84125
:ivar container_apps_revisions: ContainerAppsRevisionsOperations operations
85126
:vartype container_apps_revisions:
86127
azure.mgmt.appcontainers.operations.ContainerAppsRevisionsOperations
@@ -98,10 +139,20 @@ class ContainerAppsAPIClient(
98139
azure.mgmt.appcontainers.operations.ManagedEnvironmentsDiagnosticsOperations
99140
:ivar jobs: JobsOperations operations
100141
:vartype jobs: azure.mgmt.appcontainers.operations.JobsOperations
142+
:ivar dot_net_components: DotNetComponentsOperations operations
143+
:vartype dot_net_components: azure.mgmt.appcontainers.operations.DotNetComponentsOperations
144+
:ivar functions_extension: FunctionsExtensionOperations operations
145+
:vartype functions_extension: azure.mgmt.appcontainers.operations.FunctionsExtensionOperations
101146
:ivar operations: Operations operations
102147
:vartype operations: azure.mgmt.appcontainers.operations.Operations
148+
:ivar http_route_config: HttpRouteConfigOperations operations
149+
:vartype http_route_config: azure.mgmt.appcontainers.operations.HttpRouteConfigOperations
150+
:ivar java_components: JavaComponentsOperations operations
151+
:vartype java_components: azure.mgmt.appcontainers.operations.JavaComponentsOperations
103152
:ivar jobs_executions: JobsExecutionsOperations operations
104153
:vartype jobs_executions: azure.mgmt.appcontainers.operations.JobsExecutionsOperations
154+
:ivar logic_apps: LogicAppsOperations operations
155+
:vartype logic_apps: azure.mgmt.appcontainers.operations.LogicAppsOperations
105156
:ivar managed_environments: ManagedEnvironmentsOperations operations
106157
:vartype managed_environments:
107158
azure.mgmt.appcontainers.operations.ManagedEnvironmentsOperations
@@ -112,11 +163,27 @@ class ContainerAppsAPIClient(
112163
azure.mgmt.appcontainers.operations.ManagedCertificatesOperations
113164
:ivar namespaces: NamespacesOperations operations
114165
:vartype namespaces: azure.mgmt.appcontainers.operations.NamespacesOperations
166+
:ivar managed_environment_private_endpoint_connections:
167+
ManagedEnvironmentPrivateEndpointConnectionsOperations operations
168+
:vartype managed_environment_private_endpoint_connections:
169+
azure.mgmt.appcontainers.operations.ManagedEnvironmentPrivateEndpointConnectionsOperations
170+
:ivar managed_environment_private_link_resources:
171+
ManagedEnvironmentPrivateLinkResourcesOperations operations
172+
:vartype managed_environment_private_link_resources:
173+
azure.mgmt.appcontainers.operations.ManagedEnvironmentPrivateLinkResourcesOperations
174+
:ivar dapr_component_resiliency_policies: DaprComponentResiliencyPoliciesOperations operations
175+
:vartype dapr_component_resiliency_policies:
176+
azure.mgmt.appcontainers.operations.DaprComponentResiliencyPoliciesOperations
115177
:ivar dapr_components: DaprComponentsOperations operations
116178
:vartype dapr_components: azure.mgmt.appcontainers.operations.DaprComponentsOperations
179+
:ivar dapr_subscriptions: DaprSubscriptionsOperations operations
180+
:vartype dapr_subscriptions: azure.mgmt.appcontainers.operations.DaprSubscriptionsOperations
117181
:ivar managed_environments_storages: ManagedEnvironmentsStoragesOperations operations
118182
:vartype managed_environments_storages:
119183
azure.mgmt.appcontainers.operations.ManagedEnvironmentsStoragesOperations
184+
:ivar container_apps_session_pools: ContainerAppsSessionPoolsOperations operations
185+
:vartype container_apps_session_pools:
186+
azure.mgmt.appcontainers.operations.ContainerAppsSessionPoolsOperations
120187
:ivar container_apps_source_controls: ContainerAppsSourceControlsOperations operations
121188
:vartype container_apps_source_controls:
122189
azure.mgmt.appcontainers.operations.ContainerAppsSourceControlsOperations
@@ -127,12 +194,12 @@ class ContainerAppsAPIClient(
127194
azure.mgmt.appcontainers.operations.ManagedEnvironmentUsagesOperations
128195
:param credential: Credential needed for the client to connect to Azure. Required.
129196
:type credential: ~azure.core.credentials.TokenCredential
130-
:param subscription_id: The ID of the target subscription. Required.
197+
:param subscription_id: The ID of the target subscription. The value must be an UUID. Required.
131198
:type subscription_id: str
132199
:param base_url: Service URL. Default value is "https://management.azure.com".
133200
: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.
201+
:keyword api_version: Api Version. Default value is "2024-08-02-preview". Note that overriding
202+
this default value may result in unsupported behavior.
136203
:paramtype api_version: str
137204
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
138205
Retry-After header is present.
@@ -172,13 +239,20 @@ def __init__(
172239
self._serialize = Serializer(client_models)
173240
self._deserialize = Deserializer(client_models)
174241
self._serialize.client_side_validation = False
242+
self.app_resiliency = AppResiliencyOperations(self._client, self._config, self._serialize, self._deserialize)
175243
self.container_apps_auth_configs = ContainerAppsAuthConfigsOperations(
176244
self._client, self._config, self._serialize, self._deserialize
177245
)
178246
self.available_workload_profiles = AvailableWorkloadProfilesOperations(
179247
self._client, self._config, self._serialize, self._deserialize
180248
)
181249
self.billing_meters = BillingMetersOperations(self._client, self._config, self._serialize, self._deserialize)
250+
self.builders = BuildersOperations(self._client, self._config, self._serialize, self._deserialize)
251+
self.builds_by_builder_resource = BuildsByBuilderResourceOperations(
252+
self._client, self._config, self._serialize, self._deserialize
253+
)
254+
self.builds = BuildsOperations(self._client, self._config, self._serialize, self._deserialize)
255+
self.build_auth_token = BuildAuthTokenOperations(self._client, self._config, self._serialize, self._deserialize)
182256
self.connected_environments = ConnectedEnvironmentsOperations(
183257
self._client, self._config, self._serialize, self._deserialize
184258
)
@@ -192,6 +266,15 @@ def __init__(
192266
self._client, self._config, self._serialize, self._deserialize
193267
)
194268
self.container_apps = ContainerAppsOperations(self._client, self._config, self._serialize, self._deserialize)
269+
self.container_apps_builds_by_container_app = ContainerAppsBuildsByContainerAppOperations(
270+
self._client, self._config, self._serialize, self._deserialize
271+
)
272+
self.container_apps_builds = ContainerAppsBuildsOperations(
273+
self._client, self._config, self._serialize, self._deserialize
274+
)
275+
self.container_apps_patches = ContainerAppsPatchesOperations(
276+
self._client, self._config, self._serialize, self._deserialize
277+
)
195278
self.container_apps_revisions = ContainerAppsRevisionsOperations(
196279
self._client, self._config, self._serialize, self._deserialize
197280
)
@@ -208,8 +291,19 @@ def __init__(
208291
self._client, self._config, self._serialize, self._deserialize
209292
)
210293
self.jobs = JobsOperations(self._client, self._config, self._serialize, self._deserialize)
294+
self.dot_net_components = DotNetComponentsOperations(
295+
self._client, self._config, self._serialize, self._deserialize
296+
)
297+
self.functions_extension = FunctionsExtensionOperations(
298+
self._client, self._config, self._serialize, self._deserialize
299+
)
211300
self.operations = Operations(self._client, self._config, self._serialize, self._deserialize)
301+
self.http_route_config = HttpRouteConfigOperations(
302+
self._client, self._config, self._serialize, self._deserialize
303+
)
304+
self.java_components = JavaComponentsOperations(self._client, self._config, self._serialize, self._deserialize)
212305
self.jobs_executions = JobsExecutionsOperations(self._client, self._config, self._serialize, self._deserialize)
306+
self.logic_apps = LogicAppsOperations(self._client, self._config, self._serialize, self._deserialize)
213307
self.managed_environments = ManagedEnvironmentsOperations(
214308
self._client, self._config, self._serialize, self._deserialize
215309
)
@@ -218,10 +312,25 @@ def __init__(
218312
self._client, self._config, self._serialize, self._deserialize
219313
)
220314
self.namespaces = NamespacesOperations(self._client, self._config, self._serialize, self._deserialize)
315+
self.managed_environment_private_endpoint_connections = ManagedEnvironmentPrivateEndpointConnectionsOperations(
316+
self._client, self._config, self._serialize, self._deserialize
317+
)
318+
self.managed_environment_private_link_resources = ManagedEnvironmentPrivateLinkResourcesOperations(
319+
self._client, self._config, self._serialize, self._deserialize
320+
)
321+
self.dapr_component_resiliency_policies = DaprComponentResiliencyPoliciesOperations(
322+
self._client, self._config, self._serialize, self._deserialize
323+
)
221324
self.dapr_components = DaprComponentsOperations(self._client, self._config, self._serialize, self._deserialize)
325+
self.dapr_subscriptions = DaprSubscriptionsOperations(
326+
self._client, self._config, self._serialize, self._deserialize
327+
)
222328
self.managed_environments_storages = ManagedEnvironmentsStoragesOperations(
223329
self._client, self._config, self._serialize, self._deserialize
224330
)
331+
self.container_apps_session_pools = ContainerAppsSessionPoolsOperations(
332+
self._client, self._config, self._serialize, self._deserialize
333+
)
225334
self.container_apps_source_controls = ContainerAppsSourceControlsOperations(
226335
self._client, self._config, self._serialize, self._deserialize
227336
)

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-08-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-08-02-preview")
3838

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

0 commit comments

Comments
 (0)