Skip to content

Commit 5a6d66d

Browse files
author
SDKAuto
committed
CodeGen from PR 31184 in Azure/azure-rest-api-specs
Merge 906630052227fdea2f071cf1a8abdb0e93f89ac2 into e43c1dca5d9b3b308939c86bb9d19ac0247b87cc
1 parent 1861870 commit 5a6d66d

File tree

371 files changed

+34734
-2938
lines changed

Some content is hidden

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

371 files changed

+34734
-2938
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": "e95b491622ad69fb4e84886e2bf7041865df40f2",
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: 107 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,25 +19,42 @@
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+
JavaComponentsOperations,
3751
JobsExecutionsOperations,
3852
JobsOperations,
53+
LogicAppsOperations,
3954
ManagedCertificatesOperations,
4055
ManagedEnvironmentDiagnosticsOperations,
56+
ManagedEnvironmentPrivateEndpointConnectionsOperations,
57+
ManagedEnvironmentPrivateLinkResourcesOperations,
4158
ManagedEnvironmentUsagesOperations,
4259
ManagedEnvironmentsDiagnosticsOperations,
4360
ManagedEnvironmentsOperations,
@@ -55,8 +72,12 @@
5572
class ContainerAppsAPIClient(
5673
ContainerAppsAPIClientOperationsMixin
5774
): # pylint: disable=client-accepts-api-version-keyword,too-many-instance-attributes
58-
"""ContainerAppsAPIClient.
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.
5978
79+
:ivar app_resiliency: AppResiliencyOperations operations
80+
:vartype app_resiliency: azure.mgmt.appcontainers.operations.AppResiliencyOperations
6081
:ivar container_apps_auth_configs: ContainerAppsAuthConfigsOperations operations
6182
:vartype container_apps_auth_configs:
6283
azure.mgmt.appcontainers.operations.ContainerAppsAuthConfigsOperations
@@ -65,6 +86,15 @@ class ContainerAppsAPIClient(
6586
azure.mgmt.appcontainers.operations.AvailableWorkloadProfilesOperations
6687
:ivar billing_meters: BillingMetersOperations operations
6788
: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
6898
:ivar connected_environments: ConnectedEnvironmentsOperations operations
6999
:vartype connected_environments:
70100
azure.mgmt.appcontainers.operations.ConnectedEnvironmentsOperations
@@ -81,6 +111,16 @@ class ContainerAppsAPIClient(
81111
azure.mgmt.appcontainers.operations.ConnectedEnvironmentsStoragesOperations
82112
:ivar container_apps: ContainerAppsOperations operations
83113
: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
84124
:ivar container_apps_revisions: ContainerAppsRevisionsOperations operations
85125
:vartype container_apps_revisions:
86126
azure.mgmt.appcontainers.operations.ContainerAppsRevisionsOperations
@@ -98,10 +138,18 @@ class ContainerAppsAPIClient(
98138
azure.mgmt.appcontainers.operations.ManagedEnvironmentsDiagnosticsOperations
99139
:ivar jobs: JobsOperations operations
100140
: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
101145
:ivar operations: Operations operations
102146
:vartype operations: azure.mgmt.appcontainers.operations.Operations
147+
:ivar java_components: JavaComponentsOperations operations
148+
:vartype java_components: azure.mgmt.appcontainers.operations.JavaComponentsOperations
103149
:ivar jobs_executions: JobsExecutionsOperations operations
104150
:vartype jobs_executions: azure.mgmt.appcontainers.operations.JobsExecutionsOperations
151+
:ivar logic_apps: LogicAppsOperations operations
152+
:vartype logic_apps: azure.mgmt.appcontainers.operations.LogicAppsOperations
105153
:ivar managed_environments: ManagedEnvironmentsOperations operations
106154
:vartype managed_environments:
107155
azure.mgmt.appcontainers.operations.ManagedEnvironmentsOperations
@@ -112,11 +160,27 @@ class ContainerAppsAPIClient(
112160
azure.mgmt.appcontainers.operations.ManagedCertificatesOperations
113161
:ivar namespaces: NamespacesOperations operations
114162
: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
115174
:ivar dapr_components: DaprComponentsOperations operations
116175
:vartype dapr_components: azure.mgmt.appcontainers.operations.DaprComponentsOperations
176+
:ivar dapr_subscriptions: DaprSubscriptionsOperations operations
177+
:vartype dapr_subscriptions: azure.mgmt.appcontainers.operations.DaprSubscriptionsOperations
117178
:ivar managed_environments_storages: ManagedEnvironmentsStoragesOperations operations
118179
:vartype managed_environments_storages:
119180
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
120184
:ivar container_apps_source_controls: ContainerAppsSourceControlsOperations operations
121185
:vartype container_apps_source_controls:
122186
azure.mgmt.appcontainers.operations.ContainerAppsSourceControlsOperations
@@ -127,12 +191,12 @@ class ContainerAppsAPIClient(
127191
azure.mgmt.appcontainers.operations.ManagedEnvironmentUsagesOperations
128192
:param credential: Credential needed for the client to connect to Azure. Required.
129193
:type credential: ~azure.core.credentials.TokenCredential
130-
:param subscription_id: The ID of the target subscription. Required.
194+
:param subscription_id: The ID of the target subscription. The value must be an UUID. Required.
131195
:type subscription_id: str
132196
:param base_url: Service URL. Default value is "https://management.azure.com".
133197
: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.
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.
136200
:paramtype api_version: str
137201
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
138202
Retry-After header is present.
@@ -172,13 +236,20 @@ def __init__(
172236
self._serialize = Serializer(client_models)
173237
self._deserialize = Deserializer(client_models)
174238
self._serialize.client_side_validation = False
239+
self.app_resiliency = AppResiliencyOperations(self._client, self._config, self._serialize, self._deserialize)
175240
self.container_apps_auth_configs = ContainerAppsAuthConfigsOperations(
176241
self._client, self._config, self._serialize, self._deserialize
177242
)
178243
self.available_workload_profiles = AvailableWorkloadProfilesOperations(
179244
self._client, self._config, self._serialize, self._deserialize
180245
)
181246
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)
182253
self.connected_environments = ConnectedEnvironmentsOperations(
183254
self._client, self._config, self._serialize, self._deserialize
184255
)
@@ -192,6 +263,15 @@ def __init__(
192263
self._client, self._config, self._serialize, self._deserialize
193264
)
194265
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+
)
195275
self.container_apps_revisions = ContainerAppsRevisionsOperations(
196276
self._client, self._config, self._serialize, self._deserialize
197277
)
@@ -208,8 +288,16 @@ def __init__(
208288
self._client, self._config, self._serialize, self._deserialize
209289
)
210290
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+
)
211297
self.operations = Operations(self._client, self._config, self._serialize, self._deserialize)
298+
self.java_components = JavaComponentsOperations(self._client, self._config, self._serialize, self._deserialize)
212299
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)
213301
self.managed_environments = ManagedEnvironmentsOperations(
214302
self._client, self._config, self._serialize, self._deserialize
215303
)
@@ -218,10 +306,25 @@ def __init__(
218306
self._client, self._config, self._serialize, self._deserialize
219307
)
220308
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+
)
221318
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+
)
222322
self.managed_environments_storages = ManagedEnvironmentsStoragesOperations(
223323
self._client, self._config, self._serialize, self._deserialize
224324
)
325+
self.container_apps_session_pools = ContainerAppsSessionPoolsOperations(
326+
self._client, self._config, self._serialize, self._deserialize
327+
)
225328
self.container_apps_source_controls = ContainerAppsSourceControlsOperations(
226329
self._client, self._config, self._serialize, self._deserialize
227330
)

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)