tccli-intl-en 3.0.1168.1__py2.py3-none-any.whl → 3.1.16.1__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- tccli/__init__.py +1 -1
- tccli/argument.py +1 -1
- tccli/plugins/sso/__init__.py +14 -0
- tccli/plugins/sso/login.py +23 -6
- tccli/plugins/sso/texts.py +4 -0
- tccli/services/__init__.py +49 -2
- tccli/services/advisor/advisor_client.py +10 -4
- tccli/services/ai3d/__init__.py +4 -0
- tccli/services/ai3d/ai3d_client.py +266 -0
- tccli/services/ai3d/v20250513/api.json +264 -0
- tccli/services/ai3d/v20250513/examples.json +20 -0
- tccli/services/aiart/aiart_client.py +5 -2
- tccli/services/ams/ams_client.py +20 -8
- tccli/services/antiddos/antiddos_client.py +350 -140
- tccli/services/apigateway/apigateway_client.py +465 -186
- tccli/services/apm/apm_client.py +835 -68
- tccli/services/apm/v20210622/api.json +3936 -1145
- tccli/services/apm/v20210622/examples.json +133 -23
- tccli/services/asr/asr_client.py +10 -4
- tccli/services/autoscaling/autoscaling_client.py +341 -114
- tccli/services/autoscaling/v20180419/api.json +514 -333
- tccli/services/autoscaling/v20180419/examples.json +46 -38
- tccli/services/batch/batch_client.py +140 -56
- tccli/services/bi/__init__.py +4 -0
- tccli/services/bi/bi_client.py +1498 -0
- tccli/services/bi/v20220105/api.json +5769 -0
- tccli/services/bi/v20220105/examples.json +215 -0
- tccli/services/billing/billing_client.py +1055 -134
- tccli/services/billing/v20180709/api.json +1654 -243
- tccli/services/billing/v20180709/examples.json +169 -25
- tccli/services/cam/cam_client.py +405 -162
- tccli/services/captcha/captcha_client.py +5 -2
- tccli/services/captcha/v20190722/api.json +16 -6
- tccli/services/captcha/v20190722/examples.json +3 -3
- tccli/services/car/car_client.py +165 -66
- tccli/services/cbs/cbs_client.py +190 -76
- tccli/services/ccc/ccc_client.py +1167 -268
- tccli/services/ccc/v20200210/api.json +2263 -202
- tccli/services/ccc/v20200210/examples.json +116 -12
- tccli/services/cdb/cdb_client.py +665 -266
- tccli/services/cdb/v20170320/api.json +426 -173
- tccli/services/cdb/v20170320/examples.json +6 -6
- tccli/services/cdc/cdc_client.py +100 -40
- tccli/services/cdc/v20201214/api.json +2 -2
- tccli/services/cdc/v20201214/examples.json +4 -4
- tccli/services/cdn/cdn_client.py +220 -88
- tccli/services/cdwdoris/cdwdoris_client.py +385 -154
- tccli/services/cdwpg/cdwpg_client.py +120 -48
- tccli/services/cdz/__init__.py +4 -0
- tccli/services/cdz/cdz_client.py +210 -0
- tccli/services/cdz/v20221123/api.json +233 -0
- tccli/services/cdz/v20221123/examples.json +12 -0
- tccli/services/cfg/cfg_client.py +80 -32
- tccli/services/cfg/v20210820/api.json +30 -10
- tccli/services/cfg/v20210820/examples.json +1 -1
- tccli/services/cfs/cfs_client.py +195 -78
- tccli/services/cfw/cfw_client.py +330 -132
- tccli/services/chdfs/chdfs_client.py +145 -58
- tccli/services/ciam/ciam_client.py +80 -32
- tccli/services/ckafka/ckafka_client.py +1033 -255
- tccli/services/ckafka/v20190819/api.json +3378 -1681
- tccli/services/ckafka/v20190819/examples.json +254 -160
- tccli/services/clb/clb_client.py +1054 -469
- tccli/services/clb/v20180317/api.json +2307 -1024
- tccli/services/clb/v20180317/examples.json +186 -126
- tccli/services/cloudaudit/cloudaudit_client.py +90 -36
- tccli/services/cls/cls_client.py +434 -173
- tccli/services/cmq/cmq_client.py +14 -803
- tccli/services/cmq/v20190304/api.json +173 -1367
- tccli/services/cmq/v20190304/examples.json +0 -120
- tccli/services/config/config_client.py +30 -12
- tccli/services/controlcenter/controlcenter_client.py +229 -2
- tccli/services/controlcenter/v20230110/api.json +528 -5
- tccli/services/controlcenter/v20230110/examples.json +32 -0
- tccli/services/csip/csip_client.py +339 -78
- tccli/services/csip/v20221121/api.json +1011 -38
- tccli/services/csip/v20221121/examples.json +24 -0
- tccli/services/ctsdb/__init__.py +4 -0
- tccli/services/ctsdb/ctsdb_client.py +266 -0
- tccli/services/ctsdb/v20230202/api.json +677 -0
- tccli/services/ctsdb/v20230202/examples.json +20 -0
- tccli/services/cvm/cvm_client.py +706 -189
- tccli/services/cvm/v20170312/api.json +1141 -510
- tccli/services/cvm/v20170312/examples.json +174 -128
- tccli/services/cwp/cwp_client.py +2325 -930
- tccli/services/cynosdb/cynosdb_client.py +3051 -575
- tccli/services/cynosdb/v20190107/api.json +14074 -7139
- tccli/services/cynosdb/v20190107/examples.json +597 -287
- tccli/services/dataintegration/dataintegration_client.py +5 -2
- tccli/services/dayu/dayu_client.py +515 -206
- tccli/services/dbbrain/dbbrain_client.py +210 -84
- tccli/services/dc/dc_client.py +90 -36
- tccli/services/dcdb/dcdb_client.py +310 -124
- tccli/services/dlc/dlc_client.py +859 -214
- tccli/services/dlc/v20210125/api.json +637 -13
- tccli/services/dlc/v20210125/examples.json +48 -0
- tccli/services/dms/dms_client.py +10 -4
- tccli/services/dnspod/dnspod_client.py +390 -111
- tccli/services/dnspod/v20210323/api.json +196 -0
- tccli/services/dnspod/v20210323/examples.json +24 -0
- tccli/services/domain/domain_client.py +120 -48
- tccli/services/dts/dts_client.py +415 -166
- tccli/services/eb/eb_client.py +130 -52
- tccli/services/ecdn/ecdn_client.py +75 -30
- tccli/services/ecm/ecm_client.py +620 -248
- tccli/services/eiam/eiam_client.py +200 -80
- tccli/services/emr/emr_client.py +3104 -117
- tccli/services/emr/v20190103/api.json +15311 -4361
- tccli/services/emr/v20190103/examples.json +452 -42
- tccli/services/es/es_client.py +105 -42
- tccli/services/facefusion/facefusion_client.py +15 -6
- tccli/services/faceid/faceid_client.py +95 -38
- tccli/services/faceid/v20180301/api.json +172 -45
- tccli/services/faceid/v20180301/examples.json +3 -3
- tccli/services/gaap/gaap_client.py +440 -176
- tccli/services/gme/gme_client.py +50 -20
- tccli/services/gpm/gpm_client.py +90 -36
- tccli/services/gse/gse_client.py +110 -44
- tccli/services/gwlb/gwlb_client.py +90 -36
- tccli/services/hunyuan/__init__.py +4 -0
- tccli/services/hunyuan/hunyuan_client.py +266 -0
- tccli/services/hunyuan/v20230901/api.json +270 -0
- tccli/services/hunyuan/v20230901/examples.json +20 -0
- tccli/services/iai/iai_client.py +145 -58
- tccli/services/iai/v20200303/api.json +187 -51
- tccli/services/iai/v20200303/examples.json +30 -12
- tccli/services/iap/iap_client.py +30 -12
- tccli/services/ims/ims_client.py +5 -2
- tccli/services/ims/v20201229/api.json +133 -141
- tccli/services/ims/v20201229/examples.json +3 -3
- tccli/services/intlpartnersmgt/intlpartnersmgt_client.py +516 -72
- tccli/services/intlpartnersmgt/v20220928/api.json +976 -60
- tccli/services/intlpartnersmgt/v20220928/examples.json +50 -2
- tccli/services/iotcloud/iotcloud_client.py +100 -40
- tccli/services/iotcloud/v20210408/api.json +216 -107
- tccli/services/iotcloud/v20210408/examples.json +9 -9
- tccli/services/ip/ip_client.py +30 -12
- tccli/services/kms/kms_client.py +1226 -227
- tccli/services/kms/v20190118/api.json +1562 -144
- tccli/services/kms/v20190118/examples.json +204 -78
- tccli/services/lcic/lcic_client.py +265 -106
- tccli/services/lighthouse/lighthouse_client.py +370 -148
- tccli/services/lighthouse/v20200324/api.json +14 -14
- tccli/services/lighthouse/v20200324/examples.json +5 -5
- tccli/services/live/live_client.py +804 -232
- tccli/services/live/v20180801/api.json +272 -0
- tccli/services/live/v20180801/examples.json +32 -0
- tccli/services/lke/__init__.py +4 -0
- tccli/services/lke/lke_client.py +5194 -0
- tccli/services/lke/v20231130/api.json +14803 -0
- tccli/services/lke/v20231130/examples.json +736 -0
- tccli/services/lkeap/__init__.py +4 -0
- tccli/services/lkeap/lkeap_client.py +602 -0
- tccli/services/lkeap/v20240522/api.json +953 -0
- tccli/services/lkeap/v20240522/examples.json +92 -0
- tccli/services/mariadb/mariadb_client.py +250 -100
- tccli/services/mdc/mdc_client.py +90 -36
- tccli/services/mdl/mdl_client.py +402 -82
- tccli/services/mdl/v20200326/api.json +1144 -58
- tccli/services/mdl/v20200326/examples.json +48 -16
- tccli/services/mdp/mdp_client.py +785 -122
- tccli/services/mdp/v20200527/api.json +1168 -44
- tccli/services/mdp/v20200527/examples.json +151 -79
- tccli/services/message/__init__.py +4 -0
- tccli/services/message/message_client.py +210 -0
- tccli/services/message/v20181225/api.json +72 -0
- tccli/services/message/v20181225/examples.json +13 -0
- tccli/services/mongodb/mongodb_client.py +1452 -136
- tccli/services/mongodb/v20190725/api.json +4393 -1462
- tccli/services/mongodb/v20190725/examples.json +265 -71
- tccli/services/monitor/monitor_client.py +1008 -296
- tccli/services/monitor/v20180724/api.json +660 -11
- tccli/services/monitor/v20180724/examples.json +152 -4
- tccli/services/mps/mps_client.py +1573 -354
- tccli/services/mps/v20190612/api.json +12394 -7243
- tccli/services/mps/v20190612/examples.json +244 -84
- tccli/services/msp/msp_client.py +35 -14
- tccli/services/ocr/ocr_client.py +596 -102
- tccli/services/ocr/v20181119/api.json +2271 -181
- tccli/services/ocr/v20181119/examples.json +70 -8
- tccli/services/omics/omics_client.py +100 -40
- tccli/services/organization/organization_client.py +580 -232
- tccli/services/postgres/postgres_client.py +455 -182
- tccli/services/postgres/v20170312/api.json +134 -109
- tccli/services/postgres/v20170312/examples.json +14 -14
- tccli/services/privatedns/privatedns_client.py +206 -60
- tccli/services/privatedns/v20201028/api.json +179 -0
- tccli/services/privatedns/v20201028/examples.json +8 -0
- tccli/services/pts/pts_client.py +240 -96
- tccli/services/quota/__init__.py +4 -0
- tccli/services/quota/quota_client.py +434 -0
- tccli/services/quota/v20241204/api.json +548 -0
- tccli/services/quota/v20241204/examples.json +51 -0
- tccli/services/rce/rce_client.py +5 -2
- tccli/services/redis/redis_client.py +698 -212
- tccli/services/redis/v20180412/api.json +968 -563
- tccli/services/redis/v20180412/examples.json +98 -56
- tccli/services/region/__init__.py +4 -0
- tccli/services/region/region_client.py +322 -0
- tccli/services/region/v20220627/api.json +399 -0
- tccli/services/region/v20220627/examples.json +29 -0
- tccli/services/rum/rum_client.py +300 -120
- tccli/services/scf/scf_client.py +210 -84
- tccli/services/ses/ses_client.py +368 -69
- tccli/services/ses/v20201002/api.json +240 -0
- tccli/services/ses/v20201002/examples.json +32 -0
- tccli/services/smh/__init__.py +4 -0
- tccli/services/smh/smh_client.py +714 -0
- tccli/services/smh/v20210712/api.json +1287 -0
- tccli/services/smh/v20210712/examples.json +85 -0
- tccli/services/sms/sms_client.py +90 -36
- tccli/services/sqlserver/sqlserver_client.py +3855 -470
- tccli/services/sqlserver/v20180328/api.json +9757 -3347
- tccli/services/sqlserver/v20180328/examples.json +480 -20
- tccli/services/ssl/ssl_client.py +504 -72
- tccli/services/ssl/v20191205/api.json +789 -21
- tccli/services/ssl/v20191205/examples.json +54 -0
- tccli/services/ssm/ssm_client.py +120 -48
- tccli/services/sts/sts_client.py +25 -10
- tccli/services/tag/tag_client.py +150 -60
- tccli/services/tat/tat_client.py +95 -38
- tccli/services/tbaas/__init__.py +4 -0
- tccli/services/tbaas/tbaas_client.py +378 -0
- tccli/services/tbaas/v20180416/api.json +551 -0
- tccli/services/tbaas/v20180416/examples.json +37 -0
- tccli/services/tcaplusdb/tcaplusdb_client.py +260 -104
- tccli/services/tcaplusdb/v20190823/api.json +836 -760
- tccli/services/tcaplusdb/v20190823/examples.json +3 -3
- tccli/services/tchd/tchd_client.py +5 -2
- tccli/services/tcmpp/tcmpp_client.py +520 -208
- tccli/services/tcr/tcr_client.py +380 -152
- tccli/services/tcsas/tcsas_client.py +295 -118
- tccli/services/tcsas/v20250106/api.json +155 -79
- tccli/services/tcsas/v20250106/examples.json +3 -3
- tccli/services/tcss/tcss_client.py +1650 -660
- tccli/services/tdid/tdid_client.py +240 -96
- tccli/services/tdmq/tdmq_client.py +2876 -466
- tccli/services/tdmq/v20200217/api.json +11607 -3958
- tccli/services/tdmq/v20200217/examples.json +562 -264
- tccli/services/tem/tem_client.py +280 -112
- tccli/services/teo/teo_client.py +4507 -966
- tccli/services/teo/v20220901/api.json +7341 -1405
- tccli/services/teo/v20220901/examples.json +679 -99
- tccli/services/tione/__init__.py +4 -0
- tccli/services/tione/tione_client.py +210 -0
- tccli/services/tione/v20211111/api.json +3074 -0
- tccli/services/tione/v20211111/examples.json +12 -0
- tccli/services/tiw/tiw_client.py +255 -102
- tccli/services/tke/tke_client.py +741 -274
- tccli/services/tke/v20180525/api.json +132 -7
- tccli/services/tke/v20180525/examples.json +42 -16
- tccli/services/tms/tms_client.py +5 -2
- tccli/services/tms/v20201229/api.json +91 -100
- tccli/services/tmt/tmt_client.py +5 -2
- tccli/services/trabbit/__init__.py +4 -0
- tccli/services/trabbit/trabbit_client.py +1778 -0
- tccli/services/trabbit/v20230418/api.json +4772 -0
- tccli/services/trabbit/v20230418/examples.json +237 -0
- tccli/services/trocket/__init__.py +4 -0
- tccli/services/trocket/trocket_client.py +2450 -0
- tccli/services/trocket/v20230308/api.json +6062 -0
- tccli/services/trocket/v20230308/examples.json +339 -0
- tccli/services/trro/trro_client.py +95 -38
- tccli/services/trtc/trtc_client.py +928 -192
- tccli/services/trtc/v20190722/api.json +1810 -256
- tccli/services/trtc/v20190722/examples.json +100 -6
- tccli/services/tts/tts_client.py +5 -2
- tccli/services/vclm/vclm_client.py +10 -4
- tccli/services/vm/v20210922/api.json +61 -30
- tccli/services/vm/v20210922/examples.json +0 -12
- tccli/services/vm/vm_client.py +20 -8
- tccli/services/vod/v20180717/api.json +332 -52
- tccli/services/vod/v20180717/examples.json +9 -1
- tccli/services/vod/v20240718/api.json +1105 -0
- tccli/services/vod/v20240718/examples.json +97 -0
- tccli/services/vod/vod_client.py +1316 -350
- tccli/services/vpc/v20170312/api.json +1166 -106
- tccli/services/vpc/v20170312/examples.json +197 -23
- tccli/services/vpc/vpc_client.py +2413 -739
- tccli/services/waf/v20180125/api.json +1372 -194
- tccli/services/waf/v20180125/examples.json +89 -1
- tccli/services/waf/waf_client.py +1149 -245
- tccli/services/wedata/v20210820/api.json +1577 -231
- tccli/services/wedata/v20210820/examples.json +74 -12
- tccli/services/wedata/v20250806/api.json +13644 -0
- tccli/services/wedata/v20250806/examples.json +621 -0
- tccli/services/wedata/wedata_client.py +6366 -1191
- tccli/services/yunjing/yunjing_client.py +355 -142
- {tccli_intl_en-3.0.1168.1.dist-info → tccli_intl_en-3.1.16.1.dist-info}/METADATA +4 -7
- {tccli_intl_en-3.0.1168.1.dist-info → tccli_intl_en-3.1.16.1.dist-info}/RECORD +294 -230
- {tccli_intl_en-3.0.1168.1.dist-info → tccli_intl_en-3.1.16.1.dist-info}/WHEEL +1 -1
- {tccli_intl_en-3.0.1168.1.dist-info → tccli_intl_en-3.1.16.1.dist-info}/entry_points.txt +0 -1
- {tccli_intl_en-3.0.1168.1.dist-info → tccli_intl_en-3.1.16.1.dist-info}/LICENSE +0 -0
- {tccli_intl_en-3.0.1168.1.dist-info → tccli_intl_en-3.1.16.1.dist-info}/top_level.txt +0 -0
|
@@ -54,10 +54,10 @@
|
|
|
54
54
|
],
|
|
55
55
|
"CreateAutoScalingGroup": [
|
|
56
56
|
{
|
|
57
|
-
"document": "This example shows how to create
|
|
58
|
-
"input": "
|
|
57
|
+
"document": "This example shows you how to create a scaling group, set up a VPC network, and configure a layer-7 load balancer.",
|
|
58
|
+
"input": "POST / HTTP/1.1\nHost: as.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateAutoScalingGroup\n<Common request parameters>\n\n{\n \"VpcId\": \"vpc-hy436tmc\",\n \"DesiredCapacity\": 0,\n \"LaunchConfigurationId\": \"asc-7vucy6ae\",\n \"ProjectId\": 0,\n \"SubnetIds\": [\n \"subnet-b0vxjhot\",\n \"subnet-3tmerl37\"\n ],\n \"AutoScalingGroupName\": \"asg-vpc-7layer-lb\",\n \"DefaultCooldown\": 300,\n \"MinSize\": 0,\n \"MaxSize\": 10,\n \"TerminationPolicies\": [\n \"OLDEST_INSTANCE\"\n ],\n \"ForwardLoadBalancers\": [\n {\n \"TargetAttributes\": [\n {\n \"Port\": 8080,\n \"Weight\": 10\n }\n ],\n \"Region\": \"ap-guangzhou\",\n \"LocationId\": \"loc-l3hmaev9\",\n \"ListenerId\": \"lbl-ncw704sn\",\n \"LoadBalancerId\": \"lb-23aejgcv\"\n }\n ]\n}",
|
|
59
59
|
"output": "{\n \"Response\": {\n \"AutoScalingGroupId\": \"asg-nkdwoui0\",\n \"RequestId\": \"a5d66fed-85b9-4f43-8243-597337ba896e\"\n }\n}",
|
|
60
|
-
"title": "Creating
|
|
60
|
+
"title": "Creating a Scaling Group"
|
|
61
61
|
}
|
|
62
62
|
],
|
|
63
63
|
"CreateAutoScalingGroupFromInstance": [
|
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
"CreateLifecycleHook": [
|
|
98
98
|
{
|
|
99
99
|
"document": "This example shows you how to create a lifecycle hook that takes effect in the scenario of instance creation, where DefaultResult is set to ABANDON and HeartbeatTimeout is set to 360 seconds.",
|
|
100
|
-
"input": "POST / HTTP/1.1\nHost: as.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateLifecycleHook\n<Common request parameters>\n\n{\n \"AutoScalingGroupId\": \"asg-8fbozqja\",\n \"DefaultResult\": \"ABANDON\",\n \"LifecycleHookName\": \"one-hook\",\n \"LifecycleTransition\": \"INSTANCE_LAUNCHING\",\n \"HeartbeatTimeout\":
|
|
100
|
+
"input": "POST / HTTP/1.1\nHost: as.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateLifecycleHook\n<Common request parameters>\n\n{\n \"AutoScalingGroupId\": \"asg-8fbozqja\",\n \"DefaultResult\": \"ABANDON\",\n \"LifecycleHookName\": \"one-hook\",\n \"LifecycleTransition\": \"INSTANCE_LAUNCHING\",\n \"HeartbeatTimeout\": 360\n}",
|
|
101
101
|
"output": "{\n \"Response\": {\n \"LifecycleHookId\": \"ash-heyubibl\",\n \"RequestId\": \"5e414011-3359-45bd-8ba4-5b503d3fd3f6\"\n }\n}",
|
|
102
102
|
"title": "Creating a Lifecycle Hook"
|
|
103
103
|
},
|
|
@@ -109,19 +109,19 @@
|
|
|
109
109
|
},
|
|
110
110
|
{
|
|
111
111
|
"document": "This example shows you how to create a lifecycle hook that takes effect in the scenario of instance termination, where DefaultResult is set to ABANDON and HeartbeatTimeout is set to 120 seconds, to notify the TDMQ topic model named one-topic.",
|
|
112
|
-
"input": "POST / HTTP/1.1\nHost: as.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateLifecycleHook\n<Common request parameters>\n\n{\n \"HeartbeatTimeout\":
|
|
112
|
+
"input": "POST / HTTP/1.1\nHost: as.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateLifecycleHook\n<Common request parameters>\n\n{\n \"HeartbeatTimeout\": 120,\n \"AutoScalingGroupId\": \"asg-8fbozqja\",\n \"LifecycleHookName\": \"terminate-topic\",\n \"NotificationMetadata\": \"topic\",\n \"NotificationTarget\": {\n \"TargetType\": \"TDMQ_TOPIC\",\n \"TopicName\": \"one-topic\"\n },\n \"DefaultResult\": \"ABANDON\",\n \"LifecycleTransition\": \"INSTANCE_TERMINATING\"\n}",
|
|
113
113
|
"output": "{\n \"Response\": {\n \"LifecycleHookId\": \"ash-oq76wsrx\",\n \"RequestId\": \"cdb7670b-0412-444f-9d2f-0da9cd07c410\"\n }\n}",
|
|
114
114
|
"title": "Creating a Lifecycle Hook to Notify the TDMQ Topic Model"
|
|
115
115
|
},
|
|
116
116
|
{
|
|
117
117
|
"document": "This example shows you how to create a lifecycle hook that takes effect in the scenario of instance creation, where DefaultResult is set to CONTINUE and HeartbeatTimeout is set to 120 seconds, to notify the TDMQ model named one-queue.",
|
|
118
|
-
"input": "POST / HTTP/1.1\nHost: as.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateLifecycleHook\n<Common request parameters>\n\n{\n \"HeartbeatTimeout\":
|
|
118
|
+
"input": "POST / HTTP/1.1\nHost: as.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateLifecycleHook\n<Common request parameters>\n\n{\n \"HeartbeatTimeout\": 120,\n \"AutoScalingGroupId\": \"asg-8fbozqja\",\n \"LifecycleHookName\": \"launch-queue\",\n \"NotificationMetadata\": \"queue\",\n \"NotificationTarget\": {\n \"TargetType\": \"TDMQ_QUEUE\",\n \"QueueName\": \"one-queue\"\n },\n \"DefaultResult\": \"CONTINUE\",\n \"LifecycleTransition\": \"INSTANCE_LAUNCHING\"\n}",
|
|
119
119
|
"output": "{\n \"Response\": {\n \"LifecycleHookId\": \"ash-fbjiexz7\",\n \"RequestId\": \"d3cf27b7-3090-4317-9107-d2eac986a446\"\n }\n}",
|
|
120
120
|
"title": "Creating a Lifecycle Hook to Notify the TDMQ Model"
|
|
121
121
|
},
|
|
122
122
|
{
|
|
123
|
-
"document": "This example shows you how to create a lifecycle hook that takes effect
|
|
124
|
-
"input": "POST / HTTP/1.1\nHost: as.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateLifecycleHook\n<Common request parameters>\n\n{\n \"HeartbeatTimeout\":
|
|
123
|
+
"document": "This example shows you how to create a lifecycle hook that takes effect in the scenario of instance creation, where DefaultResult takes the default value CONTINUE and HeartbeatTimeout takes the default value 300 seconds.",
|
|
124
|
+
"input": "POST / HTTP/1.1\nHost: as.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateLifecycleHook\n<Common request parameters>\n\n{\n \"HeartbeatTimeout\": 300,\n \"AutoScalingGroupId\": \"asg-mp5ydedh\",\n \"LifecycleCommand\": {\n \"CommandId\": \"cmd-id9u919l\",\n \"Parameters\": \"{\\\"var1\\\":\\\"ck\\\"}\"\n },\n \"LifecycleHookName\": \"demo2\",\n \"DefaultResult\": \"CONTINUE\",\n \"LifecycleTransition\": \"INSTANCE_LAUNCHING\"\n}",
|
|
125
125
|
"output": "{\n \"Response\": {\n \"LifecycleHookId\": \"ash-kjurq12y\",\n \"RequestId\": \"08f7bea5-3e0a-4280-9970-5d959a922b0b\"\n }\n}",
|
|
126
126
|
"title": "Creating a Lifecycle Hook to Execute TAT Commands"
|
|
127
127
|
}
|
|
@@ -143,13 +143,13 @@
|
|
|
143
143
|
"CreateScalingPolicy": [
|
|
144
144
|
{
|
|
145
145
|
"document": "This example shows you how to increase the expected instance number by 1 when the average CPU utilization exceeds 50% for five consecutive times within 1 minute.",
|
|
146
|
-
"input": "POST / HTTP/1.1\nHost: as.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateScalingPolicy\n<Common request parameters>\n\n{\n \"AutoScalingGroupId\": \"asg-12wjuh0s\",\n \"Cooldown\":
|
|
146
|
+
"input": "POST / HTTP/1.1\nHost: as.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateScalingPolicy\n<Common request parameters>\n\n{\n \"AutoScalingGroupId\": \"asg-12wjuh0s\",\n \"Cooldown\": 60,\n \"ScalingPolicyType\": \"SIMPLE\",\n \"ScalingPolicyName\": \"cpu_policy_test\",\n \"AdjustmentType\": \" CHANGE_IN_CAPACITY\",\n \"MetricAlarm\": {\n \"Period\": 60,\n \"ContinuousTime\": 5,\n \"ComparisonOperator\": \"GREATER_THAN\",\n \"Statistic\": \"AVERAGE\",\n \"Threshold\": 50,\n \"MetricName\": \"CPU_UTILIZATION\"\n },\n \"AdjustmentValue\": 1\n}",
|
|
147
147
|
"output": "{\n \"Response\": {\n \"AutoScalingPolicyId\": \"asp-iir70sxv\",\n \"RequestId\": \"fb02c8bd-5f38-4786-91b6-0c6e06a88832\"\n }\n}",
|
|
148
148
|
"title": "Creating a Simple Policy: Average CPU Utilization"
|
|
149
149
|
},
|
|
150
150
|
{
|
|
151
151
|
"document": "This example shows you how to decrease the expected instance number by 50% when the average CPU utilization falls below 35% for five consecutive times within 1 minute.",
|
|
152
|
-
"input": "POST / HTTP/1.1\nHost: as.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateScalingPolicy\n<Common request parameters>\n\n{\n \"AutoScalingGroupId\": \"asg-12wjuh0s\",\n \"Cooldown\":
|
|
152
|
+
"input": "POST / HTTP/1.1\nHost: as.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateScalingPolicy\n<Common request parameters>\n\n{\n \"AutoScalingGroupId\": \"asg-12wjuh0s\",\n \"Cooldown\": 300,\n \"ScalingPolicyType\": \"SIMPLE\",\n \"ScalingPolicyName\": \"mem_policy_test\",\n \"AdjustmentType\": \" PERCENT_CHANGE_IN_CAPACITY\",\n \"MetricAlarm\": {\n \"Period\": 60,\n \"ContinuousTime\": 5,\n \"ComparisonOperator\": \"LESS_THAN\",\n \"Statistic\": \"AVERAGE\",\n \"Threshold\": 50,\n \"MetricName\": \"MEM_UTILIZATION\"\n },\n \"AdjustmentValue\": -50\n}",
|
|
153
153
|
"output": "{\n \"Response\": {\n \"AutoScalingPolicyId\": \"asp-f59pppuh\",\n \"RequestId\": \"116213d6-2269-44cc-af76-c4a8dc7dbdf9\"\n }\n}",
|
|
154
154
|
"title": "Creating a Simple Policy: Average Memory Utilization"
|
|
155
155
|
},
|
|
@@ -162,16 +162,16 @@
|
|
|
162
162
|
],
|
|
163
163
|
"CreateScheduledAction": [
|
|
164
164
|
{
|
|
165
|
-
"document": "This example shows you how to create a scheduled
|
|
166
|
-
"input": "POST / HTTP/1.1\nHost: as.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateScheduledAction\n<Common request parameters>\n\n{\n \"DesiredCapacity\":
|
|
165
|
+
"document": "This example shows you how to create a scheduled task to adjust the scaling group's maximum instance count, minimum number of instances and expected number of instances to 10, 4 and 6 at the specified time (23:00 on August 28, 2018 UTC+8).",
|
|
166
|
+
"input": "POST / HTTP/1.1\nHost: as.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateScheduledAction\n<Common request parameters>\n\n{\n \"DesiredCapacity\": 6,\n \"AutoScalingGroupId\": \"asg-2nr9xh8h\",\n \"MinSize\": 4,\n \"MaxSize\": 10,\n \"ScheduledActionName\": \"scheduled-action-0\",\n \"StartTime\": \"2018-08-28T23:00:00+08:00\"\n}",
|
|
167
167
|
"output": "{\n \"Response\": {\n \"ScheduledActionId\": \"asst-chwbkq4c\",\n \"RequestId\": \"193a710f-8dbf-46aa-8b4a-195532244df8\"\n }\n}",
|
|
168
|
-
"title": "Creating a
|
|
168
|
+
"title": "Creating a One-Time Execution Scheduled Task"
|
|
169
169
|
},
|
|
170
170
|
{
|
|
171
|
-
"document": "This example shows you how to create a scheduled
|
|
172
|
-
"input": "POST / HTTP/1.1\nHost: as.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateScheduledAction\n<Common request parameters>\n\n{\n \"Recurrence\": \"0 23
|
|
171
|
+
"document": "This example shows you how to create a scheduled task that adjusts the scaling group's maximum instance count, minimum number of instances and expected number of instances to 7, 2 and 3 daily at 23:00 UTC+8 starting from August 28, 2018, and ends after 00:00 UTC+8 on January 1, 2019.",
|
|
172
|
+
"input": "POST / HTTP/1.1\nHost: as.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateScheduledAction\n<Common request parameters>\n\n{\n \"Recurrence\": \"0 23 * * *\",\n \"DesiredCapacity\": 3,\n \"AutoScalingGroupId\": \"asg-2nr9xh8h\",\n \"MinSize\": 2,\n \"MaxSize\": 7,\n \"ScheduledActionName\": \"scheduled-action-1\",\n \"StartTime\": \"2018-08-28T23:00:00+08:00\",\n \"EndTime\": \"2019-01-01T00:00:00+08:00\"\n}",
|
|
173
173
|
"output": "{\n \"Response\": {\n \"ScheduledActionId\": \"asst-le3us530\",\n \"RequestId\": \"502fd6fa-44ff-4c79-b77e-ee20f72bddc0\"\n }\n}",
|
|
174
|
-
"title": "Creating a
|
|
174
|
+
"title": "Creating a Scheduled Task with Repeated Execution"
|
|
175
175
|
}
|
|
176
176
|
],
|
|
177
177
|
"DeleteAutoScalingGroup": [
|
|
@@ -264,13 +264,13 @@
|
|
|
264
264
|
{
|
|
265
265
|
"document": "This example shows you how to query scaling groups by ID.",
|
|
266
266
|
"input": "POST / HTTP/1.1\nHost: as.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAutoScalingGroups\n<Common request parameters>\n\n{\n \"AutoScalingGroupIds\": [\n \"asg-pts6qcgp\"\n ]\n}",
|
|
267
|
-
"output": "{\n \"Response\": {\n \"AutoScalingGroupSet\": [\n {\n \"InActivityStatus\": \"NOT_IN_ACTIVITY\",\n \"LoadBalancerIdSet\": [],\n \"InstanceNameIndexSettings\": {\n \"BeginIndex\": 0,\n \"Enabled\": true\n },\n \"RetryPolicy\": \"IMMEDIATE_RETRY\",\n \"InServiceInstanceCount\": 0,\n \"CreatedTime\": \"2022-04-21T03:21:14Z\",\n \"SpotMixedAllocationPolicy\": {\n \"CompensateWithBaseInstance\": null,\n \"SpotAllocationStrategy\": null,\n \"OnDemandPercentageAboveBaseCapacity\": null,\n \"BaseCapacity\": null\n },\n \"VpcId\": \"vpc-lceuvai4\",\n \"InstanceAllocationPolicy\": \"LAUNCH_CONFIGURATION\",\n \"Tags\": [],\n \"LaunchConfigurationId\": \"asc-mo1woym9\",\n \"MaxSize\": 1,\n \"MultiZoneSubnetPolicy\": \"PRIORITY\",\n \"SubnetIdSet\": [\n \"subnet-6qqolfi7\"\n ],\n \"HealthCheckType\": \"CLB\",\n \"LoadBalancerHealthCheckGracePeriod\": 0,\n \"ForwardLoadBalancerSet\": [\n {\n \"TargetAttributes\": [\n {\n \"Port\": 8080,\n \"Weight\": 10\n }\n ],\n \"Region\": \"ap-shanghai\",\n \"LocationId\": \"loc-5dovrfov\",\n \"ListenerId\": \"lbl-i4p05pmv\",\n \"LoadBalancerId\": \"lb-pbx8nq2p\"\n }\n ],\n \"ProjectId\": 0,\n \"AutoScalingGroupName\": \"product-asg-001\",\n \"MinSize\": 0,\n \"ServiceSettings\": {\n \"ReplaceMonitorUnhealthy\": false,\n \"ReplaceLoadBalancerUnhealthy\": false,\n \"ScalingMode\": \"CLASSIC_SCALING\",\n \"ReplaceMode\": \"RECREATE\"\n },\n \"LaunchConfigurationName\": \"product-asc-001\",\n \"CapacityRebalance\": false,\n \"TerminationPolicySet\": [\n \"OLDEST_INSTANCE\"\n ],\n \"AutoScalingGroupStatus\": \"NORMAL\",\n \"InstanceCount\": 0,\n \"DesiredCapacity\": 0,\n \"AutoScalingGroupId\": \"asg-pts6qcgp\",\n \"Ipv6AddressCount\": 0,\n \"DefaultCooldown\": 300,\n \"EnabledStatus\": \"ENABLED\",\n \"ZoneSet\": []\n }\n ],\n \"TotalCount\": 1,\n \"RequestId\": \"53a76c96-a88c-4972-8488-66d6c15a080f\"\n }\n}",
|
|
267
|
+
"output": "{\n \"Response\": {\n \"AutoScalingGroupSet\": [\n {\n \"InActivityStatus\": \"NOT_IN_ACTIVITY\",\n \"LoadBalancerIdSet\": [],\n \"InstanceNameIndexSettings\": {\n \"BeginIndex\": 0,\n \"Enabled\": true\n },\n \"RetryPolicy\": \"IMMEDIATE_RETRY\",\n \"InServiceInstanceCount\": 0,\n \"CreatedTime\": \"2022-04-21T03:21:14Z\",\n \"SpotMixedAllocationPolicy\": {\n \"CompensateWithBaseInstance\": null,\n \"SpotAllocationStrategy\": null,\n \"OnDemandPercentageAboveBaseCapacity\": null,\n \"BaseCapacity\": null\n },\n \"VpcId\": \"vpc-lceuvai4\",\n \"InstanceAllocationPolicy\": \"LAUNCH_CONFIGURATION\",\n \"Tags\": [],\n \"LaunchConfigurationId\": \"asc-mo1woym9\",\n \"MaxSize\": 1,\n \"MultiZoneSubnetPolicy\": \"PRIORITY\",\n \"SubnetIdSet\": [\n \"subnet-6qqolfi7\"\n ],\n \"HealthCheckType\": \"CLB\",\n \"LoadBalancerHealthCheckGracePeriod\": 0,\n \"ForwardLoadBalancerSet\": [\n {\n \"TargetAttributes\": [\n {\n \"Port\": 8080,\n \"Weight\": 10\n }\n ],\n \"Region\": \"ap-shanghai\",\n \"LocationId\": \"loc-5dovrfov\",\n \"ListenerId\": \"lbl-i4p05pmv\",\n \"LoadBalancerId\": \"lb-pbx8nq2p\"\n }\n ],\n \"ProjectId\": 0,\n \"AutoScalingGroupName\": \"product-asg-001\",\n \"MinSize\": 0,\n \"ServiceSettings\": {\n \"ReplaceMonitorUnhealthy\": false,\n \"ReplaceLoadBalancerUnhealthy\": false,\n \"ScalingMode\": \"CLASSIC_SCALING\",\n \"DesiredCapacitySyncWithMaxMinSize\": false,\n \"ReplaceMode\": \"RECREATE\"\n },\n \"LaunchConfigurationName\": \"product-asc-001\",\n \"CapacityRebalance\": false,\n \"TerminationPolicySet\": [\n \"OLDEST_INSTANCE\"\n ],\n \"AutoScalingGroupStatus\": \"NORMAL\",\n \"InstanceCount\": 0,\n \"DesiredCapacity\": 0,\n \"AutoScalingGroupId\": \"asg-pts6qcgp\",\n \"Ipv6AddressCount\": 0,\n \"DefaultCooldown\": 300,\n \"EnabledStatus\": \"ENABLED\",\n \"ZoneSet\": []\n }\n ],\n \"TotalCount\": 1,\n \"RequestId\": \"53a76c96-a88c-4972-8488-66d6c15a080f\"\n }\n}",
|
|
268
268
|
"title": "Querying Scaling Groups"
|
|
269
269
|
},
|
|
270
270
|
{
|
|
271
271
|
"document": "This example shows you how to query scaling groups bound with the tag key-value pair (city:shenzhen).",
|
|
272
272
|
"input": "POST / HTTP/1.1\nHost: as.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAutoScalingGroups\n<Common request parameters>\n\n{\n \"Limit\": 1,\n \"Filters\": [\n {\n \"Values\": [\n \"shenzhen\"\n ],\n \"Name\": \"tag:city\"\n }\n ],\n \"Offset\": 0\n}",
|
|
273
|
-
"output": "{\n \"Response\": {\n \"AutoScalingGroupSet\": [\n {\n \"InActivityStatus\": \"NOT_IN_ACTIVITY\",\n \"LoadBalancerIdSet\": [],\n \"InstanceNameIndexSettings\": {\n \"BeginIndex\": 0,\n \"Enabled\": true\n },\n \"RetryPolicy\": \"IMMEDIATE_RETRY\",\n \"InServiceInstanceCount\": 0,\n \"CreatedTime\": \"2019-10-29T02:21:26Z\",\n \"SpotMixedAllocationPolicy\": {\n \"CompensateWithBaseInstance\": null,\n \"SpotAllocationStrategy\": null,\n \"OnDemandPercentageAboveBaseCapacity\": null,\n \"BaseCapacity\": null\n },\n \"VpcId\": \"vpc-qmjyqjnk\",\n \"InstanceAllocationPolicy\": \"LAUNCH_CONFIGURATION\",\n \"Tags\": [\n {\n \"Key\": \"city\",\n \"Value\": \"shenzhen\"\n }\n ],\n \"LaunchConfigurationId\": \"asc-3d9e2zfx\",\n \"MaxSize\": 10,\n \"MultiZoneSubnetPolicy\": \"PRIORITY\",\n \"SubnetIdSet\": [\n \"subnet-3cpb9yfp\",\n \"subnet-c98udmmr\",\n \"subnet-1xsr551x\",\n \"subnet-o3ibshdr\",\n \"subnet-6c7q2jhz\"\n ],\n \"HealthCheckType\": \"CVM\",\n \"LoadBalancerHealthCheckGracePeriod\": 0,\n \"ForwardLoadBalancerSet\": [\n {\n \"TargetAttributes\": [\n {\n \"Port\": 8080,\n \"Weight\": 10\n }\n ],\n \"Region\": \"ap-shanghai\",\n \"LocationId\": \"loc-y6t5rew2\",\n \"ListenerId\": \"lbl-aiwdu9bd\",\n \"LoadBalancerId\": \"lb-k264wzwj\"\n },\n {\n \"TargetAttributes\": [\n {\n \"Port\": 80,\n \"Weight\": 10\n }\n ],\n \"Region\": \"ap-shanghai\",\n \"LocationId\": \"loc-qmxmx085\",\n \"ListenerId\": \"lbl-ldjbrn65\",\n \"LoadBalancerId\": \"lb-k264wzwj\"\n }\n ],\n \"ProjectId\": 0,\n \"AutoScalingGroupName\": \"sz-asg\",\n \"MinSize\": 0,\n \"ServiceSettings\": {\n \"ReplaceMonitorUnhealthy\": false,\n \"ReplaceLoadBalancerUnhealthy\": false,\n \"ReplaceMode\": \"RECREATE\",\n \"ScalingMode\": \"CLASSIC_SCALING\"\n },\n \"LaunchConfigurationName\": \"sz-asc\",\n \"CapacityRebalance\": false,\n \"TerminationPolicySet\": [\n \"OLDEST_INSTANCE\"\n ],\n \"AutoScalingGroupStatus\": \"NORMAL\",\n \"InstanceCount\": 0,\n \"DesiredCapacity\": 0,\n \"AutoScalingGroupId\": \"asg-h71x7a3f\",\n \"Ipv6AddressCount\": 0,\n \"DefaultCooldown\": 300,\n \"EnabledStatus\": \"ENABLED\",\n \"ZoneSet\": []\n }\n ],\n \"TotalCount\": 1,\n \"RequestId\": \"53a76c96-a88c-4972-8488-66d6c15a080f\"\n }\n}",
|
|
273
|
+
"output": "{\n \"Response\": {\n \"AutoScalingGroupSet\": [\n {\n \"InActivityStatus\": \"NOT_IN_ACTIVITY\",\n \"LoadBalancerIdSet\": [],\n \"InstanceNameIndexSettings\": {\n \"BeginIndex\": 0,\n \"Enabled\": true\n },\n \"RetryPolicy\": \"IMMEDIATE_RETRY\",\n \"InServiceInstanceCount\": 0,\n \"CreatedTime\": \"2019-10-29T02:21:26Z\",\n \"SpotMixedAllocationPolicy\": {\n \"CompensateWithBaseInstance\": null,\n \"SpotAllocationStrategy\": null,\n \"OnDemandPercentageAboveBaseCapacity\": null,\n \"BaseCapacity\": null\n },\n \"VpcId\": \"vpc-qmjyqjnk\",\n \"InstanceAllocationPolicy\": \"LAUNCH_CONFIGURATION\",\n \"Tags\": [\n {\n \"Key\": \"city\",\n \"ResourceType\": \"auto-scaling-group\",\n \"Value\": \"shenzhen\"\n }\n ],\n \"LaunchConfigurationId\": \"asc-3d9e2zfx\",\n \"MaxSize\": 10,\n \"MultiZoneSubnetPolicy\": \"PRIORITY\",\n \"SubnetIdSet\": [\n \"subnet-3cpb9yfp\",\n \"subnet-c98udmmr\",\n \"subnet-1xsr551x\",\n \"subnet-o3ibshdr\",\n \"subnet-6c7q2jhz\"\n ],\n \"HealthCheckType\": \"CVM\",\n \"LoadBalancerHealthCheckGracePeriod\": 0,\n \"ForwardLoadBalancerSet\": [\n {\n \"TargetAttributes\": [\n {\n \"Port\": 8080,\n \"Weight\": 10\n }\n ],\n \"Region\": \"ap-shanghai\",\n \"LocationId\": \"loc-y6t5rew2\",\n \"ListenerId\": \"lbl-aiwdu9bd\",\n \"LoadBalancerId\": \"lb-k264wzwj\"\n },\n {\n \"TargetAttributes\": [\n {\n \"Port\": 80,\n \"Weight\": 10\n }\n ],\n \"Region\": \"ap-shanghai\",\n \"LocationId\": \"loc-qmxmx085\",\n \"ListenerId\": \"lbl-ldjbrn65\",\n \"LoadBalancerId\": \"lb-k264wzwj\"\n }\n ],\n \"ProjectId\": 0,\n \"AutoScalingGroupName\": \"sz-asg\",\n \"MinSize\": 0,\n \"ServiceSettings\": {\n \"ReplaceMonitorUnhealthy\": false,\n \"ReplaceLoadBalancerUnhealthy\": false,\n \"ReplaceMode\": \"RECREATE\",\n \"DesiredCapacitySyncWithMaxMinSize\": false,\n \"ScalingMode\": \"CLASSIC_SCALING\"\n },\n \"LaunchConfigurationName\": \"sz-asc\",\n \"CapacityRebalance\": false,\n \"TerminationPolicySet\": [\n \"OLDEST_INSTANCE\"\n ],\n \"AutoScalingGroupStatus\": \"NORMAL\",\n \"InstanceCount\": 0,\n \"DesiredCapacity\": 0,\n \"AutoScalingGroupId\": \"asg-h71x7a3f\",\n \"Ipv6AddressCount\": 0,\n \"DefaultCooldown\": 300,\n \"EnabledStatus\": \"ENABLED\",\n \"ZoneSet\": []\n }\n ],\n \"TotalCount\": 1,\n \"RequestId\": \"53a76c96-a88c-4972-8488-66d6c15a080f\"\n }\n}",
|
|
274
274
|
"title": "Querying Scaling Groups Bound with Tags"
|
|
275
275
|
}
|
|
276
276
|
],
|
|
@@ -386,6 +386,14 @@
|
|
|
386
386
|
"title": "Enabling the specified scaling group"
|
|
387
387
|
}
|
|
388
388
|
],
|
|
389
|
+
"EnterStandby": [
|
|
390
|
+
{
|
|
391
|
+
"document": "Instances ins-osckfnm7 and ins-cri8d02t in scaling group asg-boz1qhnk enter standby status.",
|
|
392
|
+
"input": "POST / HTTP/1.1\nHost: as.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: EnterStandby\n<Common request parameters>\n\n{\n \"AutoScalingGroupId\": \"asg-boz1qhnk\",\n \"InstanceIds\": [\n \"ins-osckfnm7\",\n \"ins-cri8d02t\"\n ]\n}",
|
|
393
|
+
"output": "{\n \"Response\": {\n \"ActivityId\": \"asa-q59zikez\",\n \"RequestId\": \"5b039ee6-e8ff-4605-bb24-b45337747431\"\n }\n}",
|
|
394
|
+
"title": "Instance in Scaling Group Entering Standby Status"
|
|
395
|
+
}
|
|
396
|
+
],
|
|
389
397
|
"ExecuteScalingPolicy": [
|
|
390
398
|
{
|
|
391
399
|
"document": "This example shows you how to trigger an alarm scaling policy.",
|
|
@@ -419,9 +427,9 @@
|
|
|
419
427
|
"ModifyDesiredCapacity": [
|
|
420
428
|
{
|
|
421
429
|
"document": " ",
|
|
422
|
-
"input": "POST / HTTP/1.1\nHost: as.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyDesiredCapacity\n<Common request parameters>\n\n{\n \"AutoScalingGroupId\": \"asg-nvnlpbb8\",\n \"DesiredCapacity\":
|
|
430
|
+
"input": "POST / HTTP/1.1\nHost: as.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyDesiredCapacity\n<Common request parameters>\n\n{\n \"AutoScalingGroupId\": \"asg-nvnlpbb8\",\n \"DesiredCapacity\": 2\n}",
|
|
423
431
|
"output": "{\n \"Response\": {\n \"RequestId\": \"2f7c0f11-edfd-4598-a5f6-fb5c10cc9d8e\"\n }\n}",
|
|
424
|
-
"title": "Modifying the
|
|
432
|
+
"title": "Modifying the Expected Number of Instances in a Scaling Group"
|
|
425
433
|
}
|
|
426
434
|
],
|
|
427
435
|
"ModifyLaunchConfigurationAttributes": [
|
|
@@ -449,9 +457,9 @@
|
|
|
449
457
|
"ModifyLoadBalancerTargetAttributes": [
|
|
450
458
|
{
|
|
451
459
|
"document": " ",
|
|
452
|
-
"input": "POST / HTTP/1.1\nHost: as.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyLoadBalancerTargetAttributes\n<Common request parameters>\n\n{\n \"AutoScalingGroupId\": \"asg-12wjuh0s\",\n \"ForwardLoadBalancers\": [\n {\n \"TargetAttributes\": [\n {\n \"Port\":
|
|
460
|
+
"input": "POST / HTTP/1.1\nHost: as.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyLoadBalancerTargetAttributes\n<Common request parameters>\n\n{\n \"AutoScalingGroupId\": \"asg-12wjuh0s\",\n \"ForwardLoadBalancers\": [\n {\n \"TargetAttributes\": [\n {\n \"Port\": 8080,\n \"Weight\": 20\n }\n ],\n \"Region\": \"ap-guangzhou\",\n \"LocationId\": \"loc-l3hmaev9\",\n \"ListenerId\": \"lbl-ncw704sn\",\n \"LoadBalancerId\": \"lb-23aejgcv\"\n }\n ]\n}",
|
|
453
461
|
"output": "{\n \"Response\": {\n \"ActivityId\": \"asa-9asddelc\",\n \"RequestId\": \"8d78668d-61eb-456d-855b-f34f91371089\"\n }\n}",
|
|
454
|
-
"title": "
|
|
462
|
+
"title": "Modify the Target Rule Attribute of Application CLB lb-23aejgcv (Listener lbl-ncw704sn, Forwarding Path loc-l3hmaev9), Change the Port to 8080 and the Weight to 20"
|
|
455
463
|
}
|
|
456
464
|
],
|
|
457
465
|
"ModifyLoadBalancers": [
|
|
@@ -469,7 +477,7 @@
|
|
|
469
477
|
},
|
|
470
478
|
{
|
|
471
479
|
"document": " ",
|
|
472
|
-
"input": "POST / HTTP/1.1\nHost: as.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyLoadBalancers\n<Common request parameters>\n\n{\n \"AutoScalingGroupId\": \"asg-12wjuh0s\",\n \"ForwardLoadBalancers\": [\n {\n \"TargetAttributes\": [\n {\n \"Port\":
|
|
480
|
+
"input": "POST / HTTP/1.1\nHost: as.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyLoadBalancers\n<Common request parameters>\n\n{\n \"AutoScalingGroupId\": \"asg-12wjuh0s\",\n \"ForwardLoadBalancers\": [\n {\n \"TargetAttributes\": [\n {\n \"Port\": 8080,\n \"Weight\": 10\n }\n ],\n \"Region\": \"ap-guangzhou\",\n \"LocationId\": \"loc-l3hmaev9\",\n \"ListenerId\": \"lbl-ncw704sn\",\n \"LoadBalancerId\": \"lb-23aejgcv\"\n }\n ]\n}",
|
|
473
481
|
"output": "{\n \"Response\": {\n \"ActivityId\": \"asa-9asddelc\",\n \"RequestId\": \"8d78668d-61eb-456d-855b-f34f91371089\"\n }\n}",
|
|
474
482
|
"title": "Modifying Load Balancers of Scaling Groups to Application-based Load Balancer lb-23aejgcv with Listener lbl-ncw704sn"
|
|
475
483
|
}
|
|
@@ -485,7 +493,7 @@
|
|
|
485
493
|
"ModifyScalingPolicy": [
|
|
486
494
|
{
|
|
487
495
|
"document": "This example shows you how to specify the policy ID to modify the attributes of a simple policy.",
|
|
488
|
-
"input": "POST / HTTP/1.1\nHost: as.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyScalingPolicy\n<Common request parameters>\n\n{\n \"AutoScalingPolicyId\": \"asp-iir70sxv\",\n \"Cooldown\":
|
|
496
|
+
"input": "POST / HTTP/1.1\nHost: as.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyScalingPolicy\n<Common request parameters>\n\n{\n \"AutoScalingPolicyId\": \"asp-iir70sxv\",\n \"Cooldown\": 60,\n \"ScalingPolicyName\": \"cpu_policy_test\",\n \"AdjustmentType\": \"CHANGE_IN_CAPACITY\",\n \"MetricAlarm\": {\n \"Period\": 60,\n \"ContinuousTime\": 5,\n \"ComparisonOperator\": \"GREATER_THAN\",\n \"Statistic\": \"AVERAGE\",\n \"Threshold\": 50,\n \"MetricName\": \"CPU_UTILIZATION\"\n },\n \"AdjustmentValue\": \"1\"\n}",
|
|
489
497
|
"output": "{\n \"Response\": {\n \"RequestId\": \"91413a64-9587-486b-aef4-9aba5e8a0068\"\n }\n}",
|
|
490
498
|
"title": "Modifying the Simple Alarm Triggering Policy"
|
|
491
499
|
},
|
|
@@ -499,9 +507,9 @@
|
|
|
499
507
|
"ModifyScheduledAction": [
|
|
500
508
|
{
|
|
501
509
|
"document": " ",
|
|
502
|
-
"input": "POST / HTTP/1.1\nHost: as.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyScheduledAction\n<Common request parameters>\n\n{\n \"DesiredCapacity\":
|
|
510
|
+
"input": "POST / HTTP/1.1\nHost: as.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyScheduledAction\n<Common request parameters>\n\n{\n \"DesiredCapacity\": 3,\n \"MinSize\": 0,\n \"MaxSize\": 5,\n \"ScheduledActionName\": \"scheduled-action-0\",\n \"StartTime\": \"2018-08-28T23:00:00+08:00\",\n \"ScheduledActionId\": \"asst-chwbkq4c\"\n}",
|
|
503
511
|
"output": "{\n \"Response\": {\n \"RequestId\": \"5f6f0f95-216f-4745-a2e6-617897e9cedb\"\n }\n}",
|
|
504
|
-
"title": "Modifying a
|
|
512
|
+
"title": "Modifying a Scheduled Task"
|
|
505
513
|
}
|
|
506
514
|
],
|
|
507
515
|
"RemoveInstances": [
|
|
@@ -514,18 +522,18 @@
|
|
|
514
522
|
],
|
|
515
523
|
"ResumeInstanceRefresh": [
|
|
516
524
|
{
|
|
517
|
-
"document": "
|
|
518
|
-
"input": "POST / HTTP/1.1\nHost: as.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ResumeInstanceRefresh\n<Common request parameters>\n{\n \"AutoScalingGroupId\": \"asg-h7tgd87d\",\n \"RefreshActivityId\": \"
|
|
525
|
+
"document": "Resume the instance refresh activity asr-juhf6ytr in the scaling group asg-h7tgd87d to retry the failed instances in the current batch.",
|
|
526
|
+
"input": "POST / HTTP/1.1\nHost: as.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ResumeInstanceRefresh\n<Common request parameters>\n\n{\n \"AutoScalingGroupId\": \"asg-h7tgd87d\",\n \"RefreshActivityId\": \"asr-juhf6ytr\",\n \"ResumeMode\": \"RETRY\"\n}",
|
|
519
527
|
"output": "{\n \"Response\": {\n \"RequestId\": \"c4190090-bc60-4f48-b9d4-48095b9596db\"\n }\n}",
|
|
520
|
-
"title": "Resuming Instance Refresh Activity"
|
|
528
|
+
"title": "Resuming the Instance Refresh Activity"
|
|
521
529
|
}
|
|
522
530
|
],
|
|
523
531
|
"RollbackInstanceRefresh": [
|
|
524
532
|
{
|
|
525
|
-
"document": "
|
|
526
|
-
"input": "POST / HTTP/1.1\nHost: as.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: StartInstanceRefresh\n<Common request parameters>\n{\n \"AutoScalingGroupId\": \"asg-9dn1a5y6\",\n \"RefreshMode\": \"
|
|
533
|
+
"document": "Roll back the instance refresh activity asr-i8u7tytd for the scaling group asg-9dn1a5y6.",
|
|
534
|
+
"input": "POST / HTTP/1.1\nHost: as.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: StartInstanceRefresh\n<Common request parameters>\n\n{\n \"AutoScalingGroupId\": \"asg-9dn1a5y6\",\n \"RefreshMode\": \"ROLLING_UPDATE_RESET\",\n \"OriginRefreshActivityId\": \"asr-i8u7tytd\",\n \"RefreshSettings\": {\n \"RollingUpdateSettings\": {\n \"BatchNumber\": 3,\n \"BatchPause\": \"BATCH_INTERVAL_PAUSE\"\n }\n }\n}",
|
|
527
535
|
"output": "{\n \"Response\": {\n \"RefreshActivityId\": \"asr-y67t5r4e\",\n \"RequestId\": \"c4190090-bc60-4f48-b9d4-48095b9596db\"\n }\n}",
|
|
528
|
-
"title": "Rolling
|
|
536
|
+
"title": "Rolling Update Method Rollback Instance Refresh Activity"
|
|
529
537
|
}
|
|
530
538
|
],
|
|
531
539
|
"ScaleInInstances": [
|
|
@@ -562,10 +570,10 @@
|
|
|
562
570
|
],
|
|
563
571
|
"StartInstanceRefresh": [
|
|
564
572
|
{
|
|
565
|
-
"document": "
|
|
566
|
-
"input": "POST / HTTP/1.1\nHost: as.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: StartInstanceRefresh\n<Common request parameters>\n{\n \"AutoScalingGroupId\": \"asg-9dn1a5y6\",\n \"RefreshMode\": \"
|
|
573
|
+
"document": "Divide the instances in the scaling group asg-9dn1a5y6 into 3 batches for rolling updates, with an automatic pause between batches.",
|
|
574
|
+
"input": "POST / HTTP/1.1\nHost: as.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: StartInstanceRefresh\n<Common request parameters>\n\n{\n \"AutoScalingGroupId\": \"asg-9dn1a5y6\",\n \"RefreshMode\": \"ROLLING_UPDATE_RESET\",\n \"RefreshSettings\": {\n \"RollingUpdateSettings\": {\n \"BatchNumber\": 3,\n \"BatchPause\": \"BATCH_INTERVAL_PAUSE\"\n }\n }\n}",
|
|
567
575
|
"output": "{\n \"Response\": {\n \"RefreshActivityId\": \"asr-y67t5r4e\",\n \"RequestId\": \"c4190090-bc60-4f48-b9d4-48095b9596db\"\n }\n}",
|
|
568
|
-
"title": "
|
|
576
|
+
"title": "Refresh Instance in Rolling Update Manner"
|
|
569
577
|
}
|
|
570
578
|
],
|
|
571
579
|
"StopAutoScalingInstances": [
|
|
@@ -578,10 +586,10 @@
|
|
|
578
586
|
],
|
|
579
587
|
"StopInstanceRefresh": [
|
|
580
588
|
{
|
|
581
|
-
"document": "
|
|
582
|
-
"input": "POST / HTTP/1.1\nHost: as.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: StopInstanceRefresh\n<Common request parameters>\n{\n \"AutoScalingGroupId\": \"asg-h7tgd87d\",\n \"RefreshActivityId\": \"
|
|
589
|
+
"document": "Pause the instance refresh activity asr-juhf6ytr for the scaling group asg-h7tgd87d",
|
|
590
|
+
"input": "POST / HTTP/1.1\nHost: as.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: StopInstanceRefresh\n<Common request parameters>\n\n{\n \"AutoScalingGroupId\": \"asg-h7tgd87d\",\n \"RefreshActivityId\": \"asr-juhf6ytr\"\n}",
|
|
583
591
|
"output": "{\n \"Response\": {\n \"RequestId\": \"c4190090-bc60-4f48-b9d4-48095b9596db\"\n }\n}",
|
|
584
|
-
"title": "
|
|
592
|
+
"title": "Suspending the Instance Refresh Activity"
|
|
585
593
|
}
|
|
586
594
|
],
|
|
587
595
|
"UpgradeLaunchConfiguration": [
|