tccli 3.0.1125.1__py2.py3-none-any.whl → 3.0.1126.1__py2.py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
@@ -70,6 +70,13 @@
70
70
  "output": "CreateConfigGroupVersionResponse",
71
71
  "status": "online"
72
72
  },
73
+ "CreateCustomizeErrorPage": {
74
+ "document": "创建自定义错误页面。",
75
+ "input": "CreateCustomizeErrorPageRequest",
76
+ "name": "创建自定义错误页面",
77
+ "output": "CreateCustomizeErrorPageResponse",
78
+ "status": "online"
79
+ },
73
80
  "CreateL4Proxy": {
74
81
  "document": "用于创建四层代理实例。",
75
82
  "input": "CreateL4ProxyRequest",
@@ -182,6 +189,13 @@
182
189
  "output": "DeleteApplicationProxyRuleResponse",
183
190
  "status": "online"
184
191
  },
192
+ "DeleteCustomErrorPage": {
193
+ "document": "删除自定义错误页面。",
194
+ "input": "DeleteCustomErrorPageRequest",
195
+ "name": "删除自定义错误页面",
196
+ "output": "DeleteCustomErrorPageResponse",
197
+ "status": "online"
198
+ },
185
199
  "DeleteL4Proxy": {
186
200
  "document": "用于删除四层代理实例。",
187
201
  "input": "DeleteL4ProxyRequest",
@@ -301,6 +315,13 @@
301
315
  "output": "DescribeContentQuotaResponse",
302
316
  "status": "online"
303
317
  },
318
+ "DescribeCustomErrorPages": {
319
+ "document": "查询自定义错误页列表。",
320
+ "input": "DescribeCustomErrorPagesRequest",
321
+ "name": "查询自定义错误页列表",
322
+ "output": "DescribeCustomErrorPagesResponse",
323
+ "status": "online"
324
+ },
304
325
  "DescribeDDoSAttackData": {
305
326
  "document": "本接口(DescribeDDoSAttackData)用于查询DDoS攻击时序数据。",
306
327
  "input": "DescribeDDoSAttackDataRequest",
@@ -595,6 +616,13 @@
595
616
  "output": "ModifyApplicationProxyStatusResponse",
596
617
  "status": "online"
597
618
  },
619
+ "ModifyCustomErrorPage": {
620
+ "document": "修改自定义错误页面。",
621
+ "input": "ModifyCustomErrorPageRequest",
622
+ "name": "修改自定义错误页面",
623
+ "output": "ModifyCustomErrorPageResponse",
624
+ "status": "online"
625
+ },
598
626
  "ModifyHostsCertificate": {
599
627
  "document": "完成域名创建之后,您可以为域名配置自有证书,也可以使用 EdgeOne 为您提供的 [免费证书](https://cloud.tencent.com/document/product/1552/90437)。\n如果您需要配置自有证书,请先将证书上传至 [SSL证书控制台](https://console.cloud.tencent.com/certoverview),然后在本接口中传入对应的证书 ID。详情参考 [部署自有证书至 EdgeOne 域名\n](https://cloud.tencent.com/document/product/1552/88874)。",
600
628
  "input": "ModifyHostsCertificateRequest",
@@ -3622,6 +3650,79 @@
3622
3650
  ],
3623
3651
  "type": "object"
3624
3652
  },
3653
+ "CreateCustomizeErrorPageRequest": {
3654
+ "document": "CreateCustomizeErrorPage请求参数结构体",
3655
+ "members": [
3656
+ {
3657
+ "disabled": false,
3658
+ "document": "站点 ID。",
3659
+ "example": "zone-2kplomhisdcb",
3660
+ "member": "string",
3661
+ "name": "ZoneId",
3662
+ "required": true,
3663
+ "type": "string"
3664
+ },
3665
+ {
3666
+ "disabled": false,
3667
+ "document": "自定义错误页名称,名称为 2-30 个字符。",
3668
+ "example": "错误定制页",
3669
+ "member": "string",
3670
+ "name": "Name",
3671
+ "required": true,
3672
+ "type": "string"
3673
+ },
3674
+ {
3675
+ "disabled": false,
3676
+ "document": "自定义错误页面类型,取值有:<li>text/html; </li><li>application/json;</li><li>text/plain;</li><li>text/xml。</li>",
3677
+ "example": "application/json",
3678
+ "member": "string",
3679
+ "name": "ContentType",
3680
+ "required": true,
3681
+ "type": "string"
3682
+ },
3683
+ {
3684
+ "disabled": false,
3685
+ "document": "自定义错误页面描述,描述不超过 60 个字符。",
3686
+ "example": "web规则自定义错误页面",
3687
+ "member": "string",
3688
+ "name": "Description",
3689
+ "required": false,
3690
+ "type": "string"
3691
+ },
3692
+ {
3693
+ "disabled": false,
3694
+ "document": "自定义错误页面内容,内容不超过 2KB。",
3695
+ "example": "{\"title\":\"自定义错误页\", \"Content\":\"自定义错误页面内容\"}",
3696
+ "member": "string",
3697
+ "name": "Content",
3698
+ "required": false,
3699
+ "type": "string"
3700
+ }
3701
+ ],
3702
+ "type": "object"
3703
+ },
3704
+ "CreateCustomizeErrorPageResponse": {
3705
+ "document": "CreateCustomizeErrorPage返回参数结构体",
3706
+ "members": [
3707
+ {
3708
+ "disabled": false,
3709
+ "document": "页面 ID。",
3710
+ "example": "p-2kplomhisdcb",
3711
+ "member": "string",
3712
+ "name": "PageId",
3713
+ "output_required": true,
3714
+ "type": "string",
3715
+ "value_allowed_null": false
3716
+ },
3717
+ {
3718
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
3719
+ "member": "string",
3720
+ "name": "RequestId",
3721
+ "type": "string"
3722
+ }
3723
+ ],
3724
+ "type": "object"
3725
+ },
3625
3726
  "CreateL4ProxyRequest": {
3626
3727
  "document": "CreateL4Proxy请求参数结构体",
3627
3728
  "members": [
@@ -4638,6 +4739,82 @@
4638
4739
  ],
4639
4740
  "usage": "both"
4640
4741
  },
4742
+ "CustomErrorPage": {
4743
+ "document": "自定义错误码页面结构体。",
4744
+ "members": [
4745
+ {
4746
+ "disabled": false,
4747
+ "document": "自定义错误页面 ID。",
4748
+ "example": "p-2kplomhisdcb",
4749
+ "member": "string",
4750
+ "name": "PageId",
4751
+ "output_required": false,
4752
+ "type": "string",
4753
+ "value_allowed_null": false
4754
+ },
4755
+ {
4756
+ "disabled": false,
4757
+ "document": "站点 ID。",
4758
+ "example": "zone-2kplomhisdcb",
4759
+ "member": "string",
4760
+ "name": "ZoneId",
4761
+ "output_required": false,
4762
+ "type": "string",
4763
+ "value_allowed_null": false
4764
+ },
4765
+ {
4766
+ "disabled": false,
4767
+ "document": "自定义错误页面名称。",
4768
+ "example": "web防护页面",
4769
+ "member": "string",
4770
+ "name": "Name",
4771
+ "output_required": false,
4772
+ "type": "string",
4773
+ "value_allowed_null": false
4774
+ },
4775
+ {
4776
+ "disabled": false,
4777
+ "document": "自定义错误页面类型。",
4778
+ "example": "application/json",
4779
+ "member": "string",
4780
+ "name": "ContentType",
4781
+ "output_required": false,
4782
+ "type": "string",
4783
+ "value_allowed_null": false
4784
+ },
4785
+ {
4786
+ "disabled": false,
4787
+ "document": "自定义错误页面描述。",
4788
+ "example": "web防护页面",
4789
+ "member": "string",
4790
+ "name": "Description",
4791
+ "output_required": false,
4792
+ "type": "string",
4793
+ "value_allowed_null": false
4794
+ },
4795
+ {
4796
+ "disabled": false,
4797
+ "document": "自定义错误页面内容。",
4798
+ "example": "{\"title\": \"自定义错误页面title\",\"content\": \"自定义错误页面内容\"}",
4799
+ "member": "string",
4800
+ "name": "Content",
4801
+ "output_required": false,
4802
+ "type": "string",
4803
+ "value_allowed_null": false
4804
+ },
4805
+ {
4806
+ "disabled": false,
4807
+ "document": "自定义错误页面引用。",
4808
+ "example": "无",
4809
+ "member": "ErrorPageReference",
4810
+ "name": "References",
4811
+ "output_required": false,
4812
+ "type": "list",
4813
+ "value_allowed_null": false
4814
+ }
4815
+ ],
4816
+ "usage": "out"
4817
+ },
4641
4818
  "CustomField": {
4642
4819
  "document": "实时日志投递任务中的自定义日志字段。",
4643
4820
  "members": [
@@ -5152,6 +5329,42 @@
5152
5329
  ],
5153
5330
  "type": "object"
5154
5331
  },
5332
+ "DeleteCustomErrorPageRequest": {
5333
+ "document": "DeleteCustomErrorPage请求参数结构体",
5334
+ "members": [
5335
+ {
5336
+ "disabled": false,
5337
+ "document": "站点 ID。",
5338
+ "example": "zone-2kplomhisdcb",
5339
+ "member": "string",
5340
+ "name": "ZoneId",
5341
+ "required": true,
5342
+ "type": "string"
5343
+ },
5344
+ {
5345
+ "disabled": false,
5346
+ "document": "自定义页面 ID。",
5347
+ "example": "p-2kplomhisdcb",
5348
+ "member": "string",
5349
+ "name": "PageId",
5350
+ "required": true,
5351
+ "type": "string"
5352
+ }
5353
+ ],
5354
+ "type": "object"
5355
+ },
5356
+ "DeleteCustomErrorPageResponse": {
5357
+ "document": "DeleteCustomErrorPage返回参数结构体",
5358
+ "members": [
5359
+ {
5360
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
5361
+ "member": "string",
5362
+ "name": "RequestId",
5363
+ "type": "string"
5364
+ }
5365
+ ],
5366
+ "type": "object"
5367
+ },
5155
5368
  "DeleteL4ProxyRequest": {
5156
5369
  "document": "DeleteL4Proxy请求参数结构体",
5157
5370
  "members": [
@@ -6131,6 +6344,80 @@
6131
6344
  ],
6132
6345
  "type": "object"
6133
6346
  },
6347
+ "DescribeCustomErrorPagesRequest": {
6348
+ "document": "DescribeCustomErrorPages请求参数结构体",
6349
+ "members": [
6350
+ {
6351
+ "disabled": false,
6352
+ "document": "站点 ID。",
6353
+ "example": "zone-2kplomhisdcb",
6354
+ "member": "string",
6355
+ "name": "ZoneId",
6356
+ "required": true,
6357
+ "type": "string"
6358
+ },
6359
+ {
6360
+ "disabled": false,
6361
+ "document": "过滤条件,Filters.Values 的上限为20,详细的过滤条件Name值如下:\n<li>page-id: 按照页面 ID 进行过滤;</li>\n<li>name: 按照页面名称进行过滤;</li>\n<li>description:按照页面描述过滤;</li>\n<li>content-type:按照页面类型过滤。</li>",
6362
+ "example": "无",
6363
+ "member": "AdvancedFilter",
6364
+ "name": "Filters",
6365
+ "required": false,
6366
+ "type": "list"
6367
+ },
6368
+ {
6369
+ "disabled": false,
6370
+ "document": "分页查询偏移量。默认值:0。",
6371
+ "example": "0",
6372
+ "member": "uint64",
6373
+ "name": "Offset",
6374
+ "required": false,
6375
+ "type": "int"
6376
+ },
6377
+ {
6378
+ "disabled": false,
6379
+ "document": "分页查询限制数目。默认值:20,最大值:1000。 ",
6380
+ "example": "20",
6381
+ "member": "uint64",
6382
+ "name": "Limit",
6383
+ "required": false,
6384
+ "type": "int"
6385
+ }
6386
+ ],
6387
+ "type": "object"
6388
+ },
6389
+ "DescribeCustomErrorPagesResponse": {
6390
+ "document": "DescribeCustomErrorPages返回参数结构体",
6391
+ "members": [
6392
+ {
6393
+ "disabled": false,
6394
+ "document": "自定义错误页面总数。",
6395
+ "example": "0",
6396
+ "member": "uint64",
6397
+ "name": "TotalCount",
6398
+ "output_required": false,
6399
+ "type": "int",
6400
+ "value_allowed_null": false
6401
+ },
6402
+ {
6403
+ "disabled": false,
6404
+ "document": "自定义错误页面数据列表。",
6405
+ "example": "无",
6406
+ "member": "CustomErrorPage",
6407
+ "name": "ErrorPages",
6408
+ "output_required": false,
6409
+ "type": "list",
6410
+ "value_allowed_null": false
6411
+ },
6412
+ {
6413
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
6414
+ "member": "string",
6415
+ "name": "RequestId",
6416
+ "type": "string"
6417
+ }
6418
+ ],
6419
+ "type": "object"
6420
+ },
6134
6421
  "DescribeDDoSAttackDataRequest": {
6135
6422
  "document": "DescribeDDoSAttackData请求参数结构体",
6136
6423
  "members": [
@@ -9152,6 +9439,22 @@
9152
9439
  ],
9153
9440
  "usage": "out"
9154
9441
  },
9442
+ "ErrorPageReference": {
9443
+ "document": "自定义错误页面被引用的来源",
9444
+ "members": [
9445
+ {
9446
+ "disabled": false,
9447
+ "document": "引用的业务 ID,如自定义拦截规则 ID。",
9448
+ "example": "2181757654",
9449
+ "member": "string",
9450
+ "name": "BusinessId",
9451
+ "output_required": false,
9452
+ "type": "string",
9453
+ "value_allowed_null": false
9454
+ }
9455
+ ],
9456
+ "usage": "out"
9457
+ },
9155
9458
  "ExceptConfig": {
9156
9459
  "document": "例外规则,用于配置需要跳过特定场景的规则",
9157
9460
  "members": [
@@ -11310,6 +11613,78 @@
11310
11613
  ],
11311
11614
  "type": "object"
11312
11615
  },
11616
+ "ModifyCustomErrorPageRequest": {
11617
+ "document": "ModifyCustomErrorPage请求参数结构体",
11618
+ "members": [
11619
+ {
11620
+ "disabled": false,
11621
+ "document": "自定义错误页面 ID。",
11622
+ "example": "p-2kplomhisdcb",
11623
+ "member": "string",
11624
+ "name": "PageId",
11625
+ "required": true,
11626
+ "type": "string"
11627
+ },
11628
+ {
11629
+ "disabled": false,
11630
+ "document": "站点 ID。",
11631
+ "example": "zone-2kplomhisdcb",
11632
+ "member": "string",
11633
+ "name": "ZoneId",
11634
+ "required": true,
11635
+ "type": "string"
11636
+ },
11637
+ {
11638
+ "disabled": false,
11639
+ "document": "自定义错误页名称,名称为2 - 60个字符。",
11640
+ "example": "web防护自定义错误页",
11641
+ "member": "string",
11642
+ "name": "Name",
11643
+ "required": false,
11644
+ "type": "string"
11645
+ },
11646
+ {
11647
+ "disabled": false,
11648
+ "document": "自定义错误页描述,描述内容不超过60个字符。",
11649
+ "example": "web规则自定义错误页面",
11650
+ "member": "string",
11651
+ "name": "Description",
11652
+ "required": false,
11653
+ "type": "string"
11654
+ },
11655
+ {
11656
+ "disabled": false,
11657
+ "document": "自定义错误页面类型,取值有:<li>text/html。 </li><li>application/json。</li><li>plain/text。</li><li>text/xml。</li>",
11658
+ "example": "application/json",
11659
+ "member": "string",
11660
+ "name": "ContentType",
11661
+ "required": false,
11662
+ "type": "string"
11663
+ },
11664
+ {
11665
+ "disabled": false,
11666
+ "document": "自定义错误页面内容。内容不超过 2KB。",
11667
+ "example": "{\"title\":\"自定义错误页\", \"Content\":\"自定义错误页面内容\"}",
11668
+ "member": "string",
11669
+ "name": "Content",
11670
+ "required": false,
11671
+ "type": "string"
11672
+ }
11673
+ ],
11674
+ "type": "object"
11675
+ },
11676
+ "ModifyCustomErrorPageResponse": {
11677
+ "document": "ModifyCustomErrorPage返回参数结构体",
11678
+ "members": [
11679
+ {
11680
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
11681
+ "member": "string",
11682
+ "name": "RequestId",
11683
+ "type": "string"
11684
+ }
11685
+ ],
11686
+ "type": "object"
11687
+ },
11313
11688
  "ModifyHostsCertificateRequest": {
11314
11689
  "document": "ModifyHostsCertificate请求参数结构体",
11315
11690
  "members": [
@@ -98,6 +98,14 @@
98
98
  "title": "为指定配置组创建新版本"
99
99
  }
100
100
  ],
101
+ "CreateCustomizeErrorPage": [
102
+ {
103
+ "document": "创建自定义错误页面接口",
104
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateCustomizeErrorPage\n<公共请求参数>\n\n{\n \"ZoneId\": \"zone-2kplomhisdcb\",\n \"Name\": \"web防护自定义错误页面\",\n \"Description\": \"web防护自定义错误页面\",\n \"ContentType\": \"application/json\",\n \"Content\": \"{\\\"title\\\":\\\"自定义错误页\\\", \\\"Content\\\":\\\"自定义错误页面内容\\\"}\"\n}",
105
+ "output": "{\n \"Response\": {\n \"PageId\": \"p-2kplomhisdcb\",\n \"RequestId\": \"9bd9c732-8f9a-4cd3-a3e8-1c9db5e53631\"\n }\n}",
106
+ "title": "创建自定义错误页面接口"
107
+ }
108
+ ],
101
109
  "CreateL4Proxy": [
102
110
  {
103
111
  "document": "在 ZoneId 为 zone-2jc2xy3hr7f7 的站点下创建一个名称为 test,加速区域为中国大陆可用区的四层实例。",
@@ -316,6 +324,14 @@
316
324
  "title": "删除应用代理规则"
317
325
  }
318
326
  ],
327
+ "DeleteCustomErrorPage": [
328
+ {
329
+ "document": "删除自定义错误页面接口",
330
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteCustomErrorPage\n<公共请求参数>\n\n{\n \"PageId\": \"p-2kplomhisdcb\",\n \"ZoneId\": \"zone-2kplomhisdcb\"\n}",
331
+ "output": "{\n \"Response\": {\n \"RequestId\": \"9bd9c732-8f9a-4cd3-a3e8-1c9db5e53631\"\n }\n}",
332
+ "title": "删除自定义错误页面接口"
333
+ }
334
+ ],
319
335
  "DeleteL4Proxy": [
320
336
  {
321
337
  "document": "删除 ZoneId 为 zone-24wjy25v1cwi 下,ProxyId 为 sid-2qwk27xf7j9g 的四层代理实例。",
@@ -452,6 +468,14 @@
452
468
  "title": "查询配额"
453
469
  }
454
470
  ],
471
+ "DescribeCustomErrorPages": [
472
+ {
473
+ "document": "自定义错误页面查询列表",
474
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeCustomErrorPages\n<公共请求参数>\n\n{\n \"ZoneId\": \"zone-2kplomhisdcb\",\n \"Filters\": [\n {\n \"Name\": \"name\",\n \"Values\": [\n \"web防护错误页面\"\n ]\n }\n ],\n \"Offset\": 1,\n \"Limit\": 20\n}",
475
+ "output": "{\n \"Response\": {\n \"ErrorPages\": [\n {\n \"PageId\": \"p-2kplomhisdcb\",\n \"Name\": \"web防护错误页面\",\n \"ContentType\": \"application/json\",\n \"Content\": \"{\\\"title\\\": \\\"自定义错误页面title\\\",\\\"content\\\": \\\"自定义错误页面内容\\\"}\",\n \"Description\": \"自定义的web防护错误页面\"\n }\n ],\n \"TotalCount\": 1,\n \"RequestId\": \"9bd9c732-8f9a-4cd3-a3e8-1c9db5e53631\"\n }\n}",
476
+ "title": "自定义错误页面查询列表"
477
+ }
478
+ ],
455
479
  "DescribeDDoSAttackData": [
456
480
  {
457
481
  "document": "",
@@ -872,6 +896,14 @@
872
896
  "title": "修改应用代理的状态"
873
897
  }
874
898
  ],
899
+ "ModifyCustomErrorPage": [
900
+ {
901
+ "document": "修改自定义错误页面。",
902
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyCustomErrorPage\n<公共请求参数>\n\n{\n \"PageId\": \"p-2kplomhisdcb\",\n \"ZoneId\": \"zone-2kplomhisdcb\",\n \"Name\": \"web防护自定义错误页面\",\n \"Description\": \"web防护自定义错误页面\",\n \"ContentType\": \"application/json\",\n \"Content\": \"{\\\"title\\\": \\\"自定义错误页面title\\\",\\\"content\\\": \\\"自定义错误页面内容\\\"}\"\n}",
903
+ "output": "{\n \"Response\": {\n \"RequestId\": \"9bd9c732-8f9a-4cd3-a3e8-1c9db5e53631\"\n }\n}",
904
+ "title": "修改自定义错误页面"
905
+ }
906
+ ],
875
907
  "ModifyHostsCertificate": [
876
908
  {
877
909
  "document": "针对站点(ZoneId 为 zone-2fgd17m17xw)下的域名(abc.test.com)配置 SSL 证书(CertId 为 cert-244ffgv7m17xw)。",
@@ -4801,6 +4801,58 @@ def doDeleteWafDomains(args, parsed_globals):
4801
4801
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
4802
4802
 
4803
4803
 
4804
+ def doDescribePublicAddressConfig(args, parsed_globals):
4805
+ g_param = parse_global_arg(parsed_globals)
4806
+
4807
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
4808
+ cred = credential.CVMRoleCredential()
4809
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
4810
+ cred = credential.STSAssumeRoleCredential(
4811
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
4812
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
4813
+ )
4814
+ elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
4815
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
4816
+ else:
4817
+ cred = credential.Credential(
4818
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
4819
+ )
4820
+ http_profile = HttpProfile(
4821
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
4822
+ reqMethod="POST",
4823
+ endpoint=g_param[OptionsDefine.Endpoint],
4824
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
4825
+ )
4826
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
4827
+ if g_param[OptionsDefine.Language]:
4828
+ profile.language = g_param[OptionsDefine.Language]
4829
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
4830
+ client = mod.TseClient(cred, g_param[OptionsDefine.Region], profile)
4831
+ client._sdkVersion += ("_CLI_" + __version__)
4832
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
4833
+ model = models.DescribePublicAddressConfigRequest()
4834
+ model.from_json_string(json.dumps(args))
4835
+ start_time = time.time()
4836
+ while True:
4837
+ rsp = client.DescribePublicAddressConfig(model)
4838
+ result = rsp.to_json_string()
4839
+ try:
4840
+ json_obj = json.loads(result)
4841
+ except TypeError as e:
4842
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
4843
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
4844
+ break
4845
+ cur_time = time.time()
4846
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
4847
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
4848
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
4849
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
4850
+ else:
4851
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
4852
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
4853
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
4854
+
4855
+
4804
4856
  def doDeleteCloudNativeAPIGatewayService(args, parsed_globals):
4805
4857
  g_param = parse_global_arg(parsed_globals)
4806
4858
 
@@ -5892,6 +5944,7 @@ ACTION_MAP = {
5892
5944
  "BindAutoScalerResourceStrategyToGroups": doBindAutoScalerResourceStrategyToGroups,
5893
5945
  "CreateCloudNativeAPIGatewayRouteRateLimit": doCreateCloudNativeAPIGatewayRouteRateLimit,
5894
5946
  "DeleteWafDomains": doDeleteWafDomains,
5947
+ "DescribePublicAddressConfig": doDescribePublicAddressConfig,
5895
5948
  "DeleteCloudNativeAPIGatewayService": doDeleteCloudNativeAPIGatewayService,
5896
5949
  "DescribeCloudNativeAPIGatewayRoutes": doDescribeCloudNativeAPIGatewayRoutes,
5897
5950
  "DescribeConfigFileGroups": doDescribeConfigFileGroups,
@@ -525,6 +525,13 @@
525
525
  "output": "DescribeOneCloudNativeAPIGatewayServiceResponse",
526
526
  "status": "online"
527
527
  },
528
+ "DescribePublicAddressConfig": {
529
+ "document": "查询公网地址信息",
530
+ "input": "DescribePublicAddressConfigRequest",
531
+ "name": "查询公网地址信息",
532
+ "output": "DescribePublicAddressConfigResponse",
533
+ "status": "online"
534
+ },
528
535
  "DescribePublicNetwork": {
529
536
  "document": "查询云原生API网关实例公网详情",
530
537
  "input": "DescribePublicNetworkRequest",
@@ -8920,6 +8927,42 @@
8920
8927
  ],
8921
8928
  "type": "object"
8922
8929
  },
8930
+ "DescribePublicAddressConfigRequest": {
8931
+ "document": "DescribePublicAddressConfig请求参数结构体",
8932
+ "members": [
8933
+ {
8934
+ "disabled": false,
8935
+ "document": "网关实例id",
8936
+ "example": "gateway-xxxx1234",
8937
+ "member": "string",
8938
+ "name": "GatewayId",
8939
+ "required": true,
8940
+ "type": "string"
8941
+ },
8942
+ {
8943
+ "disabled": false,
8944
+ "document": "查询该分组的公网信息,不传则查询实例所有的公网负载均衡信息",
8945
+ "example": "group-xxxx1234",
8946
+ "member": "string",
8947
+ "name": "GroupId",
8948
+ "required": false,
8949
+ "type": "string"
8950
+ }
8951
+ ],
8952
+ "type": "object"
8953
+ },
8954
+ "DescribePublicAddressConfigResponse": {
8955
+ "document": "DescribePublicAddressConfig返回参数结构体",
8956
+ "members": [
8957
+ {
8958
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
8959
+ "member": "string",
8960
+ "name": "RequestId",
8961
+ "type": "string"
8962
+ }
8963
+ ],
8964
+ "type": "object"
8965
+ },
8923
8966
  "DescribePublicNetworkRequest": {
8924
8967
  "document": "DescribePublicNetwork请求参数结构体",
8925
8968
  "members": [
@@ -606,6 +606,14 @@
606
606
  "title": "获取云原生网关服务详情"
607
607
  }
608
608
  ],
609
+ "DescribePublicAddressConfig": [
610
+ {
611
+ "document": "",
612
+ "input": "POST / HTTP/1.1\nHost: tse.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribePublicAddressConfig\n<公共请求参数>\n\n{\n \"GatewayId\": \"abc\",\n \"GroupId\": \"abc\"\n}",
613
+ "output": "{\n \"Response\": {\n \"RequestId\": \"abc\"\n }\n}",
614
+ "title": "查询网关公网地址列表"
615
+ }
616
+ ],
609
617
  "DescribePublicNetwork": [
610
618
  {
611
619
  "document": "查询云原生API网关实例公网详情",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tccli
3
- Version: 3.0.1125.1
3
+ Version: 3.0.1126.1
4
4
  Summary: Universal Command Line Environment for Tencent Cloud
5
5
  Project-URL: Bug Tracker, https://github.com/TencentCloud/tencentcloud-cli/issues
6
6
  Project-URL: Homepage, https://github.com/TencentCloud/tencentcloud-cli
@@ -13,7 +13,7 @@ Classifier: Programming Language :: Python :: 2.7
13
13
  Classifier: Programming Language :: Python :: 3
14
14
  Requires-Dist: jmespath==0.10.0
15
15
  Requires-Dist: six==1.16.0
16
- Requires-Dist: tencentcloud-sdk-python>=3.0.1125
16
+ Requires-Dist: tencentcloud-sdk-python>=3.0.1126
17
17
  Description-Content-Type: text/markdown
18
18
 
19
19
  # 命令行工具简介