Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoRelease] t2-appcontainers-2025-03-27-96702(can only be merged by SDK owner) #40242

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
72 changes: 72 additions & 0 deletions sdk/appcontainers/azure-mgmt-appcontainers/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,77 @@
# Release History

## 3.2.0 (2025-04-20)

### Features Added

- Client `ContainerAppsAPIClient` added operation group `java_components`
- Client `ContainerAppsAPIClient` added operation group `container_apps_session_pools`
- Model `CertificateProperties` added property `certificate_key_vault_properties`
- Model `Configuration` added property `runtime`
- Model `Configuration` added property `identity_settings`
- Model `ContainerApp` added property `running_status`
- Model `CustomDomainConfiguration` added property `certificate_key_vault_properties`
- Model `CustomScaleRule` added property `identity`
- Model `HttpScaleRule` added property `identity`
- Model `JobConfiguration` added property `identity_settings`
- Model `JobScaleRule` added property `identity`
- Model `ManagedEnvironment` added property `identity`
- Model `ManagedEnvironmentStorageProperties` added property `nfs_azure_file`
- Model `QueueScaleRule` added property `account_name`
- Model `QueueScaleRule` added property `identity`
- Model `Scale` added property `cooldown_period`
- Model `Scale` added property `polling_interval`
- Enum `StorageType` added member `NFS_AZURE_FILE`
- Model `TcpScaleRule` added property `identity`
- Added model `CertificateKeyVaultProperties`
- Added enum `ContainerAppRunningStatus`
- Added enum `ContainerType`
- Added model `CustomContainerTemplate`
- Added model `DynamicPoolConfiguration`
- Added model `IdentitySettings`
- Added enum `IdentitySettingsLifeCycle`
- Added model `JavaComponent`
- Added model `JavaComponentConfigurationProperty`
- Added model `JavaComponentIngress`
- Added model `JavaComponentProperties`
- Added model `JavaComponentPropertiesScale`
- Added enum `JavaComponentProvisioningState`
- Added model `JavaComponentServiceBind`
- Added enum `JavaComponentType`
- Added model `JavaComponentsCollection`
- Added model `LifecycleConfiguration`
- Added enum `LifecycleType`
- Added model `ManagedIdentitySetting`
- Added model `NfsAzureFileProperties`
- Added enum `PoolManagementType`
- Added model `Runtime`
- Added model `RuntimeJava`
- Added model `ScaleConfiguration`
- Added model `SessionContainer`
- Added model `SessionContainerResources`
- Added model `SessionIngress`
- Added model `SessionNetworkConfiguration`
- Added enum `SessionNetworkStatus`
- Added model `SessionPool`
- Added model `SessionPoolCollection`
- Added enum `SessionPoolProvisioningState`
- Added model `SessionPoolSecret`
- Added model `SessionPoolUpdatableProperties`
- Added model `SessionRegistryCredentials`
- Added model `SpringBootAdminComponent`
- Added model `SpringCloudConfigComponent`
- Added model `SpringCloudEurekaComponent`
- Added model `ContainerAppsSessionPoolsOperations`
- Added model `JavaComponentsOperations`
- Method `ContainerAppsSessionPoolsOperations.begin_create_or_update` has a new overload `def begin_create_or_update(self: None, resource_group_name: str, session_pool_name: str, session_pool_envelope: SessionPool, content_type: str)`
- Method `ContainerAppsSessionPoolsOperations.begin_create_or_update` has a new overload `def begin_create_or_update(self: None, resource_group_name: str, session_pool_name: str, session_pool_envelope: IO[bytes], content_type: str)`
- Method `ContainerAppsSessionPoolsOperations.begin_update` has a new overload `def begin_update(self: None, resource_group_name: str, session_pool_name: str, session_pool_envelope: SessionPoolUpdatableProperties, content_type: str)`
- Method `ContainerAppsSessionPoolsOperations.begin_update` has a new overload `def begin_update(self: None, resource_group_name: str, session_pool_name: str, session_pool_envelope: IO[bytes], content_type: str)`
- Method `JavaComponentsOperations.begin_create_or_update` has a new overload `def begin_create_or_update(self: None, resource_group_name: str, environment_name: str, name: str, java_component_envelope: JavaComponent, content_type: str)`
- Method `JavaComponentsOperations.begin_create_or_update` has a new overload `def begin_create_or_update(self: None, resource_group_name: str, environment_name: str, name: str, java_component_envelope: IO[bytes], content_type: str)`
- Method `JavaComponentsOperations.begin_update` has a new overload `def begin_update(self: None, resource_group_name: str, environment_name: str, name: str, java_component_envelope: JavaComponent, content_type: str)`
- Method `JavaComponentsOperations.begin_update` has a new overload `def begin_update(self: None, resource_group_name: str, environment_name: str, name: str, java_component_envelope: IO[bytes], content_type: str)`

## 3.2.0b1 (2024-10-28)

### Features Added
Expand Down
2 changes: 1 addition & 1 deletion sdk/appcontainers/azure-mgmt-appcontainers/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ pip install azure-identity

### Authentication

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

- `AZURE_CLIENT_ID` for Azure client ID.
- `AZURE_TENANT_ID` for Azure tenant ID.
Expand Down
6 changes: 3 additions & 3 deletions sdk/appcontainers/azure-mgmt-appcontainers/_meta.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"commit": "c3f246bece34c122def67e59945e634490f205fe",
"commit": "0c62abad8eabfcba5c50a0dfdc5778d86bab2130",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest": "3.10.2",
"use": [
"@autorest/python@6.19.0",
"@autorest/python@6.27.4",
"@autorest/[email protected]"
],
"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",
"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.27.4 --use=@autorest/[email protected] --version=3.10.2 --version-tolerant=False",
"readme": "specification/app/resource-manager/readme.md"
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,28 @@
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------
# pylint: disable=wrong-import-position

from ._container_apps_api_client import ContainerAppsAPIClient
from typing import TYPE_CHECKING

if TYPE_CHECKING:
from ._patch import * # pylint: disable=unused-wildcard-import

from ._container_apps_api_client import ContainerAppsAPIClient # type: ignore
from ._version import VERSION

__version__ = VERSION

try:
from ._patch import __all__ as _patch_all
from ._patch import * # pylint: disable=unused-wildcard-import
from ._patch import *
except ImportError:
_patch_all = []
from ._patch import patch_sdk as _patch_sdk

__all__ = [
"ContainerAppsAPIClient",
]
__all__.extend([p for p in _patch_all if p not in __all__])
__all__.extend([p for p in _patch_all if p not in __all__]) # pyright: ignore

_patch_sdk()
Original file line number Diff line number Diff line change
Expand Up @@ -14,27 +14,26 @@
from ._version import VERSION

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


class ContainerAppsAPIClientConfiguration: # pylint: disable=too-many-instance-attributes,name-too-long
class ContainerAppsAPIClientConfiguration: # pylint: disable=too-many-instance-attributes
"""Configuration for ContainerAppsAPIClient.

Note that all parameters used to create this instance are saved as instance
attributes.

:param credential: Credential needed for the client to connect to Azure. Required.
:type credential: ~azure.core.credentials.TokenCredential
:param subscription_id: The ID of the target subscription. The value must be an UUID. Required.
:param subscription_id: The ID of the target subscription. Required.
:type subscription_id: str
:keyword api_version: Api Version. Default value is "2024-08-02-preview". Note that overriding
this default value may result in unsupported behavior.
:keyword api_version: Api Version. Default value is "2025-01-01". Note that overriding this
default value may result in unsupported behavior.
:paramtype api_version: str
"""

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

if credential is None:
raise ValueError("Parameter 'credential' must not be None.")
Expand Down
Loading