tccli 3.0.908.1__py2.py3-none-any.whl → 3.0.910.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 (118) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/examples/cdn/v20180606/DescribeHttpsPackages.md +19 -18
  3. tccli/examples/cdn/v20180606/DescribeTrafficPackages.md +16 -14
  4. tccli/examples/cfs/v20190719/DescribeCfsFileSystems.md +31 -31
  5. tccli/examples/cfs/v20190719/UpdateCfsPGroup.md +1 -1
  6. tccli/examples/cms/v20190321/CreateKeywordsSamples.md +10 -0
  7. tccli/examples/cms/v20190321/DeleteLibSamples.md +2 -1
  8. tccli/examples/cms/v20190321/DescribeLibSamples.md +2 -1
  9. tccli/examples/cvm/v20170312/DescribeImportImageOs.md +1 -1
  10. tccli/examples/cynosdb/v20190107/AddInstances.md +8 -8
  11. tccli/examples/cynosdb/v20190107/DescribeParamTemplates.md +2 -2
  12. tccli/examples/ecm/v20190719/AllocateIpv6AddressesBandwidth.md +25 -0
  13. tccli/examples/ecm/v20190719/AssignIpv6CidrBlock.md +23 -0
  14. tccli/examples/ecm/v20190719/AssignIpv6CidrBlocks.md +29 -0
  15. tccli/examples/ecm/v20190719/AssignIpv6SubnetCidrBlock.md +29 -0
  16. tccli/examples/ecm/v20190719/DescribeRegionIpv6Addresses.md +41 -0
  17. tccli/examples/ecm/v20190719/ModifyIpv6AddressesBandwidth.md +22 -0
  18. tccli/examples/ecm/v20190719/QueryVpcTaskResult.md +22 -0
  19. tccli/examples/ecm/v20190719/ReleaseIpv6AddressesBandwidth.md +22 -0
  20. tccli/examples/ecm/v20190719/UnassignIpv6SubnetCidrBlock.md +23 -0
  21. tccli/examples/emr/v20190103/InquiryPriceRenewInstance.md +32 -1
  22. tccli/examples/es/v20180416/ModifyEsVipSecurityGroup.md +21 -0
  23. tccli/examples/ess/v20201111/CreateFlowGroupByFiles.md +118 -0
  24. tccli/examples/ess/v20201111/CreateFlowGroupByTemplates.md +61 -0
  25. tccli/examples/ess/v20201111/CreateFlowReminds.md +3 -3
  26. tccli/examples/ess/v20201111/CreateFlowSignReview.md +2 -2
  27. tccli/examples/essbasic/v20210526/ChannelCreateFlowGroupByTemplates.md +49 -0
  28. tccli/examples/lcic/v20220817/DescribeDocument.md +52 -16
  29. tccli/examples/live/v20180801/DeleteLiveTranscodeTemplate.md +1 -1
  30. tccli/examples/monitor/v20180724/DeletePrometheusScrapeJobs.md +4 -4
  31. tccli/examples/monitor/v20180724/DescribeExporterIntegrations.md +5 -5
  32. tccli/examples/monitor/v20180724/DescribePrometheusAgents.md +10 -10
  33. tccli/examples/monitor/v20180724/DescribePrometheusScrapeJobs.md +8 -8
  34. tccli/examples/ocr/v20181119/DriverLicenseOCR.md +2 -2
  35. tccli/examples/smh/v20210712/DeleteLibrary.md +1 -1
  36. tccli/examples/sqlserver/v20180328/InquiryPriceRenewDBInstance.md +1 -1
  37. tccli/examples/sqlserver/v20180328/InquiryPriceUpgradeDBInstance.md +1 -1
  38. tccli/examples/ssl/v20191205/DescribeDeployedResources.md +5 -5
  39. tccli/examples/tchd/v20230306/DescribeEvents.md +35 -0
  40. tccli/examples/tdmq/v20200217/CreateTopic.md +1 -1
  41. tccli/examples/vod/v20180717/CreateRebuildMediaTemplate.md +2 -2
  42. tccli/examples/vod/v20180717/DeleteRebuildMediaTemplate.md +2 -2
  43. tccli/examples/vod/v20180717/DescribeRebuildMediaTemplates.md +2 -2
  44. tccli/examples/vod/v20180717/ModifyRebuildMediaTemplate.md +2 -2
  45. tccli/examples/vod/v20180717/RebuildMedia.md +2 -2
  46. tccli/examples/vod/v20180717/RebuildMediaByTemplate.md +2 -2
  47. tccli/examples/vpc/v20170312/DescribeSecurityGroups.md +1 -1
  48. tccli/examples/wav/v20210129/QueryClueInfoList.md +1 -0
  49. tccli/examples/wedata/v20210820/DescribeColumnLineage.md +77 -0
  50. tccli/examples/wedata/v20210820/DescribeTableLineage.md +79 -0
  51. tccli/services/__init__.py +3 -0
  52. tccli/services/autoscaling/v20180419/api.json +1 -1
  53. tccli/services/cdn/v20180606/api.json +49 -67
  54. tccli/services/cdn/v20180606/examples.json +3 -3
  55. tccli/services/cfs/v20190719/api.json +65 -26
  56. tccli/services/cfs/v20190719/examples.json +3 -3
  57. tccli/services/cls/v20201016/api.json +7 -2
  58. tccli/services/cms/v20190321/api.json +37 -2
  59. tccli/services/cms/v20190321/examples.json +3 -3
  60. tccli/services/cvm/v20170312/api.json +2 -0
  61. tccli/services/cvm/v20170312/examples.json +2 -2
  62. tccli/services/cynosdb/v20190107/api.json +58 -73
  63. tccli/services/cynosdb/v20190107/examples.json +3 -3
  64. tccli/services/ecm/ecm_client.py +493 -16
  65. tccli/services/ecm/v20190719/api.json +657 -26
  66. tccli/services/ecm/v20190719/examples.json +72 -0
  67. tccli/services/emr/v20190103/api.json +5 -12
  68. tccli/services/emr/v20190103/examples.json +7 -1
  69. tccli/services/es/es_client.py +65 -12
  70. tccli/services/es/v20180416/api.json +43 -0
  71. tccli/services/es/v20180416/examples.json +8 -0
  72. tccli/services/ess/ess_client.py +145 -39
  73. tccli/services/ess/v20201111/api.json +417 -41
  74. tccli/services/ess/v20201111/examples.json +19 -3
  75. tccli/services/essbasic/essbasic_client.py +53 -0
  76. tccli/services/essbasic/v20210526/api.json +105 -3
  77. tccli/services/essbasic/v20210526/examples.json +8 -0
  78. tccli/services/lcic/v20220817/api.json +27 -16
  79. tccli/services/lcic/v20220817/examples.json +10 -4
  80. tccli/services/live/v20180801/api.json +3 -3
  81. tccli/services/live/v20180801/examples.json +1 -1
  82. tccli/services/monitor/v20180724/api.json +20 -24
  83. tccli/services/monitor/v20180724/examples.json +11 -11
  84. tccli/services/ocr/v20181119/api.json +22 -5
  85. tccli/services/ocr/v20181119/examples.json +1 -1
  86. tccli/services/smh/v20210712/api.json +1 -1
  87. tccli/services/smh/v20210712/examples.json +2 -2
  88. tccli/services/sqlserver/v20180328/api.json +8 -15
  89. tccli/services/sqlserver/v20180328/examples.json +2 -2
  90. tccli/services/ssl/v20191205/api.json +1 -0
  91. tccli/services/ssl/v20191205/examples.json +2 -2
  92. tccli/services/tcb/v20180608/api.json +33 -39
  93. tccli/services/tchd/__init__.py +4 -0
  94. tccli/services/tchd/tchd_client.py +194 -0
  95. tccli/services/tchd/v20230306/api.json +167 -0
  96. tccli/services/tchd/v20230306/examples.json +13 -0
  97. tccli/services/tdmq/v20200217/api.json +7 -14
  98. tccli/services/tdmq/v20200217/examples.json +1 -1
  99. tccli/services/tke/v20180525/api.json +33 -20
  100. tccli/services/trtc/trtc_client.py +8 -61
  101. tccli/services/trtc/v20190722/api.json +0 -240
  102. tccli/services/trtc/v20190722/examples.json +0 -8
  103. tccli/services/tse/v20201207/api.json +20 -39
  104. tccli/services/tts/v20190823/api.json +1 -1
  105. tccli/services/vod/v20180717/api.json +40 -36
  106. tccli/services/vod/v20180717/examples.json +12 -12
  107. tccli/services/vpc/v20170312/api.json +21 -7
  108. tccli/services/vpc/v20170312/examples.json +1 -1
  109. tccli/services/wav/v20210129/api.json +10 -0
  110. tccli/services/wav/v20210129/examples.json +1 -1
  111. tccli/services/wedata/v20210820/api.json +1146 -211
  112. tccli/services/wedata/v20210820/examples.json +16 -0
  113. tccli/services/wedata/wedata_client.py +106 -0
  114. {tccli-3.0.908.1.dist-info → tccli-3.0.910.1.dist-info}/METADATA +82 -3
  115. {tccli-3.0.908.1.dist-info → tccli-3.0.910.1.dist-info}/RECORD +118 -98
  116. {tccli-3.0.908.1.dist-info → tccli-3.0.910.1.dist-info}/WHEEL +0 -0
  117. {tccli-3.0.908.1.dist-info → tccli-3.0.910.1.dist-info}/entry_points.txt +0 -0
  118. {tccli-3.0.908.1.dist-info → tccli-3.0.910.1.dist-info}/license_files/LICENSE +0 -0
@@ -8,6 +8,14 @@
8
8
  "title": "创建EIP"
9
9
  }
10
10
  ],
11
+ "AllocateIpv6AddressesBandwidth": [
12
+ {
13
+ "document": "",
14
+ "input": "https://ecm.tencentcloudapi.com/?Action=AllocateIpv6AddressesBandwidth\n&EcmRegion=ap-xian-ecm\n&Ipv6Addresses.0=2402:4e00:1000:200:0:8d8a:60b7:87f8\n&<公共请求参数>",
15
+ "output": "{\n \"Response\": {\n \"AddressSet\": [\n \"eip-3l4nwzvo\"\n ],\n \"TaskId\": 202869021,\n \"RequestId\": \"aac03e7b-3c91-4970-b2bc-c20f0c6bdd38\"\n }\n}",
16
+ "title": "指定ipv6地址开通公网访问能力"
17
+ }
18
+ ],
11
19
  "AssignIpv6Addresses": [
12
20
  {
13
21
  "document": "按个数自动分配IPv6地址",
@@ -16,6 +24,30 @@
16
24
  "title": "按个数自动分配IPv6地址"
17
25
  }
18
26
  ],
27
+ "AssignIpv6CidrBlock": [
28
+ {
29
+ "document": "分配IPv6网段\n",
30
+ "input": "https://vpc.tencentcloudapi.com/?Action=AssignIpv6CidrBlock\n&VpcId=vpc-rkxd3pgh\n&ISPType=CMCC\n&<公共请求参数>",
31
+ "output": "{\n \"Response\": {\n \"Ipv6CidrBlock\": \"3402:4e00:20:1000::/56\",\n \"RequestId\": \"75221557-b667-440a-8cfe-ccd1bde2a234\"\n }\n}",
32
+ "title": "分配IPv6网段"
33
+ }
34
+ ],
35
+ "AssignIpv6CidrBlocks": [
36
+ {
37
+ "document": "申请多个运营商IPv6网段\n",
38
+ "input": "POST / HTTP/1.1\nHost: vpc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: AssignIpv6CidrBlocks\n<公共请求参数>\n\n{\n \"VpcId\": \"vpc-2loean7x\",\n \"ISPTypes\": [\n {\n \"ISPType\": \"BGP\",\n \"Count\": 1\n }\n ]\n}",
39
+ "output": "{\n \"Response\": {\n \"IPv6CidrBlockSet\": [\n {\n \"IPv6CidrBlock\": \"2001::85b:3c51:f5ff:ffdb\",\n \"ISPType\": \"BGP\"\n }\n ],\n \"RequestId\": \"d4d30315-a652-47f3-a22b-598fb17a6218\"\n }\n}",
40
+ "title": "申请多个运营商IPv6网段"
41
+ }
42
+ ],
43
+ "AssignIpv6SubnetCidrBlock": [
44
+ {
45
+ "document": "申请IPv6子网\n",
46
+ "input": "POST / HTTP/1.1\nHost: vpc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: AssignIpv6SubnetCidrBlock\n<公共请求参数>\n\n{\n \"VpcId\": \"vpc-q26u781x\",\n \"Ipv6SubnetCidrBlocks\": [\n {\n \"SubnetId\": \"subnet-8uwg949c\",\n \"Ipv6CidrBlock\": \"2001::85b:3c51:f5ff:ffdb\"\n }\n ]\n}",
47
+ "output": "{\n \"Response\": {\n \"Ipv6SubnetCidrBlockSet\": [\n {\n \"SubnetId\": \"subnet-8uwg949c\",\n \"Ipv6CidrBlock\": \"2001::85b:3c51:f5ff:ffdb\"\n }\n ],\n \"RequestId\": \"d681727c-6291-4409-9ab6-6ecbb493243c\"\n }\n}",
48
+ "title": "分配IPv6子网段"
49
+ }
50
+ ],
19
51
  "AssignPrivateIpAddresses": [
20
52
  {
21
53
  "document": "",
@@ -560,6 +592,14 @@
560
592
  "title": "查询实例价格"
561
593
  }
562
594
  ],
595
+ "DescribeRegionIpv6Addresses": [
596
+ {
597
+ "document": "",
598
+ "input": "https://ecm.tencentcloudapi.com/?Action=DescribeRegionIpv6Addresses\n&EcmRegion=ap-qingdao-ecm\n&<公共请求参数>",
599
+ "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"AddressSet\": [\n {\n \"AddressId\": \"eip-lrhy2lpe\",\n \"AddressIp\": \"2402:4e00:1000:2d00:0:8f3f:6:9895\",\n \"AddressStatus\": \"BIND\",\n \"InstanceId\": \"ein-190087yw\",\n \"NetworkInterfaceId\": \"eni-rw4fh3gn\",\n \"IsArrears\": false,\n \"CreatedTime\": \"2020-01-13T04:09:52Z\",\n \"Bandwidth\": 6,\n \"IsEipDirectConnection\": true,\n \"PrivateAddressIp\": \"\",\n \"AddressName\": \"name\",\n \"PayMode\": \"0\",\n \"CascadeRelease\": true,\n \"InternetServiceProvider\": \"CTCC\",\n \"AddressType\": \"\",\n \"IsBlocked\": true\n }\n ],\n \"RequestId\": \"bfe06911-32f5-4862-9d42-6bb4954dcb59\"\n }\n}",
600
+ "title": "根据Ip6AddressIds查询地域下的IPV6信息"
601
+ }
602
+ ],
563
603
  "DescribeRouteConflicts": [
564
604
  {
565
605
  "document": "",
@@ -814,6 +854,14 @@
814
854
  "title": "修改弹性网卡IPv6地址属性"
815
855
  }
816
856
  ],
857
+ "ModifyIpv6AddressesBandwidth": [
858
+ {
859
+ "document": "",
860
+ "input": "https://ecm.tencentcloudapi.com/?Action=ModifyIpv6AddressesBandwidth\n&EcmRegion=ap-guangzhou-ecm-cu2\n&Ipv6Addresses.0.Address=2402:4e00:1000:200:0:8d8a:60b7:87f8\n&InternetMaxBandwidthOut=50\n&<公共请求参数>",
861
+ "output": "{\n \"Response\": {\n \"RequestId\": \"61b49567-8cbf-4523-8f25-7a2c9da23ddb\"\n }\n}",
862
+ "title": "修改IPV6地址带宽"
863
+ }
864
+ ],
817
865
  "ModifyListener": [
818
866
  {
819
867
  "document": "",
@@ -950,6 +998,14 @@
950
998
  "title": "修改VPC名称&描述"
951
999
  }
952
1000
  ],
1001
+ "QueryVpcTaskResult": [
1002
+ {
1003
+ "document": "",
1004
+ "input": "POST / HTTP/1.1\nHost: ecm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: QueryVpcTaskResult\n<公共请求参数>\n\n{\n \"TaskId\": \"92126c28-17f4-4c93-b295-fed5d759f2f9\"\n}",
1005
+ "output": "{\n \"Response\": {\n \"Status\": \"SUCCESS\",\n \"Output\": \"SUCCESS\",\n \"RequestId\": \"92122228-17f4-4f93-4295-fe32d759f2f9\"\n }\n}",
1006
+ "title": "查询Task任务"
1007
+ }
1008
+ ],
953
1009
  "RebootInstances": [
954
1010
  {
955
1011
  "document": "实例重启",
@@ -974,6 +1030,14 @@
974
1030
  "title": "释放IPv6地址"
975
1031
  }
976
1032
  ],
1033
+ "ReleaseIpv6AddressesBandwidth": [
1034
+ {
1035
+ "document": "",
1036
+ "input": "https://ecm.tencentcloudapi.com/?Action=ReleaseIpv6AddressesBandwidth\n&EcmRegion=ap-xian-ecm\n&Ipv6Addresses.0=2402:4e00:1000:200:0:8d8a:60b7:87f8\n&<公共请求参数>",
1037
+ "output": "{\n \"Response\": {\n \"TaskId\": 202869021,\n \"RequestId\": \"aac03e7b-3c91-4970-b2bc-c20f0c6bdd38\"\n }\n}",
1038
+ "title": "释放弹性公网IPv6地址带宽"
1039
+ }
1040
+ ],
977
1041
  "RemovePrivateIpAddresses": [
978
1042
  {
979
1043
  "document": "",
@@ -1093,6 +1157,14 @@
1093
1157
  "output": "{\n \"Response\": {\n \"RequestId\": \"df348fj3-03g7-4ss0-y7sj-78e2322a3242\"\n }\n}",
1094
1158
  "title": "销毁实例"
1095
1159
  }
1160
+ ],
1161
+ "UnassignIpv6SubnetCidrBlock": [
1162
+ {
1163
+ "document": "释放IPv6子网段\n",
1164
+ "input": "https://vpc.tencentcloudapi.com/?Action=UnassignIpv6SubnetCidrBlock\n&VpcId=vpc-rkxd3pgh\n&Ipv6SubnetCidrBlocks.0.SubnetId=subnet-ewhv1m9e\n&Ipv6SubnetCidrBlocks.1.SubnetId=subnet-3s5bhzb0\n&<公共请求参数>",
1165
+ "output": "{\n \"Response\": {\n \"RequestId\": \"75221557-b667-440a-8cfe-ccd1bde2a234\"\n }\n}",
1166
+ "title": "释放IPv6子网段"
1167
+ }
1096
1168
  ]
1097
1169
  },
1098
1170
  "version": "1.0"
@@ -4862,9 +4862,8 @@
4862
4862
  "document": "InquiryPriceRenewInstance请求参数结构体",
4863
4863
  "members": [
4864
4864
  {
4865
- "default": "",
4866
4865
  "disabled": false,
4867
- "document": "实例续费的时长。需要结合TimeUnit一起使用。1表示续费1一个月",
4866
+ "document": "实例续费的时长。需要结合TimeUnit一起使用。1表示续费一个月",
4868
4867
  "example": "1",
4869
4868
  "member": "uint64",
4870
4869
  "name": "TimeSpan",
@@ -4872,7 +4871,6 @@
4872
4871
  "type": "int"
4873
4872
  },
4874
4873
  {
4875
- "default": "",
4876
4874
  "disabled": false,
4877
4875
  "document": "待续费节点的资源ID列表。资源ID形如:emr-vm-xxxxxxxx。有效的资源ID可通过登录[控制台](https://console.cloud.tencent.com/emr/static/hardware)查询。",
4878
4876
  "example": "[\"emr-vm-jv1s4zas\\r\\n\"]",
@@ -4882,7 +4880,6 @@
4882
4880
  "type": "list"
4883
4881
  },
4884
4882
  {
4885
- "default": "",
4886
4883
  "disabled": false,
4887
4884
  "document": "实例所在的位置。通过该参数可以指定实例所属可用区,所属项目等属性。",
4888
4885
  "example": "无",
@@ -4892,7 +4889,6 @@
4892
4889
  "type": "object"
4893
4890
  },
4894
4891
  {
4895
- "default": "",
4896
4892
  "disabled": false,
4897
4893
  "document": "实例计费模式。此处只支持取值为1,表示包年包月。",
4898
4894
  "example": "1",
@@ -4902,7 +4898,6 @@
4902
4898
  "type": "int"
4903
4899
  },
4904
4900
  {
4905
- "default": "",
4906
4901
  "disabled": false,
4907
4902
  "document": "实例续费的时间单位。取值范围:\n<li>m:表示月份。</li>",
4908
4903
  "example": "m",
@@ -4912,7 +4907,6 @@
4912
4907
  "type": "string"
4913
4908
  },
4914
4909
  {
4915
- "default": "",
4916
4910
  "disabled": false,
4917
4911
  "document": "货币种类。取值范围:\n<li>CNY:表示人民币。\u0007</li>",
4918
4912
  "example": "CNY",
@@ -4922,7 +4916,6 @@
4922
4916
  "type": "string"
4923
4917
  },
4924
4918
  {
4925
- "default": "",
4926
4919
  "disabled": false,
4927
4920
  "document": "是否按量转包年包月。0:否,1:是。",
4928
4921
  "example": "1",
@@ -4943,7 +4936,7 @@
4943
4936
  "example": "898.9",
4944
4937
  "member": "float",
4945
4938
  "name": "OriginalCost",
4946
- "required": true,
4939
+ "output_required": true,
4947
4940
  "type": "float",
4948
4941
  "value_allowed_null": true
4949
4942
  },
@@ -4953,7 +4946,7 @@
4953
4946
  "example": "596.54",
4954
4947
  "member": "float",
4955
4948
  "name": "DiscountCost",
4956
- "required": true,
4949
+ "output_required": true,
4957
4950
  "type": "float",
4958
4951
  "value_allowed_null": true
4959
4952
  },
@@ -4963,7 +4956,7 @@
4963
4956
  "example": "m",
4964
4957
  "member": "string",
4965
4958
  "name": "TimeUnit",
4966
- "required": true,
4959
+ "output_required": true,
4967
4960
  "type": "string",
4968
4961
  "value_allowed_null": true
4969
4962
  },
@@ -4973,7 +4966,7 @@
4973
4966
  "example": "1",
4974
4967
  "member": "int64",
4975
4968
  "name": "TimeSpan",
4976
- "required": true,
4969
+ "output_required": true,
4977
4970
  "type": "int",
4978
4971
  "value_allowed_null": true
4979
4972
  },
@@ -146,10 +146,16 @@
146
146
  ],
147
147
  "InquiryPriceRenewInstance": [
148
148
  {
149
- "document": "",
149
+ "document": "续费询价示例",
150
150
  "input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: InquiryPriceRenewInstance\n<公共请求参数>\n\n{\n \"Placement\": {\n \"ProjectId\": \"0\",\n \"Zone\": \"ap-guangzhou-4\"\n },\n \"Currency\": \"CNY\",\n \"TimeSpan\": \"1\",\n \"PayMode\": \"1\",\n \"ResourceIds\": [\n \"emr-vm-jv1s4zas\"\n ],\n \"TimeUnit\": \"m\"\n}",
151
151
  "output": "{\n \"Response\": {\n \"DiscountCost\": 596.54,\n \"OriginalCost\": 898.9,\n \"RequestId\": \"223c838e-ce27-4adf-9a41-89661fe7ad21\",\n \"TimeSpan\": 1,\n \"TimeUnit\": \"m\"\n }\n}",
152
152
  "title": "续费询价示例"
153
+ },
154
+ {
155
+ "document": "续费询价",
156
+ "input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: InquiryPriceRenewInstance\n<公共请求参数>\n\n{\n \"TimeUnit\": \"abc\",\n \"TimeSpan\": 1,\n \"ResourceIds\": [\n \"abc\"\n ],\n \"Currency\": \"abc\",\n \"Placement\": {\n \"ProjectId\": 0,\n \"Zone\": \"abc\"\n },\n \"PayMode\": 0,\n \"ModifyPayMode\": 0\n}",
157
+ "output": "{\n \"Response\": {\n \"OriginalCost\": 0,\n \"DiscountCost\": 0,\n \"TimeUnit\": \"abc\",\n \"TimeSpan\": 0,\n \"RequestId\": \"abc\"\n }\n}",
158
+ "title": "续费询价"
153
159
  }
154
160
  ],
155
161
  "InquiryPriceScaleOutInstance": [
@@ -953,7 +953,7 @@ def doRestartKibana(args, parsed_globals):
953
953
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
954
954
 
955
955
 
956
- def doSaveAndDeployLogstashPipeline(args, parsed_globals):
956
+ def doUpdateLogstashPipelineDesc(args, parsed_globals):
957
957
  g_param = parse_global_arg(parsed_globals)
958
958
 
959
959
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -982,11 +982,11 @@ def doSaveAndDeployLogstashPipeline(args, parsed_globals):
982
982
  client = mod.EsClient(cred, g_param[OptionsDefine.Region], profile)
983
983
  client._sdkVersion += ("_CLI_" + __version__)
984
984
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
985
- model = models.SaveAndDeployLogstashPipelineRequest()
985
+ model = models.UpdateLogstashPipelineDescRequest()
986
986
  model.from_json_string(json.dumps(args))
987
987
  start_time = time.time()
988
988
  while True:
989
- rsp = client.SaveAndDeployLogstashPipeline(model)
989
+ rsp = client.UpdateLogstashPipelineDesc(model)
990
990
  result = rsp.to_json_string()
991
991
  try:
992
992
  json_obj = json.loads(result)
@@ -1057,6 +1057,58 @@ def doDescribeLogstashInstanceOperations(args, parsed_globals):
1057
1057
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1058
1058
 
1059
1059
 
1060
+ def doDescribeViews(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('-', '_')]
1069
+ )
1070
+ elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_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.EsClient(cred, g_param[OptionsDefine.Region], profile)
1087
+ client._sdkVersion += ("_CLI_" + __version__)
1088
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
1089
+ model = models.DescribeViewsRequest()
1090
+ model.from_json_string(json.dumps(args))
1091
+ start_time = time.time()
1092
+ while True:
1093
+ rsp = client.DescribeViews(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 doUpdateLogstashInstance(args, parsed_globals):
1061
1113
  g_param = parse_global_arg(parsed_globals)
1062
1114
 
@@ -1265,7 +1317,7 @@ def doDescribeLogstashInstances(args, parsed_globals):
1265
1317
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1266
1318
 
1267
1319
 
1268
- def doDescribeViews(args, parsed_globals):
1320
+ def doModifyEsVipSecurityGroup(args, parsed_globals):
1269
1321
  g_param = parse_global_arg(parsed_globals)
1270
1322
 
1271
1323
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -1294,11 +1346,11 @@ def doDescribeViews(args, parsed_globals):
1294
1346
  client = mod.EsClient(cred, g_param[OptionsDefine.Region], profile)
1295
1347
  client._sdkVersion += ("_CLI_" + __version__)
1296
1348
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
1297
- model = models.DescribeViewsRequest()
1349
+ model = models.ModifyEsVipSecurityGroupRequest()
1298
1350
  model.from_json_string(json.dumps(args))
1299
1351
  start_time = time.time()
1300
1352
  while True:
1301
- rsp = client.DescribeViews(model)
1353
+ rsp = client.ModifyEsVipSecurityGroup(model)
1302
1354
  result = rsp.to_json_string()
1303
1355
  try:
1304
1356
  json_obj = json.loads(result)
@@ -1733,7 +1785,7 @@ def doDeleteIndex(args, parsed_globals):
1733
1785
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1734
1786
 
1735
1787
 
1736
- def doUpdateLogstashPipelineDesc(args, parsed_globals):
1788
+ def doSaveAndDeployLogstashPipeline(args, parsed_globals):
1737
1789
  g_param = parse_global_arg(parsed_globals)
1738
1790
 
1739
1791
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -1762,11 +1814,11 @@ def doUpdateLogstashPipelineDesc(args, parsed_globals):
1762
1814
  client = mod.EsClient(cred, g_param[OptionsDefine.Region], profile)
1763
1815
  client._sdkVersion += ("_CLI_" + __version__)
1764
1816
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
1765
- model = models.UpdateLogstashPipelineDescRequest()
1817
+ model = models.SaveAndDeployLogstashPipelineRequest()
1766
1818
  model.from_json_string(json.dumps(args))
1767
1819
  start_time = time.time()
1768
1820
  while True:
1769
- rsp = client.UpdateLogstashPipelineDesc(model)
1821
+ rsp = client.SaveAndDeployLogstashPipeline(model)
1770
1822
  result = rsp.to_json_string()
1771
1823
  try:
1772
1824
  json_obj = json.loads(result)
@@ -1970,13 +2022,14 @@ ACTION_MAP = {
1970
2022
  "RestartInstance": doRestartInstance,
1971
2023
  "DescribeInstanceLogs": doDescribeInstanceLogs,
1972
2024
  "RestartKibana": doRestartKibana,
1973
- "SaveAndDeployLogstashPipeline": doSaveAndDeployLogstashPipeline,
2025
+ "UpdateLogstashPipelineDesc": doUpdateLogstashPipelineDesc,
1974
2026
  "DescribeLogstashInstanceOperations": doDescribeLogstashInstanceOperations,
2027
+ "DescribeViews": doDescribeViews,
1975
2028
  "UpdateLogstashInstance": doUpdateLogstashInstance,
1976
2029
  "DescribeInstanceOperations": doDescribeInstanceOperations,
1977
2030
  "DescribeLogstashPipelines": doDescribeLogstashPipelines,
1978
2031
  "DescribeLogstashInstances": doDescribeLogstashInstances,
1979
- "DescribeViews": doDescribeViews,
2032
+ "ModifyEsVipSecurityGroup": doModifyEsVipSecurityGroup,
1980
2033
  "CreateInstance": doCreateInstance,
1981
2034
  "RestartLogstashInstance": doRestartLogstashInstance,
1982
2035
  "UpdateIndex": doUpdateIndex,
@@ -1985,7 +2038,7 @@ ACTION_MAP = {
1985
2038
  "UpgradeInstance": doUpgradeInstance,
1986
2039
  "DescribeLogstashInstanceLogs": doDescribeLogstashInstanceLogs,
1987
2040
  "DeleteIndex": doDeleteIndex,
1988
- "UpdateLogstashPipelineDesc": doUpdateLogstashPipelineDesc,
2041
+ "SaveAndDeployLogstashPipeline": doSaveAndDeployLogstashPipeline,
1989
2042
  "UpdateDictionaries": doUpdateDictionaries,
1990
2043
  "UpgradeLicense": doUpgradeLicense,
1991
2044
  "DescribeIndexMeta": doDescribeIndexMeta,
@@ -133,6 +133,13 @@
133
133
  "output": "GetRequestTargetNodeTypesResponse",
134
134
  "status": "online"
135
135
  },
136
+ "ModifyEsVipSecurityGroup": {
137
+ "document": "修改绑定VIP的安全组,传安全组id列表",
138
+ "input": "ModifyEsVipSecurityGroupRequest",
139
+ "name": "修改集群VIP绑定的安全组",
140
+ "output": "ModifyEsVipSecurityGroupResponse",
141
+ "status": "online"
142
+ },
136
143
  "RestartInstance": {
137
144
  "document": "重启ES集群实例(用于系统版本更新等操作) ",
138
145
  "input": "RestartInstanceRequest",
@@ -4955,6 +4962,42 @@
4955
4962
  ],
4956
4963
  "usage": "out"
4957
4964
  },
4965
+ "ModifyEsVipSecurityGroupRequest": {
4966
+ "document": "ModifyEsVipSecurityGroup请求参数结构体",
4967
+ "members": [
4968
+ {
4969
+ "disabled": false,
4970
+ "document": "es集群的实例id",
4971
+ "example": "es-3p7lkxxx",
4972
+ "member": "string",
4973
+ "name": "InstanceId",
4974
+ "required": true,
4975
+ "type": "string"
4976
+ },
4977
+ {
4978
+ "disabled": false,
4979
+ "document": "安全组id列表",
4980
+ "example": "[\"sg-cyc7u0pp\", \"sg-k3jsu0jf\"]",
4981
+ "member": "string",
4982
+ "name": "SecurityGroupIds",
4983
+ "required": false,
4984
+ "type": "list"
4985
+ }
4986
+ ],
4987
+ "type": "object"
4988
+ },
4989
+ "ModifyEsVipSecurityGroupResponse": {
4990
+ "document": "ModifyEsVipSecurityGroup返回参数结构体",
4991
+ "members": [
4992
+ {
4993
+ "document": "唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。",
4994
+ "member": "string",
4995
+ "name": "RequestId",
4996
+ "type": "string"
4997
+ }
4998
+ ],
4999
+ "type": "object"
5000
+ },
4958
5001
  "NodeInfo": {
4959
5002
  "document": "集群中一种节点类型(如热数据节点,冷数据节点,专用主节点等)的规格描述信息,包括节点类型,节点个数,节点规格,磁盘类型,磁盘大小等, Type不指定时默认为热数据节点;如果节点为master节点,则DiskType和DiskSize参数会被忽略(主节点无数据盘)",
4960
5003
  "members": [
@@ -152,6 +152,14 @@
152
152
  "title": "获取接收客户端请求的节点类型"
153
153
  }
154
154
  ],
155
+ "ModifyEsVipSecurityGroup": [
156
+ {
157
+ "document": "修改集群VIP绑定的安全组信息",
158
+ "input": "POST / HTTP/1.1\nHost: es.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyEsVipSecurityGroup\n<公共请求参数>\n\n{\n \"InstanceId\": \"es-3p7lkvxx\",\n \"SecurityGroupIds\": [\n \"sg-1\",\n \"sg-2\"\n ]\n}",
159
+ "output": "{\n \"Response\": {\n \"RequestId\": \"c96a110c-7493-452d-a99b-683d07xxxxxx\"\n }\n}",
160
+ "title": "修改集群VIP绑定的安全组信息"
161
+ }
162
+ ],
155
163
  "RestartInstance": [
156
164
  {
157
165
  "document": "用以进行版本更新等操作",