Skip to content

Commit 3b323b9

Browse files
author
SDKAuto
committed
CodeGen from PR 26352 in Azure/azure-rest-api-specs
Merge bce2de780f87501931ece5f1d9a320efc9d4de38 into 11bbc2b1df2e915a2227a6a1a48a27b9e67c3311
1 parent 1010508 commit 3b323b9

File tree

190 files changed

+12989
-523
lines changed

Some content is hidden

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

190 files changed

+12989
-523
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
2-
"commit": "4cd95123fb961c68740565a1efcaa5e43bd35802",
2+
"commit": "8a5088b0024ead0f63e54784579157e9b318d619",
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
@@ -27,16 +27,16 @@ class ContainerAppsAPIClientConfiguration(Configuration): # pylint: disable=too
2727
2828
:param credential: Credential needed for the client to connect to Azure. Required.
2929
:type credential: ~azure.core.credentials.TokenCredential
30-
:param subscription_id: The ID of the target subscription. Required.
30+
:param subscription_id: The ID of the target subscription. The value must be an UUID. Required.
3131
:type subscription_id: str
32-
:keyword api_version: Api Version. Default value is "2023-05-01". Note that overriding this
33-
default value may result in unsupported behavior.
32+
:keyword api_version: Api Version. Default value is "2023-08-01-preview". Note that overriding
33+
this default value may result in unsupported behavior.
3434
:paramtype api_version: str
3535
"""
3636

3737
def __init__(self, credential: "TokenCredential", subscription_id: str, **kwargs: Any) -> None:
3838
super(ContainerAppsAPIClientConfiguration, self).__init__(**kwargs)
39-
api_version: str = kwargs.pop("api_version", "2023-05-01")
39+
api_version: str = kwargs.pop("api_version", "2023-08-01-preview")
4040

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

sdk/appcontainers/azure-mgmt-appcontainers/azure/mgmt/appcontainers/_container_apps_api_client.py

Lines changed: 42 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,11 @@
1616
from ._configuration import ContainerAppsAPIClientConfiguration
1717
from ._serialization import Deserializer, Serializer
1818
from .operations import (
19+
AppResiliencyOperations,
1920
AvailableWorkloadProfilesOperations,
2021
BillingMetersOperations,
22+
BuildersOperations,
23+
BuildsOperations,
2124
CertificatesOperations,
2225
ConnectedEnvironmentsCertificatesOperations,
2326
ConnectedEnvironmentsDaprComponentsOperations,
@@ -30,16 +33,20 @@
3033
ContainerAppsRevisionReplicasOperations,
3134
ContainerAppsRevisionsOperations,
3235
ContainerAppsSourceControlsOperations,
36+
DaprComponentResiliencyPoliciesOperations,
3337
DaprComponentsOperations,
38+
DaprSubscriptionsOperations,
3439
JobsExecutionsOperations,
3540
JobsOperations,
3641
ManagedCertificatesOperations,
3742
ManagedEnvironmentDiagnosticsOperations,
43+
ManagedEnvironmentUsagesOperations,
3844
ManagedEnvironmentsDiagnosticsOperations,
3945
ManagedEnvironmentsOperations,
4046
ManagedEnvironmentsStoragesOperations,
4147
NamespacesOperations,
4248
Operations,
49+
UsagesOperations,
4350
)
4451

4552
if TYPE_CHECKING:
@@ -52,6 +59,8 @@ class ContainerAppsAPIClient(
5259
): # pylint: disable=client-accepts-api-version-keyword,too-many-instance-attributes
5360
"""ContainerAppsAPIClient.
5461
62+
:ivar app_resiliency: AppResiliencyOperations operations
63+
:vartype app_resiliency: azure.mgmt.appcontainers.operations.AppResiliencyOperations
5564
:ivar container_apps_auth_configs: ContainerAppsAuthConfigsOperations operations
5665
:vartype container_apps_auth_configs:
5766
azure.mgmt.appcontainers.operations.ContainerAppsAuthConfigsOperations
@@ -60,6 +69,10 @@ class ContainerAppsAPIClient(
6069
azure.mgmt.appcontainers.operations.AvailableWorkloadProfilesOperations
6170
:ivar billing_meters: BillingMetersOperations operations
6271
:vartype billing_meters: azure.mgmt.appcontainers.operations.BillingMetersOperations
72+
:ivar builders: BuildersOperations operations
73+
:vartype builders: azure.mgmt.appcontainers.operations.BuildersOperations
74+
:ivar builds: BuildsOperations operations
75+
:vartype builds: azure.mgmt.appcontainers.operations.BuildsOperations
6376
:ivar connected_environments: ConnectedEnvironmentsOperations operations
6477
:vartype connected_environments:
6578
azure.mgmt.appcontainers.operations.ConnectedEnvironmentsOperations
@@ -91,10 +104,10 @@ class ContainerAppsAPIClient(
91104
:ivar managed_environments_diagnostics: ManagedEnvironmentsDiagnosticsOperations operations
92105
:vartype managed_environments_diagnostics:
93106
azure.mgmt.appcontainers.operations.ManagedEnvironmentsDiagnosticsOperations
94-
:ivar operations: Operations operations
95-
:vartype operations: azure.mgmt.appcontainers.operations.Operations
96107
:ivar jobs: JobsOperations operations
97108
:vartype jobs: azure.mgmt.appcontainers.operations.JobsOperations
109+
:ivar operations: Operations operations
110+
:vartype operations: azure.mgmt.appcontainers.operations.Operations
98111
:ivar jobs_executions: JobsExecutionsOperations operations
99112
:vartype jobs_executions: azure.mgmt.appcontainers.operations.JobsExecutionsOperations
100113
:ivar managed_environments: ManagedEnvironmentsOperations operations
@@ -109,20 +122,30 @@ class ContainerAppsAPIClient(
109122
:vartype namespaces: azure.mgmt.appcontainers.operations.NamespacesOperations
110123
:ivar dapr_components: DaprComponentsOperations operations
111124
:vartype dapr_components: azure.mgmt.appcontainers.operations.DaprComponentsOperations
125+
:ivar dapr_component_resiliency_policies: DaprComponentResiliencyPoliciesOperations operations
126+
:vartype dapr_component_resiliency_policies:
127+
azure.mgmt.appcontainers.operations.DaprComponentResiliencyPoliciesOperations
128+
:ivar dapr_subscriptions: DaprSubscriptionsOperations operations
129+
:vartype dapr_subscriptions: azure.mgmt.appcontainers.operations.DaprSubscriptionsOperations
112130
:ivar managed_environments_storages: ManagedEnvironmentsStoragesOperations operations
113131
:vartype managed_environments_storages:
114132
azure.mgmt.appcontainers.operations.ManagedEnvironmentsStoragesOperations
115133
:ivar container_apps_source_controls: ContainerAppsSourceControlsOperations operations
116134
:vartype container_apps_source_controls:
117135
azure.mgmt.appcontainers.operations.ContainerAppsSourceControlsOperations
136+
:ivar usages: UsagesOperations operations
137+
:vartype usages: azure.mgmt.appcontainers.operations.UsagesOperations
138+
:ivar managed_environment_usages: ManagedEnvironmentUsagesOperations operations
139+
:vartype managed_environment_usages:
140+
azure.mgmt.appcontainers.operations.ManagedEnvironmentUsagesOperations
118141
:param credential: Credential needed for the client to connect to Azure. Required.
119142
:type credential: ~azure.core.credentials.TokenCredential
120-
:param subscription_id: The ID of the target subscription. Required.
143+
:param subscription_id: The ID of the target subscription. The value must be an UUID. Required.
121144
:type subscription_id: str
122145
:param base_url: Service URL. Default value is "https://management.azure.com".
123146
:type base_url: str
124-
:keyword api_version: Api Version. Default value is "2023-05-01". Note that overriding this
125-
default value may result in unsupported behavior.
147+
:keyword api_version: Api Version. Default value is "2023-08-01-preview". Note that overriding
148+
this default value may result in unsupported behavior.
126149
:paramtype api_version: str
127150
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
128151
Retry-After header is present.
@@ -144,13 +167,16 @@ def __init__(
144167
self._serialize = Serializer(client_models)
145168
self._deserialize = Deserializer(client_models)
146169
self._serialize.client_side_validation = False
170+
self.app_resiliency = AppResiliencyOperations(self._client, self._config, self._serialize, self._deserialize)
147171
self.container_apps_auth_configs = ContainerAppsAuthConfigsOperations(
148172
self._client, self._config, self._serialize, self._deserialize
149173
)
150174
self.available_workload_profiles = AvailableWorkloadProfilesOperations(
151175
self._client, self._config, self._serialize, self._deserialize
152176
)
153177
self.billing_meters = BillingMetersOperations(self._client, self._config, self._serialize, self._deserialize)
178+
self.builders = BuildersOperations(self._client, self._config, self._serialize, self._deserialize)
179+
self.builds = BuildsOperations(self._client, self._config, self._serialize, self._deserialize)
154180
self.connected_environments = ConnectedEnvironmentsOperations(
155181
self._client, self._config, self._serialize, self._deserialize
156182
)
@@ -179,8 +205,8 @@ def __init__(
179205
self.managed_environments_diagnostics = ManagedEnvironmentsDiagnosticsOperations(
180206
self._client, self._config, self._serialize, self._deserialize
181207
)
182-
self.operations = Operations(self._client, self._config, self._serialize, self._deserialize)
183208
self.jobs = JobsOperations(self._client, self._config, self._serialize, self._deserialize)
209+
self.operations = Operations(self._client, self._config, self._serialize, self._deserialize)
184210
self.jobs_executions = JobsExecutionsOperations(self._client, self._config, self._serialize, self._deserialize)
185211
self.managed_environments = ManagedEnvironmentsOperations(
186212
self._client, self._config, self._serialize, self._deserialize
@@ -191,12 +217,22 @@ def __init__(
191217
)
192218
self.namespaces = NamespacesOperations(self._client, self._config, self._serialize, self._deserialize)
193219
self.dapr_components = DaprComponentsOperations(self._client, self._config, self._serialize, self._deserialize)
220+
self.dapr_component_resiliency_policies = DaprComponentResiliencyPoliciesOperations(
221+
self._client, self._config, self._serialize, self._deserialize
222+
)
223+
self.dapr_subscriptions = DaprSubscriptionsOperations(
224+
self._client, self._config, self._serialize, self._deserialize
225+
)
194226
self.managed_environments_storages = ManagedEnvironmentsStoragesOperations(
195227
self._client, self._config, self._serialize, self._deserialize
196228
)
197229
self.container_apps_source_controls = ContainerAppsSourceControlsOperations(
198230
self._client, self._config, self._serialize, self._deserialize
199231
)
232+
self.usages = UsagesOperations(self._client, self._config, self._serialize, self._deserialize)
233+
self.managed_environment_usages = ManagedEnvironmentUsagesOperations(
234+
self._client, self._config, self._serialize, self._deserialize
235+
)
200236

201237
def _send_request(self, request: HttpRequest, **kwargs: Any) -> HttpResponse:
202238
"""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.0.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
@@ -27,16 +27,16 @@ class ContainerAppsAPIClientConfiguration(Configuration): # pylint: disable=too
2727
2828
:param credential: Credential needed for the client to connect to Azure. Required.
2929
:type credential: ~azure.core.credentials_async.AsyncTokenCredential
30-
:param subscription_id: The ID of the target subscription. Required.
30+
:param subscription_id: The ID of the target subscription. The value must be an UUID. Required.
3131
:type subscription_id: str
32-
:keyword api_version: Api Version. Default value is "2023-05-01". Note that overriding this
33-
default value may result in unsupported behavior.
32+
:keyword api_version: Api Version. Default value is "2023-08-01-preview". Note that overriding
33+
this default value may result in unsupported behavior.
3434
:paramtype api_version: str
3535
"""
3636

3737
def __init__(self, credential: "AsyncTokenCredential", subscription_id: str, **kwargs: Any) -> None:
3838
super(ContainerAppsAPIClientConfiguration, self).__init__(**kwargs)
39-
api_version: str = kwargs.pop("api_version", "2023-05-01")
39+
api_version: str = kwargs.pop("api_version", "2023-08-01-preview")
4040

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

0 commit comments

Comments
 (0)