tccli 3.0.1241.1__py2.py3-none-any.whl → 3.0.1243.1__py2.py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (86) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/apm/v20210622/api.json +216 -216
  3. tccli/services/apm/v20210622/examples.json +5 -5
  4. tccli/services/bh/v20230418/api.json +9 -0
  5. tccli/services/bh/v20230418/examples.json +2 -2
  6. tccli/services/cfs/v20190719/api.json +20 -20
  7. tccli/services/cfs/v20190719/examples.json +7 -7
  8. tccli/services/ckafka/v20190819/api.json +38 -0
  9. tccli/services/clb/v20180317/api.json +107 -82
  10. tccli/services/clb/v20180317/examples.json +14 -14
  11. tccli/services/cls/cls_client.py +220 -8
  12. tccli/services/cls/v20201016/api.json +417 -39
  13. tccli/services/cls/v20201016/examples.json +89 -45
  14. tccli/services/cwp/v20180228/api.json +3 -3
  15. tccli/services/cwp/v20180228/examples.json +2 -2
  16. tccli/services/cynosdb/v20190107/api.json +18 -18
  17. tccli/services/dbbrain/v20210527/api.json +1 -1
  18. tccli/services/dnspod/v20210323/api.json +173 -119
  19. tccli/services/dnspod/v20210323/examples.json +18 -18
  20. tccli/services/ecm/v20190719/api.json +11 -11
  21. tccli/services/ecm/v20190719/examples.json +1 -1
  22. tccli/services/emr/v20190103/api.json +896 -841
  23. tccli/services/ess/v20201111/api.json +18 -9
  24. tccli/services/ess/v20201111/examples.json +6 -0
  25. tccli/services/essbasic/v20210526/api.json +80 -2
  26. tccli/services/gaap/v20180529/api.json +16 -18
  27. tccli/services/goosefs/v20220519/api.json +17 -17
  28. tccli/services/goosefs/v20220519/examples.json +4 -4
  29. tccli/services/gwlb/v20240906/api.json +14 -14
  30. tccli/services/hunyuan/v20230901/api.json +1 -1
  31. tccli/services/iotexplorer/v20190423/api.json +1 -1
  32. tccli/services/iotvideoindustry/v20201201/api.json +244 -192
  33. tccli/services/iotvideoindustry/v20201201/examples.json +32 -32
  34. tccli/services/live/v20180801/api.json +1 -1
  35. tccli/services/mna/v20210119/api.json +110 -109
  36. tccli/services/mna/v20210119/examples.json +63 -63
  37. tccli/services/mps/v20190612/api.json +9 -0
  38. tccli/services/ocr/ocr_client.py +110 -4
  39. tccli/services/ocr/v20181119/api.json +370 -7
  40. tccli/services/ocr/v20181119/examples.json +20 -4
  41. tccli/services/pts/v20210728/api.json +37 -34
  42. tccli/services/pts/v20210728/examples.json +13 -13
  43. tccli/services/sqlserver/v20180328/api.json +68 -6
  44. tccli/services/ssl/v20191205/api.json +52 -50
  45. tccli/services/ssl/v20191205/examples.json +7 -7
  46. tccli/services/tbaas/v20180416/api.json +9 -6
  47. tccli/services/tbaas/v20180416/examples.json +2 -2
  48. tccli/services/tcb/v20180608/api.json +270 -221
  49. tccli/services/tcb/v20180608/examples.json +22 -22
  50. tccli/services/tcm/v20210413/api.json +2 -2
  51. tccli/services/tcm/v20210413/examples.json +2 -2
  52. tccli/services/tcr/v20190924/api.json +8 -8
  53. tccli/services/tcr/v20190924/examples.json +4 -4
  54. tccli/services/tdmq/tdmq_client.py +167 -8
  55. tccli/services/tdmq/v20200217/api.json +307 -0
  56. tccli/services/tdmq/v20200217/examples.json +24 -0
  57. tccli/services/tem/v20210701/api.json +1 -1
  58. tccli/services/tem/v20210701/examples.json +2 -2
  59. tccli/services/teo/v20220901/api.json +2 -2
  60. tccli/services/teo/v20220901/examples.json +3 -3
  61. tccli/services/thpc/v20211109/api.json +74 -100
  62. tccli/services/thpc/v20211109/examples.json +2 -2
  63. tccli/services/thpc/v20220401/api.json +196 -223
  64. tccli/services/thpc/v20220401/examples.json +1 -1
  65. tccli/services/thpc/v20230321/api.json +150 -153
  66. tccli/services/thpc/v20230321/examples.json +3 -3
  67. tccli/services/tke/v20180525/api.json +1 -1
  68. tccli/services/tke/v20180525/examples.json +2 -2
  69. tccli/services/tke/v20220501/api.json +161 -112
  70. tccli/services/tke/v20220501/examples.json +15 -21
  71. tccli/services/trocket/trocket_client.py +53 -0
  72. tccli/services/trocket/v20230308/api.json +219 -0
  73. tccli/services/trocket/v20230308/examples.json +8 -0
  74. tccli/services/trtc/v20190722/api.json +31 -20
  75. tccli/services/trtc/v20190722/examples.json +11 -11
  76. tccli/services/tse/v20201207/api.json +141 -113
  77. tccli/services/tse/v20201207/examples.json +5 -5
  78. tccli/services/tsf/v20180326/examples.json +1 -1
  79. tccli/services/vpc/v20170312/api.json +320 -270
  80. tccli/services/vpc/v20170312/examples.json +40 -40
  81. tccli/services/waf/v20180125/api.json +2 -2
  82. {tccli-3.0.1241.1.dist-info → tccli-3.0.1243.1.dist-info}/METADATA +2 -2
  83. {tccli-3.0.1241.1.dist-info → tccli-3.0.1243.1.dist-info}/RECORD +86 -86
  84. {tccli-3.0.1241.1.dist-info → tccli-3.0.1243.1.dist-info}/WHEEL +0 -0
  85. {tccli-3.0.1241.1.dist-info → tccli-3.0.1243.1.dist-info}/entry_points.txt +0 -0
  86. {tccli-3.0.1241.1.dist-info → tccli-3.0.1243.1.dist-info}/license_files/LICENSE +0 -0
@@ -1092,7 +1092,7 @@
1092
1092
  {
1093
1093
  "disabled": false,
1094
1094
  "document": "场景名称",
1095
- "example": "xx",
1095
+ "example": "scenario name",
1096
1096
  "member": "string",
1097
1097
  "name": "ScenarioName",
1098
1098
  "required": true,
@@ -1326,7 +1326,7 @@
1326
1326
  {
1327
1327
  "disabled": false,
1328
1328
  "document": "项目名",
1329
- "example": "test",
1329
+ "example": "project name",
1330
1330
  "member": "string",
1331
1331
  "name": "Name",
1332
1332
  "required": true,
@@ -1534,7 +1534,7 @@
1534
1534
  {
1535
1535
  "disabled": false,
1536
1536
  "document": "创建人名",
1537
- "example": "",
1537
+ "example": "owner-name",
1538
1538
  "member": "string",
1539
1539
  "name": "Owner",
1540
1540
  "required": false,
@@ -2420,7 +2420,7 @@
2420
2420
  {
2421
2421
  "disabled": false,
2422
2422
  "document": "任务ID",
2423
- "example": "\"123\"",
2423
+ "example": "job-1a2b3c4d",
2424
2424
  "member": "string",
2425
2425
  "name": "JobId",
2426
2426
  "required": true,
@@ -2429,7 +2429,7 @@
2429
2429
  {
2430
2430
  "disabled": false,
2431
2431
  "document": "场景ID",
2432
- "example": "\"123\"",
2432
+ "example": "scenario-1a2b3c4d",
2433
2433
  "member": "string",
2434
2434
  "name": "ScenarioId",
2435
2435
  "required": true,
@@ -2438,7 +2438,7 @@
2438
2438
  {
2439
2439
  "disabled": false,
2440
2440
  "document": "项目ID",
2441
- "example": "project-xx",
2441
+ "example": "project-1a2b3c4d",
2442
2442
  "member": "string",
2443
2443
  "name": "ProjectId",
2444
2444
  "required": true,
@@ -2456,7 +2456,7 @@
2456
2456
  "example": "无",
2457
2457
  "member": "CheckSummary",
2458
2458
  "name": "CheckSummarySet",
2459
- "required": true,
2459
+ "output_required": true,
2460
2460
  "type": "list",
2461
2461
  "value_allowed_null": true
2462
2462
  },
@@ -2511,7 +2511,7 @@
2511
2511
  {
2512
2512
  "disabled": false,
2513
2513
  "document": "定时任务名字,模糊查询",
2514
- "example": "test",
2514
+ "example": "cron-name",
2515
2515
  "member": "string",
2516
2516
  "name": "CronJobName",
2517
2517
  "required": false,
@@ -2556,7 +2556,7 @@
2556
2556
  "example": "10",
2557
2557
  "member": "int64",
2558
2558
  "name": "Total",
2559
- "required": true,
2559
+ "output_required": true,
2560
2560
  "type": "int",
2561
2561
  "value_allowed_null": false
2562
2562
  },
@@ -2566,7 +2566,7 @@
2566
2566
  "example": "无",
2567
2567
  "member": "CronJob",
2568
2568
  "name": "CronJobSet",
2569
- "required": true,
2569
+ "output_required": true,
2570
2570
  "type": "list",
2571
2571
  "value_allowed_null": true
2572
2572
  },
@@ -2602,7 +2602,7 @@
2602
2602
  {
2603
2603
  "disabled": false,
2604
2604
  "document": "任务ID",
2605
- "example": "\"123\"",
2605
+ "example": "job-1a2b3c4d",
2606
2606
  "member": "string",
2607
2607
  "name": "JobId",
2608
2608
  "required": true,
@@ -2611,7 +2611,7 @@
2611
2611
  {
2612
2612
  "disabled": false,
2613
2613
  "document": "场景ID",
2614
- "example": "\"123\"",
2614
+ "example": "scenario-1a2b3c4d",
2615
2615
  "member": "string",
2616
2616
  "name": "ScenarioId",
2617
2617
  "required": true,
@@ -2620,7 +2620,7 @@
2620
2620
  {
2621
2621
  "disabled": false,
2622
2622
  "document": "项目ID",
2623
- "example": "\"project-xx\"",
2623
+ "example": "project-1a2b3c4d",
2624
2624
  "member": "string",
2625
2625
  "name": "ProjectId",
2626
2626
  "required": true,
@@ -2647,6 +2647,7 @@
2647
2647
  "example": "无",
2648
2648
  "member": "ErrorSummary",
2649
2649
  "name": "ErrorSummarySet",
2650
+ "output_required": true,
2650
2651
  "type": "list",
2651
2652
  "value_allowed_null": true
2652
2653
  },
@@ -2894,7 +2895,7 @@
2894
2895
  {
2895
2896
  "disabled": false,
2896
2897
  "document": "任务ID",
2897
- "example": "\"123\"",
2898
+ "example": "job-1a2b3c4d",
2898
2899
  "member": "string",
2899
2900
  "name": "JobId",
2900
2901
  "required": true,
@@ -2903,7 +2904,7 @@
2903
2904
  {
2904
2905
  "disabled": false,
2905
2906
  "document": "场景ID",
2906
- "example": "\"123\"",
2907
+ "example": "scenario-1a2b3c4d",
2907
2908
  "member": "string",
2908
2909
  "name": "ScenarioId",
2909
2910
  "required": true,
@@ -2930,7 +2931,7 @@
2930
2931
  {
2931
2932
  "disabled": false,
2932
2933
  "document": "项目ID",
2933
- "example": "project-xx",
2934
+ "example": "project-1a2b3c4d",
2934
2935
  "member": "string",
2935
2936
  "name": "ProjectId",
2936
2937
  "required": true,
@@ -2945,7 +2946,7 @@
2945
2946
  {
2946
2947
  "disabled": false,
2947
2948
  "document": "标签值数组\n注意:此字段可能返回 null,表示取不到有效值。",
2948
- "example": "",
2949
+ "example": "[\"http://url1\", \"http://url2\"]",
2949
2950
  "member": "string",
2950
2951
  "name": "LabelValueSet",
2951
2952
  "output_required": true,
@@ -3648,7 +3649,7 @@
3648
3649
  "example": "无",
3649
3650
  "member": "CustomSampleMatrix",
3650
3651
  "name": "MetricSampleMatrixSet",
3651
- "required": true,
3652
+ "output_required": true,
3652
3653
  "type": "list",
3653
3654
  "value_allowed_null": true
3654
3655
  },
@@ -3720,8 +3721,8 @@
3720
3721
  },
3721
3722
  {
3722
3723
  "disabled": false,
3723
- "document": "分组",
3724
- "example": "",
3724
+ "document": "分组;取值范围参见 DescribeMetricLabelWithValues 接口返回的指标及其支持的标签名",
3725
+ "example": "[\"service\", \"result\", \"status\"]]",
3725
3726
  "member": "string",
3726
3727
  "name": "GroupBy",
3727
3728
  "required": false,
@@ -3758,7 +3759,7 @@
3758
3759
  {
3759
3760
  "disabled": false,
3760
3761
  "document": "job id",
3761
- "example": "\"123\"",
3762
+ "example": "job-1a2b3c4d",
3762
3763
  "member": "string",
3763
3764
  "name": "JobId",
3764
3765
  "required": true,
@@ -3767,7 +3768,7 @@
3767
3768
  {
3768
3769
  "disabled": false,
3769
3770
  "document": "场景Id",
3770
- "example": "\"123\"",
3771
+ "example": "scenario-1a2b3c4d",
3771
3772
  "member": "string",
3772
3773
  "name": "ScenarioId",
3773
3774
  "required": true,
@@ -3876,7 +3877,7 @@
3876
3877
  {
3877
3878
  "disabled": false,
3878
3879
  "document": "场景名",
3879
- "example": "test",
3880
+ "example": "scenario name",
3880
3881
  "member": "string",
3881
3882
  "name": "ScenarioName",
3882
3883
  "required": false,
@@ -3948,7 +3949,7 @@
3948
3949
  {
3949
3950
  "disabled": false,
3950
3951
  "document": "创建人员",
3951
- "example": "",
3952
+ "example": "owner",
3952
3953
  "member": "string",
3953
3954
  "name": "Owner",
3954
3955
  "required": false,
@@ -3966,6 +3967,7 @@
3966
3967
  "example": "无",
3967
3968
  "member": "ScenarioWithJobs",
3968
3969
  "name": "ScenarioWithJobsSet",
3970
+ "output_required": true,
3969
3971
  "type": "list",
3970
3972
  "value_allowed_null": true
3971
3973
  },
@@ -3975,6 +3977,7 @@
3975
3977
  "example": "3",
3976
3978
  "member": "int64",
3977
3979
  "name": "Total",
3980
+ "output_required": true,
3978
3981
  "type": "int",
3979
3982
  "value_allowed_null": false
3980
3983
  },
@@ -4002,7 +4005,7 @@
4002
4005
  {
4003
4006
  "disabled": false,
4004
4007
  "document": "场景名",
4005
- "example": "test",
4008
+ "example": "scenario-name",
4006
4009
  "member": "string",
4007
4010
  "name": "ScenarioName",
4008
4011
  "required": false,
@@ -4083,7 +4086,7 @@
4083
4086
  "example": "无",
4084
4087
  "member": "Scenario",
4085
4088
  "name": "ScenarioSet",
4086
- "required": true,
4089
+ "output_required": true,
4087
4090
  "type": "list",
4088
4091
  "value_allowed_null": true
4089
4092
  },
@@ -4093,7 +4096,7 @@
4093
4096
  "example": "3",
4094
4097
  "member": "int64",
4095
4098
  "name": "Total",
4096
- "required": true,
4099
+ "output_required": true,
4097
4100
  "type": "int",
4098
4101
  "value_allowed_null": false
4099
4102
  },
@@ -7077,7 +7080,7 @@
7077
7080
  {
7078
7081
  "disabled": false,
7079
7082
  "document": "场景名称",
7080
- "example": "xx",
7083
+ "example": "scenario name",
7081
7084
  "member": "string",
7082
7085
  "name": "ScenarioName",
7083
7086
  "required": true,
@@ -7256,7 +7259,7 @@
7256
7259
  {
7257
7260
  "disabled": false,
7258
7261
  "document": "项目名",
7259
- "example": "test",
7262
+ "example": "project name",
7260
7263
  "member": "string",
7261
7264
  "name": "Name",
7262
7265
  "required": false,
@@ -7310,7 +7313,7 @@
7310
7313
  {
7311
7314
  "disabled": false,
7312
7315
  "document": "场景ID",
7313
- "example": "scenario-xx",
7316
+ "example": "scenario-1a2b3c4d",
7314
7317
  "member": "string",
7315
7318
  "name": "ScenarioId",
7316
7319
  "required": true,
@@ -7391,7 +7394,7 @@
7391
7394
  {
7392
7395
  "disabled": false,
7393
7396
  "document": "SLA规则ID",
7394
- "example": "sla-xx",
7397
+ "example": "sla-1a2b3c4d",
7395
7398
  "member": "string",
7396
7399
  "name": "SLAId",
7397
7400
  "required": false,
@@ -7400,7 +7403,7 @@
7400
7403
  {
7401
7404
  "disabled": false,
7402
7405
  "document": "cron job ID",
7403
- "example": "cron-xx",
7406
+ "example": "cron-1a2b3c4d",
7404
7407
  "member": "string",
7405
7408
  "name": "CronId",
7406
7409
  "required": false,
@@ -7418,7 +7421,7 @@
7418
7421
  {
7419
7422
  "disabled": false,
7420
7423
  "document": "项目ID",
7421
- "example": "project-xx",
7424
+ "example": "project-1a2b3c4d",
7422
7425
  "member": "string",
7423
7426
  "name": "ProjectId",
7424
7427
  "required": false,
@@ -7499,7 +7502,7 @@
7499
7502
  {
7500
7503
  "disabled": false,
7501
7504
  "document": "环境ID",
7502
- "example": "",
7505
+ "example": "env-1a2b3c4d",
7503
7506
  "member": "string",
7504
7507
  "name": "EnvId",
7505
7508
  "required": false,
@@ -75,8 +75,8 @@
75
75
  "CreateScenario": [
76
76
  {
77
77
  "document": "创建场景",
78
- "input": "POST / HTTP/1.1\nHost: pts.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateScenario\n<公共请求参数>\n\n{\n \"Load\": {\n \"VpcLoadDistribution\": {\n \"VpcId\": \"abc\",\n \"Region\": \"ap-guangzhou\",\n \"RegionId\": 1\n },\n \"GeoRegionsLoadDistribution\": [\n {\n \"Region\": \"ap-guangzhou\",\n \"RegionId\": 1,\n \"Percentage\": 30\n },\n {\n \"Region\": \"ap-shanghai\",\n \"RegionId\": 5,\n \"Percentage\": 70\n }\n ],\n \"LoadSpec\": {\n \"Concurrency\": {\n \"MaxRequestsPerSecond\": 1000,\n \"Stages\": [\n {\n \"DurationSeconds\": 60,\n \"TargetVirtualUsers\": 1000\n }\n ],\n \"IterationCount\": 5\n }\n }\n },\n \"Datasets\": [\n {\n \"HeaderInFile\": true,\n \"Name\": \"data.csv\",\n \"LineCount\": 300,\n \"Split\": true,\n \"UpdatedAt\": \"2020-09-22T00:00:00+00:00\",\n \"HeaderColumns\": [\n \"a1\"\n ],\n \"Size\": 3000\n }\n ],\n \"Name\": \"scenario-a\",\n \"ProjectId\": \"project-a\",\n \"Scripts\": [\n \"b.js\"\n ],\n \"Configs\": [\n \"c.prop\"\n ],\n \"Type\": \"pts-js\",\n \"Description\": \"Description\"\n}",
79
- "output": "{\n \"Response\": {\n \"RequestId\": \"31446d02-c4f3-4a53-9efe-b5ad18cfcb7f\",\n \"ScenarioId\": \"scenario-a\"\n }\n}",
78
+ "input": "POST / HTTP/1.1\nHost: pts.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateScenario\n<公共请求参数>\n\n{\n \"Load\": {\n \"GeoRegionsLoadDistribution\": [\n {\n \"Region\": \"ap-guangzhou\",\n \"RegionId\": 1,\n \"Percentage\": 30\n },\n {\n \"Region\": \"ap-shanghai\",\n \"RegionId\": 5,\n \"Percentage\": 70\n }\n ],\n \"LoadSpec\": {\n \"Concurrency\": {\n \"Stages\": [\n {\n \"DurationSeconds\": 60,\n \"TargetVirtualUsers\": 1000\n }\n ]\n }\n }\n },\n \"Name\": \"name\",\n \"ProjectId\": \"project-1a2b3c4d\",\n \"Type\": \"pts-js\"\n}",
79
+ "output": "{\n \"Response\": {\n \"RequestId\": \"abc-123-xyz\",\n \"ScenarioId\": \"scenario-1a2b3c4d\"\n }\n}",
80
80
  "title": "创建场景"
81
81
  }
82
82
  ],
@@ -163,8 +163,8 @@
163
163
  "DescribeCheckSummary": [
164
164
  {
165
165
  "document": "",
166
- "input": "POST / HTTP/1.1\nHost: pts.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeCheckSummary\n<公共请求参数>\n\n{\n \"ProjectId\": \"xx\",\n \"ScenarioId\": \"xx\",\n \"JobId\": \"xx\"\n}",
167
- "output": "{\n \"Response\": {\n \"CheckSummarySet\": [\n {\n \"Name\": \"400\",\n \"Step\": \"sample\",\n \"SuccessCount\": 0,\n \"FailCount\": 92343,\n \"ErrorRate\": 1\n },\n {\n \"Name\": \"status 200\",\n \"Step\": \"sample\",\n \"SuccessCount\": 831084,\n \"FailCount\": 0,\n \"ErrorRate\": 0\n }\n ],\n \"RequestId\": \"xx\"\n }\n}",
166
+ "input": "POST / HTTP/1.1\nHost: pts.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeCheckSummary\n<公共请求参数>\n\n{\n \"ProjectId\": \"project-1a2b3c4d\",\n \"ScenarioId\": \"scenario-1a2b3c4d\",\n \"JobId\": \"job-1a2b3c4d\"\n}",
167
+ "output": "{\n \"Response\": {\n \"CheckSummarySet\": [\n {\n \"Name\": \"400\",\n \"Step\": \"sample\",\n \"SuccessCount\": 0,\n \"FailCount\": 92343,\n \"ErrorRate\": 1\n },\n {\n \"Name\": \"status 200\",\n \"Step\": \"sample\",\n \"SuccessCount\": 831084,\n \"FailCount\": 0,\n \"ErrorRate\": 0\n }\n ],\n \"RequestId\": \"abc-123-xyz\"\n }\n}",
168
168
  "title": "查询检查点汇总信息"
169
169
  }
170
170
  ],
@@ -172,7 +172,7 @@
172
172
  {
173
173
  "document": "列出定时任务,数组为空默认全选",
174
174
  "input": "POST / HTTP/1.1\nHost: pts.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeCronJobs\n<公共请求参数>\n\n{\n \"ProjectIds\": [\n \"project-xx\"\n ],\n \"CronJobIds\": [\n \"cron-xx\"\n ],\n \"OrderBy\": \"Status\",\n \"Limit\": 10,\n \"Ascend\": true\n}",
175
- "output": "{\n \"Response\": {\n \"RequestId\": \"xx\",\n \"CronJobSet\": [\n {\n \"CreatedAt\": \"2021-09-27T10:46:26+08:00\",\n \"UpdatedAt\": \"2021-09-27T10:46:26+08:00\",\n \"CronJobId\": \"cron-xx\",\n \"Name\": \"hello\",\n \"Status\": 2,\n \"ProjectId\": \"1\"\n }\n ],\n \"Total\": 1\n }\n}",
175
+ "output": "{\n \"Response\": {\n \"RequestId\": \"abc-123-xyz\",\n \"CronJobSet\": [\n {\n \"AppId\": 1258300000,\n \"Uin\": \"438100000\",\n \"SubAccountUin\": \"100026600000\",\n \"CreatedAt\": \"2021-09-27T10:46:26+08:00\",\n \"UpdatedAt\": \"2021-09-27T10:46:26+08:00\",\n \"CronJobId\": \"cron-pybdiltm\",\n \"Name\": \"name\",\n \"ProjectId\": \"project-1a2b3c4d\",\n \"ScenarioId\": \"scenario-1a2b3c4d\",\n \"ScenarioName\": \"name\",\n \"CronExpression\": \"6 16 * * 1,2,3,4,5,6,7\",\n \"FrequencyType\": 3,\n \"EndTime\": null,\n \"AbortReason\": 0,\n \"Status\": 3,\n \"NoticeId\": \"\",\n \"Note\": \"\",\n \"JobOwner\": \"owner\"\n }\n ],\n \"Total\": 1\n }\n}",
176
176
  "title": "DescribeCronJobs"
177
177
  }
178
178
  ],
@@ -188,7 +188,7 @@
188
188
  {
189
189
  "document": "查询错误汇总信息",
190
190
  "input": "POST / HTTP/1.1\nHost: pts.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeErrorSummary\n<公共请求参数>\n\n{\n \"ProjectId\": \"project-xx\",\n \"JobId\": \"job-xx\",\n \"ScenarioId\": \"scenario-xx\",\n \"Filters\": []\n}",
191
- "output": "{\n \"Response\": {\n \"RequestId\": \"abc\",\n \"ErrorSummarySet\": [\n {\n \"Status\": \"200\",\n \"Result\": \"200 OK\",\n \"Count\": 1000,\n \"Rate\": 1.2,\n \"Message\": \"成功\"\n }\n ]\n }\n}",
191
+ "output": "{\n \"Response\": {\n \"RequestId\": \"abc-123-xyz\",\n \"ErrorSummarySet\": [\n {\n \"Status\": \"404\",\n \"Result\": \"404 Not Found\",\n \"Proto\": \"HTTP/1.1\",\n \"Count\": 17,\n \"Rate\": 47.22222222222222,\n \"Message\": \"该状态码表明,服务器找不到客户端请求的资源\"\n }\n ]\n }\n}",
192
192
  "title": "查询错误汇总信息"
193
193
  }
194
194
  ],
@@ -276,7 +276,7 @@
276
276
  {
277
277
  "document": "",
278
278
  "input": "POST / HTTP/1.1\nHost: pts.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeSampleMatrixBatchQuery\n<公共请求参数>\n\n{\n \"JobId\": \"job-6pmj0oae\",\n \"ScenarioId\": \"scenario-oienak6y\",\n \"Queries\": [\n {\n \"Metric\": \"pts_engine_req_duration_seconds\",\n \"Aggregation\": \"P50\"\n }\n ],\n \"ProjectId\": \"project-m51m6h0a\"\n}",
279
- "output": "{\n \"Response\": {\n \"MetricSampleMatrixSet\": [\n {\n \"Metric\": \"pts_engine_req_duration_seconds\",\n \"Aggregation\": \"P50\",\n \"Unit\": \"s\",\n \"Streams\": [\n {\n \"Name\": \"响应时间P50\",\n \"Labels\": null,\n \"Values\": [\n {\n \"Timestamp\": 1650517296000,\n \"Value\": 0.032142349260523326\n },\n {\n \"Timestamp\": 1650517344000,\n \"Value\": 0.025\n },\n {\n \"Timestamp\": 1650518490000,\n \"Value\": 0.05\n }\n ]\n }\n ]\n }\n ],\n \"RequestId\": \"xx\"\n }\n}",
279
+ "output": "{\n \"Response\": {\n \"MetricSampleMatrixSet\": [\n {\n \"Metric\": \"pts_engine_req_duration_seconds\",\n \"Aggregation\": \"P50\",\n \"Unit\": \"s\",\n \"Streams\": [\n {\n \"Name\": \"响应时间P50\",\n \"Labels\": null,\n \"Values\": [\n {\n \"Timestamp\": 1650517296000,\n \"Value\": 0.032142349260523326\n },\n {\n \"Timestamp\": 1650517344000,\n \"Value\": 0.025\n },\n {\n \"Timestamp\": 1650518490000,\n \"Value\": 0.05\n }\n ]\n }\n ]\n }\n ],\n \"RequestId\": \"abc-123-xyz\"\n }\n}",
280
280
  "title": "DescribeSampleMatrixBatchQuery"
281
281
  }
282
282
  ],
@@ -299,8 +299,8 @@
299
299
  "DescribeScenarioWithJobs": [
300
300
  {
301
301
  "document": "查询场景及对应的job内容",
302
- "input": "POST / HTTP/1.1\nHost: pts.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeScenarioWithJobs\n<公共请求参数>\n\n{\n \"ScenarioIds\": [\n \"scenario-44dlxys2\"\n ],\n \"ScenarioRelatedJobsParams\": {\n \"OrderBy\": \"StartTime\",\n \"Limit\": 10,\n \"Ascend\": true\n }\n}",
303
- "output": "{\n \"Response\": {\n \"RequestId\": \"xx\",\n \"ScenarioWithJobsSet\": [\n {\n \"Scenario\": {\n \"AppId\": 251201585,\n \"Uin\": \"700000153395\",\n \"SubAccountUin\": \"700000153395\",\n \"CreatedAt\": \"2021-09-27T10:46:26+08:00\",\n \"UpdatedAt\": \"2021-09-27T10:46:26+08:00\",\n \"ScenarioId\": \"scenario-44dlxys2\",\n \"Name\": \"hello\",\n \"Type\": \"pts-js\",\n \"Load\": {\n \"LoadSpec\": {\n \"Concurrency\": {\n \"Stages\": [\n {\n \"DurationSeconds\": 60,\n \"TargetVirtualUsers\": 10\n }\n ],\n \"IterationCount\": 5,\n \"MaxRequestsPerSecond\": 1000\n }\n },\n \"VpcLoadDistribution\": {\n \"Region\": \"ap-guangzhou\",\n \"RegionId\": 1,\n \"VpcId\": \"1\",\n \"SubnetIds\": null\n },\n \"GeoRegionsLoadDistribution\": [\n {\n \"Region\": \"1\",\n \"RegionId\": 1,\n \"Percentage\": 1\n }\n ]\n },\n \"EncodedScripts\": \"\",\n \"Description\": \"this is a test\",\n \"Status\": 2,\n \"Configs\": [\n \"a.prop\"\n ],\n \"Datasets\": [\n {\n \"Name\": \"a.csv\",\n \"UpdatedAt\": null,\n \"Size\": 0,\n \"LineCount\": 5,\n \"HeaderInFile\": true,\n \"Split\": true,\n \"HeaderColumns\": null\n }\n ],\n \"Extensions\": [\n \"a.jar\"\n ],\n \"ProjectId\": \"1\",\n \"SLAId\": \"\",\n \"CronId\": \"\"\n },\n \"Jobs\": [\n {\n \"ErrorRate\": 0,\n \"RequestTotal\": 0,\n \"ResponseTimeAverage\": 0,\n \"ResponseTimeP99\": 0,\n \"ResponseTimeP95\": 0,\n \"ResponseTimeP90\": 0,\n \"JobId\": \"job-j4j0t76k\",\n \"ScenarioId\": \"scenario-44dlxys2\",\n \"Type\": \"pts-js\",\n \"Load\": {\n \"LoadSpec\": {\n \"Concurrency\": {\n \"Stages\": [\n {\n \"DurationSeconds\": 60,\n \"TargetVirtualUsers\": 10\n }\n ],\n \"IterationCount\": 5,\n \"MaxRequestsPerSecond\": 1000\n }\n },\n \"VpcLoadDistribution\": {\n \"Region\": \"ap-guangzhou\",\n \"RegionId\": 1,\n \"VpcId\": \"1\",\n \"SubnetIds\": null\n },\n \"GeoRegionsLoadDistribution\": [\n {\n \"Region\": \"1\",\n \"RegionId\": 1,\n \"Percentage\": 1\n }\n ]\n },\n \"Scripts\": [\n \"a.js\"\n ],\n \"Configs\": [\n \"a.prop\"\n ],\n \"Datasets\": [\n {\n \"Name\": \"a.csv\",\n \"UpdatedAt\": null,\n \"Size\": 0,\n \"LineCount\": 5,\n \"HeaderInFile\": true,\n \"Split\": true,\n \"HeaderColumns\": null\n }\n ],\n \"Extensions\": [\n \"a.jar\"\n ],\n \"StartTime\": \"2021-09-27T13:50:52+08:00\",\n \"EndTime\": \"2021-09-28T14:00:52+08:00\",\n \"Note\": \"\",\n \"JobOwner\": \"lucas\",\n \"Status\": 5,\n \"Duration\": 60,\n \"MaxVirtualUserCount\": 10,\n \"MaxRequestsPerSecond\": 1000,\n \"LoadSources\": null\n }\n ]\n }\n ],\n \"Total\": 1\n }\n}",
302
+ "input": "POST / HTTP/1.1\nHost: pts.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeScenarioWithJobs\n<公共请求参数>\n\n{\n \"ScenarioIds\": [\n \"scenario-1a2b3c4d\"\n ],\n \"ScenarioRelatedJobsParams\": {\n \"OrderBy\": \"StartTime\",\n \"Limit\": 10,\n \"Ascend\": true\n }\n}",
303
+ "output": "{\n \"Response\": {\n \"RequestId\": \"abc-123-xyz\",\n \"ScenarioWithJobsSet\": [\n {\n \"Scenario\": {\n \"AppId\": 251201585,\n \"Uin\": \"700000153395\",\n \"SubAccountUin\": \"700000153395\",\n \"CreatedAt\": \"2021-09-27T10:46:26+08:00\",\n \"UpdatedAt\": \"2021-09-27T10:46:26+08:00\",\n \"ScenarioId\": \"scenario-1a2b3c4d\",\n \"Name\": \"hello\",\n \"Type\": \"pts-js\",\n \"Load\": {\n \"LoadSpec\": {\n \"Concurrency\": {\n \"Stages\": [\n {\n \"DurationSeconds\": 60,\n \"TargetVirtualUsers\": 10\n }\n ],\n \"IterationCount\": 5,\n \"MaxRequestsPerSecond\": 1000,\n \"GracefulStopSeconds\": 3,\n \"Resources\": 1\n },\n \"RequestsPerSecond\": null,\n \"ScriptOrigin\": null\n },\n \"VpcLoadDistribution\": {\n \"Region\": \"ap-guangzhou\",\n \"RegionId\": 1,\n \"VpcId\": \"1\",\n \"SubnetIds\": null\n },\n \"GeoRegionsLoadDistribution\": [\n {\n \"Region\": \"1\",\n \"RegionId\": 1,\n \"Percentage\": 1\n }\n ]\n },\n \"EncodedScripts\": \"\",\n \"Description\": \"\",\n \"Status\": 2,\n \"Configs\": [\n \"a.prop\"\n ],\n \"Datasets\": null,\n \"Extensions\": [\n \"a.jar\"\n ],\n \"ProjectId\": \"project-1a2b3c4d\",\n \"ProjectName\": \"name\",\n \"SLAId\": \"\",\n \"CronId\": \"\",\n \"TestScripts\": null,\n \"Protocols\": [],\n \"RequestFiles\": [],\n \"Plugins\": [],\n \"SLAPolicy\": {\n \"SLARules\": [],\n \"AlertChannel\": {\n \"NoticeId\": \"\",\n \"AMPConsumerId\": \"\"\n }\n },\n \"DomainNameConfig\": {\n \"HostAliases\": null,\n \"DNSConfig\": null\n },\n \"NotificationHooks\": null,\n \"Owner\": \"\"\n },\n \"Jobs\": [\n {\n \"ErrorRate\": 0,\n \"RequestTotal\": 0,\n \"RequestsPerSecond\": 0,\n \"ResponseTimeAverage\": 0,\n \"ResponseTimeP99\": 0,\n \"ResponseTimeP95\": 0,\n \"ResponseTimeP90\": 0,\n \"ResponseTimeMax\": 0,\n \"ResponseTimeMin\": 0,\n \"NetworkReceiveRate\": 0,\n \"NetworkSendRate\": 0,\n \"JobId\": \"job-1a2b3c4d\",\n \"ProjectId\": \"project-1a2b3c4d\",\n \"ProjectName\": \"name\",\n \"ScenarioId\": \"scenario-1a2b3c4d\",\n \"ScenarioName\": \"name\",\n \"CronId\": \"\",\n \"Type\": \"pts-js\",\n \"Load\": {\n \"LoadSpec\": {\n \"Concurrency\": {\n \"Stages\": [\n {\n \"DurationSeconds\": 60,\n \"TargetVirtualUsers\": 10\n }\n ],\n \"IterationCount\": 5,\n \"MaxRequestsPerSecond\": 1000,\n \"Resources\": 1,\n \"GracefulStopSeconds\": 3\n },\n \"RequestsPerSecond\": null,\n \"ScriptOrigin\": null\n },\n \"VpcLoadDistribution\": null,\n \"GeoRegionsLoadDistribution\": [\n {\n \"Region\": \"ap-guangzhou\",\n \"RegionId\": 1,\n \"Percentage\": 100\n }\n ]\n },\n \"TestScripts\": null,\n \"Datasets\": null,\n \"Protocols\": [],\n \"RequestFiles\": [],\n \"Plugins\": [],\n \"StartTime\": \"2021-09-27T10:46:26+08:00\",\n \"EndTime\": \"2021-09-27T10:46:26+08:00\",\n \"Note\": \"\",\n \"JobOwner\": \"owner\",\n \"AbortReason\": 0,\n \"Status\": 12,\n \"Message\": \"\",\n \"DomainNameConfig\": {\n \"HostAliases\": null,\n \"DNSConfig\": null\n },\n \"Debug\": false,\n \"NotificationHooks\": null,\n \"Duration\": 600,\n \"MaxVirtualUserCount\": 1,\n \"MaxRequestsPerSecond\": 8,\n \"LoadSourceInfos\": null,\n \"CreatedAt\": \"2021-09-27T10:46:26+08:00\",\n \"Configs\": null,\n \"Extensions\": null,\n \"Scripts\": null,\n \"LoadSources\": null\n }\n ]\n }\n ],\n \"Total\": 1\n }\n}",
304
304
  "title": "查询场景及对应的job内容"
305
305
  }
306
306
  ],
@@ -308,7 +308,7 @@
308
308
  {
309
309
  "document": "",
310
310
  "input": "POST / HTTP/1.1\nHost: pts.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeScenarios\n<公共请求参数>\n\n{\n \"ScenarioIds\": [\n \"scenario-xx\"\n ]\n}",
311
- "output": "{\n \"Response\": {\n \"Total\": 0,\n \"ScenarioSet\": [\n {\n \"Status\": 0,\n \"Load\": {\n \"VpcLoadDistribution\": {\n \"VpcId\": \"xx\",\n \"Region\": \"xx\",\n \"RegionId\": 0\n },\n \"GeoRegionsLoadDistribution\": [\n {\n \"Region\": \"xx\",\n \"RegionId\": 0,\n \"Percentage\": 0\n }\n ],\n \"LoadSpec\": {\n \"RequestsPerSecond\": {\n \"DurationSeconds\": 0\n },\n \"Concurrency\": {\n \"Stages\": [\n {\n \"DurationSeconds\": 0,\n \"TargetVirtualUsers\": 0\n }\n ],\n \"IterationCount\": 0\n }\n }\n },\n \"Datasets\": [\n {\n \"HeaderInFile\": true,\n \"Name\": \"xx\",\n \"LineCount\": 0,\n \"Split\": true,\n \"UpdatedAt\": \"2020-09-22T00:00:00+00:00\",\n \"HeaderColumns\": [\n \"xx\"\n ],\n \"Size\": 0\n }\n ],\n \"Description\": \"xx\",\n \"SubAccountUin\": \"xx\",\n \"Uin\": \"xx\",\n \"Extensions\": [\n \"xx\"\n ],\n \"CreatedAt\": \"xx\",\n \"AppId\": 0,\n \"UpdatedAt\": \"xx\",\n \"Configs\": [\n \"xx\"\n ],\n \"Type\": \"xx\",\n \"Name\": \"xx\"\n }\n ],\n \"RequestId\": \"xx\"\n }\n}",
311
+ "output": "{\n \"Response\": {\n \"RequestId\": \"abc-123-xyz\",\n \"ScenarioSet\": [\n {\n \"AppId\": 251008000,\n \"Configs\": null,\n \"CreatedAt\": \"2024-12-25T11:43:42+08:00\",\n \"CronId\": \"\",\n \"Datasets\": [],\n \"Description\": \"\",\n \"DomainNameConfig\": {\n \"DNSConfig\": null,\n \"HostAliases\": null\n },\n \"EncodedScripts\": \"\",\n \"Extensions\": null,\n \"Load\": {\n \"GeoRegionsLoadDistribution\": [\n {\n \"Percentage\": 80,\n \"Region\": \"ap-guangzhou\",\n \"RegionId\": 1\n },\n {\n \"Percentage\": 20,\n \"Region\": \"ap-shanghai\",\n \"RegionId\": 4\n }\n ],\n \"LoadSpec\": {\n \"Concurrency\": {\n \"GracefulStopSeconds\": 3,\n \"IterationCount\": 0,\n \"MaxRequestsPerSecond\": 40,\n \"Resources\": 5,\n \"Stages\": [\n {\n \"DurationSeconds\": 60,\n \"TargetVirtualUsers\": 5\n },\n {\n \"DurationSeconds\": 0,\n \"TargetVirtualUsers\": 5\n }\n ]\n },\n \"RequestsPerSecond\": null,\n \"ScriptOrigin\": null\n },\n \"VpcLoadDistribution\": null\n },\n \"Name\": \"pts-js(2024-12-25 11:43:40)\",\n \"NotificationHooks\": null,\n \"Owner\": \"\",\n \"Plugins\": [],\n \"ProjectId\": \"project-1a2b3c4d\",\n \"ProjectName\": \"name\",\n \"Protocols\": [],\n \"RequestFiles\": [],\n \"SLAId\": \"\",\n \"SLAPolicy\": {\n \"AlertChannel\": {\n \"AMPConsumerId\": \"\",\n \"NoticeId\": \"\"\n },\n \"SLARules\": []\n },\n \"ScenarioId\": \"scenario-1a2b3c4d\",\n \"Status\": 2,\n \"SubAccountUin\": \"700000200000\",\n \"TestScripts\": [\n {\n \"EncodedContent\": \"EncodedContent\",\n \"EncodedHttpArchive\": \"\",\n \"FileId\": \"\",\n \"LoadWeight\": 100,\n \"Name\": \"script.js\",\n \"Size\": 896,\n \"Type\": \"js\",\n \"UpdatedAt\": \"2024-12-26T10:30:34+08:00\"\n }\n ],\n \"Type\": \"pts-js\",\n \"Uin\": \"3510500000\",\n \"UpdatedAt\": \"2024-12-26T10:30:57+08:00\"\n }\n ],\n \"Total\": 1\n }\n}",
312
312
  "title": "查询场景列表"
313
313
  }
314
314
  ],
@@ -371,15 +371,15 @@
371
371
  "UpdateProject": [
372
372
  {
373
373
  "document": "",
374
- "input": "POST / HTTP/1.1\nHost: pts.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpdateProject\n<公共请求参数>\n\n{\n \"ProjectId\": \"project-xx\",\n \"Name\": \"test\"\n}",
375
- "output": "{\n \"Response\": {\n \"RequestId\": \"xx\"\n }\n}",
374
+ "input": "POST / HTTP/1.1\nHost: pts.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpdateProject\n<公共请求参数>\n\n{\n \"ProjectId\": \"project-1a2b3c4d\",\n \"Name\": \"test\"\n}",
375
+ "output": "{\n \"Response\": {\n \"RequestId\": \"abc-123-xyz\"\n }\n}",
376
376
  "title": "更新项目"
377
377
  }
378
378
  ],
379
379
  "UpdateScenario": [
380
380
  {
381
381
  "document": "更新场景",
382
- "input": "POST / HTTP/1.1\nHost: pts.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpdateScenario\n<公共请求参数>\n\n{\n \"ScenarioId\": \"scenario-abc\",\n \"Name\": \"pts-js(2023-05-12 16:12:30)\",\n \"Description\": \"\",\n \"Type\": \"pts-js\",\n \"Load\": {\n \"LoadSpec\": {\n \"Concurrency\": {\n \"IterationCount\": 0,\n \"MaxRequestsPerSecond\": 0,\n \"Stages\": [\n {\n \"DurationSeconds\": 120,\n \"TargetVirtualUsers\": 2\n },\n {\n \"DurationSeconds\": 120,\n \"TargetVirtualUsers\": 4\n },\n {\n \"DurationSeconds\": 120,\n \"TargetVirtualUsers\": 5\n },\n {\n \"DurationSeconds\": 240,\n \"TargetVirtualUsers\": 5\n }\n ],\n \"Resources\": 1\n }\n },\n \"GeoRegionsLoadDistribution\": [\n {\n \"Region\": \"ap-guangzhou\",\n \"RegionId\": 1,\n \"Percentage\": 100\n }\n ]\n },\n \"Status\": 2,\n \"ProjectId\": \"project-abc\",\n \"TestScripts\": [\n {\n \"Type\": \"js\",\n \"Name\": \"script.js\",\n \"Size\": 896,\n \"EncodedContent\": \"Ly8gU2VuZCBhIGh0dHAgZ2V0IHJlcXVlc3QKaW1wb3J0IGh0dHAgZnJvbSAncHRzL2h0dHAnOwppbXBvcnQgeyBjaGVjaywgc2xlZXAgfSBmcm9tICdwdHMnOwoKZXhwb3J0IGRlZmF1bHQgZnVuY3Rpb24gKCkgewogIC8vIHNpbXBsZSBnZXQgcmVxdWVzdAogIGNvbnN0IHJlc3AxID0gaHR0cC5nZXQoJ2h0dHA6Ly9tb2NraHR0cGJpbi5wdHMuc3ZjLmNsdXN0ZXIubG9jYWwvZ2V0Jyk7CiAgY29uc29sZS5sb2cocmVzcDEuYm9keSk7CiAgLy8gaWYgcmVzcDEuYm9keSBpcyBhIGpzb24gc3RyaW5nLCByZXNwMS5qc29uKCkgdHJhbnNmZXIganNvbiBmb3JtYXQgYm9keSB0byBhIGpzb24gb2JqZWN0CiAgY29uc29sZS5sb2cocmVzcDEuanNvbigpKTsKICBjaGVjaygnc3RhdHVzIGlzIDIwMCcsICgpID0+IHJlc3AxLnN0YXR1c0NvZGUgPT09IDIwMCwgcmVzcDEpOwoKICAvLyBzbGVlcCAxIHNlY29uZAogIHNsZWVwKDEpOwoKICAvLyBnZXQgcmVxdWVzdCB3aXRoIGhlYWRlcnMgYW5kIHBhcmFtZXRlcnMKICBjb25zdCByZXNwMiA9IGh0dHAuZ2V0KCdodHRwOi8vbW9ja2h0dHBiaW4ucHRzLnN2Yy5jbHVzdGVyLmxvY2FsL2dldCcsIHsKICAgIGhlYWRlcnM6IHsKICAgICAgQ29ubmVjdGlvbjogJ2tlZXAtYWxpdmUnLAogICAgICAnVXNlci1BZ2VudCc6ICdwdHMtZW5naW5lJywKICAgIH0sCiAgICBxdWVyeTogewogICAgICBuYW1lMTogJ3ZhbHVlMScsCiAgICAgIG5hbWUyOiAndmFsdWUyJywKICAgIH0sCiAgfSk7CgogIGNvbnNvbGUubG9nKHJlc3AyLmpzb24oKS5hcmdzLm5hbWUxKTsgLy8gJ3ZhbHVlMScKICBjaGVjaygnYm9keS5hcmdzLm5hbWUxIGVxdWFscyB2YWx1ZTEnLCAoKSA9PiByZXNwMi5qc29uKCkuYXJncy5uYW1lMSA9PT0gJ3ZhbHVlMScsIHJlc3AyKTsKfQo=\",\n \"LoadWeight\": 100,\n \"UpdatedAt\": \"2023-05-12T16:12:31+08:00\",\n \"EncodedHttpArchive\": \"\"\n }\n ],\n \"SLAPolicy\": {\n \"SLARules\": [],\n \"AlertChannel\": {}\n },\n \"DomainNameConfig\": {},\n \"Owner\": \"abc\"\n}",
382
+ "input": "POST / HTTP/1.1\nHost: pts.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpdateScenario\n<公共请求参数>\n\n{\n \"ScenarioId\": \"scenario-1a2b3c4d\",\n \"Name\": \"pts-js(2023-05-12 16:12:30)\",\n \"Description\": \"\",\n \"Type\": \"pts-js\",\n \"Load\": {\n \"LoadSpec\": {\n \"Concurrency\": {\n \"IterationCount\": 0,\n \"MaxRequestsPerSecond\": 0,\n \"Stages\": [\n {\n \"DurationSeconds\": 120,\n \"TargetVirtualUsers\": 2\n },\n {\n \"DurationSeconds\": 120,\n \"TargetVirtualUsers\": 4\n },\n {\n \"DurationSeconds\": 120,\n \"TargetVirtualUsers\": 5\n },\n {\n \"DurationSeconds\": 240,\n \"TargetVirtualUsers\": 5\n }\n ],\n \"Resources\": 1\n }\n },\n \"GeoRegionsLoadDistribution\": [\n {\n \"Region\": \"ap-guangzhou\",\n \"RegionId\": 1,\n \"Percentage\": 100\n }\n ]\n },\n \"Status\": 2,\n \"ProjectId\": \"project-abc\",\n \"TestScripts\": [\n {\n \"Type\": \"js\",\n \"Name\": \"script.js\",\n \"Size\": 896,\n \"EncodedContent\": \"Ly8gU2VuZCBhIGh0dHAgZ2V0IHJlcXVlc3QKaW1wb3J0IGh0dHAgZnJvbSAncHRzL2h0dHAnOwppbXBvcnQgeyBjaGVjaywgc2xlZXAgfSBmcm9tICdwdHMnOwoKZXhwb3J0IGRlZmF1bHQgZnVuY3Rpb24gKCkgewogIC8vIHNpbXBsZSBnZXQgcmVxdWVzdAogIGNvbnN0IHJlc3AxID0gaHR0cC5nZXQoJ2h0dHA6Ly9tb2NraHR0cGJpbi5wdHMuc3ZjLmNsdXN0ZXIubG9jYWwvZ2V0Jyk7CiAgY29uc29sZS5sb2cocmVzcDEuYm9keSk7CiAgLy8gaWYgcmVzcDEuYm9keSBpcyBhIGpzb24gc3RyaW5nLCByZXNwMS5qc29uKCkgdHJhbnNmZXIganNvbiBmb3JtYXQgYm9keSB0byBhIGpzb24gb2JqZWN0CiAgY29uc29sZS5sb2cocmVzcDEuanNvbigpKTsKICBjaGVjaygnc3RhdHVzIGlzIDIwMCcsICgpID0+IHJlc3AxLnN0YXR1c0NvZGUgPT09IDIwMCwgcmVzcDEpOwoKICAvLyBzbGVlcCAxIHNlY29uZAogIHNsZWVwKDEpOwoKICAvLyBnZXQgcmVxdWVzdCB3aXRoIGhlYWRlcnMgYW5kIHBhcmFtZXRlcnMKICBjb25zdCByZXNwMiA9IGh0dHAuZ2V0KCdodHRwOi8vbW9ja2h0dHBiaW4ucHRzLnN2Yy5jbHVzdGVyLmxvY2FsL2dldCcsIHsKICAgIGhlYWRlcnM6IHsKICAgICAgQ29ubmVjdGlvbjogJ2tlZXAtYWxpdmUnLAogICAgICAnVXNlci1BZ2VudCc6ICdwdHMtZW5naW5lJywKICAgIH0sCiAgICBxdWVyeTogewogICAgICBuYW1lMTogJ3ZhbHVlMScsCiAgICAgIG5hbWUyOiAndmFsdWUyJywKICAgIH0sCiAgfSk7CgogIGNvbnNvbGUubG9nKHJlc3AyLmpzb24oKS5hcmdzLm5hbWUxKTsgLy8gJ3ZhbHVlMScKICBjaGVjaygnYm9keS5hcmdzLm5hbWUxIGVxdWFscyB2YWx1ZTEnLCAoKSA9PiByZXNwMi5qc29uKCkuYXJncy5uYW1lMSA9PT0gJ3ZhbHVlMScsIHJlc3AyKTsKfQo=\",\n \"LoadWeight\": 100,\n \"UpdatedAt\": \"2023-05-12T16:12:31+08:00\",\n \"EncodedHttpArchive\": \"\"\n }\n ],\n \"SLAPolicy\": {\n \"SLARules\": [],\n \"AlertChannel\": {}\n },\n \"DomainNameConfig\": {},\n \"Owner\": \"owner\"\n}",
383
383
  "output": "{\n \"Response\": {\n \"RequestId\": \"31446d02-c4f3-4a53-9efe-b5ad18cfcb7f\"\n }\n}",
384
384
  "title": "更新场景"
385
385
  }
@@ -9792,7 +9792,7 @@
9792
9792
  },
9793
9793
  {
9794
9794
  "disabled": false,
9795
- "document": "购买实例的类型 HA-本地盘高可用(包括双机高可用,alwaysOn集群),RO-本地盘只读副本,SI-云盘版单节点,BI-商业智能服务,cvmHA-云盘版高可用,cvmRO-云盘版只读副本",
9795
+ "document": "购买实例的类型 HA-本地盘高可用(包括双机高可用,alwaysOn集群),RO-本地盘只读副本,SI-云盘版单节点,BI-商业智能服务,cvmHA-云盘版高可用,cvmRO-云盘版只读副本,MultiHA-多节点,cvmMultiHA-云盘多节点",
9796
9796
  "example": "HA",
9797
9797
  "member": "string",
9798
9798
  "name": "InstanceType",
@@ -11190,6 +11190,15 @@
11190
11190
  "name": "MultiZones",
11191
11191
  "required": false,
11192
11192
  "type": "string"
11193
+ },
11194
+ {
11195
+ "disabled": false,
11196
+ "document": "多节点架构实例的备节点可用区,默认为空。如果需要在变配的同时修改指定备节点的可用区时必传,当MultiZones = MultiZones时主节点和备节点可用区不能全部相同。备机可用区集合最小为2个,最大不超过5个。",
11197
+ "example": "[\"ap-guangzhou-6\"]",
11198
+ "member": "DrZoneInfo",
11199
+ "name": "DrZones",
11200
+ "required": false,
11201
+ "type": "list"
11193
11202
  }
11194
11203
  ],
11195
11204
  "type": "object"
@@ -11203,7 +11212,7 @@
11203
11212
  "example": "1",
11204
11213
  "member": "int64",
11205
11214
  "name": "IsAffect",
11206
- "required": true,
11215
+ "output_required": true,
11207
11216
  "type": "int",
11208
11217
  "value_allowed_null": false
11209
11218
  },
@@ -11213,7 +11222,7 @@
11213
11222
  "example": "1",
11214
11223
  "member": "int64",
11215
11224
  "name": "Passed",
11216
- "required": true,
11225
+ "output_required": true,
11217
11226
  "type": "int",
11218
11227
  "value_allowed_null": false
11219
11228
  },
@@ -11223,7 +11232,7 @@
11223
11232
  "example": "down",
11224
11233
  "member": "string",
11225
11234
  "name": "ModifyMode",
11226
- "required": true,
11235
+ "output_required": true,
11227
11236
  "type": "string",
11228
11237
  "value_allowed_null": false
11229
11238
  },
@@ -11233,7 +11242,7 @@
11233
11242
  "example": "无",
11234
11243
  "member": "CheckItem",
11235
11244
  "name": "CheckItems",
11236
- "required": true,
11245
+ "output_required": true,
11237
11246
  "type": "list",
11238
11247
  "value_allowed_null": false
11239
11248
  },
@@ -11778,6 +11787,30 @@
11778
11787
  ],
11779
11788
  "usage": "out"
11780
11789
  },
11790
+ "DrZoneInfo": {
11791
+ "document": "备机可用区信息",
11792
+ "members": [
11793
+ {
11794
+ "disabled": false,
11795
+ "document": "备机资源ID",
11796
+ "example": "mssqldr-io91h2",
11797
+ "member": "string",
11798
+ "name": "DrInstanceId",
11799
+ "required": false,
11800
+ "type": "string"
11801
+ },
11802
+ {
11803
+ "disabled": false,
11804
+ "document": "备机可用区",
11805
+ "example": "ap-guangzhou-3",
11806
+ "member": "string",
11807
+ "name": "Zone",
11808
+ "required": false,
11809
+ "type": "string"
11810
+ }
11811
+ ],
11812
+ "usage": "in"
11813
+ },
11781
11814
  "EventConfig": {
11782
11815
  "document": "设置实例扩展事件阈值",
11783
11816
  "members": [
@@ -12003,7 +12036,7 @@
12003
12036
  },
12004
12037
  {
12005
12038
  "disabled": false,
12006
- "document": "购买实例的类型 HA-高可用型(包括双机高可用,alwaysOn集群),RO-只读副本型,SI-单节点型,cvmHA-虚拟机双机高可用,cvmRO-虚拟机只读",
12039
+ "document": "购买实例的类型 HA-高可用型(包括双机高可用,alwaysOn集群),RO-只读副本型,SI-单节点型,cvmHA-虚拟机双机高可用,cvmRO-虚拟机只读,MultiHA-多节点,cvmMultiHA-云盘",
12007
12040
  "example": "HA",
12008
12041
  "member": "string",
12009
12042
  "name": "InstanceType",
@@ -12018,6 +12051,15 @@
12018
12051
  "name": "MachineType",
12019
12052
  "required": false,
12020
12053
  "type": "string"
12054
+ },
12055
+ {
12056
+ "disabled": false,
12057
+ "document": "备节点可用区,默认为空。如果是多节点架构时必传,并且备机可用区集合最小为2个,最大不超过5个。",
12058
+ "example": "[\"ap-guangzhou-3\"]",
12059
+ "member": "string",
12060
+ "name": "DrZones",
12061
+ "required": false,
12062
+ "type": "list"
12021
12063
  }
12022
12064
  ],
12023
12065
  "type": "object"
@@ -15706,6 +15748,26 @@
15706
15748
  "output_required": true,
15707
15749
  "type": "int",
15708
15750
  "value_allowed_null": false
15751
+ },
15752
+ {
15753
+ "disabled": false,
15754
+ "document": "RO只读组类型,1-按照一个实例一个只读组的方式发货,2-新建只读组后发货的所有实例都在这个只读组下面, 3-发货的所有实例都在已有的只读组下面",
15755
+ "example": "1",
15756
+ "member": "int64",
15757
+ "name": "ReadOnlyGroupType",
15758
+ "output_required": true,
15759
+ "type": "int",
15760
+ "value_allowed_null": false
15761
+ },
15762
+ {
15763
+ "disabled": false,
15764
+ "document": "部署RO副本模式,0-默认不升级主实例,1-强制升级主实例完成RO部署",
15765
+ "example": "1",
15766
+ "member": "int64",
15767
+ "name": "ReadOnlyGroupForcedUpgrade",
15768
+ "output_required": true,
15769
+ "type": "int",
15770
+ "value_allowed_null": false
15709
15771
  }
15710
15772
  ],
15711
15773
  "usage": "out"