Skip to content

Commit 642cf7d

Browse files
author
SDKAuto
committed
CodeGen from PR 30993 in Azure/azure-rest-api-specs
Merge 42fe5678c118c2203649eb74deb4cd54d056eb8b into 7580ae65f64ee9177d5ed32890cb91dd2ae0a253
1 parent 2c98e7e commit 642cf7d

File tree

379 files changed

+37784
-3655
lines changed

Some content is hidden

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

379 files changed

+37784
-3655
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": "e7f29eb5a18044f907d4e8d3b69656c87b62de4f",
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: 114 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,
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,
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,19 @@ 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
125+
:ivar container_apps_label_history: ContainerAppsLabelHistoryOperations operations
126+
:vartype container_apps_label_history:
127+
azure.mgmt.appcontainers.operations.ContainerAppsLabelHistoryOperations
84128
:ivar container_apps_revisions: ContainerAppsRevisionsOperations operations
85129
:vartype container_apps_revisions:
86130
azure.mgmt.appcontainers.operations.ContainerAppsRevisionsOperations
@@ -98,10 +142,18 @@ class ContainerAppsAPIClient(
98142
azure.mgmt.appcontainers.operations.ManagedEnvironmentsDiagnosticsOperations
99143
:ivar jobs: JobsOperations operations
100144
:vartype jobs: azure.mgmt.appcontainers.operations.JobsOperations
145+
:ivar dot_net_components: DotNetComponentsOperations operations
146+
:vartype dot_net_components: azure.mgmt.appcontainers.operations.DotNetComponentsOperations
147+
:ivar functions_extension: FunctionsExtensionOperations operations
148+
:vartype functions_extension: azure.mgmt.appcontainers.operations.FunctionsExtensionOperations
101149
:ivar operations: Operations operations
102150
:vartype operations: azure.mgmt.appcontainers.operations.Operations
151+
:ivar java_components: JavaComponentsOperations operations
152+
:vartype java_components: azure.mgmt.appcontainers.operations.JavaComponentsOperations
103153
:ivar jobs_executions: JobsExecutionsOperations operations
104154
:vartype jobs_executions: azure.mgmt.appcontainers.operations.JobsExecutionsOperations
155+
:ivar logic_apps: LogicAppsOperations operations
156+
:vartype logic_apps: azure.mgmt.appcontainers.operations.LogicAppsOperations
105157
:ivar managed_environments: ManagedEnvironmentsOperations operations
106158
:vartype managed_environments:
107159
azure.mgmt.appcontainers.operations.ManagedEnvironmentsOperations
@@ -112,11 +164,27 @@ class ContainerAppsAPIClient(
112164
azure.mgmt.appcontainers.operations.ManagedCertificatesOperations
113165
:ivar namespaces: NamespacesOperations operations
114166
:vartype namespaces: azure.mgmt.appcontainers.operations.NamespacesOperations
167+
:ivar managed_environment_private_endpoint_connections:
168+
ManagedEnvironmentPrivateEndpointConnectionsOperations operations
169+
:vartype managed_environment_private_endpoint_connections:
170+
azure.mgmt.appcontainers.operations.ManagedEnvironmentPrivateEndpointConnectionsOperations
171+
:ivar managed_environment_private_link_resources:
172+
ManagedEnvironmentPrivateLinkResourcesOperations operations
173+
:vartype managed_environment_private_link_resources:
174+
azure.mgmt.appcontainers.operations.ManagedEnvironmentPrivateLinkResourcesOperations
175+
:ivar dapr_component_resiliency_policies: DaprComponentResiliencyPoliciesOperations operations
176+
:vartype dapr_component_resiliency_policies:
177+
azure.mgmt.appcontainers.operations.DaprComponentResiliencyPoliciesOperations
115178
:ivar dapr_components: DaprComponentsOperations operations
116179
:vartype dapr_components: azure.mgmt.appcontainers.operations.DaprComponentsOperations
180+
:ivar dapr_subscriptions: DaprSubscriptionsOperations operations
181+
:vartype dapr_subscriptions: azure.mgmt.appcontainers.operations.DaprSubscriptionsOperations
117182
:ivar managed_environments_storages: ManagedEnvironmentsStoragesOperations operations
118183
:vartype managed_environments_storages:
119184
azure.mgmt.appcontainers.operations.ManagedEnvironmentsStoragesOperations
185+
:ivar container_apps_session_pools: ContainerAppsSessionPoolsOperations operations
186+
:vartype container_apps_session_pools:
187+
azure.mgmt.appcontainers.operations.ContainerAppsSessionPoolsOperations
120188
:ivar container_apps_source_controls: ContainerAppsSourceControlsOperations operations
121189
:vartype container_apps_source_controls:
122190
azure.mgmt.appcontainers.operations.ContainerAppsSourceControlsOperations
@@ -127,12 +195,12 @@ class ContainerAppsAPIClient(
127195
azure.mgmt.appcontainers.operations.ManagedEnvironmentUsagesOperations
128196
:param credential: Credential needed for the client to connect to Azure. Required.
129197
:type credential: ~azure.core.credentials.TokenCredential
130-
:param subscription_id: The ID of the target subscription. Required.
198+
:param subscription_id: The ID of the target subscription. The value must be an UUID. Required.
131199
:type subscription_id: str
132200
:param base_url: Service URL. Default value is "https://management.azure.com".
133201
: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.
202+
:keyword api_version: Api Version. Default value is "2024-10-02-preview". Note that overriding
203+
this default value may result in unsupported behavior.
136204
:paramtype api_version: str
137205
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
138206
Retry-After header is present.
@@ -172,13 +240,20 @@ def __init__(
172240
self._serialize = Serializer(client_models)
173241
self._deserialize = Deserializer(client_models)
174242
self._serialize.client_side_validation = False
243+
self.app_resiliency = AppResiliencyOperations(self._client, self._config, self._serialize, self._deserialize)
175244
self.container_apps_auth_configs = ContainerAppsAuthConfigsOperations(
176245
self._client, self._config, self._serialize, self._deserialize
177246
)
178247
self.available_workload_profiles = AvailableWorkloadProfilesOperations(
179248
self._client, self._config, self._serialize, self._deserialize
180249
)
181250
self.billing_meters = BillingMetersOperations(self._client, self._config, self._serialize, self._deserialize)
251+
self.builders = BuildersOperations(self._client, self._config, self._serialize, self._deserialize)
252+
self.builds_by_builder_resource = BuildsByBuilderResourceOperations(
253+
self._client, self._config, self._serialize, self._deserialize
254+
)
255+
self.builds = BuildsOperations(self._client, self._config, self._serialize, self._deserialize)
256+
self.build_auth_token = BuildAuthTokenOperations(self._client, self._config, self._serialize, self._deserialize)
182257
self.connected_environments = ConnectedEnvironmentsOperations(
183258
self._client, self._config, self._serialize, self._deserialize
184259
)
@@ -192,6 +267,18 @@ def __init__(
192267
self._client, self._config, self._serialize, self._deserialize
193268
)
194269
self.container_apps = ContainerAppsOperations(self._client, self._config, self._serialize, self._deserialize)
270+
self.container_apps_builds_by_container_app = ContainerAppsBuildsByContainerAppOperations(
271+
self._client, self._config, self._serialize, self._deserialize
272+
)
273+
self.container_apps_builds = ContainerAppsBuildsOperations(
274+
self._client, self._config, self._serialize, self._deserialize
275+
)
276+
self.container_apps_patches = ContainerAppsPatchesOperations(
277+
self._client, self._config, self._serialize, self._deserialize
278+
)
279+
self.container_apps_label_history = ContainerAppsLabelHistoryOperations(
280+
self._client, self._config, self._serialize, self._deserialize
281+
)
195282
self.container_apps_revisions = ContainerAppsRevisionsOperations(
196283
self._client, self._config, self._serialize, self._deserialize
197284
)
@@ -208,8 +295,16 @@ def __init__(
208295
self._client, self._config, self._serialize, self._deserialize
209296
)
210297
self.jobs = JobsOperations(self._client, self._config, self._serialize, self._deserialize)
298+
self.dot_net_components = DotNetComponentsOperations(
299+
self._client, self._config, self._serialize, self._deserialize
300+
)
301+
self.functions_extension = FunctionsExtensionOperations(
302+
self._client, self._config, self._serialize, self._deserialize
303+
)
211304
self.operations = Operations(self._client, self._config, self._serialize, self._deserialize)
305+
self.java_components = JavaComponentsOperations(self._client, self._config, self._serialize, self._deserialize)
212306
self.jobs_executions = JobsExecutionsOperations(self._client, self._config, self._serialize, self._deserialize)
307+
self.logic_apps = LogicAppsOperations(self._client, self._config, self._serialize, self._deserialize)
213308
self.managed_environments = ManagedEnvironmentsOperations(
214309
self._client, self._config, self._serialize, self._deserialize
215310
)
@@ -218,10 +313,25 @@ def __init__(
218313
self._client, self._config, self._serialize, self._deserialize
219314
)
220315
self.namespaces = NamespacesOperations(self._client, self._config, self._serialize, self._deserialize)
316+
self.managed_environment_private_endpoint_connections = ManagedEnvironmentPrivateEndpointConnectionsOperations(
317+
self._client, self._config, self._serialize, self._deserialize
318+
)
319+
self.managed_environment_private_link_resources = ManagedEnvironmentPrivateLinkResourcesOperations(
320+
self._client, self._config, self._serialize, self._deserialize
321+
)
322+
self.dapr_component_resiliency_policies = DaprComponentResiliencyPoliciesOperations(
323+
self._client, self._config, self._serialize, self._deserialize
324+
)
221325
self.dapr_components = DaprComponentsOperations(self._client, self._config, self._serialize, self._deserialize)
326+
self.dapr_subscriptions = DaprSubscriptionsOperations(
327+
self._client, self._config, self._serialize, self._deserialize
328+
)
222329
self.managed_environments_storages = ManagedEnvironmentsStoragesOperations(
223330
self._client, self._config, self._serialize, self._deserialize
224331
)
332+
self.container_apps_session_pools = ContainerAppsSessionPoolsOperations(
333+
self._client, self._config, self._serialize, self._deserialize
334+
)
225335
self.container_apps_source_controls = ContainerAppsSourceControlsOperations(
226336
self._client, self._config, self._serialize, self._deserialize
227337
)

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)