Skip to content

Commit 42bb0a0

Browse files
author
SDKAuto
committed
CodeGen from PR 33984 in Azure/azure-rest-api-specs
Merge c9454c176e109f05f8e4c6201a186291bd0133bf into 1837522938859566334cdaf6edebfe736a230c37
1 parent 6d22700 commit 42bb0a0

File tree

408 files changed

+11535
-4328
lines changed

Some content is hidden

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

408 files changed

+11535
-4328
lines changed

sdk/appcontainers/azure-mgmt-appcontainers/CHANGELOG.md

Lines changed: 100 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,105 @@
11
# Release History
22

3+
## 3.2.0b2 (2025-04-16)
4+
5+
### Features Added
6+
7+
- Client `ContainerAppsAPIClient` added operation group `container_apps_label_history`
8+
- Client `ContainerAppsAPIClient` added operation group `http_route_config`
9+
- Client `ContainerAppsAPIClient` added operation group `maintenance_configurations`
10+
- Enum `ActiveRevisionsMode` added member `LABELS`
11+
- Model `AzureFileProperties` added property `account_key_vault_properties`
12+
- Enum `BindingType` added member `AUTO`
13+
- Model `BlobStorageTokenStore` added property `blob_container_uri`
14+
- Model `BlobStorageTokenStore` added property `client_id`
15+
- Model `BlobStorageTokenStore` added property `managed_identity_resource_id`
16+
- Model `CertificateProperties` added property `deployment_errors`
17+
- Model `Configuration` added property `target_label`
18+
- Model `Configuration` added property `revision_transition_threshold`
19+
- Model `ConnectedEnvironmentStorageProperties` added property `provisioning_state`
20+
- Model `ConnectedEnvironmentStorageProperties` added property `deployment_errors`
21+
- Model `ContainerApp` added property `running_status`
22+
- Model `ContainerResources` added property `gpu`
23+
- Model `Dapr` added property `app_health`
24+
- Model `Dapr` added property `max_concurrency`
25+
- Model `ManagedEnvironment` added property `private_link_default_domain`
26+
- Model `ManagedEnvironment` added property `availability_zones`
27+
- Model `ManagedEnvironment` added property `ingress_configuration`
28+
- Model `Revision` added property `labels`
29+
- Model `SessionPool` added property `identity`
30+
- Model `SessionPool` added property `managed_identity_settings`
31+
- Model `SessionPoolUpdatableProperties` added property `identity`
32+
- Added model `ConnectedEnvironmentDaprComponent`
33+
- Added model `ConnectedEnvironmentDaprComponentProperties`
34+
- Added enum `ConnectedEnvironmentDaprComponentProvisioningState`
35+
- Added model `ConnectedEnvironmentDaprComponentsCollection`
36+
- Added model `ConnectedEnvironmentPatchResource`
37+
- Added enum `ConnectedEnvironmentStorageProvisioningState`
38+
- Added enum `ContainerAppRunningStatus`
39+
- Added model `DaprAppHealth`
40+
- Added model `DaprComponentProperties`
41+
- Added model `HttpRoute`
42+
- Added model `HttpRouteAction`
43+
- Added model `HttpRouteConfig`
44+
- Added model `HttpRouteConfigCollection`
45+
- Added model `HttpRouteConfigProperties`
46+
- Added model `HttpRouteMatch`
47+
- Added model `HttpRouteProvisioningErrors`
48+
- Added enum `HttpRouteProvisioningState`
49+
- Added model `HttpRouteRule`
50+
- Added model `HttpRouteTarget`
51+
- Added model `IngressConfiguration`
52+
- Added model `IngressConfigurationScale`
53+
- Added model `LabelHistory`
54+
- Added model `LabelHistoryCollection`
55+
- Added model `LabelHistoryProperties`
56+
- Added model `LabelHistoryRecordItem`
57+
- Added model `MaintenanceConfigurationCollection`
58+
- Added model `MaintenanceConfigurationResource`
59+
- Added model `ManagedIdentitySetting`
60+
- Added model `ResourceTags`
61+
- Added model `ScheduledEntry`
62+
- Added model `SecretKeyVaultProperties`
63+
- Added enum `Status`
64+
- Added enum `WeekDay`
65+
- Model `ConnectedEnvironmentsCertificatesOperations` added method `begin_create_or_update`
66+
- Model `ConnectedEnvironmentsCertificatesOperations` added method `begin_delete`
67+
- Model `ConnectedEnvironmentsCertificatesOperations` added method `begin_update`
68+
- Model `ConnectedEnvironmentsDaprComponentsOperations` added method `begin_create_or_update`
69+
- Model `ConnectedEnvironmentsDaprComponentsOperations` added method `begin_delete`
70+
- Model `ConnectedEnvironmentsStoragesOperations` added method `begin_create_or_update`
71+
- Model `ConnectedEnvironmentsStoragesOperations` added method `begin_delete`
72+
- Added model `ContainerAppsLabelHistoryOperations`
73+
- Added model `HttpRouteConfigOperations`
74+
- Added model `MaintenanceConfigurationsOperations`
75+
- Method `ConnectedEnvironmentsCertificatesOperations.begin_create_or_update` has a new overload `def begin_create_or_update(self: None, resource_group_name: str, connected_environment_name: str, certificate_name: str, certificate_envelope: Optional[Certificate], content_type: str)`
76+
- Method `ConnectedEnvironmentsCertificatesOperations.begin_create_or_update` has a new overload `def begin_create_or_update(self: None, resource_group_name: str, connected_environment_name: str, certificate_name: str, certificate_envelope: Optional[IO[bytes]], content_type: str)`
77+
- Method `ConnectedEnvironmentsCertificatesOperations.begin_update` has a new overload `def begin_update(self: None, resource_group_name: str, connected_environment_name: str, certificate_name: str, certificate_envelope: CertificatePatch, content_type: str)`
78+
- Method `ConnectedEnvironmentsCertificatesOperations.begin_update` has a new overload `def begin_update(self: None, resource_group_name: str, connected_environment_name: str, certificate_name: str, certificate_envelope: IO[bytes], content_type: str)`
79+
- Method `ConnectedEnvironmentsDaprComponentsOperations.begin_create_or_update` has a new overload `def begin_create_or_update(self: None, resource_group_name: str, connected_environment_name: str, component_name: str, dapr_component_envelope: ConnectedEnvironmentDaprComponent, content_type: str)`
80+
- Method `ConnectedEnvironmentsDaprComponentsOperations.begin_create_or_update` has a new overload `def begin_create_or_update(self: None, resource_group_name: str, connected_environment_name: str, component_name: str, dapr_component_envelope: IO[bytes], content_type: str)`
81+
- Method `ConnectedEnvironmentsOperations.update` has a new overload `def update(self: None, resource_group_name: str, connected_environment_name: str, environment_envelope: Optional[ConnectedEnvironmentPatchResource], content_type: str)`
82+
- Method `ConnectedEnvironmentsOperations.update` has a new overload `def update(self: None, resource_group_name: str, connected_environment_name: str, environment_envelope: Optional[IO[bytes]], content_type: str)`
83+
- Method `ConnectedEnvironmentsStoragesOperations.begin_create_or_update` has a new overload `def begin_create_or_update(self: None, resource_group_name: str, connected_environment_name: str, storage_name: str, storage_envelope: ConnectedEnvironmentStorage, content_type: str)`
84+
- Method `ConnectedEnvironmentsStoragesOperations.begin_create_or_update` has a new overload `def begin_create_or_update(self: None, resource_group_name: str, connected_environment_name: str, storage_name: str, storage_envelope: IO[bytes], content_type: str)`
85+
- Method `HttpRouteConfigOperations.create_or_update` has a new overload `def create_or_update(self: None, resource_group_name: str, environment_name: str, http_route_name: str, http_route_config_envelope: Optional[HttpRouteConfig], content_type: str)`
86+
- Method `HttpRouteConfigOperations.create_or_update` has a new overload `def create_or_update(self: None, resource_group_name: str, environment_name: str, http_route_name: str, http_route_config_envelope: Optional[IO[bytes]], content_type: str)`
87+
- Method `HttpRouteConfigOperations.update` has a new overload `def update(self: None, resource_group_name: str, environment_name: str, http_route_name: str, http_route_config_envelope: HttpRouteConfig, content_type: str)`
88+
- Method `HttpRouteConfigOperations.update` has a new overload `def update(self: None, resource_group_name: str, environment_name: str, http_route_name: str, http_route_config_envelope: IO[bytes], content_type: str)`
89+
- Method `MaintenanceConfigurationsOperations.create_or_update` has a new overload `def create_or_update(self: None, resource_group_name: str, environment_name: str, config_name: str, maintenance_configuration_envelope: MaintenanceConfigurationResource, content_type: str)`
90+
- Method `MaintenanceConfigurationsOperations.create_or_update` has a new overload `def create_or_update(self: None, resource_group_name: str, environment_name: str, config_name: str, maintenance_configuration_envelope: IO[bytes], content_type: str)`
91+
92+
### Breaking Changes
93+
94+
- Method `IdentitySettings.__init__` parameter `lifecycle` changed default value from `str` to `none`
95+
- Deleted or renamed method `ConnectedEnvironmentsCertificatesOperations.create_or_update`
96+
- Deleted or renamed method `ConnectedEnvironmentsCertificatesOperations.delete`
97+
- Deleted or renamed method `ConnectedEnvironmentsCertificatesOperations.update`
98+
- Deleted or renamed method `ConnectedEnvironmentsDaprComponentsOperations.create_or_update`
99+
- Deleted or renamed method `ConnectedEnvironmentsDaprComponentsOperations.delete`
100+
- Deleted or renamed method `ConnectedEnvironmentsStoragesOperations.create_or_update`
101+
- Deleted or renamed method `ConnectedEnvironmentsStoragesOperations.delete`
102+
3103
## 3.2.0b1 (2024-10-28)
4104

5105
### Features Added

sdk/appcontainers/azure-mgmt-appcontainers/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Microsoft Azure SDK for Python
22

33
This is the Microsoft Azure Appcontainers Management Client Library.
4-
This package has been tested with Python 3.8+.
4+
This package has been tested with Python 3.9+.
55
For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all).
66

77
## _Disclaimer_
@@ -12,7 +12,7 @@ _Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For
1212

1313
### Prerequisites
1414

15-
- Python 3.8+ is required to use this package.
15+
- Python 3.9+ is required to use this package.
1616
- [Azure subscription](https://azure.microsoft.com/free/)
1717

1818
### Install the package
@@ -24,7 +24,7 @@ pip install azure-identity
2424

2525
### Authentication
2626

27-
By default, [Azure Active Directory](https://aka.ms/awps/aad) token authentication depends on correct configure of following environment variables.
27+
By default, [Azure Active Directory](https://aka.ms/awps/aad) token authentication depends on correct configuration of the following environment variables.
2828

2929
- `AZURE_CLIENT_ID` for Azure client ID.
3030
- `AZURE_TENANT_ID` for Azure tenant ID.
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
2-
"commit": "c3f246bece34c122def67e59945e634490f205fe",
2+
"commit": "afc45b6e3482c036c530a4993a9556237e0edb19",
33
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
44
"autorest": "3.10.2",
55
"use": [
6-
"@autorest/python@6.19.0",
6+
"@autorest/python@6.32.3",
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=/mnt/vss/_work/1/azure-sdk-for-python/sdk --use=@autorest/python@6.19.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.32.3 --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/__init__.py

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,28 @@
55
# Code generated by Microsoft (R) AutoRest Code Generator.
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
8+
# pylint: disable=wrong-import-position
89

9-
from ._container_apps_api_client import ContainerAppsAPIClient
10+
from typing import TYPE_CHECKING
11+
12+
if TYPE_CHECKING:
13+
from ._patch import * # pylint: disable=unused-wildcard-import
14+
15+
from ._container_apps_api_client import ContainerAppsAPIClient # type: ignore
1016
from ._version import VERSION
1117

1218
__version__ = VERSION
1319

1420
try:
1521
from ._patch import __all__ as _patch_all
16-
from ._patch import * # pylint: disable=unused-wildcard-import
22+
from ._patch import *
1723
except ImportError:
1824
_patch_all = []
1925
from ._patch import patch_sdk as _patch_sdk
2026

2127
__all__ = [
2228
"ContainerAppsAPIClient",
2329
]
24-
__all__.extend([p for p in _patch_all if p not in __all__])
30+
__all__.extend([p for p in _patch_all if p not in __all__]) # pyright: ignore
2531

2632
_patch_sdk()

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

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,10 @@
1414
from ._version import VERSION
1515

1616
if TYPE_CHECKING:
17-
# pylint: disable=unused-import,ungrouped-imports
1817
from azure.core.credentials import TokenCredential
1918

2019

21-
class ContainerAppsAPIClientConfiguration: # pylint: disable=too-many-instance-attributes,name-too-long
20+
class ContainerAppsAPIClientConfiguration: # pylint: disable=too-many-instance-attributes
2221
"""Configuration for ContainerAppsAPIClient.
2322
2423
Note that all parameters used to create this instance are saved as instance
@@ -28,13 +27,13 @@ class ContainerAppsAPIClientConfiguration: # pylint: disable=too-many-instance-
2827
:type credential: ~azure.core.credentials.TokenCredential
2928
:param subscription_id: The ID of the target subscription. The value must be an UUID. Required.
3029
:type subscription_id: str
31-
:keyword api_version: Api Version. Default value is "2024-08-02-preview". Note that overriding
30+
:keyword api_version: Api Version. Default value is "2025-02-02-preview". Note that overriding
3231
this default value may result in unsupported behavior.
3332
:paramtype api_version: str
3433
"""
3534

3635
def __init__(self, credential: "TokenCredential", subscription_id: str, **kwargs: Any) -> None:
37-
api_version: str = kwargs.pop("api_version", "2024-08-02-preview")
36+
api_version: str = kwargs.pop("api_version", "2025-02-02-preview")
3837

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

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

Lines changed: 22 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
ContainerAppsBuildsByContainerAppOperations,
3737
ContainerAppsBuildsOperations,
3838
ContainerAppsDiagnosticsOperations,
39+
ContainerAppsLabelHistoryOperations,
3940
ContainerAppsOperations,
4041
ContainerAppsPatchesOperations,
4142
ContainerAppsRevisionReplicasOperations,
@@ -47,10 +48,12 @@
4748
DaprSubscriptionsOperations,
4849
DotNetComponentsOperations,
4950
FunctionsExtensionOperations,
51+
HttpRouteConfigOperations,
5052
JavaComponentsOperations,
5153
JobsExecutionsOperations,
5254
JobsOperations,
5355
LogicAppsOperations,
56+
MaintenanceConfigurationsOperations,
5457
ManagedCertificatesOperations,
5558
ManagedEnvironmentDiagnosticsOperations,
5659
ManagedEnvironmentPrivateEndpointConnectionsOperations,
@@ -65,13 +68,10 @@
6568
)
6669

6770
if TYPE_CHECKING:
68-
# pylint: disable=unused-import,ungrouped-imports
6971
from azure.core.credentials import TokenCredential
7072

7173

72-
class ContainerAppsAPIClient(
73-
ContainerAppsAPIClientOperationsMixin
74-
): # pylint: disable=client-accepts-api-version-keyword,too-many-instance-attributes
74+
class ContainerAppsAPIClient(ContainerAppsAPIClientOperationsMixin): # pylint: disable=too-many-instance-attributes
7575
"""Functions is an extension resource to revisions and the api listed is used to proxy the call
7676
from Web RP to the function app's host process, this api is not exposed to users and only Web
7777
RP is allowed to invoke functions extension resource.
@@ -118,6 +118,9 @@ class ContainerAppsAPIClient(
118118
:ivar container_apps_builds: ContainerAppsBuildsOperations operations
119119
:vartype container_apps_builds:
120120
azure.mgmt.appcontainers.operations.ContainerAppsBuildsOperations
121+
:ivar container_apps_label_history: ContainerAppsLabelHistoryOperations operations
122+
:vartype container_apps_label_history:
123+
azure.mgmt.appcontainers.operations.ContainerAppsLabelHistoryOperations
121124
:ivar container_apps_patches: ContainerAppsPatchesOperations operations
122125
:vartype container_apps_patches:
123126
azure.mgmt.appcontainers.operations.ContainerAppsPatchesOperations
@@ -175,6 +178,11 @@ class ContainerAppsAPIClient(
175178
:vartype dapr_components: azure.mgmt.appcontainers.operations.DaprComponentsOperations
176179
:ivar dapr_subscriptions: DaprSubscriptionsOperations operations
177180
:vartype dapr_subscriptions: azure.mgmt.appcontainers.operations.DaprSubscriptionsOperations
181+
:ivar http_route_config: HttpRouteConfigOperations operations
182+
:vartype http_route_config: azure.mgmt.appcontainers.operations.HttpRouteConfigOperations
183+
:ivar maintenance_configurations: MaintenanceConfigurationsOperations operations
184+
:vartype maintenance_configurations:
185+
azure.mgmt.appcontainers.operations.MaintenanceConfigurationsOperations
178186
:ivar managed_environments_storages: ManagedEnvironmentsStoragesOperations operations
179187
:vartype managed_environments_storages:
180188
azure.mgmt.appcontainers.operations.ManagedEnvironmentsStoragesOperations
@@ -195,7 +203,7 @@ class ContainerAppsAPIClient(
195203
:type subscription_id: str
196204
:param base_url: Service URL. Default value is "https://management.azure.com".
197205
:type base_url: str
198-
:keyword api_version: Api Version. Default value is "2024-08-02-preview". Note that overriding
206+
:keyword api_version: Api Version. Default value is "2025-02-02-preview". Note that overriding
199207
this default value may result in unsupported behavior.
200208
:paramtype api_version: str
201209
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
@@ -269,6 +277,9 @@ def __init__(
269277
self.container_apps_builds = ContainerAppsBuildsOperations(
270278
self._client, self._config, self._serialize, self._deserialize
271279
)
280+
self.container_apps_label_history = ContainerAppsLabelHistoryOperations(
281+
self._client, self._config, self._serialize, self._deserialize
282+
)
272283
self.container_apps_patches = ContainerAppsPatchesOperations(
273284
self._client, self._config, self._serialize, self._deserialize
274285
)
@@ -319,6 +330,12 @@ def __init__(
319330
self.dapr_subscriptions = DaprSubscriptionsOperations(
320331
self._client, self._config, self._serialize, self._deserialize
321332
)
333+
self.http_route_config = HttpRouteConfigOperations(
334+
self._client, self._config, self._serialize, self._deserialize
335+
)
336+
self.maintenance_configurations = MaintenanceConfigurationsOperations(
337+
self._client, self._config, self._serialize, self._deserialize
338+
)
322339
self.managed_environments_storages = ManagedEnvironmentsStoragesOperations(
323340
self._client, self._config, self._serialize, self._deserialize
324341
)

0 commit comments

Comments
 (0)