Skip to content

Commit 5682658

Browse files
committed
Update API CreateApplication: add request parameters SlsLogEnvTags.
1 parent ac36038 commit 5682658

File tree

5 files changed

+46
-2
lines changed

5 files changed

+46
-2
lines changed

sae-20190506/ChangeLog.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
2025-11-27 Version: 2.9.3
2+
- Update API CreateApplication: add request parameters SlsLogEnvTags.
3+
- Update API DeployApplication: add request parameters SlsLogEnvTags.
4+
- Update API DescribeApplicationConfig: add response parameters Body.Data.SlsLogEnvTags.
5+
6+
17
2025-11-26 Version: 2.9.2
28
- Update API RescaleApplicationVertically: add request parameters Deploy.
39
- Update API UpdateApplicationVswitches: add request parameters Deploy.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '2.9.2'
1+
__version__ = '2.9.3'

sae-20190506/alibabacloud_sae20190506/client.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1077,6 +1077,8 @@ def create_application_with_options(
10771077
query['SecurityGroupId'] = request.security_group_id
10781078
if not UtilClient.is_unset(request.sls_configs):
10791079
query['SlsConfigs'] = request.sls_configs
1080+
if not UtilClient.is_unset(request.sls_log_env_tags):
1081+
query['SlsLogEnvTags'] = request.sls_log_env_tags
10801082
if not UtilClient.is_unset(request.startup_probe):
10811083
query['StartupProbe'] = request.startup_probe
10821084
if not UtilClient.is_unset(request.termination_grace_period_seconds):
@@ -1289,6 +1291,8 @@ async def create_application_with_options_async(
12891291
query['SecurityGroupId'] = request.security_group_id
12901292
if not UtilClient.is_unset(request.sls_configs):
12911293
query['SlsConfigs'] = request.sls_configs
1294+
if not UtilClient.is_unset(request.sls_log_env_tags):
1295+
query['SlsLogEnvTags'] = request.sls_log_env_tags
12921296
if not UtilClient.is_unset(request.startup_probe):
12931297
query['StartupProbe'] = request.startup_probe
12941298
if not UtilClient.is_unset(request.termination_grace_period_seconds):
@@ -4741,6 +4745,8 @@ def deploy_application_with_options(
47414745
query['SecurityGroupId'] = request.security_group_id
47424746
if not UtilClient.is_unset(request.sls_configs):
47434747
query['SlsConfigs'] = request.sls_configs
4748+
if not UtilClient.is_unset(request.sls_log_env_tags):
4749+
query['SlsLogEnvTags'] = request.sls_log_env_tags
47444750
if not UtilClient.is_unset(request.startup_probe):
47454751
query['StartupProbe'] = request.startup_probe
47464752
if not UtilClient.is_unset(request.termination_grace_period_seconds):
@@ -4949,6 +4955,8 @@ async def deploy_application_with_options_async(
49494955
query['SecurityGroupId'] = request.security_group_id
49504956
if not UtilClient.is_unset(request.sls_configs):
49514957
query['SlsConfigs'] = request.sls_configs
4958+
if not UtilClient.is_unset(request.sls_log_env_tags):
4959+
query['SlsLogEnvTags'] = request.sls_log_env_tags
49524960
if not UtilClient.is_unset(request.startup_probe):
49534961
query['StartupProbe'] = request.startup_probe
49544962
if not UtilClient.is_unset(request.termination_grace_period_seconds):

sae-20190506/alibabacloud_sae20190506/models.py

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12651,6 +12651,7 @@ def __init__(
1265112651
service_tags: str = None,
1265212652
sidecar_containers_config: List[SidecarContainerConfig] = None,
1265312653
sls_configs: str = None,
12654+
sls_log_env_tags: str = None,
1265412655
startup_probe: str = None,
1265512656
termination_grace_period_seconds: int = None,
1265612657
timezone: str = None,
@@ -13024,6 +13025,7 @@ def __init__(
1302413025
#
1302513026
# > A Log Service project that is automatically created by SAE when you create an application is deleted when the application is deleted. Therefore, when you create an application, you cannot select a Log Service project that is automatically created by SAE for log collection.
1302613027
self.sls_configs = sls_configs
13028+
self.sls_log_env_tags = sls_log_env_tags
1302713029
# Enable application startup probe.
1302813030
#
1302913031
# Check succeeded: Indicates that the application has started successfully. If you have configured Liveness and Readiness checks, they will be performed after the application startup is successful.
@@ -13230,6 +13232,8 @@ def to_map(self):
1323013232
result['SidecarContainersConfig'].append(k.to_map() if k else None)
1323113233
if self.sls_configs is not None:
1323213234
result['SlsConfigs'] = self.sls_configs
13235+
if self.sls_log_env_tags is not None:
13236+
result['SlsLogEnvTags'] = self.sls_log_env_tags
1323313237
if self.startup_probe is not None:
1323413238
result['StartupProbe'] = self.startup_probe
1323513239
if self.termination_grace_period_seconds is not None:
@@ -13408,6 +13412,8 @@ def from_map(self, m: dict = None):
1340813412
self.sidecar_containers_config.append(temp_model.from_map(k))
1340913413
if m.get('SlsConfigs') is not None:
1341013414
self.sls_configs = m.get('SlsConfigs')
13415+
if m.get('SlsLogEnvTags') is not None:
13416+
self.sls_log_env_tags = m.get('SlsLogEnvTags')
1341113417
if m.get('StartupProbe') is not None:
1341213418
self.startup_probe = m.get('StartupProbe')
1341313419
if m.get('TerminationGracePeriodSeconds') is not None:
@@ -13506,6 +13512,7 @@ def __init__(
1350613512
service_tags: str = None,
1350713513
sidecar_containers_config_shrink: str = None,
1350813514
sls_configs: str = None,
13515+
sls_log_env_tags: str = None,
1350913516
startup_probe: str = None,
1351013517
termination_grace_period_seconds: int = None,
1351113518
timezone: str = None,
@@ -13879,6 +13886,7 @@ def __init__(
1387913886
#
1388013887
# > A Log Service project that is automatically created by SAE when you create an application is deleted when the application is deleted. Therefore, when you create an application, you cannot select a Log Service project that is automatically created by SAE for log collection.
1388113888
self.sls_configs = sls_configs
13889+
self.sls_log_env_tags = sls_log_env_tags
1388213890
# Enable application startup probe.
1388313891
#
1388413892
# Check succeeded: Indicates that the application has started successfully. If you have configured Liveness and Readiness checks, they will be performed after the application startup is successful.
@@ -14074,6 +14082,8 @@ def to_map(self):
1407414082
result['SidecarContainersConfig'] = self.sidecar_containers_config_shrink
1407514083
if self.sls_configs is not None:
1407614084
result['SlsConfigs'] = self.sls_configs
14085+
if self.sls_log_env_tags is not None:
14086+
result['SlsLogEnvTags'] = self.sls_log_env_tags
1407714087
if self.startup_probe is not None:
1407814088
result['StartupProbe'] = self.startup_probe
1407914089
if self.termination_grace_period_seconds is not None:
@@ -14246,6 +14256,8 @@ def from_map(self, m: dict = None):
1424614256
self.sidecar_containers_config_shrink = m.get('SidecarContainersConfig')
1424714257
if m.get('SlsConfigs') is not None:
1424814258
self.sls_configs = m.get('SlsConfigs')
14259+
if m.get('SlsLogEnvTags') is not None:
14260+
self.sls_log_env_tags = m.get('SlsLogEnvTags')
1424914261
if m.get('StartupProbe') is not None:
1425014262
self.startup_probe = m.get('StartupProbe')
1425114263
if m.get('TerminationGracePeriodSeconds') is not None:
@@ -20455,6 +20467,7 @@ def __init__(
2045520467
service_tags: str = None,
2045620468
sidecar_containers_config: List[SidecarContainerConfig] = None,
2045720469
sls_configs: str = None,
20470+
sls_log_env_tags: str = None,
2045820471
startup_probe: str = None,
2045920472
swimlane_pvtz_discovery_svc: str = None,
2046020473
termination_grace_period_seconds: int = None,
@@ -20848,6 +20861,7 @@ def __init__(
2084820861
#
2084920862
# > A Log Service project that is automatically created by SAE when you create an application is deleted when the application is deleted. Therefore, when you create an application, you cannot select a Log Service project that is automatically created by SAE for log collection.
2085020863
self.sls_configs = sls_configs
20864+
self.sls_log_env_tags = sls_log_env_tags
2085120865
# Check Failure: Indicates that the application failed to start. The system will report the exception and automatically restart it.
2085220866
#
2085320867
# Note:
@@ -21081,6 +21095,8 @@ def to_map(self):
2108121095
result['SidecarContainersConfig'].append(k.to_map() if k else None)
2108221096
if self.sls_configs is not None:
2108321097
result['SlsConfigs'] = self.sls_configs
21098+
if self.sls_log_env_tags is not None:
21099+
result['SlsLogEnvTags'] = self.sls_log_env_tags
2108421100
if self.startup_probe is not None:
2108521101
result['StartupProbe'] = self.startup_probe
2108621102
if self.swimlane_pvtz_discovery_svc is not None:
@@ -21255,6 +21271,8 @@ def from_map(self, m: dict = None):
2125521271
self.sidecar_containers_config.append(temp_model.from_map(k))
2125621272
if m.get('SlsConfigs') is not None:
2125721273
self.sls_configs = m.get('SlsConfigs')
21274+
if m.get('SlsLogEnvTags') is not None:
21275+
self.sls_log_env_tags = m.get('SlsLogEnvTags')
2125821276
if m.get('StartupProbe') is not None:
2125921277
self.startup_probe = m.get('StartupProbe')
2126021278
if m.get('SwimlanePvtzDiscoverySvc') is not None:
@@ -21352,6 +21370,7 @@ def __init__(
2135221370
service_tags: str = None,
2135321371
sidecar_containers_config_shrink: str = None,
2135421372
sls_configs: str = None,
21373+
sls_log_env_tags: str = None,
2135521374
startup_probe: str = None,
2135621375
swimlane_pvtz_discovery_svc: str = None,
2135721376
termination_grace_period_seconds: int = None,
@@ -21745,6 +21764,7 @@ def __init__(
2174521764
#
2174621765
# > A Log Service project that is automatically created by SAE when you create an application is deleted when the application is deleted. Therefore, when you create an application, you cannot select a Log Service project that is automatically created by SAE for log collection.
2174721766
self.sls_configs = sls_configs
21767+
self.sls_log_env_tags = sls_log_env_tags
2174821768
# Check Failure: Indicates that the application failed to start. The system will report the exception and automatically restart it.
2174921769
#
2175021770
# Note:
@@ -21967,6 +21987,8 @@ def to_map(self):
2196721987
result['SidecarContainersConfig'] = self.sidecar_containers_config_shrink
2196821988
if self.sls_configs is not None:
2196921989
result['SlsConfigs'] = self.sls_configs
21990+
if self.sls_log_env_tags is not None:
21991+
result['SlsLogEnvTags'] = self.sls_log_env_tags
2197021992
if self.startup_probe is not None:
2197121993
result['StartupProbe'] = self.startup_probe
2197221994
if self.swimlane_pvtz_discovery_svc is not None:
@@ -22135,6 +22157,8 @@ def from_map(self, m: dict = None):
2213522157
self.sidecar_containers_config_shrink = m.get('SidecarContainersConfig')
2213622158
if m.get('SlsConfigs') is not None:
2213722159
self.sls_configs = m.get('SlsConfigs')
22160+
if m.get('SlsLogEnvTags') is not None:
22161+
self.sls_log_env_tags = m.get('SlsLogEnvTags')
2213822162
if m.get('StartupProbe') is not None:
2213922163
self.startup_probe = m.get('StartupProbe')
2214022164
if m.get('SwimlanePvtzDiscoverySvc') is not None:
@@ -23581,6 +23605,7 @@ def __init__(
2358123605
service_tags: Dict[str, str] = None,
2358223606
sidecar_containers_config: List[DescribeApplicationConfigResponseBodyDataSidecarContainersConfig] = None,
2358323607
sls_configs: str = None,
23608+
sls_log_env_tags: str = None,
2358423609
startup_probe: str = None,
2358523610
swimlane_pvtz_discovery: str = None,
2358623611
tags: List[DescribeApplicationConfigResponseBodyDataTags] = None,
@@ -23947,6 +23972,7 @@ def __init__(
2394723972
#
2394823973
# If you do not need to modify the logging configurations when you deploy the application, configure the **SlsConfigs** parameter only in the first request. You do not need to include this parameter in subsequent requests. If you no longer need to use Log Service, leave the **SlsConfigs** parameter empty in the request.
2394923974
self.sls_configs = sls_configs
23975+
self.sls_log_env_tags = sls_log_env_tags
2395023976
# Enable startup probe.
2395123977
self.startup_probe = startup_probe
2395223978
# Configuration of K8s Service discovery and registration, and full-chain gray-release feature.
@@ -24225,6 +24251,8 @@ def to_map(self):
2422524251
result['SidecarContainersConfig'].append(k.to_map() if k else None)
2422624252
if self.sls_configs is not None:
2422724253
result['SlsConfigs'] = self.sls_configs
24254+
if self.sls_log_env_tags is not None:
24255+
result['SlsLogEnvTags'] = self.sls_log_env_tags
2422824256
if self.startup_probe is not None:
2422924257
result['StartupProbe'] = self.startup_probe
2423024258
if self.swimlane_pvtz_discovery is not None:
@@ -24448,6 +24476,8 @@ def from_map(self, m: dict = None):
2444824476
self.sidecar_containers_config.append(temp_model.from_map(k))
2444924477
if m.get('SlsConfigs') is not None:
2445024478
self.sls_configs = m.get('SlsConfigs')
24479+
if m.get('SlsLogEnvTags') is not None:
24480+
self.sls_log_env_tags = m.get('SlsLogEnvTags')
2445124481
if m.get('StartupProbe') is not None:
2445224482
self.startup_probe = m.get('StartupProbe')
2445324483
if m.get('SwimlanePvtzDiscovery') is not None:

sae-20190506/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"""
2525
setup module for alibabacloud_sae20190506.
2626
27-
Created on 26/11/2025
27+
Created on 27/11/2025
2828
2929
@author: Alibaba Cloud SDK
3030
"""

0 commit comments

Comments
 (0)