Skip to content

Commit b70936e

Browse files
author
SDKAuto
committed
CodeGen from PR 34005 in Azure/azure-rest-api-specs
Merge 67e75f2ba68b78e1715360e69ac55a55502f6b1a into c632bb88bf2a4cc914f4c20e2cd3ed6cbd3d3437
1 parent e8ab016 commit b70936e

File tree

408 files changed

+11571
-4349
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

+11571
-4349
lines changed

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

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

3+
## 3.2.0b2 (2025-04-17)
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+
- Enum `CertificateProvisioningState` added member `DELETING`
18+
- Model `Configuration` added property `target_label`
19+
- Model `Configuration` added property `revision_transition_threshold`
20+
- Model `ConnectedEnvironmentStorageProperties` added property `provisioning_state`
21+
- Model `ConnectedEnvironmentStorageProperties` added property `deployment_errors`
22+
- Model `ContainerApp` added property `running_status`
23+
- Model `ContainerResources` added property `gpu`
24+
- Model `Dapr` added property `app_health`
25+
- Model `Dapr` added property `max_concurrency`
26+
- Model `ManagedEnvironment` added property `private_link_default_domain`
27+
- Model `ManagedEnvironment` added property `availability_zones`
28+
- Model `ManagedEnvironment` added property `ingress_configuration`
29+
- Model `Revision` added property `labels`
30+
- Model `SessionPool` added property `identity`
31+
- Model `SessionPool` added property `managed_identity_settings`
32+
- Model `SessionPoolUpdatableProperties` added property `identity`
33+
- Added model `ConnectedEnvironmentDaprComponent`
34+
- Added model `ConnectedEnvironmentDaprComponentProperties`
35+
- Added enum `ConnectedEnvironmentDaprComponentProvisioningState`
36+
- Added model `ConnectedEnvironmentDaprComponentsCollection`
37+
- Added model `ConnectedEnvironmentPatchResource`
38+
- Added enum `ConnectedEnvironmentStorageProvisioningState`
39+
- Added enum `ContainerAppRunningStatus`
40+
- Added model `DaprAppHealth`
41+
- Added model `DaprComponentProperties`
42+
- Added model `HttpRoute`
43+
- Added model `HttpRouteAction`
44+
- Added model `HttpRouteConfig`
45+
- Added model `HttpRouteConfigCollection`
46+
- Added model `HttpRouteConfigProperties`
47+
- Added model `HttpRouteMatch`
48+
- Added model `HttpRouteProvisioningErrors`
49+
- Added enum `HttpRouteProvisioningState`
50+
- Added model `HttpRouteRule`
51+
- Added model `HttpRouteTarget`
52+
- Added model `IngressConfiguration`
53+
- Added model `IngressConfigurationScale`
54+
- Added model `LabelHistory`
55+
- Added model `LabelHistoryCollection`
56+
- Added model `LabelHistoryProperties`
57+
- Added model `LabelHistoryRecordItem`
58+
- Added model `MaintenanceConfigurationCollection`
59+
- Added model `MaintenanceConfigurationResource`
60+
- Added model `ManagedIdentitySetting`
61+
- Added model `ResourceTags`
62+
- Added model `ScheduledEntry`
63+
- Added model `SecretKeyVaultProperties`
64+
- Added enum `Status`
65+
- Added enum `WeekDay`
66+
- Model `ConnectedEnvironmentsCertificatesOperations` added method `begin_create_or_update`
67+
- Model `ConnectedEnvironmentsCertificatesOperations` added method `begin_delete`
68+
- Model `ConnectedEnvironmentsCertificatesOperations` added method `begin_update`
69+
- Model `ConnectedEnvironmentsDaprComponentsOperations` added method `begin_create_or_update`
70+
- Model `ConnectedEnvironmentsDaprComponentsOperations` added method `begin_delete`
71+
- Model `ConnectedEnvironmentsStoragesOperations` added method `begin_create_or_update`
72+
- Model `ConnectedEnvironmentsStoragesOperations` added method `begin_delete`
73+
- Added model `ContainerAppsLabelHistoryOperations`
74+
- Added model `HttpRouteConfigOperations`
75+
- Added model `MaintenanceConfigurationsOperations`
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[Certificate], content_type: str)`
77+
- 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)`
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: CertificatePatch, content_type: str)`
79+
- 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)`
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: ConnectedEnvironmentDaprComponent, content_type: str)`
81+
- 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)`
82+
- 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)`
83+
- 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)`
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: ConnectedEnvironmentStorage, content_type: str)`
85+
- 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)`
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[HttpRouteConfig], content_type: str)`
87+
- 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)`
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: HttpRouteConfig, content_type: str)`
89+
- 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)`
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: MaintenanceConfigurationResource, content_type: str)`
91+
- 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)`
92+
93+
### Breaking Changes
94+
95+
- Method `ContainerAppsAPIClient.__init__` parameter `base_url` changed default value from `str` to `none`
96+
- Method `IdentitySettings.__init__` parameter `lifecycle` changed default value from `str` to `none`
97+
- Deleted or renamed method `ConnectedEnvironmentsCertificatesOperations.create_or_update`
98+
- Deleted or renamed method `ConnectedEnvironmentsCertificatesOperations.delete`
99+
- Deleted or renamed method `ConnectedEnvironmentsCertificatesOperations.update`
100+
- Deleted or renamed method `ConnectedEnvironmentsDaprComponentsOperations.create_or_update`
101+
- Deleted or renamed method `ConnectedEnvironmentsDaprComponentsOperations.delete`
102+
- Deleted or renamed method `ConnectedEnvironmentsStoragesOperations.create_or_update`
103+
- Deleted or renamed method `ConnectedEnvironmentsStoragesOperations.delete`
104+
3105
## 3.2.0b1 (2024-10-28)
4106

5107
### 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": "3bbd30e412be6cc22b4bed21affba3ab88c45501",
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.33.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=/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.33.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/__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.")

0 commit comments

Comments
 (0)