tccli 3.0.1182.1__py2.py3-none-any.whl → 3.0.1184.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 (72) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/ams/v20201229/api.json +20 -0
  3. tccli/services/ams/v20201229/examples.json +1 -1
  4. tccli/services/asr/asr_client.py +229 -17
  5. tccli/services/asr/v20190614/api.json +379 -0
  6. tccli/services/asr/v20190614/examples.json +32 -0
  7. tccli/services/bi/v20220105/api.json +10 -0
  8. tccli/services/cdwdoris/v20211228/api.json +189 -8
  9. tccli/services/cdwdoris/v20211228/examples.json +3 -3
  10. tccli/services/cfg/v20210820/api.json +134 -11
  11. tccli/services/cfw/cfw_client.py +53 -0
  12. tccli/services/cfw/v20190904/api.json +44 -0
  13. tccli/services/cfw/v20190904/examples.json +8 -0
  14. tccli/services/ckafka/v20190819/api.json +46 -16
  15. tccli/services/ckafka/v20190819/examples.json +8 -8
  16. tccli/services/clb/v20180317/api.json +40 -1
  17. tccli/services/cynosdb/cynosdb_client.py +110 -4
  18. tccli/services/cynosdb/v20190107/api.json +246 -0
  19. tccli/services/cynosdb/v20190107/examples.json +16 -0
  20. tccli/services/dasb/v20191018/api.json +9 -0
  21. tccli/services/dbbrain/v20210527/api.json +15 -15
  22. tccli/services/dc/v20180410/api.json +117 -73
  23. tccli/services/dc/v20180410/examples.json +11 -11
  24. tccli/services/dcdb/dcdb_client.py +53 -0
  25. tccli/services/dcdb/v20180411/api.json +54 -0
  26. tccli/services/dcdb/v20180411/examples.json +8 -0
  27. tccli/services/emr/emr_client.py +53 -0
  28. tccli/services/emr/v20190103/api.json +52 -0
  29. tccli/services/emr/v20190103/examples.json +8 -0
  30. tccli/services/es/es_client.py +53 -0
  31. tccli/services/es/v20180416/api.json +63 -0
  32. tccli/services/es/v20180416/examples.json +8 -0
  33. tccli/services/ess/v20201111/examples.json +3 -3
  34. tccli/services/essbasic/v20210526/api.json +8 -8
  35. tccli/services/essbasic/v20210526/examples.json +9 -9
  36. tccli/services/hunyuan/v20230901/api.json +1 -1
  37. tccli/services/ims/v20201229/api.json +1 -1
  38. tccli/services/iss/v20230517/api.json +18 -0
  39. tccli/services/iss/v20230517/examples.json +3 -3
  40. tccli/services/lke/v20231130/api.json +142 -3
  41. tccli/services/mariadb/mariadb_client.py +57 -4
  42. tccli/services/mariadb/v20170312/api.json +54 -0
  43. tccli/services/mariadb/v20170312/examples.json +8 -0
  44. tccli/services/oceanus/v20190422/api.json +19 -0
  45. tccli/services/oceanus/v20190422/examples.json +1 -1
  46. tccli/services/ocr/v20181119/api.json +7 -7
  47. tccli/services/postgres/v20170312/api.json +3 -0
  48. tccli/services/scf/v20180416/api.json +8 -8
  49. tccli/services/sms/v20190711/api.json +49 -49
  50. tccli/services/sms/v20190711/examples.json +2 -2
  51. tccli/services/ssl/ssl_client.py +65 -12
  52. tccli/services/ssl/v20191205/api.json +133 -3
  53. tccli/services/ssl/v20191205/examples.json +10 -2
  54. tccli/services/tdmq/v20200217/api.json +170 -93
  55. tccli/services/tdmq/v20200217/examples.json +8 -8
  56. tccli/services/thpc/thpc_client.py +53 -0
  57. tccli/services/thpc/v20230321/api.json +561 -0
  58. tccli/services/thpc/v20230321/examples.json +8 -0
  59. tccli/services/tke/v20180525/api.json +14 -2
  60. tccli/services/tke/v20180525/examples.json +3 -3
  61. tccli/services/tmt/v20180321/api.json +1 -1
  62. tccli/services/trocket/v20230308/api.json +62 -12
  63. tccli/services/trtc/v20190722/api.json +2 -2
  64. tccli/services/vpc/v20170312/api.json +23 -0
  65. tccli/services/wedata/v20210820/api.json +176 -0
  66. tccli/services/wedata/v20210820/examples.json +8 -0
  67. tccli/services/wedata/wedata_client.py +53 -0
  68. {tccli-3.0.1182.1.dist-info → tccli-3.0.1184.1.dist-info}/METADATA +2 -2
  69. {tccli-3.0.1182.1.dist-info → tccli-3.0.1184.1.dist-info}/RECORD +72 -72
  70. {tccli-3.0.1182.1.dist-info → tccli-3.0.1184.1.dist-info}/WHEEL +0 -0
  71. {tccli-3.0.1182.1.dist-info → tccli-3.0.1184.1.dist-info}/entry_points.txt +0 -0
  72. {tccli-3.0.1182.1.dist-info → tccli-3.0.1184.1.dist-info}/license_files/LICENSE +0 -0
@@ -1544,6 +1544,24 @@
1544
1544
  "CreateBackUpScheduleRequest": {
1545
1545
  "document": "CreateBackUpSchedule请求参数结构体",
1546
1546
  "members": [
1547
+ {
1548
+ "disabled": false,
1549
+ "document": "集群id",
1550
+ "example": "\"cdwch-xxx\"",
1551
+ "member": "string",
1552
+ "name": "InstanceId",
1553
+ "required": true,
1554
+ "type": "string"
1555
+ },
1556
+ {
1557
+ "disabled": false,
1558
+ "document": "操作类型 create(创建) update(编辑修改)",
1559
+ "example": "\"create\"",
1560
+ "member": "string",
1561
+ "name": "OperationType",
1562
+ "required": true,
1563
+ "type": "string"
1564
+ },
1547
1565
  {
1548
1566
  "disabled": false,
1549
1567
  "document": "编辑时需要传",
@@ -1633,6 +1651,42 @@
1633
1651
  "name": "CosSourceInfo",
1634
1652
  "required": false,
1635
1653
  "type": "object"
1654
+ },
1655
+ {
1656
+ "disabled": false,
1657
+ "document": "调度任务名",
1658
+ "example": "表1备份",
1659
+ "member": "string",
1660
+ "name": "ScheduleName",
1661
+ "required": false,
1662
+ "type": "string"
1663
+ },
1664
+ {
1665
+ "disabled": false,
1666
+ "document": "调度信息",
1667
+ "example": "无",
1668
+ "member": "ScheduleInfo",
1669
+ "name": "ScheduleInfo",
1670
+ "required": false,
1671
+ "type": "object"
1672
+ },
1673
+ {
1674
+ "disabled": false,
1675
+ "document": "更新任务状态:\n3-暂停,\n2-删除,\n1-启动",
1676
+ "example": "1",
1677
+ "member": "int64",
1678
+ "name": "UpdateStatus",
1679
+ "required": false,
1680
+ "type": "int"
1681
+ },
1682
+ {
1683
+ "disabled": false,
1684
+ "document": "当前任务的cos桶信息",
1685
+ "example": "carson-test-1301087413",
1686
+ "member": "string",
1687
+ "name": "CosBucket",
1688
+ "required": false,
1689
+ "type": "string"
1636
1690
  }
1637
1691
  ],
1638
1692
  "type": "object"
@@ -3734,7 +3788,7 @@
3734
3788
  },
3735
3789
  {
3736
3790
  "disabled": false,
3737
- "document": "搜索标签列表",
3791
+ "document": "搜索标签列表,没匹配到则不过滤集群列表",
3738
3792
  "example": "无",
3739
3793
  "member": "SearchTags",
3740
3794
  "name": "SearchTags",
@@ -4239,6 +4293,33 @@
4239
4293
  "DescribeSqlApisRequest": {
4240
4294
  "document": "DescribeSqlApis请求参数结构体",
4241
4295
  "members": [
4296
+ {
4297
+ "disabled": false,
4298
+ "document": "实例id",
4299
+ "example": "cdwch-xxxx",
4300
+ "member": "string",
4301
+ "name": "InstanceId",
4302
+ "required": true,
4303
+ "type": "string"
4304
+ },
4305
+ {
4306
+ "disabled": false,
4307
+ "document": "GetUsers:获取用户列表;\nGetDatabases:获取数据库列表;\nGetTables:获取数据库表列表;\nGetUserPrivilegesV2:获取用户下的权限,粒度到表级别;\nDeleteUser:删除用户;\nGetCatalog:获取Catalog列表;",
4308
+ "example": "GetClusters",
4309
+ "member": "string",
4310
+ "name": "ApiType",
4311
+ "required": true,
4312
+ "type": "string"
4313
+ },
4314
+ {
4315
+ "disabled": false,
4316
+ "document": "用户名称",
4317
+ "example": "user1",
4318
+ "member": "string",
4319
+ "name": "UserName",
4320
+ "required": false,
4321
+ "type": "string"
4322
+ },
4242
4323
  {
4243
4324
  "disabled": false,
4244
4325
  "document": "用户链接来自的 IP",
@@ -4290,6 +4371,26 @@
4290
4371
  "DescribeSqlApisResponse": {
4291
4372
  "document": "DescribeSqlApis返回参数结构体",
4292
4373
  "members": [
4374
+ {
4375
+ "disabled": false,
4376
+ "document": "返回的查询数据,大部分情况是list,也可能是bool\n注意:此字段可能返回 null,表示取不到有效值。",
4377
+ "example": "-",
4378
+ "member": "string",
4379
+ "name": "ReturnData",
4380
+ "output_required": true,
4381
+ "type": "string",
4382
+ "value_allowed_null": true
4383
+ },
4384
+ {
4385
+ "disabled": false,
4386
+ "document": "错误消息\n注意:此字段可能返回 null,表示取不到有效值。",
4387
+ "example": "-",
4388
+ "member": "string",
4389
+ "name": "ErrorMsg",
4390
+ "output_required": true,
4391
+ "type": "string",
4392
+ "value_allowed_null": true
4393
+ },
4293
4394
  {
4294
4395
  "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
4295
4396
  "member": "string",
@@ -7622,6 +7723,89 @@
7622
7723
  ],
7623
7724
  "type": "object"
7624
7725
  },
7726
+ "ScheduleInfo": {
7727
+ "document": "调度信息",
7728
+ "members": [
7729
+ {
7730
+ "disabled": false,
7731
+ "document": "生效时间\n注意:此字段可能返回 null,表示取不到有效值。",
7732
+ "example": "2023-09-07 00:00:00~2023-09-21 00:00:00\t",
7733
+ "member": "string",
7734
+ "name": "EffectivePeriod",
7735
+ "output_required": false,
7736
+ "required": false,
7737
+ "type": "string",
7738
+ "value_allowed_null": true
7739
+ },
7740
+ {
7741
+ "disabled": false,
7742
+ "document": "调度类型:\nDay-天\nWeek-周\nMonth-月\nOnce-单次\n注意:此字段可能返回 null,表示取不到有效值。",
7743
+ "example": "Day",
7744
+ "member": "string",
7745
+ "name": "ScheduleType",
7746
+ "output_required": false,
7747
+ "required": false,
7748
+ "type": "string",
7749
+ "value_allowed_null": true
7750
+ },
7751
+ {
7752
+ "disabled": false,
7753
+ "document": "执行调度的日期。调度类型为周和月时以英文逗号分隔;\n调度类型为单次时,该值是个日期\n注意:此字段可能返回 null,表示取不到有效值。",
7754
+ "example": "3,4,5",
7755
+ "member": "string",
7756
+ "name": "ScheduleData",
7757
+ "output_required": false,
7758
+ "required": false,
7759
+ "type": "string",
7760
+ "value_allowed_null": true
7761
+ },
7762
+ {
7763
+ "disabled": false,
7764
+ "document": "执行时间:时\n注意:此字段可能返回 null,表示取不到有效值。",
7765
+ "example": "11",
7766
+ "member": "int64",
7767
+ "name": "ScheduleHour",
7768
+ "output_required": false,
7769
+ "required": false,
7770
+ "type": "int",
7771
+ "value_allowed_null": true
7772
+ },
7773
+ {
7774
+ "disabled": false,
7775
+ "document": "执行时间:分\n注意:此字段可能返回 null,表示取不到有效值。",
7776
+ "example": "30",
7777
+ "member": "int64",
7778
+ "name": "ScheduleMin",
7779
+ "output_required": false,
7780
+ "required": false,
7781
+ "type": "int",
7782
+ "value_allowed_null": true
7783
+ },
7784
+ {
7785
+ "disabled": false,
7786
+ "document": "备份粒度:\nAll-全量\nDatabase-按库\nTable-按表\n注意:此字段可能返回 null,表示取不到有效值。",
7787
+ "example": "All",
7788
+ "member": "string",
7789
+ "name": "BackupScope",
7790
+ "output_required": false,
7791
+ "required": false,
7792
+ "type": "string",
7793
+ "value_allowed_null": true
7794
+ },
7795
+ {
7796
+ "disabled": false,
7797
+ "document": "备份库:如果是按库备份,则需要该字段,库之间用英文逗号分割\n注意:此字段可能返回 null,表示取不到有效值。",
7798
+ "example": "demo1,demo2",
7799
+ "member": "string",
7800
+ "name": "BackupDatabase",
7801
+ "output_required": false,
7802
+ "required": false,
7803
+ "type": "string",
7804
+ "value_allowed_null": true
7805
+ }
7806
+ ],
7807
+ "usage": "both"
7808
+ },
7625
7809
  "SearchTags": {
7626
7810
  "document": "列表页搜索的标记列表",
7627
7811
  "members": [
@@ -7632,8 +7816,7 @@
7632
7816
  "member": "string",
7633
7817
  "name": "TagKey",
7634
7818
  "required": false,
7635
- "type": "string",
7636
- "value_allowed_null": false
7819
+ "type": "string"
7637
7820
  },
7638
7821
  {
7639
7822
  "disabled": false,
@@ -7642,18 +7825,16 @@
7642
7825
  "member": "string",
7643
7826
  "name": "TagValue",
7644
7827
  "required": false,
7645
- "type": "string",
7646
- "value_allowed_null": false
7828
+ "type": "string"
7647
7829
  },
7648
7830
  {
7649
7831
  "disabled": false,
7650
- "document": "1表示只输入标签的键,没有输入值;0表示输入键时且输入值",
7832
+ "document": "1表示只输入标签的键,没有输入值;非1则表示输入键时且输入值",
7651
7833
  "example": "1",
7652
7834
  "member": "int64",
7653
7835
  "name": "AllValue",
7654
7836
  "required": false,
7655
- "type": "int",
7656
- "value_allowed_null": false
7837
+ "type": "int"
7657
7838
  }
7658
7839
  ],
7659
7840
  "usage": "in"
@@ -27,7 +27,7 @@
27
27
  "CreateBackUpSchedule": [
28
28
  {
29
29
  "document": "",
30
- "input": "POST / HTTP/1.1\nHost: cdwdoris.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateBackUpSchedule\n<公共请求参数>\n\n{\n \"ScheduleId\": 0,\n \"WeekDays\": \"1\",\n \"BackUpTables\": [\n {\n \"Table\": \"1\",\n \"TotalBytes\": 0,\n \"Database\": \"1\"\n }\n ],\n \"ExecuteHour\": 0\n}",
30
+ "input": "POST / HTTP/1.1\nHost: cdwdoris.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateBackUpSchedule\n<公共请求参数>\n\n{\n \"ScheduleId\": 0,\n \"InstanceId\": \"1\",\n \"WeekDays\": \"1\",\n \"BackUpTables\": [\n {\n \"Table\": \"1\",\n \"TotalBytes\": 0,\n \"Database\": \"1\"\n }\n ],\n \"ExecuteHour\": 0,\n \"OperationType\": \"1\"\n}",
31
31
  "output": "{\n \"Response\": {\n \"RequestId\": \"1\"\n }\n}",
32
32
  "title": "示例"
33
33
  }
@@ -289,8 +289,8 @@
289
289
  "DescribeSqlApis": [
290
290
  {
291
291
  "document": "查询集群信息",
292
- "input": "POST / HTTP/1.1\nHost: cdwdoris.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeSqlApis\n<公共请求参数>\n\n{}",
293
- "output": "{\n \"Response\": {\n \"RequestId\": \"abc\"\n }\n}",
292
+ "input": "POST / HTTP/1.1\nHost: cdwdoris.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeSqlApis\n<公共请求参数>\n\n{\n \"InstanceId\": \"abc\",\n \"ApiType\": \"abc\",\n \"UserName\": \"abc\",\n \"WhiteHost\": \"abc\",\n \"Catalog\": \"abc\",\n \"Catalogs\": [\n \"abc\"\n ],\n \"DatabaseName\": \"abc\",\n \"TableName\": \"abc\"\n}",
293
+ "output": "{\n \"Response\": {\n \"ReturnData\": \"abc\",\n \"ErrorMsg\": \"abc\",\n \"RequestId\": \"abc\"\n }\n}",
294
294
  "title": "查询集群信息"
295
295
  }
296
296
  ],
@@ -1535,6 +1535,15 @@
1535
1535
  "name": "Summary",
1536
1536
  "required": false,
1537
1537
  "type": "string"
1538
+ },
1539
+ {
1540
+ "disabled": false,
1541
+ "document": "问题以及改进",
1542
+ "example": "演练问题",
1543
+ "member": "string",
1544
+ "name": "Issue",
1545
+ "required": false,
1546
+ "type": "string"
1538
1547
  }
1539
1548
  ],
1540
1549
  "type": "object"
@@ -1613,6 +1622,26 @@
1613
1622
  "output_required": false,
1614
1623
  "type": "bool",
1615
1624
  "value_allowed_null": true
1625
+ },
1626
+ {
1627
+ "disabled": false,
1628
+ "document": "对应在平台架构图中的资源类型名称\n注意:此字段可能返回 null,表示取不到有效值。",
1629
+ "example": "cvm",
1630
+ "member": "string",
1631
+ "name": "ObjectPlatformName",
1632
+ "output_required": false,
1633
+ "type": "string",
1634
+ "value_allowed_null": true
1635
+ },
1636
+ {
1637
+ "disabled": false,
1638
+ "document": "1:平台支持的对象 2:应用支持的部分对象\n注意:此字段可能返回 null,表示取不到有效值。",
1639
+ "example": "2",
1640
+ "member": "int64",
1641
+ "name": "ObjectSupportType",
1642
+ "output_required": false,
1643
+ "type": "int",
1644
+ "value_allowed_null": true
1616
1645
  }
1617
1646
  ],
1618
1647
  "usage": "out"
@@ -1835,26 +1864,28 @@
1835
1864
  "members": [
1836
1865
  {
1837
1866
  "disabled": false,
1838
- "document": "标签键",
1867
+ "document": "标签键\n注意:此字段可能返回 null,表示取不到有效值。",
1839
1868
  "example": "test",
1840
1869
  "member": "string",
1841
1870
  "name": "TagKey",
1871
+ "output_required": false,
1842
1872
  "required": true,
1843
1873
  "type": "string",
1844
- "value_allowed_null": false
1874
+ "value_allowed_null": true
1845
1875
  },
1846
1876
  {
1847
1877
  "disabled": false,
1848
- "document": "标签值",
1878
+ "document": "标签值\n注意:此字段可能返回 null,表示取不到有效值。",
1849
1879
  "example": "mytest",
1850
1880
  "member": "string",
1851
1881
  "name": "TagValue",
1882
+ "output_required": false,
1852
1883
  "required": true,
1853
1884
  "type": "string",
1854
- "value_allowed_null": false
1885
+ "value_allowed_null": true
1855
1886
  }
1856
1887
  ],
1857
- "usage": "in"
1888
+ "usage": "both"
1858
1889
  },
1859
1890
  "TagWithDescribe": {
1860
1891
  "document": "展示标签列表",
@@ -2203,6 +2234,50 @@
2203
2234
  "required": false,
2204
2235
  "type": "int",
2205
2236
  "value_allowed_null": true
2237
+ },
2238
+ {
2239
+ "disabled": false,
2240
+ "document": "计划开始时间\n注意:此字段可能返回 null,表示取不到有效值。",
2241
+ "example": "无",
2242
+ "member": "string",
2243
+ "name": "TaskPlanStartTime",
2244
+ "output_required": false,
2245
+ "required": false,
2246
+ "type": "string",
2247
+ "value_allowed_null": true
2248
+ },
2249
+ {
2250
+ "disabled": false,
2251
+ "document": "计划结束时间\n注意:此字段可能返回 null,表示取不到有效值。",
2252
+ "example": "无",
2253
+ "member": "string",
2254
+ "name": "TaskPlanEndTime",
2255
+ "output_required": false,
2256
+ "required": false,
2257
+ "type": "string",
2258
+ "value_allowed_null": true
2259
+ },
2260
+ {
2261
+ "disabled": false,
2262
+ "document": "人员组织\n注意:此字段可能返回 null,表示取不到有效值。",
2263
+ "example": "无",
2264
+ "member": "TaskOrg",
2265
+ "name": "TaskOrg",
2266
+ "output_required": false,
2267
+ "required": false,
2268
+ "type": "list",
2269
+ "value_allowed_null": true
2270
+ },
2271
+ {
2272
+ "disabled": false,
2273
+ "document": "问题和改进\n注意:此字段可能返回 null,表示取不到有效值。",
2274
+ "example": "无",
2275
+ "member": "string",
2276
+ "name": "TaskIssue",
2277
+ "output_required": false,
2278
+ "required": false,
2279
+ "type": "string",
2280
+ "value_allowed_null": true
2206
2281
  }
2207
2282
  ],
2208
2283
  "usage": "both"
@@ -3099,6 +3174,34 @@
3099
3174
  ],
3100
3175
  "usage": "both"
3101
3176
  },
3177
+ "TaskOrg": {
3178
+ "document": "演练人员组织",
3179
+ "members": [
3180
+ {
3181
+ "disabled": false,
3182
+ "document": "演练角色\n注意:此字段可能返回 null,表示取不到有效值。",
3183
+ "example": "执行者",
3184
+ "member": "string",
3185
+ "name": "TaskRole",
3186
+ "output_required": false,
3187
+ "required": false,
3188
+ "type": "string",
3189
+ "value_allowed_null": true
3190
+ },
3191
+ {
3192
+ "disabled": false,
3193
+ "document": "负责人\n注意:此字段可能返回 null,表示取不到有效值。",
3194
+ "example": "张三,李四",
3195
+ "member": "string",
3196
+ "name": "TaskOperator",
3197
+ "output_required": false,
3198
+ "required": false,
3199
+ "type": "string",
3200
+ "value_allowed_null": true
3201
+ }
3202
+ ],
3203
+ "usage": "both"
3204
+ },
3102
3205
  "TaskReportInfo": {
3103
3206
  "document": "演练报告状态信息",
3104
3207
  "members": [
@@ -3108,7 +3211,7 @@
3108
3211
  "example": "0",
3109
3212
  "member": "int64",
3110
3213
  "name": "Stage",
3111
- "required": true,
3214
+ "output_required": true,
3112
3215
  "type": "int",
3113
3216
  "value_allowed_null": false
3114
3217
  },
@@ -3118,7 +3221,7 @@
3118
3221
  "example": "\"2022-12-12 12:12:12\"",
3119
3222
  "member": "string",
3120
3223
  "name": "CreateTime",
3121
- "required": true,
3224
+ "output_required": true,
3122
3225
  "type": "string",
3123
3226
  "value_allowed_null": false
3124
3227
  },
@@ -3128,7 +3231,7 @@
3128
3231
  "example": "\"2022-12-12 12:12:12\"",
3129
3232
  "member": "string",
3130
3233
  "name": "ExpirationTime",
3131
- "required": true,
3234
+ "output_required": true,
3132
3235
  "type": "string",
3133
3236
  "value_allowed_null": false
3134
3237
  },
@@ -3138,7 +3241,7 @@
3138
3241
  "example": "true",
3139
3242
  "member": "bool",
3140
3243
  "name": "Expired",
3141
- "required": true,
3244
+ "output_required": true,
3142
3245
  "type": "bool",
3143
3246
  "value_allowed_null": false
3144
3247
  },
@@ -3148,7 +3251,7 @@
3148
3251
  "example": "\"http://xxxx\"",
3149
3252
  "member": "string",
3150
3253
  "name": "CosUrl",
3151
- "required": true,
3254
+ "output_required": true,
3152
3255
  "type": "string",
3153
3256
  "value_allowed_null": true
3154
3257
  },
@@ -3158,9 +3261,29 @@
3158
3261
  "example": "0",
3159
3262
  "member": "string",
3160
3263
  "name": "Log",
3161
- "required": true,
3264
+ "output_required": true,
3162
3265
  "type": "string",
3163
3266
  "value_allowed_null": true
3267
+ },
3268
+ {
3269
+ "disabled": false,
3270
+ "document": "0--未开始,1--正在归档,2--归档成功,3--归档失败",
3271
+ "example": "无",
3272
+ "member": "int64",
3273
+ "name": "ArchiveStage",
3274
+ "output_required": false,
3275
+ "type": "int",
3276
+ "value_allowed_null": false
3277
+ },
3278
+ {
3279
+ "disabled": false,
3280
+ "document": "归档时间",
3281
+ "example": "\"2022-12-12 12:12:12\"",
3282
+ "member": "string",
3283
+ "name": "ArchiveTime",
3284
+ "output_required": false,
3285
+ "type": "string",
3286
+ "value_allowed_null": false
3164
3287
  }
3165
3288
  ],
3166
3289
  "usage": "out"
@@ -1057,6 +1057,58 @@ def doModifyBlockTop(args, parsed_globals):
1057
1057
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1058
1058
 
1059
1059
 
1060
+ def doDeleteRemoteAccessDomain(args, parsed_globals):
1061
+ g_param = parse_global_arg(parsed_globals)
1062
+
1063
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
1064
+ cred = credential.CVMRoleCredential()
1065
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
1066
+ cred = credential.STSAssumeRoleCredential(
1067
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
1068
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
1069
+ )
1070
+ 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):
1071
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
1072
+ else:
1073
+ cred = credential.Credential(
1074
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
1075
+ )
1076
+ http_profile = HttpProfile(
1077
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
1078
+ reqMethod="POST",
1079
+ endpoint=g_param[OptionsDefine.Endpoint],
1080
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
1081
+ )
1082
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
1083
+ if g_param[OptionsDefine.Language]:
1084
+ profile.language = g_param[OptionsDefine.Language]
1085
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
1086
+ client = mod.CfwClient(cred, g_param[OptionsDefine.Region], profile)
1087
+ client._sdkVersion += ("_CLI_" + __version__)
1088
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
1089
+ model = models.DeleteRemoteAccessDomainRequest()
1090
+ model.from_json_string(json.dumps(args))
1091
+ start_time = time.time()
1092
+ while True:
1093
+ rsp = client.DeleteRemoteAccessDomain(model)
1094
+ result = rsp.to_json_string()
1095
+ try:
1096
+ json_obj = json.loads(result)
1097
+ except TypeError as e:
1098
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
1099
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
1100
+ break
1101
+ cur_time = time.time()
1102
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
1103
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
1104
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
1105
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
1106
+ else:
1107
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
1108
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
1109
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1110
+
1111
+
1060
1112
  def doRemoveAclRule(args, parsed_globals):
1061
1113
  g_param = parse_global_arg(parsed_globals)
1062
1114
 
@@ -5976,6 +6028,7 @@ ACTION_MAP = {
5976
6028
  "DescribeUnHandleEventTabList": doDescribeUnHandleEventTabList,
5977
6029
  "CreateNatFwInstance": doCreateNatFwInstance,
5978
6030
  "ModifyBlockTop": doModifyBlockTop,
6031
+ "DeleteRemoteAccessDomain": doDeleteRemoteAccessDomain,
5979
6032
  "RemoveAclRule": doRemoveAclRule,
5980
6033
  "DeleteNatFwInstance": doDeleteNatFwInstance,
5981
6034
  "CreateBlockIgnoreRuleList": doCreateBlockIgnoreRuleList,
@@ -182,6 +182,13 @@
182
182
  "output": "DeleteNatFwInstanceResponse",
183
183
  "status": "online"
184
184
  },
185
+ "DeleteRemoteAccessDomain": {
186
+ "document": "删除远程运维域名",
187
+ "input": "DeleteRemoteAccessDomainRequest",
188
+ "name": "删除远程运维域名",
189
+ "output": "DeleteRemoteAccessDomainResponse",
190
+ "status": "online"
191
+ },
185
192
  "DeleteResourceGroup": {
186
193
  "document": "DeleteResourceGroup-资产中心资产组删除",
187
194
  "input": "DeleteResourceGroupRequest",
@@ -3870,6 +3877,43 @@
3870
3877
  ],
3871
3878
  "type": "object"
3872
3879
  },
3880
+ "DeleteRemoteAccessDomainRequest": {
3881
+ "document": "DeleteRemoteAccessDomain请求参数结构体",
3882
+ "members": [
3883
+ {
3884
+ "disabled": false,
3885
+ "document": "域名列表",
3886
+ "example": "无",
3887
+ "member": "string",
3888
+ "name": "AccessDomainList",
3889
+ "required": true,
3890
+ "type": "list"
3891
+ }
3892
+ ],
3893
+ "type": "object"
3894
+ },
3895
+ "DeleteRemoteAccessDomainResponse": {
3896
+ "document": "DeleteRemoteAccessDomain返回参数结构体",
3897
+ "members": [
3898
+ {
3899
+ "disabled": false,
3900
+ "document": "状态值 0:删除成功,非 0:删除失败",
3901
+ "example": "1",
3902
+ "member": "int64",
3903
+ "name": "Status",
3904
+ "required": true,
3905
+ "type": "int",
3906
+ "value_allowed_null": false
3907
+ },
3908
+ {
3909
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
3910
+ "member": "string",
3911
+ "name": "RequestId",
3912
+ "type": "string"
3913
+ }
3914
+ ],
3915
+ "type": "object"
3916
+ },
3873
3917
  "DeleteResourceGroupRequest": {
3874
3918
  "document": "DeleteResourceGroup请求参数结构体",
3875
3919
  "members": [
@@ -226,6 +226,14 @@
226
226
  "title": "销毁防火墙实例"
227
227
  }
228
228
  ],
229
+ "DeleteRemoteAccessDomain": [
230
+ {
231
+ "document": "",
232
+ "input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteRemoteAccessDomain\n<公共请求参数>\n\n{\n \"AccessDomainList\": [\n \"cfw.tencentcs.com\"\n ]\n}",
233
+ "output": "{\n \"Response\": {\n \"Status\": 0,\n \"RequestId\": \"b21d7f7c-3191-41a2-bd13-9a5f6d86ab44\"\n }\n}",
234
+ "title": "删除远程运维域名"
235
+ }
236
+ ],
229
237
  "DeleteResourceGroup": [
230
238
  {
231
239
  "document": "",