tccli 3.0.1265.1__py2.py3-none-any.whl → 3.0.1266.1__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/billing/v20180709/api.json +4 -2
  3. tccli/services/cdn/v20180606/api.json +33 -11
  4. tccli/services/cls/v20201016/api.json +1 -1
  5. tccli/services/cvm/v20170312/api.json +12 -2
  6. tccli/services/ess/v20201111/api.json +19 -19
  7. tccli/services/essbasic/v20210526/api.json +2 -2
  8. tccli/services/lcic/v20220817/api.json +30 -35
  9. tccli/services/lkeap/v20240522/api.json +412 -9
  10. tccli/services/lkeap/v20240522/examples.json +19 -19
  11. tccli/services/mongodb/mongodb_client.py +53 -0
  12. tccli/services/mongodb/v20190725/api.json +70 -0
  13. tccli/services/mongodb/v20190725/examples.json +8 -0
  14. tccli/services/rum/v20210622/api.json +12 -12
  15. tccli/services/rum/v20210622/examples.json +6 -6
  16. tccli/services/ssl/v20191205/api.json +20 -20
  17. tccli/services/sts/v20180813/api.json +1 -1
  18. tccli/services/teo/v20220901/api.json +1 -1
  19. tccli/services/tke/v20180525/api.json +18 -0
  20. tccli/services/trro/v20220325/api.json +1 -1
  21. tccli/services/trtc/v20190722/api.json +8 -7
  22. tccli/services/trtc/v20190722/examples.json +5 -5
  23. tccli/services/vms/v20200902/api.json +9 -9
  24. tccli/services/vms/v20200902/examples.json +5 -5
  25. tccli/services/vpc/v20170312/api.json +6 -6
  26. tccli/services/vpc/v20170312/examples.json +4 -4
  27. tccli/services/waf/v20180125/api.json +24 -2
  28. tccli/services/wedata/v20210820/api.json +107 -0
  29. tccli/services/wedata/v20210820/examples.json +8 -0
  30. tccli/services/wedata/wedata_client.py +53 -0
  31. {tccli-3.0.1265.1.dist-info → tccli-3.0.1266.1.dist-info}/METADATA +2 -2
  32. {tccli-3.0.1265.1.dist-info → tccli-3.0.1266.1.dist-info}/RECORD +35 -35
  33. {tccli-3.0.1265.1.dist-info → tccli-3.0.1266.1.dist-info}/WHEEL +0 -0
  34. {tccli-3.0.1265.1.dist-info → tccli-3.0.1266.1.dist-info}/entry_points.txt +0 -0
  35. {tccli-3.0.1265.1.dist-info → tccli-3.0.1266.1.dist-info}/license_files/LICENSE +0 -0
@@ -27,7 +27,7 @@
27
27
  "CreatePicture": [
28
28
  {
29
29
  "document": "上传图片",
30
- "input": "https://trtc.tencentcloudapi.com/?Action=CreatePicture\n&Content=test\n&Suffix=jpg\n&SdkAppId=123\n&Height=12\n&Width=15\n&XPosition=15\n&YPosition=36\n&<公共请求参数>",
30
+ "input": "https://trtc.tencentcloudapi.com/?Action=CreatePicture\n&Content=MTg4MTM=\n&Suffix=jpg\n&SdkAppId=140000001\n&Height=12\n&Width=15\n&XPosition=15\n&YPosition=36\n&<公共请求参数>",
31
31
  "output": "{\n \"Response\": {\n \"PictureId\": 1400297109,\n \"RequestId\": \"049461e6-f2f5-4168-887e-aca4fbfa5fae\"\n }\n}",
32
32
  "title": "上传图片"
33
33
  }
@@ -92,7 +92,7 @@
92
92
  {
93
93
  "document": "",
94
94
  "input": "POST / HTTP/1.1\nHost: trtc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeMixTranscodingUsage\n<公共请求参数>\n\n{\n \"EndTime\": \"2022-01-01\",\n \"StartTime\": \"2022-01-02\",\n \"SdkAppId\": 1400123456\n}",
95
- "output": "{\n \"Response\": {\n \"UsageKey\": [\n \"Audio\",\n \"SDH264\",\n \"HDH264\",\n \"FullHDH264\",\n \"2KH264\",\n \"4KH264\",\n \"SDH265\",\n \"HDH265\",\n \"FullHDH265\",\n \"2KH265\",\n \"4KH265\"\n ],\n \"UsageList\": [\n {\n \"TimeKey\": \"2022-01-01 00:00:00\",\n \"UsageValue\": [\n 10,\n 20,\n 30,\n 40,\n 50,\n 60,\n 70,\n 80,\n 90,\n 100,\n 110\n ]\n },\n {\n \"TimeKey\": \"2022-01-02 00:00:00\",\n \"UsageValue\": [\n 10,\n 20,\n 30,\n 40,\n 50,\n 60,\n 70,\n 80,\n 90,\n 100,\n 110\n ]\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
95
+ "output": "{\n \"Response\": {\n \"UsageKey\": [\n \"Audio\",\n \"SDH264\",\n \"HDH264\",\n \"FullHDH264\",\n \"2KH264\",\n \"4KH264\",\n \"SDH265\",\n \"HDH265\",\n \"FullHDH265\",\n \"2KH265\",\n \"4KH265\"\n ],\n \"UsageList\": [\n {\n \"TimeKey\": \"2022-01-01 00:00:00\",\n \"UsageValue\": [\n 10,\n 20,\n 30,\n 40,\n 50,\n 60,\n 70,\n 80,\n 90,\n 100,\n 110\n ]\n },\n {\n \"TimeKey\": \"2022-01-02 00:00:00\",\n \"UsageValue\": [\n 10,\n 20,\n 30,\n 40,\n 50,\n 60,\n 70,\n 80,\n 90,\n 100,\n 110\n ]\n }\n ],\n \"RequestId\": \"6def28d59b9384b4de4e1d818da57ae0\"\n }\n}",
96
96
  "title": "获取用户在2022年1月1日-2022年1月2日范围内,SdkAppId为1400123456的应用的用量明细。"
97
97
  }
98
98
  ],
@@ -116,7 +116,7 @@
116
116
  {
117
117
  "document": "",
118
118
  "input": "POST / HTTP/1.1\nHost: trtc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRecordingUsage\n<公共请求参数>\n\n{\n \"EndTime\": \"2022-01-01\",\n \"StartTime\": \"2022-01-02\",\n \"SdkAppId\": 1400123456,\n \"MixType\": \"single\"\n}",
119
- "output": "{\n \"Response\": {\n \"UsageKey\": [\n \"Audio\",\n \"SD\",\n \"HD\",\n \"FullHD\",\n \"2K\",\n \"4K\"\n ],\n \"UsageList\": [\n {\n \"TimeKey\": \"2022-01-01 00:00:00\",\n \"UsageValue\": [\n 10,\n 20,\n 30,\n 40,\n 50,\n 60\n ]\n },\n {\n \"TimeKey\": \"2022-01-02 00:00:00\",\n \"UsageValue\": [\n 10,\n 20,\n 30,\n 40,\n 50,\n 60\n ]\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
119
+ "output": "{\n \"Response\": {\n \"UsageKey\": [\n \"Audio\",\n \"SD\",\n \"HD\",\n \"FullHD\",\n \"2K\",\n \"4K\"\n ],\n \"UsageList\": [\n {\n \"TimeKey\": \"2022-01-01 00:00:00\",\n \"UsageValue\": [\n 10,\n 20,\n 30,\n 40,\n 50,\n 60\n ]\n },\n {\n \"TimeKey\": \"2022-01-02 00:00:00\",\n \"UsageValue\": [\n 10,\n 20,\n 30,\n 40,\n 50,\n 60\n ]\n }\n ],\n \"RequestId\": \"02a7c0fa-39a5-46cd-922e-12bb26b77d9d\"\n }\n}",
120
120
  "title": "获取用户在2022年1月1日-2022年1月2日范围内,SdkAppId为1400123456的应用的单流录制用量明细。"
121
121
  }
122
122
  ],
@@ -124,7 +124,7 @@
124
124
  {
125
125
  "document": "",
126
126
  "input": "POST / HTTP/1.1\nHost: trtc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRelayUsage\n<公共请求参数>\n\n{\n \"EndTime\": \"2022-01-01\",\n \"StartTime\": \"2022-01-02\",\n \"SdkAppId\": 1400123456\n}",
127
- "output": "{\n \"Response\": {\n \"UsageKey\": [\n \"Bandwidth\"\n ],\n \"UsageList\": [\n {\n \"TimeKey\": \"2022-01-01 00:00:00\",\n \"UsageValue\": [\n 10.11\n ]\n },\n {\n \"TimeKey\": \"2022-01-02 00:00:00\",\n \"UsageValue\": [\n 10.11\n ]\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
127
+ "output": "{\n \"Response\": {\n \"UsageKey\": [\n \"Bandwidth\"\n ],\n \"UsageList\": [\n {\n \"TimeKey\": \"2022-01-01 00:00:00\",\n \"UsageValue\": [\n 10.11\n ]\n },\n {\n \"TimeKey\": \"2022-01-02 00:00:00\",\n \"UsageValue\": [\n 10.11\n ]\n }\n ],\n \"RequestId\": \"02a7c0fa-39a5-46cd-922e-12bb26b77d9d\"\n }\n}",
128
128
  "title": "获取用户在2022年1月1日-2022年1月2日范围内,SdkAppId为1400123456的应用的用量明细。"
129
129
  }
130
130
  ],
@@ -236,7 +236,7 @@
236
236
  {
237
237
  "document": "",
238
238
  "input": "POST / HTTP/1.1\nHost: trtc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTrtcUsage\n<公共请求参数>\n\n{\n \"EndTime\": \"2022-01-01\",\n \"StartTime\": \"2022-01-02\",\n \"SdkAppId\": 1400123456\n}",
239
- "output": "{\n \"Response\": {\n \"UsageKey\": [\n \"Audio\",\n \"SD\",\n \"HD\",\n \"FullHD\",\n \"2K\",\n \"4K\"\n ],\n \"UsageList\": [\n {\n \"TimeKey\": \"2022-01-01 00:00:00\",\n \"UsageValue\": [\n 10,\n 20,\n 30,\n 40,\n 50,\n 60\n ]\n },\n {\n \"TimeKey\": \"2022-01-02 00:00:00\",\n \"UsageValue\": [\n 10,\n 20,\n 30,\n 40,\n 50,\n 60\n ]\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
239
+ "output": "{\n \"Response\": {\n \"UsageKey\": [\n \"Audio\",\n \"SD\",\n \"HD\",\n \"FullHD\",\n \"2K\",\n \"4K\"\n ],\n \"UsageList\": [\n {\n \"TimeKey\": \"2022-01-01 00:00:00\",\n \"UsageValue\": [\n 10,\n 20,\n 30,\n 40,\n 50,\n 60\n ]\n },\n {\n \"TimeKey\": \"2022-01-02 00:00:00\",\n \"UsageValue\": [\n 10,\n 20,\n 30,\n 40,\n 50,\n 60\n ]\n }\n ],\n \"RequestId\": \"635e1617-0613-4bf8-8f1f-e017754713e8\"\n }\n}",
240
240
  "title": "获取用户在2022年1月1日-2022年1月2日范围内,SdkAppId为1400123456的应用的用量明细。"
241
241
  }
242
242
  ],
@@ -28,7 +28,7 @@
28
28
  {
29
29
  "disabled": false,
30
30
  "document": "验证码,仅支持填写数字,实际播报语音时,会自动在数字前补充语音文本\"您的验证码是\"。",
31
- "example": "1234",
31
+ "example": "8253",
32
32
  "member": "string",
33
33
  "name": "CodeMessage",
34
34
  "required": true,
@@ -64,7 +64,7 @@
64
64
  {
65
65
  "disabled": false,
66
66
  "document": "用户的 session 内容,腾讯 server 回包中会原样返回。",
67
- "example": "test",
67
+ "example": "sc-t",
68
68
  "member": "string",
69
69
  "name": "SessionContext",
70
70
  "required": false,
@@ -82,7 +82,7 @@
82
82
  "example": "无",
83
83
  "member": "SendStatus",
84
84
  "name": "SendStatus",
85
- "required": true,
85
+ "output_required": true,
86
86
  "type": "object",
87
87
  "value_allowed_null": false
88
88
  },
@@ -101,20 +101,20 @@
101
101
  {
102
102
  "disabled": false,
103
103
  "document": "标识本次发送 ID,标识一次下发记录。",
104
- "example": "",
104
+ "example": "12582bce-403c-11eb-96b8-525400476c37",
105
105
  "member": "string",
106
106
  "name": "CallId",
107
- "required": true,
107
+ "output_required": true,
108
108
  "type": "string",
109
109
  "value_allowed_null": false
110
110
  },
111
111
  {
112
112
  "disabled": false,
113
113
  "document": "用户的 session 内容,腾讯 server 回包中会原样返回。\n注意:此字段可能返回 null,表示取不到有效值。",
114
- "example": "",
114
+ "example": "sc-t",
115
115
  "member": "string",
116
116
  "name": "SessionContext",
117
- "required": true,
117
+ "output_required": true,
118
118
  "type": "string",
119
119
  "value_allowed_null": true
120
120
  }
@@ -172,7 +172,7 @@
172
172
  {
173
173
  "disabled": false,
174
174
  "document": "用户的 session 内容,腾讯 server 回包中会原样返回。",
175
- "example": "test",
175
+ "example": "sc-t",
176
176
  "member": "string",
177
177
  "name": "SessionContext",
178
178
  "required": false,
@@ -190,7 +190,7 @@
190
190
  "example": "无",
191
191
  "member": "SendStatus",
192
192
  "name": "SendStatus",
193
- "required": true,
193
+ "output_required": true,
194
194
  "type": "object",
195
195
  "value_allowed_null": false
196
196
  },
@@ -2,17 +2,17 @@
2
2
  "actions": {
3
3
  "SendCodeVoice": [
4
4
  {
5
- "document": "",
6
- "input": "POST / HTTP/1.1\nHost: vms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SendCodeVoice\n<公共请求参数>\n\n{\n \"CodeMessage\": \"1234\",\n \"PlayTimes\": 2,\n \"CalledNumber\": \"+8613788888888\",\n \"SessionContext\": \"test\",\n \"VoiceSdkAppid\": \"1400006666\"\n}",
7
- "output": "{\n \"Response\": {\n \"SendStatus\": {\n \"CallId\": \"12582bce-403c-11eb-96b8-525400476c37\",\n \"SessionContext\": \"test\"\n },\n \"RequestId\": \"91260bb8-cf91-4f3e-a81f-9198114a2279\"\n }\n}",
5
+ "document": "发送语音验证码",
6
+ "input": "POST / HTTP/1.1\nHost: vms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SendCodeVoice\n<公共请求参数>\n\n{\n \"CodeMessage\": \"8253\",\n \"PlayTimes\": 2,\n \"CalledNumber\": \"+8613788888888\",\n \"SessionContext\": \"sc-t\",\n \"VoiceSdkAppid\": \"1400006666\"\n}",
7
+ "output": "{\n \"Response\": {\n \"SendStatus\": {\n \"CallId\": \"12582bce-403c-11eb-96b8-525400476c37\",\n \"SessionContext\": \"sc-t\"\n },\n \"RequestId\": \"91260bb8-cf91-4f3e-a81f-9198114a2279\"\n }\n}",
8
8
  "title": "发送语音验证码"
9
9
  }
10
10
  ],
11
11
  "SendTtsVoice": [
12
12
  {
13
13
  "document": "",
14
- "input": "POST / HTTP/1.1\nHost: vms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SendTtsVoice\n<公共请求参数>\n\n{\n \"TemplateId\": \"4356\",\n \"TemplateParamSet\": [\n \"7652\"\n ],\n \"PlayTimes\": 2,\n \"CalledNumber\": \"+8613788888888\",\n \"SessionContext\": \"test\",\n \"VoiceSdkAppid\": \"1400006666\"\n}",
15
- "output": "{\n \"Response\": {\n \"SendStatus\": {\n \"CallId\": \"12582bce-403c-11eb-96b8-525400476c37\",\n \"SessionContext\": \"test\"\n },\n \"RequestId\": \"91260bb8-cf91-4f3e-a81f-9198114a2279\"\n }\n}",
14
+ "input": "POST / HTTP/1.1\nHost: vms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SendTtsVoice\n<公共请求参数>\n\n{\n \"TemplateId\": \"4356\",\n \"TemplateParamSet\": [\n \"7652\"\n ],\n \"PlayTimes\": 2,\n \"CalledNumber\": \"+8613788888888\",\n \"SessionContext\": \"sc-t\",\n \"VoiceSdkAppid\": \"1400006666\"\n}",
15
+ "output": "{\n \"Response\": {\n \"SendStatus\": {\n \"CallId\": \"12582bce-403c-11eb-96b8-525400476c37\",\n \"SessionContext\": \"sc-t\"\n },\n \"RequestId\": \"91260bb8-cf91-4f3e-a81f-9198114a2279\"\n }\n}",
16
16
  "title": "指定模板发送语音通知"
17
17
  }
18
18
  ]
@@ -484,7 +484,7 @@
484
484
  "status": "online"
485
485
  },
486
486
  "CreateSecurityGroupWithPolicies": {
487
- "document": "本接口(CreateSecurityGroupWithPolicies)用于创建新的安全组(SecurityGroup),并且可以同时添加安全组规则(SecurityGroupPolicy)。\n* 每个账户下每个地域的每个项目的<a href=\"https://cloud.tencent.com/document/product/213/12453\">安全组数量限制</a>。\n* 新建的安全组的入站和出站规则默认都是全部拒绝,在创建后通常您需要再调用<a href=\"https://cloud.tencent.com/document/product/215/15807\">CreateSecurityGroupPolicies</a>\n将安全组的规则设置为需要的规则。\n\n安全组规则说明:\n* Version安全组规则版本号,用户每次更新安全规则版本会自动加1,防止您更新的路由规则已过期,不填不考虑冲突。\n* Protocol字段支持输入TCP, UDP, ICMP, ICMPV6, GRE, ALL。\n* CidrBlock字段允许输入符合cidr格式标准的任意字符串。(展开)在基础网络中,如果CidrBlock包含您的账户内的云服务器之外的设备在腾讯云的内网IP,并不代表此规则允许您访问这些设备,租户之间网络隔离规则优先于安全组中的内网规则。\n* Ipv6CidrBlock字段允许输入符合IPv6 cidr格式标准的任意字符串。(展开)在基础网络中,如果Ipv6CidrBlock包含您的账户内的云服务器之外的设备在腾讯云的内网IPv6,并不代表此规则允许您访问这些设备,租户之间网络隔离规则优先于安全组中的内网规则。\n* SecurityGroupId字段允许输入与待修改的安全组位于相同项目中的安全组ID,包括这个安全组ID本身,代表安全组下所有云服务器的内网IP。使用这个字段时,这条规则用来匹配网络报文的过程中会随着被使用的这个ID所关联的云服务器变化而变化,不需要重新修改。\n* Port字段允许输入一个单独端口号,或者用减号分隔的两个端口号代表端口范围,例如80或8000-8010。只有当Protocol字段是TCP或UDP时,Port字段才被接受,即Protocol字段不是TCP或UDP时,Protocol和Port是排他关系,不允许同时输入,否则会接口报错。\n* Action字段只允许输入ACCEPT或DROP。\n* CidrBlock, Ipv6CidrBlock, SecurityGroupId, AddressTemplate四者是排他关系,不允许同时输入,Protocol + Port和ServiceTemplate二者是排他关系,不允许同时输入。\n* 一次请求中只能创建单个方向的规则, 如果需要指定索引(PolicyIndex)参数, 多条规则的索引必须一致。",
487
+ "document": "本接口(CreateSecurityGroupWithPolicies)用于创建新的安全组(SecurityGroup),并且可以同时添加安全组规则(SecurityGroupPolicy)。\n* 每个账户下每个地域的每个项目的<a href=\"https://cloud.tencent.com/document/product/213/12453\">安全组数量限制</a>。\n* 新建的安全组的入站和出站规则默认都是全部拒绝,在创建后通常您需要再调用<a href=\"https://cloud.tencent.com/document/product/215/15807\">CreateSecurityGroupPolicies</a>\n将安全组的规则设置为需要的规则。\n\n安全组规则说明:\n* Version安全组规则版本号,用户每次更新安全规则版本会自动加1,防止您更新的路由规则已过期,不填不考虑冲突。\n* Protocol字段支持输入TCP, UDP, ICMP, ICMPV6, GRE, ALL。\n* CidrBlock字段允许输入符合cidr格式标准的任意字符串。(展开)在基础网络中,如果CidrBlock包含您的账户内的云服务器之外的设备在腾讯云的内网IP,并不代表此规则允许您访问这些设备,租户之间网络隔离规则优先于安全组中的内网规则。\n* Ipv6CidrBlock字段允许输入符合IPv6 cidr格式标准的任意字符串。(展开)在基础网络中,如果Ipv6CidrBlock包含您的账户内的云服务器之外的设备在腾讯云的内网IPv6,并不代表此规则允许您访问这些设备,租户之间网络隔离规则优先于安全组中的内网规则。\n* SecurityGroupId字段允许输入与待修改的安全组位于相同项目中的安全组ID,包括这个安全组ID本身,代表安全组下所有云服务器的内网IP。使用这个字段时,这条规则用来匹配网络报文的过程中会随着被使用的这个ID所关联的云服务器变化而变化,不需要重新修改。\n* Port字段允许输入一个单独端口号,或者用减号分隔的两个端口号代表端口范围,例如80或8000-8010。只有当Protocol字段是TCP或UDP时,Port字段才被接受,即Protocol字段不是TCP或UDP时,Protocol和Port是排他关系,不允许同时输入,否则会接口报错。\n* Action字段只允许输入ACCEPT或DROP。\n* CidrBlock, Ipv6CidrBlock, SecurityGroupId, AddressTemplate四者是排他关系,不允许同时输入,Protocol + Port和ServiceTemplate二者是排他关系,不允许同时输入。\n* 请求中可以同时指定入站和出站两个方向的规则, 如果需要指定索引(PolicyIndex)参数, 多条规则的索引必须一致。",
488
488
  "input": "CreateSecurityGroupWithPoliciesRequest",
489
489
  "name": "创建安全组和规则",
490
490
  "output": "CreateSecurityGroupWithPoliciesResponse",
@@ -7009,7 +7009,7 @@
7009
7009
  "member": "Tag",
7010
7010
  "name": "Tags",
7011
7011
  "required": false,
7012
- "type": "object"
7012
+ "type": "list"
7013
7013
  }
7014
7014
  ],
7015
7015
  "type": "object"
@@ -9662,7 +9662,7 @@
9662
9662
  {
9663
9663
  "disabled": false,
9664
9664
  "document": "安全组名称,可任意命名,但不得超过60个字符。",
9665
- "example": "TEST",
9665
+ "example": "demo",
9666
9666
  "member": "string",
9667
9667
  "name": "GroupName",
9668
9668
  "required": true,
@@ -9671,7 +9671,7 @@
9671
9671
  {
9672
9672
  "disabled": false,
9673
9673
  "document": "安全组备注,最多100个字符。",
9674
- "example": "TEST 20230214",
9674
+ "example": "demo",
9675
9675
  "member": "string",
9676
9676
  "name": "GroupDescription",
9677
9677
  "required": true,
@@ -9698,7 +9698,7 @@
9698
9698
  {
9699
9699
  "disabled": false,
9700
9700
  "document": "指定绑定的标签列表,例如:[{\"Key\": \"city\", \"Value\": \"shanghai\"}]。",
9701
- "example": "",
9701
+ "example": "[{\"Key\": \"env\", \"Value\": \"prod\"}]",
9702
9702
  "member": "Tag",
9703
9703
  "name": "Tags",
9704
9704
  "required": false,
@@ -9713,7 +9713,7 @@
9713
9713
  {
9714
9714
  "disabled": false,
9715
9715
  "document": "安全组对象。",
9716
- "example": "sg-2quou3gv",
9716
+ "example": "",
9717
9717
  "member": "SecurityGroup",
9718
9718
  "name": "SecurityGroup",
9719
9719
  "output_required": true,
@@ -645,14 +645,14 @@
645
645
  "CreateSecurityGroupWithPolicies": [
646
646
  {
647
647
  "document": "创建安全组",
648
- "input": "https://vpc.tencentcloudapi.com/?Action=CreateSecurityGroupWithPolicies\n&GroupName=TestGroup\n&GroupDescription=test-group-desc\n&<公共请求参数>",
649
- "output": "{\n \"Response\": {\n \"RequestId\": \"354f4ac3-8546-4516-8c8a-69e3ab73aa8a\",\n \"SecurityGroup\": {\n \"SecurityGroupId\": \"sg-12345678\",\n \"SecurityGroupName\": \"TestGroup\",\n \"SecurityGroupDesc\": \"test-group-desc\",\n \"ProjectId\": \"0\",\n \"CreatedTime\": \"2018-01-13 19:26:33\",\n \"UpdateTime\": \"2018-01-13 19:26:33\",\n \"TagSet\": [],\n \"IsDefault\": false\n }\n }\n}",
648
+ "input": "https://vpc.tencentcloudapi.com/?Action=CreateSecurityGroupWithPolicies\n&GroupName=demo\n&GroupDescription=demo\n&<公共请求参数>",
649
+ "output": "{\n \"Response\": {\n \"RequestId\": \"354f4ac3-8546-4516-8c8a-69e3ab73aa8a\",\n \"SecurityGroup\": {\n \"SecurityGroupId\": \"sg-ms7c7gcr\",\n \"SecurityGroupName\": \"demo\",\n \"SecurityGroupDesc\": \"demo\",\n \"ProjectId\": \"0\",\n \"CreatedTime\": \"2018-01-13 19:26:33\",\n \"UpdateTime\": \"2018-01-13 19:26:33\",\n \"TagSet\": [],\n \"IsDefault\": false\n }\n }\n}",
650
650
  "title": "创建安全组"
651
651
  },
652
652
  {
653
653
  "document": "创建安全组和安全组规则",
654
- "input": "https://vpc.tencentcloudapi.com/?Action=CreateSecurityGroupWithPolicies\n&GroupName=TestGroup\n&GroupDescription=test-group-desc\n&SecurityGroupPolicySet.Egress.0.PolicyIndex=0\n&SecurityGroupPolicySet.Egress.0.ServiceTemplate.ServiceId=ppm-f5n1f8da\n&SecurityGroupPolicySet.Egress.0.ServiceTemplate.ServiceGroupId=ppmg-f5n1f8da\n&SecurityGroupPolicySet.Egress.0.AddressTemplate.AddressId=ipm-2uw6ujo6\n&SecurityGroupPolicySet.Egress.0.AddressTemplate.AddressGroupId=ipmg-2uw6ujo6\n&SecurityGroupPolicySet.Egress.0.Action=accept\n&SecurityGroupPolicySet.Egress.0.PolicyDescription=TestPolicy\n&SecurityGroupPolicySet.Egress.1.PolicyIndex=1\n&SecurityGroupPolicySet.Egress.1.ServiceTemplate.ServiceId=ppm-f5n1f8da\n&SecurityGroupPolicySet.Egress.1.ServiceTemplate.ServiceGroupId=ppmg-f5n1f8da\n&SecurityGroupPolicySet.Egress.1.AddressTemplate.AddressId=ipm-2uw6ujo6\n&SecurityGroupPolicySet.Egress.1.AddressTemplate.AddressGroupId=ipmg-2uw6ujo6\n&SecurityGroupPolicySet.Egress.1.Action=accept\n&SecurityGroupPolicySet.Egress.1.PolicyDescription=Test\n&<公共请求参数>",
655
- "output": "{\n \"Response\": {\n \"RequestId\": \"354f4ac3-8546-4516-8c8a-69e3ab73aa8a\",\n \"SecurityGroup\": {\n \"SecurityGroupId\": \"sg-12345678\",\n \"SecurityGroupName\": \"TestGroup\",\n \"SecurityGroupDesc\": \"test-group-desc\",\n \"ProjectId\": \"0\",\n \"CreatedTime\": \"2018-01-13 19:26:33\",\n \"UpdateTime\": \"2018-01-13 19:26:33\",\n \"TagSet\": [],\n \"IsDefault\": false\n }\n }\n}",
654
+ "input": "https://vpc.tencentcloudapi.com/?Action=CreateSecurityGroupWithPolicies\n&GroupName=demo\n&GroupDescription=demo\n&SecurityGroupPolicySet.Egress.0.PolicyIndex=0\n&SecurityGroupPolicySet.Egress.0.ServiceTemplate.ServiceId=ppm-f5n1f8da\n&SecurityGroupPolicySet.Egress.0.ServiceTemplate.ServiceGroupId=ppmg-f5n1f8da\n&SecurityGroupPolicySet.Egress.0.AddressTemplate.AddressId=ipm-2uw6ujo6\n&SecurityGroupPolicySet.Egress.0.AddressTemplate.AddressGroupId=ipmg-2uw6ujo6\n&SecurityGroupPolicySet.Egress.0.Action=accept\n&SecurityGroupPolicySet.Egress.0.PolicyDescription=demo\n&SecurityGroupPolicySet.Egress.1.PolicyIndex=1\n&SecurityGroupPolicySet.Egress.1.ServiceTemplate.ServiceId=ppm-f5n1f8da\n&SecurityGroupPolicySet.Egress.1.ServiceTemplate.ServiceGroupId=ppmg-f5n1f8da\n&SecurityGroupPolicySet.Egress.1.AddressTemplate.AddressId=ipm-2uw6ujo6\n&SecurityGroupPolicySet.Egress.1.AddressTemplate.AddressGroupId=ipmg-2uw6ujo6\n&SecurityGroupPolicySet.Egress.1.Action=accept\n&SecurityGroupPolicySet.Egress.1.PolicyDescription=demo\n&<公共请求参数>",
655
+ "output": "{\n \"Response\": {\n \"RequestId\": \"354f4ac3-8546-4516-8c8a-69e3ab73aa8a\",\n \"SecurityGroup\": {\n \"SecurityGroupId\": \"sg-6zwa44xm\",\n \"SecurityGroupName\": \"demo\",\n \"SecurityGroupDesc\": \"demo\",\n \"ProjectId\": \"0\",\n \"CreatedTime\": \"2018-01-13 19:26:33\",\n \"UpdateTime\": \"2018-01-13 19:26:33\",\n \"TagSet\": [],\n \"IsDefault\": false\n }\n }\n}",
656
656
  "title": "创建安全组和安全组规则"
657
657
  }
658
658
  ],
@@ -14705,7 +14705,7 @@
14705
14705
  {
14706
14706
  "disabled": false,
14707
14707
  "document": "API安全资源包",
14708
- "example": "{\"ResourceIds\":\"waf_2kw60zgy0908e8j3_0_api\",\"Status\":1,\"Region\":1,\"BeginTime\":\"2024-04-23 00:01:51\",\"EndTime\":\"2024-12-01 00:01:51\",\"InquireNum\":1,\"UsedNum\":0,\"BillingItem\":\"sv_wsm_waf_scene_ent\",\"RenewFlag\":1,\"APICPWaf\":0,\"APINPWaf\":0,\"IsAPISecurityTrial\":0}",
14708
+ "example": "{\"ResourceIds\":\"waf_2kw60zgy0908e8j3_0_api\",\"Status\":1,\"Region\":1,\"BeginTime\":\"2024-04-23 00:01:51\",\"EndTime\":\"2024-12-01 00:01:51\",\"InquireNum\":1,\"UsedNum\":0,\"BillingItem\":\"sv_wsm_waf_scene_ent\",\"RenewFlag\":1}",
14709
14709
  "member": "ApiPkg",
14710
14710
  "name": "ApiPkg",
14711
14711
  "output_required": false,
@@ -14716,7 +14716,7 @@
14716
14716
  {
14717
14717
  "disabled": false,
14718
14718
  "document": "小程序安全加速包",
14719
- "example": "{\"ResourceIds\":\"waf_2kw60zgy0908e8j3_1_mini\",\"Status\":1,\"Region\":1,\"BeginTime\":\"2024-04-11 11:31:01\",\"EndTime\":\"2024-12-01 11:31:01\",\"Count\":5,\"BillingItem\":\"sv_wsm_waf_scene_mini\",\"RenewFlag\":1,\"AccessAppidNum\":4,\"DdosThreshold\":300,\"ElasticMode\":1,\"ElasticBilling\":473000}",
14719
+ "example": "{\"ResourceIds\":\"waf_mini\",\"Status\":1,\"Region\":1,\"BeginTime\":\"2024-04-11 11:31:01\",\"EndTime\":\"2024-12-01 11:31:01\",\"Count\":5,\"BillingItem\":\"sv_wsm_waf_scene_mini\",\"RenewFlag\":1,\"AccessAppidNum\":4,\"DdosThreshold\":300,\"ElasticMode\":1,\"ElasticBilling\":10}",
14720
14720
  "member": "MiniPkg",
14721
14721
  "name": "MiniPkg",
14722
14722
  "output_required": false,
@@ -14789,6 +14789,28 @@
14789
14789
  "required": false,
14790
14790
  "type": "int",
14791
14791
  "value_allowed_null": false
14792
+ },
14793
+ {
14794
+ "disabled": false,
14795
+ "document": "最近3天最大qps",
14796
+ "example": "300",
14797
+ "member": "uint64",
14798
+ "name": "Last3MaxQPS",
14799
+ "output_required": false,
14800
+ "required": false,
14801
+ "type": "int",
14802
+ "value_allowed_null": false
14803
+ },
14804
+ {
14805
+ "disabled": false,
14806
+ "document": "最近3天最大带宽",
14807
+ "example": "1000",
14808
+ "member": "uint64",
14809
+ "name": "Last3MaxBandwidth",
14810
+ "output_required": false,
14811
+ "required": false,
14812
+ "type": "int",
14813
+ "value_allowed_null": false
14792
14814
  }
14793
14815
  ],
14794
14816
  "usage": "both"
@@ -658,6 +658,13 @@
658
658
  "output": "DescribeInstanceByCycleResponse",
659
659
  "status": "online"
660
660
  },
661
+ "DescribeInstanceDetailInfo": {
662
+ "document": "实例详情页,返回某个实例所有生命周期信息",
663
+ "input": "DescribeInstanceDetailInfoRequest",
664
+ "name": "DescribeInstanceDetailInfo",
665
+ "output": "DescribeInstanceDetailInfoResponse",
666
+ "status": "online"
667
+ },
661
668
  "DescribeInstanceLastLog": {
662
669
  "document": "日志获取详情页面",
663
670
  "input": "DescribeInstanceLastLogRequest",
@@ -15135,6 +15142,106 @@
15135
15142
  ],
15136
15143
  "type": "object"
15137
15144
  },
15145
+ "DescribeInstanceDetailInfoRequest": {
15146
+ "document": "DescribeInstanceDetailInfo请求参数结构体",
15147
+ "members": [
15148
+ {
15149
+ "disabled": false,
15150
+ "document": "任务ID",
15151
+ "example": "20230215201434653",
15152
+ "member": "string",
15153
+ "name": "TaskId",
15154
+ "required": true,
15155
+ "type": "string"
15156
+ },
15157
+ {
15158
+ "disabled": false,
15159
+ "document": "实例数据时间",
15160
+ "example": "2023-03-09 00:00:00",
15161
+ "member": "string",
15162
+ "name": "CurRunDate",
15163
+ "required": true,
15164
+ "type": "string"
15165
+ },
15166
+ {
15167
+ "disabled": false,
15168
+ "document": "项目id",
15169
+ "example": "20240823183321597",
15170
+ "member": "string",
15171
+ "name": "ProjectId",
15172
+ "required": false,
15173
+ "type": "string"
15174
+ },
15175
+ {
15176
+ "disabled": false,
15177
+ "document": "实例的第几次执行",
15178
+ "example": "0",
15179
+ "member": "int64",
15180
+ "name": "LifeRound",
15181
+ "required": false,
15182
+ "type": "int"
15183
+ },
15184
+ {
15185
+ "disabled": false,
15186
+ "document": "生命周期查询起始index",
15187
+ "example": "0",
15188
+ "member": "int64",
15189
+ "name": "LifeRoundStartIndex",
15190
+ "required": false,
15191
+ "type": "int"
15192
+ },
15193
+ {
15194
+ "disabled": false,
15195
+ "document": "生命周期查询批次数量",
15196
+ "example": "5",
15197
+ "member": "int64",
15198
+ "name": "LifeRoundSize",
15199
+ "required": false,
15200
+ "type": "int"
15201
+ },
15202
+ {
15203
+ "disabled": false,
15204
+ "document": "生命周期总数,可省略",
15205
+ "example": "20",
15206
+ "member": "string",
15207
+ "name": "TotalLifeRound",
15208
+ "required": false,
15209
+ "type": "string"
15210
+ },
15211
+ {
15212
+ "disabled": false,
15213
+ "document": "动态加载日志标识",
15214
+ "example": "true",
15215
+ "member": "bool",
15216
+ "name": "Dynamic",
15217
+ "required": false,
15218
+ "type": "bool"
15219
+ }
15220
+ ],
15221
+ "type": "object"
15222
+ },
15223
+ "DescribeInstanceDetailInfoResponse": {
15224
+ "document": "DescribeInstanceDetailInfo返回参数结构体",
15225
+ "members": [
15226
+ {
15227
+ "disabled": false,
15228
+ "document": "生命周期结果",
15229
+ "example": "无",
15230
+ "member": "InstanceLifeCycleOpsDto",
15231
+ "name": "Data",
15232
+ "output_required": false,
15233
+ "type": "list",
15234
+ "value_allowed_null": false
15235
+ },
15236
+ {
15237
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
15238
+ "member": "string",
15239
+ "name": "RequestId",
15240
+ "type": "string"
15241
+ }
15242
+ ],
15243
+ "type": "object"
15244
+ },
15138
15245
  "DescribeInstanceLastLogRequest": {
15139
15246
  "document": "DescribeInstanceLastLog请求参数结构体",
15140
15247
  "members": [
@@ -830,6 +830,14 @@
830
830
  "title": "样例"
831
831
  }
832
832
  ],
833
+ "DescribeInstanceDetailInfo": [
834
+ {
835
+ "document": "",
836
+ "input": "POST / HTTP/1.1\nHost: wedata.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstanceDetailInfo\n<公共请求参数>\n\n{\n \"TaskId\": \"231232313\",\n \"CurRunDate\": \"2024-10-01 00:00:00\"\n}",
837
+ "output": "{\n \"Response\": {\n \"Data\": [\n {\n \"TaskId\": \"231232313\",\n \"CurRunDate\": \"2024-10-01 00:00:00\",\n \"LifeRound\": 0,\n \"RunType\": \"REDO\",\n \"Tries\": 0,\n \"InstanceLifeDetailDtoList\": [\n {\n \"State\": \"RUNNING\",\n \"StartTime\": \"231232313\"\n }\n ],\n \"RunnerState\": \"RUNNING\",\n \"ErrorDesc\": \"\",\n \"ErrorCodeLevel\": \"\",\n \"InstanceLogListOpsDto\": {\n \"TaskId\": \"231232313\",\n \"CurRunDate\": \"2024-10-01 00:00:00\",\n \"Tries\": \"1\",\n \"LastUpdate\": \"2024-10-01 00:00:00\",\n \"BrokerIp\": \"10.0.0.1\",\n \"FileSize\": \"1000\",\n \"OriginFileName\": \"test.log\",\n \"CreateTime\": \"2024-10-01 00:00:00\",\n \"InstanceLogType\": \"2\",\n \"TaskName\": \"测试任务\",\n \"CostTime\": \"10\",\n \"InstanceStatus\": \"RUNNING\",\n \"CodeFileName\": \"info.log\",\n \"ExtensionInfo\": [\n {\n \"Key\": \"\",\n \"Value\": \"\",\n \"Description\": \"\"\n }\n ]\n }\n }\n ],\n \"RequestId\": \"12312434\"\n }\n}",
838
+ "title": "样例"
839
+ }
840
+ ],
833
841
  "DescribeInstanceLastLog": [
834
842
  {
835
843
  "document": "",
@@ -7245,6 +7245,58 @@ def doDescribeOpsMakePlanInstances(args, parsed_globals):
7245
7245
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
7246
7246
 
7247
7247
 
7248
+ def doDescribeInstanceDetailInfo(args, parsed_globals):
7249
+ g_param = parse_global_arg(parsed_globals)
7250
+
7251
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
7252
+ cred = credential.CVMRoleCredential()
7253
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
7254
+ cred = credential.STSAssumeRoleCredential(
7255
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
7256
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
7257
+ )
7258
+ 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):
7259
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
7260
+ else:
7261
+ cred = credential.Credential(
7262
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
7263
+ )
7264
+ http_profile = HttpProfile(
7265
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
7266
+ reqMethod="POST",
7267
+ endpoint=g_param[OptionsDefine.Endpoint],
7268
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
7269
+ )
7270
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
7271
+ if g_param[OptionsDefine.Language]:
7272
+ profile.language = g_param[OptionsDefine.Language]
7273
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
7274
+ client = mod.WedataClient(cred, g_param[OptionsDefine.Region], profile)
7275
+ client._sdkVersion += ("_CLI_" + __version__)
7276
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
7277
+ model = models.DescribeInstanceDetailInfoRequest()
7278
+ model.from_json_string(json.dumps(args))
7279
+ start_time = time.time()
7280
+ while True:
7281
+ rsp = client.DescribeInstanceDetailInfo(model)
7282
+ result = rsp.to_json_string()
7283
+ try:
7284
+ json_obj = json.loads(result)
7285
+ except TypeError as e:
7286
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
7287
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
7288
+ break
7289
+ cur_time = time.time()
7290
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
7291
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
7292
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
7293
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
7294
+ else:
7295
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
7296
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
7297
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
7298
+
7299
+
7248
7300
  def doDescribeBatchOperateTask(args, parsed_globals):
7249
7301
  g_param = parse_global_arg(parsed_globals)
7250
7302
 
@@ -12647,6 +12699,7 @@ ACTION_MAP = {
12647
12699
  "DescribeRuleGroupsByPage": doDescribeRuleGroupsByPage,
12648
12700
  "DeleteDataSources": doDeleteDataSources,
12649
12701
  "DescribeOpsMakePlanInstances": doDescribeOpsMakePlanInstances,
12702
+ "DescribeInstanceDetailInfo": doDescribeInstanceDetailInfo,
12650
12703
  "DescribeBatchOperateTask": doDescribeBatchOperateTask,
12651
12704
  "DeleteRule": doDeleteRule,
12652
12705
  "CheckAlarmRegularNameExist": doCheckAlarmRegularNameExist,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tccli
3
- Version: 3.0.1265.1
3
+ Version: 3.0.1266.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.1265
16
+ Requires-Dist: tencentcloud-sdk-python>=3.0.1266
17
17
  Description-Content-Type: text/markdown
18
18
 
19
19
  # 命令行工具简介