tccli 3.0.1117.1__py2.py3-none-any.whl → 3.0.1119.1__py2.py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- tccli/__init__.py +1 -1
- tccli/services/cls/v20201016/api.json +30 -3
- tccli/services/dnspod/dnspod_client.py +69 -16
- tccli/services/dnspod/v20210323/api.json +52 -0
- tccli/services/dnspod/v20210323/examples.json +8 -0
- tccli/services/ess/v20201111/api.json +1 -1
- tccli/services/essbasic/v20210526/api.json +1 -1
- tccli/services/faceid/v20180301/api.json +4 -4
- tccli/services/iotexplorer/v20190423/api.json +2 -2
- tccli/services/lighthouse/v20200324/api.json +20 -19
- tccli/services/lighthouse/v20200324/examples.json +1 -1
- tccli/services/monitor/v20180724/api.json +51 -13
- tccli/services/redis/v20180412/api.json +235 -212
- tccli/services/tcb/v20180608/api.json +92 -23
- tccli/services/tcb/v20180608/examples.json +2 -2
- tccli/services/teo/v20220901/api.json +11 -8
- tccli/services/teo/v20220901/examples.json +3 -3
- tccli/services/trp/v20210515/api.json +222 -36
- tccli/services/trp/v20210515/examples.json +3 -3
- {tccli-3.0.1117.1.dist-info → tccli-3.0.1119.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1117.1.dist-info → tccli-3.0.1119.1.dist-info}/RECORD +24 -24
- {tccli-3.0.1117.1.dist-info → tccli-3.0.1119.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1117.1.dist-info → tccli-3.0.1119.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1117.1.dist-info → tccli-3.0.1119.1.dist-info}/license_files/LICENSE +0 -0
@@ -477,7 +477,7 @@
|
|
477
477
|
"status": "online"
|
478
478
|
},
|
479
479
|
"DescribeWxGateways": {
|
480
|
-
"document": "
|
480
|
+
"document": "查看安全网关",
|
481
481
|
"input": "DescribeWxGatewaysRequest",
|
482
482
|
"name": "查看安全网关",
|
483
483
|
"output": "DescribeWxGatewaysResponse",
|
@@ -9211,6 +9211,15 @@
|
|
9211
9211
|
"required": true,
|
9212
9212
|
"type": "string"
|
9213
9213
|
},
|
9214
|
+
{
|
9215
|
+
"disabled": false,
|
9216
|
+
"document": "网关ID",
|
9217
|
+
"example": "无",
|
9218
|
+
"member": "string",
|
9219
|
+
"name": "GatewayId",
|
9220
|
+
"required": false,
|
9221
|
+
"type": "string"
|
9222
|
+
},
|
9214
9223
|
{
|
9215
9224
|
"disabled": false,
|
9216
9225
|
"document": "服务名称,精确匹配",
|
@@ -9250,7 +9259,7 @@
|
|
9250
9259
|
"example": "无",
|
9251
9260
|
"member": "GatewayItem",
|
9252
9261
|
"name": "Gateways",
|
9253
|
-
"
|
9262
|
+
"output_required": true,
|
9254
9263
|
"type": "list",
|
9255
9264
|
"value_allowed_null": true
|
9256
9265
|
},
|
@@ -9260,7 +9269,7 @@
|
|
9260
9269
|
"example": "0",
|
9261
9270
|
"member": "int64",
|
9262
9271
|
"name": "TotalCount",
|
9263
|
-
"
|
9272
|
+
"output_required": true,
|
9264
9273
|
"type": "int",
|
9265
9274
|
"value_allowed_null": true
|
9266
9275
|
},
|
@@ -10445,7 +10454,7 @@
|
|
10445
10454
|
"example": "无",
|
10446
10455
|
"member": "string",
|
10447
10456
|
"name": "Uin",
|
10448
|
-
"
|
10457
|
+
"output_required": true,
|
10449
10458
|
"type": "string",
|
10450
10459
|
"value_allowed_null": false
|
10451
10460
|
},
|
@@ -10455,17 +10464,27 @@
|
|
10455
10464
|
"example": "无",
|
10456
10465
|
"member": "uint64",
|
10457
10466
|
"name": "AppId",
|
10458
|
-
"
|
10467
|
+
"output_required": true,
|
10459
10468
|
"type": "int",
|
10460
10469
|
"value_allowed_null": true
|
10461
10470
|
},
|
10471
|
+
{
|
10472
|
+
"disabled": false,
|
10473
|
+
"document": "WxAppId\n注意:此字段可能返回 null,表示取不到有效值。",
|
10474
|
+
"example": "无",
|
10475
|
+
"member": "string",
|
10476
|
+
"name": "WxAppId",
|
10477
|
+
"output_required": true,
|
10478
|
+
"type": "string",
|
10479
|
+
"value_allowed_null": true
|
10480
|
+
},
|
10462
10481
|
{
|
10463
10482
|
"disabled": false,
|
10464
10483
|
"document": "环境id\n注意:此字段可能返回 null,表示取不到有效值。",
|
10465
10484
|
"example": "无",
|
10466
10485
|
"member": "string",
|
10467
10486
|
"name": "EnvId",
|
10468
|
-
"
|
10487
|
+
"output_required": true,
|
10469
10488
|
"type": "string",
|
10470
10489
|
"value_allowed_null": true
|
10471
10490
|
},
|
@@ -10475,7 +10494,7 @@
|
|
10475
10494
|
"example": "无",
|
10476
10495
|
"member": "string",
|
10477
10496
|
"name": "GatewayId",
|
10478
|
-
"
|
10497
|
+
"output_required": true,
|
10479
10498
|
"type": "string",
|
10480
10499
|
"value_allowed_null": true
|
10481
10500
|
},
|
@@ -10485,7 +10504,7 @@
|
|
10485
10504
|
"example": "无",
|
10486
10505
|
"member": "string",
|
10487
10506
|
"name": "GatewayName",
|
10488
|
-
"
|
10507
|
+
"output_required": true,
|
10489
10508
|
"type": "string",
|
10490
10509
|
"value_allowed_null": true
|
10491
10510
|
},
|
@@ -10495,7 +10514,7 @@
|
|
10495
10514
|
"example": "无",
|
10496
10515
|
"member": "string",
|
10497
10516
|
"name": "GatewayType",
|
10498
|
-
"
|
10517
|
+
"output_required": true,
|
10499
10518
|
"type": "string",
|
10500
10519
|
"value_allowed_null": true
|
10501
10520
|
},
|
@@ -10505,7 +10524,7 @@
|
|
10505
10524
|
"example": "无",
|
10506
10525
|
"member": "string",
|
10507
10526
|
"name": "GatewayDesc",
|
10508
|
-
"
|
10527
|
+
"output_required": true,
|
10509
10528
|
"type": "string",
|
10510
10529
|
"value_allowed_null": true
|
10511
10530
|
},
|
@@ -10515,7 +10534,7 @@
|
|
10515
10534
|
"example": "无",
|
10516
10535
|
"member": "string",
|
10517
10536
|
"name": "PackageVersion",
|
10518
|
-
"
|
10537
|
+
"output_required": true,
|
10519
10538
|
"type": "string",
|
10520
10539
|
"value_allowed_null": true
|
10521
10540
|
},
|
@@ -10525,7 +10544,7 @@
|
|
10525
10544
|
"example": "无",
|
10526
10545
|
"member": "uint64",
|
10527
10546
|
"name": "PackageId",
|
10528
|
-
"
|
10547
|
+
"output_required": true,
|
10529
10548
|
"type": "int",
|
10530
10549
|
"value_allowed_null": true
|
10531
10550
|
},
|
@@ -10535,7 +10554,7 @@
|
|
10535
10554
|
"example": "无",
|
10536
10555
|
"member": "string",
|
10537
10556
|
"name": "VpcId",
|
10538
|
-
"
|
10557
|
+
"output_required": true,
|
10539
10558
|
"type": "string",
|
10540
10559
|
"value_allowed_null": true
|
10541
10560
|
},
|
@@ -10545,7 +10564,7 @@
|
|
10545
10564
|
"example": "无",
|
10546
10565
|
"member": "string",
|
10547
10566
|
"name": "SubnetIds",
|
10548
|
-
"
|
10567
|
+
"output_required": true,
|
10549
10568
|
"type": "list",
|
10550
10569
|
"value_allowed_null": true
|
10551
10570
|
},
|
@@ -10555,7 +10574,7 @@
|
|
10555
10574
|
"example": "无",
|
10556
10575
|
"member": "string",
|
10557
10576
|
"name": "Status",
|
10558
|
-
"
|
10577
|
+
"output_required": true,
|
10559
10578
|
"type": "string",
|
10560
10579
|
"value_allowed_null": true
|
10561
10580
|
},
|
@@ -10565,7 +10584,7 @@
|
|
10565
10584
|
"example": "无",
|
10566
10585
|
"member": "string",
|
10567
10586
|
"name": "L5Addr",
|
10568
|
-
"
|
10587
|
+
"output_required": true,
|
10569
10588
|
"type": "string",
|
10570
10589
|
"value_allowed_null": true
|
10571
10590
|
},
|
@@ -10575,17 +10594,37 @@
|
|
10575
10594
|
"example": "无",
|
10576
10595
|
"member": "string",
|
10577
10596
|
"name": "Region",
|
10578
|
-
"
|
10597
|
+
"output_required": true,
|
10579
10598
|
"type": "string",
|
10580
10599
|
"value_allowed_null": true
|
10581
10600
|
},
|
10601
|
+
{
|
10602
|
+
"disabled": false,
|
10603
|
+
"document": "是否可以续费\n注意:此字段可能返回 null,表示取不到有效值。",
|
10604
|
+
"example": "无",
|
10605
|
+
"member": "bool",
|
10606
|
+
"name": "CanRenew",
|
10607
|
+
"output_required": true,
|
10608
|
+
"type": "bool",
|
10609
|
+
"value_allowed_null": true
|
10610
|
+
},
|
10611
|
+
{
|
10612
|
+
"disabled": false,
|
10613
|
+
"document": "自动续费标志\n注意:此字段可能返回 null,表示取不到有效值。",
|
10614
|
+
"example": "0",
|
10615
|
+
"member": "uint64",
|
10616
|
+
"name": "AutoRenewFlag",
|
10617
|
+
"output_required": true,
|
10618
|
+
"type": "int",
|
10619
|
+
"value_allowed_null": true
|
10620
|
+
},
|
10582
10621
|
{
|
10583
10622
|
"disabled": false,
|
10584
10623
|
"document": "隔离时间\n注意:此字段可能返回 null,表示取不到有效值。",
|
10585
10624
|
"example": "无",
|
10586
10625
|
"member": "string",
|
10587
10626
|
"name": "IsolateTime",
|
10588
|
-
"
|
10627
|
+
"output_required": true,
|
10589
10628
|
"type": "string",
|
10590
10629
|
"value_allowed_null": true
|
10591
10630
|
},
|
@@ -10595,7 +10634,7 @@
|
|
10595
10634
|
"example": "无",
|
10596
10635
|
"member": "string",
|
10597
10636
|
"name": "ExpireTime",
|
10598
|
-
"
|
10637
|
+
"output_required": true,
|
10599
10638
|
"type": "string",
|
10600
10639
|
"value_allowed_null": true
|
10601
10640
|
},
|
@@ -10605,7 +10644,7 @@
|
|
10605
10644
|
"example": "无",
|
10606
10645
|
"member": "string",
|
10607
10646
|
"name": "CreateTime",
|
10608
|
-
"
|
10647
|
+
"output_required": true,
|
10609
10648
|
"type": "string",
|
10610
10649
|
"value_allowed_null": true
|
10611
10650
|
},
|
@@ -10615,17 +10654,27 @@
|
|
10615
10654
|
"example": "无",
|
10616
10655
|
"member": "string",
|
10617
10656
|
"name": "UpdateTime",
|
10618
|
-
"
|
10657
|
+
"output_required": true,
|
10619
10658
|
"type": "string",
|
10620
10659
|
"value_allowed_null": true
|
10621
10660
|
},
|
10661
|
+
{
|
10662
|
+
"disabled": false,
|
10663
|
+
"document": "是否可以降配\n注意:此字段可能返回 null,表示取不到有效值。",
|
10664
|
+
"example": "无",
|
10665
|
+
"member": "bool",
|
10666
|
+
"name": "CanDowngrade",
|
10667
|
+
"output_required": true,
|
10668
|
+
"type": "bool",
|
10669
|
+
"value_allowed_null": true
|
10670
|
+
},
|
10622
10671
|
{
|
10623
10672
|
"disabled": false,
|
10624
10673
|
"document": "允许未登录访问\n注意:此字段可能返回 null,表示取不到有效值。",
|
10625
10674
|
"example": "无",
|
10626
10675
|
"member": "int64",
|
10627
10676
|
"name": "AllowUncertified",
|
10628
|
-
"
|
10677
|
+
"output_required": true,
|
10629
10678
|
"type": "int",
|
10630
10679
|
"value_allowed_null": true
|
10631
10680
|
},
|
@@ -10635,9 +10684,29 @@
|
|
10635
10684
|
"example": "3",
|
10636
10685
|
"member": "int64",
|
10637
10686
|
"name": "VersionNumLimit",
|
10638
|
-
"
|
10687
|
+
"output_required": true,
|
10639
10688
|
"type": "int",
|
10640
10689
|
"value_allowed_null": true
|
10690
|
+
},
|
10691
|
+
{
|
10692
|
+
"disabled": false,
|
10693
|
+
"document": "Donut接入ID\n注意:此字段可能返回 null,表示取不到有效值。",
|
10694
|
+
"example": "\"a0c5aba71-wxe17e6efa4c656fcd\"",
|
10695
|
+
"member": "string",
|
10696
|
+
"name": "LongAccessId",
|
10697
|
+
"output_required": false,
|
10698
|
+
"type": "string",
|
10699
|
+
"value_allowed_null": true
|
10700
|
+
},
|
10701
|
+
{
|
10702
|
+
"disabled": false,
|
10703
|
+
"document": "Donut接入域名\n注意:此字段可能返回 null,表示取不到有效值。",
|
10704
|
+
"example": "\"a0c599f16-wxe17e6efa4c656fcd.sh.wxcloudrun.com\"",
|
10705
|
+
"member": "string",
|
10706
|
+
"name": "AccessDomain",
|
10707
|
+
"output_required": false,
|
10708
|
+
"type": "string",
|
10709
|
+
"value_allowed_null": true
|
10641
10710
|
}
|
10642
10711
|
],
|
10643
10712
|
"usage": "out"
|
@@ -560,8 +560,8 @@
|
|
560
560
|
{
|
561
561
|
"document": "",
|
562
562
|
"input": "POST / HTTP/1.1\nHost: tcb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeWxGateways\n<公共请求参数>\n\n{\n \"EnvId\": \"lotestapi100004\"\n}",
|
563
|
-
"output": "{\n \"Response\": {\n \"
|
564
|
-
"title": "
|
563
|
+
"output": "{\n \"Response\": {\n \"Gateways\": [\n {\n \"AccessDomain\": \"\",\n \"AllowUncertified\": 0,\n \"AppId\": 0,\n \"AutoRenewFlag\": 1,\n \"CanDowngrade\": false,\n \"CanRenew\": true,\n \"CreateTime\": \"2023-11-23 10:27:31\",\n \"EnvId\": \"xxx\",\n \"ExpireTime\": \"2024-12-23 23:59:59\",\n \"GatewayDesc\": \"\",\n \"GatewayId\": \"xxx\",\n \"GatewayName\": \"xxx\",\n \"GatewayType\": \"wechat\",\n \"IsolateTime\": \"0000-00-00 00:00:00\",\n \"L5Addr\": \"\",\n \"LongAccessId\": \"\",\n \"PackageId\": 2005,\n \"PackageVersion\": \"testV2\",\n \"Region\": \"ap-shanghai\",\n \"Status\": \"success\",\n \"SubnetIds\": [\n \"subnet-xxxx\"\n ],\n \"Uin\": \"100008561789\",\n \"UpdateTime\": \"2024-04-25 10:50:13\",\n \"VersionNumLimit\": 3,\n \"VpcId\": \"xxxx\",\n \"WxAppId\": \"xxxx\"\n }\n ],\n \"RequestId\": \"\",\n \"TotalCount\": 1\n }\n}",
|
564
|
+
"title": "查看安全网关"
|
565
565
|
}
|
566
566
|
],
|
567
567
|
"DestroyEnv": [
|
@@ -14062,30 +14062,33 @@
|
|
14062
14062
|
"members": [
|
14063
14063
|
{
|
14064
14064
|
"disabled": false,
|
14065
|
-
"document": "
|
14065
|
+
"document": "执行功能判断条件。\n注意:满足该数组内任意一项条件,功能即可执行。",
|
14066
14066
|
"example": "[]",
|
14067
|
-
"member": "
|
14068
|
-
"name": "
|
14067
|
+
"member": "RuleAndConditions",
|
14068
|
+
"name": "Conditions",
|
14069
|
+
"output_required": true,
|
14069
14070
|
"required": true,
|
14070
14071
|
"type": "list",
|
14071
14072
|
"value_allowed_null": false
|
14072
14073
|
},
|
14073
14074
|
{
|
14074
14075
|
"disabled": false,
|
14075
|
-
"document": "
|
14076
|
+
"document": "执行的功能。注意:Actions 和 SubRules 不可都为空",
|
14076
14077
|
"example": "[]",
|
14077
|
-
"member": "
|
14078
|
-
"name": "
|
14079
|
-
"
|
14078
|
+
"member": "Action",
|
14079
|
+
"name": "Actions",
|
14080
|
+
"output_required": true,
|
14081
|
+
"required": false,
|
14080
14082
|
"type": "list",
|
14081
14083
|
"value_allowed_null": false
|
14082
14084
|
},
|
14083
14085
|
{
|
14084
14086
|
"disabled": false,
|
14085
|
-
"document": "
|
14087
|
+
"document": "嵌套规则。注意:SubRules 和 Actions 不可都为空",
|
14086
14088
|
"example": "[]",
|
14087
14089
|
"member": "SubRuleItem",
|
14088
14090
|
"name": "SubRules",
|
14091
|
+
"output_required": true,
|
14089
14092
|
"required": false,
|
14090
14093
|
"type": "list",
|
14091
14094
|
"value_allowed_null": false
|
@@ -213,7 +213,7 @@
|
|
213
213
|
"CreateRule": [
|
214
214
|
{
|
215
215
|
"document": "创建一个规则引擎",
|
216
|
-
"input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateRule\n<公共请求参数>\n\n{\n \"Status\": \"disable\",\n \"Rules\": [\n {\n \"Actions\": [\n {\n \"NormalAction\": {\n \"Action\": \"RangeOriginPull\",\n \"Parameters\": [\n {\n \"Name\": \"Switch\",\n \"Values\": [\n \"on\"\n ]\n }\n ]\n }\n },\n {\n \"CodeAction\": {\n \"Action\": \"StatusCodeCache\",\n \"Parameters\": [\n {\n \"Name\": \"CacheTime\",\n \"StatusCode\":
|
216
|
+
"input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateRule\n<公共请求参数>\n\n{\n \"Status\": \"disable\",\n \"Rules\": [\n {\n \"Actions\": [\n {\n \"NormalAction\": {\n \"Action\": \"RangeOriginPull\",\n \"Parameters\": [\n {\n \"Name\": \"Switch\",\n \"Values\": [\n \"on\"\n ]\n }\n ]\n }\n },\n {\n \"CodeAction\": {\n \"Action\": \"StatusCodeCache\",\n \"Parameters\": [\n {\n \"Name\": \"CacheTime\",\n \"StatusCode\": 400,\n \"Values\": [\n \"20\"\n ]\n }\n ]\n }\n },\n {\n \"RewriteAction\": {\n \"Action\": \"ResponseHeader\",\n \"Parameters\": [\n {\n \"Action\": \"set\",\n \"Name\": \"Foo\",\n \"Values\": [\n \"Bar\"\n ]\n },\n {\n \"Action\": \"add\",\n \"Name\": \"Hello\",\n \"Values\": [\n \"World\"\n ]\n },\n {\n \"Action\": \"del\",\n \"Name\": \"Foo2\",\n \"Values\": []\n }\n ]\n }\n }\n ],\n \"Conditions\": [\n {\n \"Conditions\": [\n {\n \"Operator\": \"equal\",\n \"Target\": \"host\",\n \"Values\": [\n \"test.vernayang.com\"\n ]\n }\n ]\n }\n ]\n }\n ],\n \"RuleName\": \"new_rule01\",\n \"ZoneId\": \"zone-qbjifysd\"\n}",
|
217
217
|
"output": "{\n \"Response\": {\n \"RequestId\": \"811d2583-310c-41f4-b5e7-abe4074047d4\",\n \"RuleId\": \"rule-djuqmq\"\n }\n}",
|
218
218
|
"title": "CreateRule"
|
219
219
|
},
|
@@ -390,7 +390,7 @@
|
|
390
390
|
],
|
391
391
|
"DescribeAccelerationDomains": [
|
392
392
|
{
|
393
|
-
"document": "查询指定 zone-id
|
393
|
+
"document": "查询指定 zone-id 下源站类型为 IP_DOMAIN 的所有加速域名的信息,并将结果按照创建时间降序排列。",
|
394
394
|
"input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAccelerationDomains\n<公共请求参数>\n\n{\n \"ZoneId\": \"zone-20hyebgyfsko\",\n \"Filters\": [\n {\n \"Fuzzy\": true,\n \"Values\": [\n \"IP_DOMAIN\"\n ],\n \"Name\": \"origin-type\"\n }\n ],\n \"Direction\": \"desc\",\n \"Order\": \"created_on\",\n \"Match\": \"all\"\n}",
|
395
395
|
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"AccelerationDomains\": [\n {\n \"ZoneId\": \"zone-20hyebgyfsko\",\n \"DomainName\": \"www.qq.com\",\n \"DomainStatus\": \"online\",\n \"OriginDetail\": {\n \"OriginType\": \"IP_DOMAIN\",\n \"Origin\": \"origin.qq.com\",\n \"BackupOrigin\": \"\",\n \"PrivateParameters\": [],\n \"PrivateAccess\": \"\",\n \"OriginGroupName\": \"\",\n \"BackOriginGroupName\": \"\"\n },\n \"IdentificationStatus\": \"finished\",\n \"Cname\": \"www.qq.com.eo.dnse3.com\",\n \"CreatedOn\": \"2020-09-22T00:00:00+00:00\",\n \"ModifiedOn\": \"2020-09-22T00:00:00+00:00\"\n }\n ],\n \"RequestId\": \"5e5a0d0f-52f3-4bad-9bd3-dcf1d5c954e7\"\n }\n}",
|
396
396
|
"title": "查询指定站点下的域名信息"
|
@@ -957,7 +957,7 @@
|
|
957
957
|
"ModifyRule": [
|
958
958
|
{
|
959
959
|
"document": "常用修改",
|
960
|
-
"input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyRule\n<公共请求参数>\n\n{\n \"Status\": \"disable\",\n \"Rules\": [\n {\n \"Actions\": [\n {\n \"NormalAction\": {\n \"Action\": \"RangeOriginPull\",\n \"Parameters\": [\n {\n \"Name\": \"Switch\",\n \"Values\": [\n \"on\"\n ]\n }\n ]\n }\n },\n {\n \"CodeAction\": {\n \"Action\": \"StatusCodeCache\",\n \"Parameters\": [\n {\n \"Name\": \"CacheTime\",\n \"StatusCode\": 200,\n \"Values\": [\n \"20\"\n ]\n }\n ]\n }\n },\n {\n \"RewriteAction\": {\n \"Action\": \"ResponseHeader\",\n \"Parameters\": [\n {\n \"Action\": \"set\",\n \"Name\": \"Foo\",\n \"Values\": [\n \"Bar\"\n ]\n },\n {\n \"Action\": \"add\",\n \"Name\": \"Hello\",\n \"Values\": [\n \"World\"\n ]\n },\n {\n \"Action\": \"del\",\n \"Name\": \"Foo2\",\n \"Values\": [
|
960
|
+
"input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyRule\n<公共请求参数>\n\n{\n \"Status\": \"disable\",\n \"Rules\": [\n {\n \"Actions\": [\n {\n \"NormalAction\": {\n \"Action\": \"RangeOriginPull\",\n \"Parameters\": [\n {\n \"Name\": \"Switch\",\n \"Values\": [\n \"on\"\n ]\n }\n ]\n }\n },\n {\n \"CodeAction\": {\n \"Action\": \"StatusCodeCache\",\n \"Parameters\": [\n {\n \"Name\": \"CacheTime\",\n \"StatusCode\": 200,\n \"Values\": [\n \"20\"\n ]\n }\n ]\n }\n },\n {\n \"RewriteAction\": {\n \"Action\": \"ResponseHeader\",\n \"Parameters\": [\n {\n \"Action\": \"set\",\n \"Name\": \"Foo\",\n \"Values\": [\n \"Bar\"\n ]\n },\n {\n \"Action\": \"add\",\n \"Name\": \"Hello\",\n \"Values\": [\n \"World\"\n ]\n },\n {\n \"Action\": \"del\",\n \"Name\": \"Foo2\",\n \"Values\": []\n }\n ]\n }\n }\n ],\n \"Conditions\": [\n {\n \"Conditions\": [\n {\n \"Operator\": \"equal\",\n \"Target\": \"host\",\n \"Values\": [\n \"www.shawndai.cn\"\n ]\n }\n ]\n }\n ]\n }\n ],\n \"RuleName\": \"new_rule02\",\n \"ZoneId\": \"zone-26r78x31ny86\",\n \"RuleId\": \"rule-djuqmq\"\n}",
|
961
961
|
"output": "{\n \"Response\": {\n \"RequestId\": \"811d2583-310c-41f4-b5e7-abe4074047d4\",\n \"RuleId\": \"rule-djuqmq\"\n }\n}",
|
962
962
|
"title": "ModifyRule"
|
963
963
|
}
|