tccli 3.0.1311.1__py2.py3-none-any.whl → 3.0.1313.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/services/autoscaling/v20180419/api.json +164 -161
- tccli/services/autoscaling/v20180419/examples.json +13 -13
- tccli/services/batch/v20170312/api.json +119 -143
- tccli/services/batch/v20170312/examples.json +5 -5
- tccli/services/bh/v20230418/api.json +152 -1
- tccli/services/bi/v20220105/api.json +19 -0
- tccli/services/cbs/v20170312/api.json +19 -16
- tccli/services/cbs/v20170312/examples.json +1 -1
- tccli/services/cdb/v20170320/api.json +30 -9
- tccli/services/cdb/v20170320/examples.json +1 -1
- tccli/services/cfw/v20190904/api.json +5 -7
- tccli/services/clb/v20180317/api.json +36 -36
- tccli/services/clb/v20180317/examples.json +8 -8
- tccli/services/cynosdb/v20190107/api.json +14 -4
- tccli/services/cynosdb/v20190107/examples.json +1 -1
- tccli/services/dbbrain/dbbrain_client.py +147 -41
- tccli/services/dbbrain/v20210527/api.json +224 -0
- tccli/services/dbbrain/v20210527/examples.json +16 -0
- tccli/services/dnspod/dnspod_client.py +53 -0
- tccli/services/dnspod/v20210323/api.json +287 -0
- tccli/services/dnspod/v20210323/examples.json +8 -0
- tccli/services/domain/v20180808/api.json +21 -21
- tccli/services/domain/v20180808/examples.json +2 -2
- tccli/services/emr/v20190103/api.json +20 -0
- tccli/services/ess/v20201111/api.json +9 -0
- tccli/services/essbasic/v20210526/api.json +1 -1
- tccli/services/essbasic/v20210526/examples.json +6 -0
- tccli/services/goosefs/v20220519/api.json +5 -5
- tccli/services/ims/v20201229/api.json +93 -102
- tccli/services/lkeap/v20240522/api.json +1 -1
- tccli/services/mps/v20190612/api.json +96 -1
- tccli/services/postgres/postgres_client.py +0 -53
- tccli/services/postgres/v20170312/api.json +12 -55
- tccli/services/postgres/v20170312/examples.json +0 -14
- tccli/services/tbaas/tbaas_client.py +0 -53
- tccli/services/tbaas/v20180416/api.json +0 -133
- tccli/services/tbaas/v20180416/examples.json +0 -8
- tccli/services/tcb/v20180608/api.json +5 -5
- tccli/services/teo/teo_client.py +53 -0
- tccli/services/teo/v20220901/api.json +464 -100
- tccli/services/teo/v20220901/examples.json +8 -0
- tccli/services/thpc/thpc_client.py +53 -0
- tccli/services/thpc/v20211109/api.json +2 -2
- tccli/services/thpc/v20220401/api.json +3 -3
- tccli/services/thpc/v20230321/api.json +43 -0
- tccli/services/thpc/v20230321/examples.json +8 -0
- tccli/services/tke/v20180525/api.json +106 -82
- tccli/services/tms/v20201229/api.json +47 -59
- tccli/services/tmt/tmt_client.py +61 -8
- tccli/services/tmt/v20180321/api.json +234 -0
- tccli/services/tmt/v20180321/examples.json +8 -0
- tccli/services/trtc/v20190722/api.json +2 -2
- tccli/services/vpc/v20170312/api.json +61 -61
- tccli/services/vpc/v20170312/examples.json +10 -10
- tccli/services/waf/v20180125/api.json +11 -0
- tccli/services/wedata/v20210820/api.json +907 -0
- tccli/services/wedata/v20210820/examples.json +40 -0
- tccli/services/wedata/wedata_client.py +277 -12
- {tccli-3.0.1311.1.dist-info → tccli-3.0.1313.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1311.1.dist-info → tccli-3.0.1313.1.dist-info}/RECORD +64 -64
- {tccli-3.0.1311.1.dist-info → tccli-3.0.1313.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1311.1.dist-info → tccli-3.0.1313.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1311.1.dist-info → tccli-3.0.1313.1.dist-info}/license_files/LICENSE +0 -0
@@ -55,7 +55,7 @@
|
|
55
55
|
"CreateAutoScalingGroup": [
|
56
56
|
{
|
57
57
|
"document": "创建伸缩组,VPC网络,配置7层负载均衡器",
|
58
|
-
"input": "POST / HTTP/1.1\nHost: as.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateAutoScalingGroup\n<公共请求参数>\n\n{\n \"VpcId\": \"vpc-hy436tmc\",\n \"DesiredCapacity\":
|
58
|
+
"input": "POST / HTTP/1.1\nHost: as.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateAutoScalingGroup\n<公共请求参数>\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
60
|
"title": "创建伸缩组"
|
61
61
|
}
|
@@ -97,7 +97,7 @@
|
|
97
97
|
"CreateLifecycleHook": [
|
98
98
|
{
|
99
99
|
"document": "创建生命周期挂钩,在实例创建场景下生效,DefaultResult设置为ABANDON,HeartbeatTimeout设置为360秒。",
|
100
|
-
"input": "POST / HTTP/1.1\nHost: as.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateLifecycleHook\n<公共请求参数>\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<公共请求参数>\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": "创建生命周期挂钩"
|
103
103
|
},
|
@@ -109,19 +109,19 @@
|
|
109
109
|
},
|
110
110
|
{
|
111
111
|
"document": "创建生命周期挂钩,在实例销毁场景下生效,DefaultResult设置为ABANDON,HeartbeatTimeout设置为120秒,通知名为“one-topic”的TDMQ主题模型。",
|
112
|
-
"input": "POST / HTTP/1.1\nHost: as.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateLifecycleHook\n<公共请求参数>\n\n{\n \"HeartbeatTimeout\":
|
112
|
+
"input": "POST / HTTP/1.1\nHost: as.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateLifecycleHook\n<公共请求参数>\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": "创建生命周期挂钩,通知TDMQ主题模型"
|
115
115
|
},
|
116
116
|
{
|
117
117
|
"document": "创建生命周期挂钩,在实例创建场景下生效,DefaultResult设置为CONTINUE,HeartbeatTimeout设置为120秒,通知名为“one-queue”的TDMQ队列模型。",
|
118
|
-
"input": "POST / HTTP/1.1\nHost: as.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateLifecycleHook\n<公共请求参数>\n\n{\n \"HeartbeatTimeout\":
|
118
|
+
"input": "POST / HTTP/1.1\nHost: as.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateLifecycleHook\n<公共请求参数>\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": "创建生命周期挂钩,通知TDMQ队列模型"
|
121
121
|
},
|
122
122
|
{
|
123
123
|
"document": "",
|
124
|
-
"input": "POST / HTTP/1.1\nHost: as.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateLifecycleHook\n<公共请求参数>\n\n{\n \"HeartbeatTimeout\":
|
124
|
+
"input": "POST / HTTP/1.1\nHost: as.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateLifecycleHook\n<公共请求参数>\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": "创建执行自动化助手命令的生命周期挂钩"
|
127
127
|
}
|
@@ -143,13 +143,13 @@
|
|
143
143
|
"CreateScalingPolicy": [
|
144
144
|
{
|
145
145
|
"document": "1分钟内,CPU平均利用率大于50%,连续发生5次,期望实例数增加1。",
|
146
|
-
"input": "POST / HTTP/1.1\nHost: as.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateScalingPolicy\n<公共请求参数>\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<公共请求参数>\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": "创建简单策略: CPU 平均利用率"
|
149
149
|
},
|
150
150
|
{
|
151
151
|
"document": "1分钟内,内存平均利用率小于35%,连续发生5次,减少50%实例。",
|
152
|
-
"input": "POST / HTTP/1.1\nHost: as.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateScalingPolicy\n<公共请求参数>\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<公共请求参数>\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": "创建简单策略:内存平均利用率"
|
155
155
|
},
|
@@ -264,13 +264,13 @@
|
|
264
264
|
{
|
265
265
|
"document": "指定伸缩组ID查询伸缩组",
|
266
266
|
"input": "POST / HTTP/1.1\nHost: as.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAutoScalingGroups\n<公共请求参数>\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": "查询伸缩组"
|
269
269
|
},
|
270
270
|
{
|
271
271
|
"document": "查询绑定了标签键值对(city:shenzhen)的伸缩组。",
|
272
272
|
"input": "POST / HTTP/1.1\nHost: as.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAutoScalingGroups\n<公共请求参数>\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": "查询绑定了标签的伸缩组"
|
275
275
|
}
|
276
276
|
],
|
@@ -427,7 +427,7 @@
|
|
427
427
|
"ModifyDesiredCapacity": [
|
428
428
|
{
|
429
429
|
"document": "",
|
430
|
-
"input": "POST / HTTP/1.1\nHost: as.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyDesiredCapacity\n<公共请求参数>\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<公共请求参数>\n\n{\n \"AutoScalingGroupId\": \"asg-nvnlpbb8\",\n \"DesiredCapacity\": 2\n}",
|
431
431
|
"output": "{\n \"Response\": {\n \"RequestId\": \"2f7c0f11-edfd-4598-a5f6-fb5c10cc9d8e\"\n }\n}",
|
432
432
|
"title": "修改伸缩组期望实例数"
|
433
433
|
}
|
@@ -457,7 +457,7 @@
|
|
457
457
|
"ModifyLoadBalancerTargetAttributes": [
|
458
458
|
{
|
459
459
|
"document": "",
|
460
|
-
"input": "POST / HTTP/1.1\nHost: as.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyLoadBalancerTargetAttributes\n<公共请求参数>\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<公共请求参数>\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}",
|
461
461
|
"output": "{\n \"Response\": {\n \"ActivityId\": \"asa-9asddelc\",\n \"RequestId\": \"8d78668d-61eb-456d-855b-f34f91371089\"\n }\n}",
|
462
462
|
"title": "修改应用型负载均衡器lb-23aejgcv(监听器为lbl-ncw704sn,转发路径为loc-l3hmaev9)的目标规则属性,将端口修改为8080,权重修改为20。"
|
463
463
|
}
|
@@ -477,7 +477,7 @@
|
|
477
477
|
},
|
478
478
|
{
|
479
479
|
"document": "",
|
480
|
-
"input": "POST / HTTP/1.1\nHost: as.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyLoadBalancers\n<公共请求参数>\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<公共请求参数>\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}",
|
481
481
|
"output": "{\n \"Response\": {\n \"ActivityId\": \"asa-9asddelc\",\n \"RequestId\": \"8d78668d-61eb-456d-855b-f34f91371089\"\n }\n}",
|
482
482
|
"title": "将伸缩组的负载均衡器修改为应用型负载均衡器lb-23aejgcv,监听器为lbl-ncw704sn"
|
483
483
|
}
|
@@ -493,7 +493,7 @@
|
|
493
493
|
"ModifyScalingPolicy": [
|
494
494
|
{
|
495
495
|
"document": "指定策略ID,修改简单策略相关属性。",
|
496
|
-
"input": "POST / HTTP/1.1\nHost: as.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyScalingPolicy\n<公共请求参数>\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<公共请求参数>\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}",
|
497
497
|
"output": "{\n \"Response\": {\n \"RequestId\": \"91413a64-9587-486b-aef4-9aba5e8a0068\"\n }\n}",
|
498
498
|
"title": "修改简单类型告警触发策略"
|
499
499
|
},
|