Skip to content

Commit 526ed7f

Browse files
author
SDKAuto
committed
CodeGen from PR 28369 in Azure/azure-rest-api-specs
Merge c351b62d8212ca22ab740b43f1a2691090af12c8 into b0f4f78c9fc7272226a88bcd726d253aa6545aee
1 parent 41556d7 commit 526ed7f

File tree

216 files changed

+545
-16492
lines changed

Some content is hidden

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

216 files changed

+545
-16492
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
2-
"commit": "e5404d3e55f885d2cb8fdbff3fd1a03bcfc6bb4c",
2+
"commit": "8e14f015a3def7f30e7b3814eac408078813faf2",
33
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
44
"autorest": "3.9.7",
55
"use": [
66
"@autorest/[email protected]",
77
"@autorest/[email protected]"
88
],
9-
"autorest_command": "autorest specification/app/resource-manager/readme.md --generate-sample=True --include-x-ms-examples-original-file=True --python --python-sdks-folder=/home/vsts/work/1/azure-sdk-for-python/sdk --use=@autorest/[email protected] --use=@autorest/[email protected] --version=3.9.7 --version-tolerant=False",
9+
"autorest_command": "autorest specification/app/resource-manager/readme.md --generate-sample=True --include-x-ms-examples-original-file=True --python --python-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-python/sdk --use=@autorest/[email protected] --use=@autorest/[email protected] --version=3.9.7 --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. The value must be an UUID. Required.
29+
:param subscription_id: The ID of the target subscription. Required.
3030
:type subscription_id: str
31-
:keyword api_version: Api Version. Default value is "2023-11-02-preview". Note that overriding
32-
this default value may result in unsupported behavior.
31+
:keyword api_version: Api Version. Default value is "2024-03-01". Note that overriding this
32+
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", "2023-11-02-preview")
37+
api_version: str = kwargs.pop("api_version", "2024-03-01")
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: 6 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,8 @@
1818
from ._configuration import ContainerAppsAPIClientConfiguration
1919
from ._serialization import Deserializer, Serializer
2020
from .operations import (
21-
AppResiliencyOperations,
2221
AvailableWorkloadProfilesOperations,
2322
BillingMetersOperations,
24-
BuildAuthTokenOperations,
25-
BuildersOperations,
26-
BuildsByBuilderResourceOperations,
27-
BuildsOperations,
2823
CertificatesOperations,
2924
ConnectedEnvironmentsCertificatesOperations,
3025
ConnectedEnvironmentsDaprComponentsOperations,
@@ -37,11 +32,7 @@
3732
ContainerAppsRevisionReplicasOperations,
3833
ContainerAppsRevisionsOperations,
3934
ContainerAppsSourceControlsOperations,
40-
DaprComponentResiliencyPoliciesOperations,
4135
DaprComponentsOperations,
42-
DaprSubscriptionsOperations,
43-
DotNetComponentsOperations,
44-
JavaComponentsOperations,
4536
JobsExecutionsOperations,
4637
JobsOperations,
4738
ManagedCertificatesOperations,
@@ -65,8 +56,6 @@ class ContainerAppsAPIClient(
6556
): # pylint: disable=client-accepts-api-version-keyword,too-many-instance-attributes
6657
"""ContainerAppsAPIClient.
6758
68-
:ivar app_resiliency: AppResiliencyOperations operations
69-
:vartype app_resiliency: azure.mgmt.appcontainers.operations.AppResiliencyOperations
7059
:ivar container_apps_auth_configs: ContainerAppsAuthConfigsOperations operations
7160
:vartype container_apps_auth_configs:
7261
azure.mgmt.appcontainers.operations.ContainerAppsAuthConfigsOperations
@@ -75,15 +64,6 @@ class ContainerAppsAPIClient(
7564
azure.mgmt.appcontainers.operations.AvailableWorkloadProfilesOperations
7665
:ivar billing_meters: BillingMetersOperations operations
7766
:vartype billing_meters: azure.mgmt.appcontainers.operations.BillingMetersOperations
78-
:ivar builders: BuildersOperations operations
79-
:vartype builders: azure.mgmt.appcontainers.operations.BuildersOperations
80-
:ivar builds_by_builder_resource: BuildsByBuilderResourceOperations operations
81-
:vartype builds_by_builder_resource:
82-
azure.mgmt.appcontainers.operations.BuildsByBuilderResourceOperations
83-
:ivar builds: BuildsOperations operations
84-
:vartype builds: azure.mgmt.appcontainers.operations.BuildsOperations
85-
:ivar build_auth_token: BuildAuthTokenOperations operations
86-
:vartype build_auth_token: azure.mgmt.appcontainers.operations.BuildAuthTokenOperations
8767
:ivar connected_environments: ConnectedEnvironmentsOperations operations
8868
:vartype connected_environments:
8969
azure.mgmt.appcontainers.operations.ConnectedEnvironmentsOperations
@@ -115,10 +95,10 @@ class ContainerAppsAPIClient(
11595
:ivar managed_environments_diagnostics: ManagedEnvironmentsDiagnosticsOperations operations
11696
:vartype managed_environments_diagnostics:
11797
azure.mgmt.appcontainers.operations.ManagedEnvironmentsDiagnosticsOperations
118-
:ivar jobs: JobsOperations operations
119-
:vartype jobs: azure.mgmt.appcontainers.operations.JobsOperations
12098
:ivar operations: Operations operations
12199
:vartype operations: azure.mgmt.appcontainers.operations.Operations
100+
:ivar jobs: JobsOperations operations
101+
:vartype jobs: azure.mgmt.appcontainers.operations.JobsOperations
122102
:ivar jobs_executions: JobsExecutionsOperations operations
123103
:vartype jobs_executions: azure.mgmt.appcontainers.operations.JobsExecutionsOperations
124104
:ivar managed_environments: ManagedEnvironmentsOperations operations
@@ -131,13 +111,8 @@ class ContainerAppsAPIClient(
131111
azure.mgmt.appcontainers.operations.ManagedCertificatesOperations
132112
:ivar namespaces: NamespacesOperations operations
133113
:vartype namespaces: azure.mgmt.appcontainers.operations.NamespacesOperations
134-
:ivar dapr_component_resiliency_policies: DaprComponentResiliencyPoliciesOperations operations
135-
:vartype dapr_component_resiliency_policies:
136-
azure.mgmt.appcontainers.operations.DaprComponentResiliencyPoliciesOperations
137114
:ivar dapr_components: DaprComponentsOperations operations
138115
:vartype dapr_components: azure.mgmt.appcontainers.operations.DaprComponentsOperations
139-
:ivar dapr_subscriptions: DaprSubscriptionsOperations operations
140-
:vartype dapr_subscriptions: azure.mgmt.appcontainers.operations.DaprSubscriptionsOperations
141116
:ivar managed_environments_storages: ManagedEnvironmentsStoragesOperations operations
142117
:vartype managed_environments_storages:
143118
azure.mgmt.appcontainers.operations.ManagedEnvironmentsStoragesOperations
@@ -149,18 +124,14 @@ class ContainerAppsAPIClient(
149124
:ivar managed_environment_usages: ManagedEnvironmentUsagesOperations operations
150125
:vartype managed_environment_usages:
151126
azure.mgmt.appcontainers.operations.ManagedEnvironmentUsagesOperations
152-
:ivar java_components: JavaComponentsOperations operations
153-
:vartype java_components: azure.mgmt.appcontainers.operations.JavaComponentsOperations
154-
:ivar dot_net_components: DotNetComponentsOperations operations
155-
:vartype dot_net_components: azure.mgmt.appcontainers.operations.DotNetComponentsOperations
156127
:param credential: Credential needed for the client to connect to Azure. Required.
157128
:type credential: ~azure.core.credentials.TokenCredential
158-
:param subscription_id: The ID of the target subscription. The value must be an UUID. Required.
129+
:param subscription_id: The ID of the target subscription. Required.
159130
:type subscription_id: str
160131
:param base_url: Service URL. Default value is "https://management.azure.com".
161132
:type base_url: str
162-
:keyword api_version: Api Version. Default value is "2023-11-02-preview". Note that overriding
163-
this default value may result in unsupported behavior.
133+
:keyword api_version: Api Version. Default value is "2024-03-01". Note that overriding this
134+
default value may result in unsupported behavior.
164135
:paramtype api_version: str
165136
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
166137
Retry-After header is present.
@@ -200,20 +171,13 @@ def __init__(
200171
self._serialize = Serializer(client_models)
201172
self._deserialize = Deserializer(client_models)
202173
self._serialize.client_side_validation = False
203-
self.app_resiliency = AppResiliencyOperations(self._client, self._config, self._serialize, self._deserialize)
204174
self.container_apps_auth_configs = ContainerAppsAuthConfigsOperations(
205175
self._client, self._config, self._serialize, self._deserialize
206176
)
207177
self.available_workload_profiles = AvailableWorkloadProfilesOperations(
208178
self._client, self._config, self._serialize, self._deserialize
209179
)
210180
self.billing_meters = BillingMetersOperations(self._client, self._config, self._serialize, self._deserialize)
211-
self.builders = BuildersOperations(self._client, self._config, self._serialize, self._deserialize)
212-
self.builds_by_builder_resource = BuildsByBuilderResourceOperations(
213-
self._client, self._config, self._serialize, self._deserialize
214-
)
215-
self.builds = BuildsOperations(self._client, self._config, self._serialize, self._deserialize)
216-
self.build_auth_token = BuildAuthTokenOperations(self._client, self._config, self._serialize, self._deserialize)
217181
self.connected_environments = ConnectedEnvironmentsOperations(
218182
self._client, self._config, self._serialize, self._deserialize
219183
)
@@ -242,8 +206,8 @@ def __init__(
242206
self.managed_environments_diagnostics = ManagedEnvironmentsDiagnosticsOperations(
243207
self._client, self._config, self._serialize, self._deserialize
244208
)
245-
self.jobs = JobsOperations(self._client, self._config, self._serialize, self._deserialize)
246209
self.operations = Operations(self._client, self._config, self._serialize, self._deserialize)
210+
self.jobs = JobsOperations(self._client, self._config, self._serialize, self._deserialize)
247211
self.jobs_executions = JobsExecutionsOperations(self._client, self._config, self._serialize, self._deserialize)
248212
self.managed_environments = ManagedEnvironmentsOperations(
249213
self._client, self._config, self._serialize, self._deserialize
@@ -253,13 +217,7 @@ def __init__(
253217
self._client, self._config, self._serialize, self._deserialize
254218
)
255219
self.namespaces = NamespacesOperations(self._client, self._config, self._serialize, self._deserialize)
256-
self.dapr_component_resiliency_policies = DaprComponentResiliencyPoliciesOperations(
257-
self._client, self._config, self._serialize, self._deserialize
258-
)
259220
self.dapr_components = DaprComponentsOperations(self._client, self._config, self._serialize, self._deserialize)
260-
self.dapr_subscriptions = DaprSubscriptionsOperations(
261-
self._client, self._config, self._serialize, self._deserialize
262-
)
263221
self.managed_environments_storages = ManagedEnvironmentsStoragesOperations(
264222
self._client, self._config, self._serialize, self._deserialize
265223
)
@@ -270,10 +228,6 @@ def __init__(
270228
self.managed_environment_usages = ManagedEnvironmentUsagesOperations(
271229
self._client, self._config, self._serialize, self._deserialize
272230
)
273-
self.java_components = JavaComponentsOperations(self._client, self._config, self._serialize, self._deserialize)
274-
self.dot_net_components = DotNetComponentsOperations(
275-
self._client, self._config, self._serialize, self._deserialize
276-
)
277231

278232
def _send_request(self, request: HttpRequest, *, stream: bool = False, **kwargs: Any) -> HttpResponse:
279233
"""Runs the network request through the client's chained policies.

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.0b1"
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. The value must be an UUID. Required.
29+
:param subscription_id: The ID of the target subscription. Required.
3030
:type subscription_id: str
31-
:keyword api_version: Api Version. Default value is "2023-11-02-preview". Note that overriding
32-
this default value may result in unsupported behavior.
31+
:keyword api_version: Api Version. Default value is "2024-03-01". Note that overriding this
32+
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", "2023-11-02-preview")
37+
api_version: str = kwargs.pop("api_version", "2024-03-01")
3838

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

0 commit comments

Comments
 (0)