tccli 3.0.1131.1__py2.py3-none-any.whl → 3.0.1133.1__py2.py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- tccli/__init__.py +1 -1
- tccli/services/apm/v20210622/api.json +1 -0
- tccli/services/apm/v20210622/examples.json +1 -1
- tccli/services/cdwch/v20200915/api.json +9 -9
- tccli/services/cdwch/v20200915/examples.json +1 -1
- tccli/services/cdwdoris/v20211228/api.json +18 -0
- tccli/services/cfw/v20190904/api.json +4 -4
- tccli/services/ckafka/v20190819/api.json +133 -76
- tccli/services/ckafka/v20190819/examples.json +17 -17
- tccli/services/cms/v20190321/api.json +2 -0
- tccli/services/cms/v20190321/examples.json +1 -1
- tccli/services/csip/csip_client.py +106 -0
- tccli/services/csip/v20221121/api.json +862 -129
- tccli/services/csip/v20221121/examples.json +20 -4
- tccli/services/cynosdb/v20190107/api.json +340 -0
- tccli/services/dlc/dlc_client.py +53 -0
- tccli/services/dlc/v20210125/api.json +34 -0
- tccli/services/dlc/v20210125/examples.json +8 -0
- tccli/services/dsgc/v20190723/api.json +20 -18
- tccli/services/dsgc/v20190723/examples.json +5 -5
- tccli/services/eb/v20210416/examples.json +1 -1
- tccli/services/emr/v20190103/api.json +1 -1
- tccli/services/ess/v20201111/api.json +3 -3
- tccli/services/essbasic/v20210526/api.json +6 -6
- tccli/services/gaap/v20180529/api.json +21 -1
- tccli/services/gaap/v20180529/examples.json +0 -6
- tccli/services/iecp/v20210914/api.json +40 -40
- tccli/services/ims/v20201229/api.json +2 -2
- tccli/services/lke/lke_client.py +171 -12
- tccli/services/lke/v20231130/api.json +524 -0
- tccli/services/lke/v20231130/examples.json +24 -0
- tccli/services/monitor/v20180724/api.json +47 -19
- tccli/services/monitor/v20180724/examples.json +4 -4
- tccli/services/ocr/v20181119/api.json +2 -2
- tccli/services/ocr/v20181119/examples.json +2 -2
- tccli/services/pts/v20210728/api.json +1 -1
- tccli/services/pts/v20210728/examples.json +1 -1
- tccli/services/redis/v20180412/api.json +33 -29
- tccli/services/redis/v20180412/examples.json +8 -8
- tccli/services/rum/v20210622/api.json +2 -0
- tccli/services/rum/v20210622/examples.json +1 -1
- tccli/services/sms/v20210111/api.json +26 -26
- tccli/services/tcr/v20190924/api.json +13 -10
- tccli/services/tcr/v20190924/examples.json +2 -2
- tccli/services/tke/tke_client.py +53 -0
- tccli/services/tke/v20180525/api.json +227 -41
- tccli/services/tke/v20180525/examples.json +26 -0
- tccli/services/tse/v20201207/api.json +13 -2
- tccli/services/tsf/v20180326/api.json +10 -8
- tccli/services/tsf/v20180326/examples.json +3 -3
- tccli/services/waf/v20180125/api.json +65 -9
- tccli/services/waf/v20180125/examples.json +1 -1
- tccli/services/wedata/v20210820/api.json +111 -20
- tccli/services/wedata/v20210820/examples.json +8 -0
- tccli/services/wedata/wedata_client.py +53 -0
- {tccli-3.0.1131.1.dist-info → tccli-3.0.1133.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1131.1.dist-info → tccli-3.0.1133.1.dist-info}/RECORD +60 -60
- {tccli-3.0.1131.1.dist-info → tccli-3.0.1133.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1131.1.dist-info → tccli-3.0.1133.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1131.1.dist-info → tccli-3.0.1133.1.dist-info}/license_files/LICENSE +0 -0
@@ -1,126 +1,126 @@
|
|
1
1
|
{
|
2
2
|
"actions": {
|
3
3
|
"AddSmsSign": {
|
4
|
-
"document": "
|
4
|
+
"document": "本接口 (AddSmsSign) 用于添加短信签名。\n<blockquote class=\"d-mod-explain\"><div class=\"d-mod-title d-explain-title\" style=\"line-height: normal;\"><i class=\"d-icon-explain\"></i>说明:</div><p></p><ul><li>添加短信签名前,请先认真参阅 <a href=\"https://cloud.tencent.com/document/product/382/39022\">腾讯云短信签名审核标准。</a></li><li>个人认证用户不支持使用 API 申请短信签名,请参阅了解 <a href=\"https://cloud.tencent.com/document/product/378/3629\">实名认证基本介绍</a>,如果为个人认证请登录 <a href=\"https://console.cloud.tencent.com/smsv2\">控制台</a> 申请短信签名。</li></ul></blockquote>",
|
5
5
|
"input": "AddSmsSignRequest",
|
6
6
|
"name": "添加短信签名",
|
7
7
|
"output": "AddSmsSignResponse",
|
8
8
|
"status": "online"
|
9
9
|
},
|
10
10
|
"AddSmsTemplate": {
|
11
|
-
"document": "
|
11
|
+
"document": "本接口 (AddSmsTemplate) 用于创建短信模板。\n<blockquote class=\"d-mod-explain\"><div class=\"d-mod-title d-explain-title\" style=\"line-height: normal;\"><i class=\"d-icon-explain\"></i>说明:</div><p></p><ul><li>申请短信模板前,请先认真参阅 <a href=\"https://cloud.tencent.com/document/product/382/39023\">腾讯云短信正文模板审核标准。</a></li><li>个人认证用户不支持使用 API 申请短信正文模板,请参阅了解 <a href=\"https://cloud.tencent.com/document/product/378/3629\">实名认证基本介绍</a>,如果为个人认证请登录 <a href=\"https://console.cloud.tencent.com/smsv2\">控制台</a> 申请短信正文模板。</li></ul></blockquote>",
|
12
12
|
"input": "AddSmsTemplateRequest",
|
13
13
|
"name": "添加短信模板",
|
14
14
|
"output": "AddSmsTemplateResponse",
|
15
15
|
"status": "online"
|
16
16
|
},
|
17
17
|
"CallbackStatusStatistics": {
|
18
|
-
"document": "
|
18
|
+
"document": "本接口 (CallbackStatusStatistics) 用于统计用户回执的数据。",
|
19
19
|
"input": "CallbackStatusStatisticsRequest",
|
20
20
|
"name": "回执数据统计",
|
21
21
|
"output": "CallbackStatusStatisticsResponse",
|
22
22
|
"status": "online"
|
23
23
|
},
|
24
24
|
"DeleteSmsSign": {
|
25
|
-
"document": "
|
25
|
+
"document": "本接口 (DeleteSmsSign) 用于删除短信签名。\n<blockquote class=\"d-mod-explain\"><div class=\"d-mod-title d-explain-title\" style=\"line-height: normal;\"><i class=\"d-icon-explain\"></i>说明:</div><p></p><ul><li>个人认证用户不支持使用 API 删除短信签名,请参阅了解 <a href=\"https://cloud.tencent.com/document/product/378/3629\">实名认证基本介绍</a>,如果为个人认证请登录 <a href=\"https://console.cloud.tencent.com/smsv2\">控制台</a> 删除短信签名。</li></ul></blockquote>",
|
26
26
|
"input": "DeleteSmsSignRequest",
|
27
27
|
"name": "删除短信签名",
|
28
28
|
"output": "DeleteSmsSignResponse",
|
29
29
|
"status": "online"
|
30
30
|
},
|
31
31
|
"DeleteSmsTemplate": {
|
32
|
-
"document": "
|
32
|
+
"document": "本接口 (DeleteSmsTemplate) 用于删除短信模板。\n<blockquote class=\"d-mod-explain\"><div class=\"d-mod-title d-explain-title\" style=\"line-height: normal;\"><i class=\"d-icon-explain\"></i>说明:</div><p></p><ul><li>个人认证用户不支持使用 API 删除短信正文模板,请参阅了解 <a href=\"https://cloud.tencent.com/document/product/378/3629\">实名认证基本介绍</a>,如果为个人认证请登录 <a href=\"https://console.cloud.tencent.com/smsv2\">控制台</a> 删除短信正文模板。</li></ul></blockquote>",
|
33
33
|
"input": "DeleteSmsTemplateRequest",
|
34
34
|
"name": "删除短信模板",
|
35
35
|
"output": "DeleteSmsTemplateResponse",
|
36
36
|
"status": "online"
|
37
37
|
},
|
38
38
|
"DescribePhoneNumberInfo": {
|
39
|
-
"document": "
|
39
|
+
"document": "本接口 (DescribePhoneNumberInfo) 用于提供电话号码的信息查询,包括国家(或地区)码、规范的 E.164 格式号码等。\n- 例如:查询号码 +86018845720123,可以得到国家码 86、规范的 E.164 号码 +8618845720123 等信息。",
|
40
40
|
"input": "DescribePhoneNumberInfoRequest",
|
41
41
|
"name": "号码信息查询",
|
42
42
|
"output": "DescribePhoneNumberInfoResponse",
|
43
43
|
"status": "online"
|
44
44
|
},
|
45
45
|
"DescribeSmsSignList": {
|
46
|
-
"document": "
|
46
|
+
"document": "本接口 (DescribeSmsSignList) 用于查询短信签名状态。\n<blockquote class=\"d-mod-explain\"><div class=\"d-mod-title d-explain-title\" style=\"line-height: normal;\"><i class=\"d-icon-explain\"></i>说明:</div><p></p><ul><li>个人认证用户不支持使用 API 查询短信签名,请参阅了解 <a href=\"https://cloud.tencent.com/document/product/378/3629\">实名认证基本介绍</a>,如果为个人认证请登录 <a href=\"https://console.cloud.tencent.com/smsv2\">控制台</a> 查询短信签名。</li></ul></blockquote>",
|
47
47
|
"input": "DescribeSmsSignListRequest",
|
48
48
|
"name": "短信签名状态查询",
|
49
49
|
"output": "DescribeSmsSignListResponse",
|
50
50
|
"status": "online"
|
51
51
|
},
|
52
52
|
"DescribeSmsTemplateList": {
|
53
|
-
"document": "
|
53
|
+
"document": "本接口 (DescribeSmsTemplateList) 用于查询短信模板状态。\n<blockquote class=\"d-mod-explain\"><div class=\"d-mod-title d-explain-title\" style=\"line-height: normal;\"><i class=\"d-icon-explain\"></i>说明:</div><p></p><ul><li>个人认证用户不支持使用 API 查询短信正文模板,请参阅了解 <a href=\"https://cloud.tencent.com/document/product/378/3629\">实名认证基本介绍</a>,如果为个人认证请登录 <a href=\"https://console.cloud.tencent.com/smsv2\">控制台</a> 查询短信正文模板。</li></ul></blockquote>",
|
54
54
|
"input": "DescribeSmsTemplateListRequest",
|
55
55
|
"name": "短信模板状态查询",
|
56
56
|
"output": "DescribeSmsTemplateListResponse",
|
57
57
|
"status": "online"
|
58
58
|
},
|
59
59
|
"ModifySmsSign": {
|
60
|
-
"document": "
|
60
|
+
"document": "本接口 (ModifySmsSign) 用于修改短信签名。\n<blockquote class=\"d-mod-explain\"><div class=\"d-mod-title d-explain-title\" style=\"line-height: normal;\"><i class=\"d-icon-explain\"></i>说明:</div><p></p><ul><li>修改短信签名前,请先认真参阅 <a href=\"https://cloud.tencent.com/document/product/382/39022\">腾讯云短信签名审核标准。</a></li><li>个人认证用户不支持使用 API 修改短信签名,请参阅了解 <a href=\"https://cloud.tencent.com/document/product/378/3629\">实名认证基本介绍</a>,如果为个人认证请登录 <a href=\"https://console.cloud.tencent.com/smsv2\">控制台</a> 修改短信签名。</li><li>修改短信签名,仅当签名为<b>待审核</b>或<b>已拒绝</b>状态时,才能进行修改,<b>已审核通过</b>的签名不支持修改。</li></ul></blockquote>",
|
61
61
|
"input": "ModifySmsSignRequest",
|
62
62
|
"name": "修改短信签名",
|
63
63
|
"output": "ModifySmsSignResponse",
|
64
64
|
"status": "online"
|
65
65
|
},
|
66
66
|
"ModifySmsTemplate": {
|
67
|
-
"document": "
|
67
|
+
"document": "本接口 (ModifySmsTemplate) 用于修改短信模板。\n<blockquote class=\"d-mod-explain\"><div class=\"d-mod-title d-explain-title\" style=\"line-height: normal;\"><i class=\"d-icon-explain\"></i>说明:</div><p></p><ul><li>修改短信正文模板前,请先认真参阅 <a href=\"https://cloud.tencent.com/document/product/382/39023\">腾讯云短信正文模板审核标准。</a></li><li>个人认证用户不支持使用 API 修改短信正文模板,请参阅了解 <a href=\"https://cloud.tencent.com/document/product/378/3629\">实名认证基本介绍</a>,如果为个人认证请登录 <a href=\"https://console.cloud.tencent.com/smsv2\">控制台</a> 修改短信正文模板。</li><li>修改短信模板,仅当正文模板为<b>待审核</b>或<b>已拒绝</b>状态时,才能进行修改,<b>已审核通过</b>的正文模板不支持修改。</li></ul></blockquote>",
|
68
68
|
"input": "ModifySmsTemplateRequest",
|
69
69
|
"name": "修改短信模板",
|
70
70
|
"output": "ModifySmsTemplateResponse",
|
71
71
|
"status": "online"
|
72
72
|
},
|
73
73
|
"PullSmsReplyStatus": {
|
74
|
-
"document": "
|
74
|
+
"document": "本接口 (PullSmsReplyStatus) 用于拉取短信回复状态。\n<blockquote class=\"d-mod-explain\"><div class=\"d-mod-title d-explain-title\" style=\"line-height: normal;\"><i class=\"d-icon-explain\"></i>说明:</div><p></p><ul><li>此接口需要联系 <a href=\"https://cloud.tencent.com/document/product/382/3773#.E6.8A.80.E6.9C.AF.E4.BA.A4.E6.B5.81\">腾讯云短信小助手</a> 开通。</li><li>上行回复也支持 <a href=\"https://cloud.tencent.com/document/product/382/42907\">配置回复回调</a> 的方式获取。</li></ul></blockquote>",
|
75
75
|
"input": "PullSmsReplyStatusRequest",
|
76
76
|
"name": "拉取短信回复状态",
|
77
77
|
"output": "PullSmsReplyStatusResponse",
|
78
78
|
"status": "online"
|
79
79
|
},
|
80
80
|
"PullSmsReplyStatusByPhoneNumber": {
|
81
|
-
"document": "
|
81
|
+
"document": "本接口 (PullSmsReplyStatusByPhoneNumber) 用于拉取单个号码短信回复状态。\n<blockquote class=\"d-mod-explain\"><div class=\"d-mod-title d-explain-title\" style=\"line-height: normal;\"><i class=\"d-icon-explain\"></i>说明:</div><p></p><ul><li>上行回复也支持 <a href=\"https://cloud.tencent.com/document/product/382/42907\">配置回复回调</a> 的方式获取。</li></ul></blockquote>",
|
82
82
|
"input": "PullSmsReplyStatusByPhoneNumberRequest",
|
83
83
|
"name": "拉取单个号码短信回复状态",
|
84
84
|
"output": "PullSmsReplyStatusByPhoneNumberResponse",
|
85
85
|
"status": "online"
|
86
86
|
},
|
87
87
|
"PullSmsSendStatus": {
|
88
|
-
"document": "
|
88
|
+
"document": "本接口 (PullSmsSendStatus) 用于拉取短信下发状态。\n<blockquote class=\"d-mod-explain\"><div class=\"d-mod-title d-explain-title\" style=\"line-height: normal;\"><i class=\"d-icon-explain\"></i>说明:</div><p></p><ul><li>此接口需要联系 <a href=\"https://cloud.tencent.com/document/product/382/3773#.E6.8A.80.E6.9C.AF.E4.BA.A4.E6.B5.81\">腾讯云短信小助手</a> 开通。</li><li>下发状态也支持 <a href=\"https://cloud.tencent.com/document/product/382/37809#.E7.9F.AD.E4.BF.A1.E7.8A.B6.E6.80.81.E5.9B.9E.E8.B0.83.E9.85.8D.E7.BD.AE\">配置回调</a> 的方式获取。</li></ul></blockquote>",
|
89
89
|
"input": "PullSmsSendStatusRequest",
|
90
90
|
"name": "拉取短信下发状态",
|
91
91
|
"output": "PullSmsSendStatusResponse",
|
92
92
|
"status": "online"
|
93
93
|
},
|
94
94
|
"PullSmsSendStatusByPhoneNumber": {
|
95
|
-
"document": "
|
95
|
+
"document": "本接口 (PullSmsSendStatusByPhoneNumber) 用于拉取单个号码短信下发状态。\n<blockquote class=\"d-mod-explain\"><div class=\"d-mod-title d-explain-title\" style=\"line-height: normal;\"><i class=\"d-icon-explain\"></i>说明:</div><p></p><ul><li>下发状态也支持 <a href=\"https://cloud.tencent.com/document/product/382/37809#.E7.9F.AD.E4.BF.A1.E7.8A.B6.E6.80.81.E5.9B.9E.E8.B0.83.E9.85.8D.E7.BD.AE\">配置回调</a> 的方式获取。</li></ul></blockquote>",
|
96
96
|
"input": "PullSmsSendStatusByPhoneNumberRequest",
|
97
97
|
"name": "拉取单个号码短信下发状态",
|
98
98
|
"output": "PullSmsSendStatusByPhoneNumberResponse",
|
99
99
|
"status": "online"
|
100
100
|
},
|
101
101
|
"ReportConversion": {
|
102
|
-
"document": "
|
102
|
+
"document": "本接口 (ReportConversion) 用于短信转化率上报。将已接收到短信的流水号上报到腾讯云短信服务。\n<blockquote class=\"d-mod-explain\"><div class=\"d-mod-title d-explain-title\" style=\"line-height: normal;\"><i class=\"d-icon-explain\"></i>说明:</div><p></p><ul><li>该接口当前以白名单方式对外开放,如有需要请联系 <a href=\"https://cloud.tencent.com/document/product/382/3773#.E6.8A.80.E6.9C.AF.E4.BA.A4.E6.B5.81\">腾讯云短信小助手</a> 开通。</li></ul></blockquote>",
|
103
103
|
"input": "ReportConversionRequest",
|
104
104
|
"name": "上报转换率",
|
105
105
|
"output": "ReportConversionResponse",
|
106
106
|
"status": "online"
|
107
107
|
},
|
108
108
|
"SendSms": {
|
109
|
-
"document": "
|
109
|
+
"document": "本接口 (SendSms) 用于发送验证码、通知类短信和营销短信。支持国内短信与国际/港澳台短信。\n- 当前接口属于 2021-01-11 版本,如果您仍在使用 [2019-07-11 版本](https://cloud.tencent.com/document/product/382/38778),建议您使用当前最新版本的接口,版本差异可参考[版本描述](https://cloud.tencent.com/document/product/382/63195#.E7.89.88.E6.9C.AC.E6.8F.8F.E8.BF.B0)。",
|
110
110
|
"input": "SendSmsRequest",
|
111
111
|
"name": "发送短信",
|
112
112
|
"output": "SendSmsResponse",
|
113
113
|
"status": "online"
|
114
114
|
},
|
115
115
|
"SendStatusStatistics": {
|
116
|
-
"document": "
|
116
|
+
"document": "本接口 (SendStatusStatistics) 用于统计用户发送短信的数据。",
|
117
117
|
"input": "SendStatusStatisticsRequest",
|
118
118
|
"name": "发送短信数据统计",
|
119
119
|
"output": "SendStatusStatisticsResponse",
|
120
120
|
"status": "online"
|
121
121
|
},
|
122
122
|
"SmsPackagesStatistics": {
|
123
|
-
"document": "
|
123
|
+
"document": "本接口 (SmsPackagesStatistics) 用于统计用户套餐包数据。",
|
124
124
|
"input": "SmsPackagesStatisticsRequest",
|
125
125
|
"name": "套餐包信息统计",
|
126
126
|
"output": "SmsPackagesStatisticsResponse",
|
@@ -1729,7 +1729,7 @@
|
|
1729
1729
|
{
|
1730
1730
|
"disabled": false,
|
1731
1731
|
"document": "下发手机号码,采用 E.164 标准,格式为+[国家或地区码][手机号],单次请求最多支持200个手机号且要求全为境内手机号或全为境外手机号。\n例如:+8613711112222, 其中前面有一个+号 ,86为国家码,13711112222为手机号。\n注:发送国内短信格式还支持0086、86或无任何国家或地区码的11位手机号码,前缀默认为+86。",
|
1732
|
-
"example": "+8618511122233",
|
1732
|
+
"example": "[\"+8618511122233\"]",
|
1733
1733
|
"member": "string",
|
1734
1734
|
"name": "PhoneNumberSet",
|
1735
1735
|
"required": true,
|
@@ -1738,7 +1738,7 @@
|
|
1738
1738
|
{
|
1739
1739
|
"disabled": false,
|
1740
1740
|
"document": "短信 SdkAppId,在 [短信控制台](https://console.cloud.tencent.com/smsv2/app-manage) 添加应用后生成的实际 SdkAppId,示例如1400006666。",
|
1741
|
-
"example": "1400006666",
|
1741
|
+
"example": "\"1400006666\"",
|
1742
1742
|
"member": "string",
|
1743
1743
|
"name": "SmsSdkAppId",
|
1744
1744
|
"required": true,
|
@@ -1747,7 +1747,7 @@
|
|
1747
1747
|
{
|
1748
1748
|
"disabled": false,
|
1749
1749
|
"document": "模板 ID,必须填写已审核通过的模板 ID。模板 ID 可前往 [国内短信](https://console.cloud.tencent.com/smsv2/csms-template) 或 [国际/港澳台短信](https://console.cloud.tencent.com/smsv2/isms-template) 的正文模板管理查看,若向境外手机号发送短信,仅支持使用国际/港澳台短信模板。",
|
1750
|
-
"example": "1110",
|
1750
|
+
"example": "\"1110\"",
|
1751
1751
|
"member": "string",
|
1752
1752
|
"name": "TemplateId",
|
1753
1753
|
"required": true,
|
@@ -1756,7 +1756,7 @@
|
|
1756
1756
|
{
|
1757
1757
|
"disabled": false,
|
1758
1758
|
"document": "短信签名内容,使用 UTF-8 编码,必须填写已审核通过的签名,例如:腾讯云,签名信息可前往 [国内短信](https://console.cloud.tencent.com/smsv2/csms-sign) 或 [国际/港澳台短信](https://console.cloud.tencent.com/smsv2/isms-sign) 的签名管理查看。\n<dx-alert infotype=\"notice\" title=\"注意\">发送国内短信该参数必填,且需填写签名内容而非签名ID。</dx-alert>",
|
1759
|
-
"example": "
|
1759
|
+
"example": "\"腾讯云\"",
|
1760
1760
|
"member": "string",
|
1761
1761
|
"name": "SignName",
|
1762
1762
|
"required": false,
|
@@ -1765,7 +1765,7 @@
|
|
1765
1765
|
{
|
1766
1766
|
"disabled": false,
|
1767
1767
|
"document": "模板参数,若无模板参数,则设置为空。\n<dx-alert infotype=\"notice\" title=\"注意\">模板参数的个数需要与 TemplateId 对应模板的变量个数保持一致。</dx-alert>",
|
1768
|
-
"example": "[1234]",
|
1768
|
+
"example": "[\"1234\"]",
|
1769
1769
|
"member": "string",
|
1770
1770
|
"name": "TemplateParamSet",
|
1771
1771
|
"required": false,
|
@@ -1774,7 +1774,7 @@
|
|
1774
1774
|
{
|
1775
1775
|
"disabled": false,
|
1776
1776
|
"document": "短信码号扩展号,默认未开通,如需开通请联系 [腾讯云短信小助手](https://cloud.tencent.com/document/product/382/3773#.E6.8A.80.E6.9C.AF.E4.BA.A4.E6.B5.81)。",
|
1777
|
-
"example": "12",
|
1777
|
+
"example": "\"12\"",
|
1778
1778
|
"member": "string",
|
1779
1779
|
"name": "ExtendCode",
|
1780
1780
|
"required": false,
|
@@ -1783,7 +1783,7 @@
|
|
1783
1783
|
{
|
1784
1784
|
"disabled": false,
|
1785
1785
|
"document": "用户的 session 内容,可以携带用户侧 ID 等上下文信息,server 会原样返回。注意长度需小于512字节。",
|
1786
|
-
"example": "test",
|
1786
|
+
"example": "\"test\"",
|
1787
1787
|
"member": "string",
|
1788
1788
|
"name": "SessionContext",
|
1789
1789
|
"required": false,
|
@@ -1792,7 +1792,7 @@
|
|
1792
1792
|
{
|
1793
1793
|
"disabled": false,
|
1794
1794
|
"document": "国内短信无需填写该项;国际/港澳台短信已申请独立 SenderId 需要填写该字段,默认使用公共 SenderId,无需填写该字段。\n注:月度使用量达到指定量级可申请独立 SenderId 使用,详情请联系 [腾讯云短信小助手](https://cloud.tencent.com/document/product/382/3773#.E6.8A.80.E6.9C.AF.E4.BA.A4.E6.B5.81)。",
|
1795
|
-
"example": "Qsms",
|
1795
|
+
"example": "\"Qsms\"",
|
1796
1796
|
"member": "string",
|
1797
1797
|
"name": "SenderId",
|
1798
1798
|
"required": false,
|
@@ -3569,6 +3569,7 @@
|
|
3569
3569
|
"example": "",
|
3570
3570
|
"member": "DescribeApplicationTriggerPersonalResp",
|
3571
3571
|
"name": "Data",
|
3572
|
+
"output_required": true,
|
3572
3573
|
"type": "object",
|
3573
3574
|
"value_allowed_null": false
|
3574
3575
|
},
|
@@ -3698,7 +3699,7 @@
|
|
3698
3699
|
{
|
3699
3700
|
"disabled": false,
|
3700
3701
|
"document": "仓库名称",
|
3701
|
-
"example": "",
|
3702
|
+
"example": "无",
|
3702
3703
|
"member": "string",
|
3703
3704
|
"name": "RepoName",
|
3704
3705
|
"required": true,
|
@@ -3707,7 +3708,7 @@
|
|
3707
3708
|
{
|
3708
3709
|
"disabled": false,
|
3709
3710
|
"document": "分页Limit",
|
3710
|
-
"example": "",
|
3711
|
+
"example": "无",
|
3711
3712
|
"member": "int64",
|
3712
3713
|
"name": "Limit",
|
3713
3714
|
"required": true,
|
@@ -3716,7 +3717,7 @@
|
|
3716
3717
|
{
|
3717
3718
|
"disabled": false,
|
3718
3719
|
"document": "Offset用于分页",
|
3719
|
-
"example": "",
|
3720
|
+
"example": "无",
|
3720
3721
|
"member": "int64",
|
3721
3722
|
"name": "Offset",
|
3722
3723
|
"required": true,
|
@@ -3731,9 +3732,10 @@
|
|
3731
3732
|
{
|
3732
3733
|
"disabled": false,
|
3733
3734
|
"document": "个人收藏仓库列表返回信息",
|
3734
|
-
"example": "",
|
3735
|
+
"example": "无",
|
3735
3736
|
"member": "FavorResp",
|
3736
3737
|
"name": "Data",
|
3738
|
+
"output_required": true,
|
3737
3739
|
"type": "object",
|
3738
3740
|
"value_allowed_null": false
|
3739
3741
|
},
|
@@ -3870,7 +3872,7 @@
|
|
3870
3872
|
"example": "无",
|
3871
3873
|
"member": "SameImagesResp",
|
3872
3874
|
"name": "Data",
|
3873
|
-
"
|
3875
|
+
"output_required": true,
|
3874
3876
|
"type": "object",
|
3875
3877
|
"value_allowed_null": false
|
3876
3878
|
},
|
@@ -4023,7 +4025,7 @@
|
|
4023
4025
|
{
|
4024
4026
|
"disabled": false,
|
4025
4027
|
"document": "仓库名称",
|
4026
|
-
"example": "",
|
4028
|
+
"example": "nsName/repoName",
|
4027
4029
|
"member": "string",
|
4028
4030
|
"name": "RepoName",
|
4029
4031
|
"required": true,
|
@@ -4032,7 +4034,7 @@
|
|
4032
4034
|
{
|
4033
4035
|
"disabled": false,
|
4034
4036
|
"document": "偏移量,默认为0",
|
4035
|
-
"example": "",
|
4037
|
+
"example": "0",
|
4036
4038
|
"member": "int64",
|
4037
4039
|
"name": "Offset",
|
4038
4040
|
"required": false,
|
@@ -4041,7 +4043,7 @@
|
|
4041
4043
|
{
|
4042
4044
|
"disabled": false,
|
4043
4045
|
"document": "返回最大数量,默认 20, 最大值 100",
|
4044
|
-
"example": "",
|
4046
|
+
"example": "20",
|
4045
4047
|
"member": "int64",
|
4046
4048
|
"name": "Limit",
|
4047
4049
|
"required": false,
|
@@ -4050,7 +4052,7 @@
|
|
4050
4052
|
{
|
4051
4053
|
"disabled": false,
|
4052
4054
|
"document": "tag名称,可根据输入搜索",
|
4053
|
-
"example": "",
|
4055
|
+
"example": "tag",
|
4054
4056
|
"member": "string",
|
4055
4057
|
"name": "Tag",
|
4056
4058
|
"required": false,
|
@@ -4065,9 +4067,10 @@
|
|
4065
4067
|
{
|
4066
4068
|
"disabled": false,
|
4067
4069
|
"document": "镜像tag信息",
|
4068
|
-
"example": "",
|
4070
|
+
"example": "无",
|
4069
4071
|
"member": "TagInfoResp",
|
4070
4072
|
"name": "Data",
|
4073
|
+
"output_required": true,
|
4071
4074
|
"type": "object",
|
4072
4075
|
"value_allowed_null": false
|
4073
4076
|
},
|
@@ -479,8 +479,8 @@
|
|
479
479
|
"DescribeImagePersonal": [
|
480
480
|
{
|
481
481
|
"document": "",
|
482
|
-
"input": "https://tcr.tencentcloudapi.com/?Action=DescribeImagePersonal\
|
483
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"eac6b301-a322-493a-8e36-83b295459397\",\n \"Data\": {\n \"RepoName\": \"dockerhub/test\",\n \"Server\": \"ccr.ccs.tencentyun.com\",\n \"TagCount\": 1,\n \"TagInfo\": [\n {\n \"Id\": 2089896,\n \"TagName\": \"latest\",\n \"TagId\": \"sha256:ad207667c53d9739f1f6c2d0f9eedf5237c969e7d11ef4bd3f4b23b68b5eac6c\",\n \"ImageId\": \"sha256:db8493d07bbb3b91e989466825393fedd910d695ac6671ec7fc4ab636cf1aafd\",\n \"Size\": \"128 MB\",\n \"CreationTime\": \"2019-10-17 15:59:30 +0800 CST\",\n \"DurationDays\": \"\",\n \"Author\": \"\",\n \"Architecture\": \"amd64\",\n \"DockerVersion\": \"19.03.1\",\n \"OS\": \"linux\",\n \"UpdateTime\": \"2019-10-24 14:20:55 +0800 CST\",\n \"PushTime\": \"2019-10-24 14:20:51 +0800 CST\",\n \"SizeByte\": 128152591\n }\n ]\n }\n }\n}",
|
482
|
+
"input": "https://tcr.tencentcloudapi.com/?Action=DescribeImagePersonal\n&RepoName=dockerhub/test\n&<公共请求参数>",
|
483
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"eac6b301-a322-493a-8e36-83b295459397\",\n \"Data\": {\n \"RepoName\": \"dockerhub/test\",\n \"Server\": \"ccr.ccs.tencentyun.com\",\n \"TagCount\": 1,\n \"TagInfo\": [\n {\n \"Id\": 2089896,\n \"TagName\": \"latest\",\n \"TagId\": \"sha256:ad207667c53d9739f1f6c2d0f9eedf5237c969e7d11ef4bd3f4b23b68b5eac6c\",\n \"ImageId\": \"sha256:db8493d07bbb3b91e989466825393fedd910d695ac6671ec7fc4ab636cf1aafd\",\n \"Size\": \"128 MB\",\n \"CreationTime\": \"2019-10-17 15:59:30 +0800 CST\",\n \"DurationDays\": \"\",\n \"Author\": \"\",\n \"Architecture\": \"amd64\",\n \"DockerVersion\": \"19.03.1\",\n \"OS\": \"linux\",\n \"UpdateTime\": \"2019-10-24 14:20:55 +0800 CST\",\n \"PushTime\": \"2019-10-24 14:20:51 +0800 CST\",\n \"SizeByte\": 128152591,\n \"Kind\": \"Artifact::application/vnd.docker.distribution.manifest.v2+json\"\n }\n ]\n }\n }\n}",
|
484
484
|
"title": "获取共享版镜像仓库tag列表"
|
485
485
|
}
|
486
486
|
],
|
tccli/services/tke/tke_client.py
CHANGED
@@ -1683,6 +1683,58 @@ def doDescribePrometheusTempSync(args, parsed_globals):
|
|
1683
1683
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1684
1684
|
|
1685
1685
|
|
1686
|
+
def doDescribePodChargeInfo(args, parsed_globals):
|
1687
|
+
g_param = parse_global_arg(parsed_globals)
|
1688
|
+
|
1689
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
1690
|
+
cred = credential.CVMRoleCredential()
|
1691
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
1692
|
+
cred = credential.STSAssumeRoleCredential(
|
1693
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
1694
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
1695
|
+
)
|
1696
|
+
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):
|
1697
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
1698
|
+
else:
|
1699
|
+
cred = credential.Credential(
|
1700
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
1701
|
+
)
|
1702
|
+
http_profile = HttpProfile(
|
1703
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
1704
|
+
reqMethod="POST",
|
1705
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
1706
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
1707
|
+
)
|
1708
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
1709
|
+
if g_param[OptionsDefine.Language]:
|
1710
|
+
profile.language = g_param[OptionsDefine.Language]
|
1711
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
1712
|
+
client = mod.TkeClient(cred, g_param[OptionsDefine.Region], profile)
|
1713
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
1714
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1715
|
+
model = models.DescribePodChargeInfoRequest()
|
1716
|
+
model.from_json_string(json.dumps(args))
|
1717
|
+
start_time = time.time()
|
1718
|
+
while True:
|
1719
|
+
rsp = client.DescribePodChargeInfo(model)
|
1720
|
+
result = rsp.to_json_string()
|
1721
|
+
try:
|
1722
|
+
json_obj = json.loads(result)
|
1723
|
+
except TypeError as e:
|
1724
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
1725
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
1726
|
+
break
|
1727
|
+
cur_time = time.time()
|
1728
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
1729
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
1730
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
1731
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
1732
|
+
else:
|
1733
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
1734
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
1735
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1736
|
+
|
1737
|
+
|
1686
1738
|
def doDescribeVersions(args, parsed_globals):
|
1687
1739
|
g_param = parse_global_arg(parsed_globals)
|
1688
1740
|
|
@@ -11712,6 +11764,7 @@ ACTION_MAP = {
|
|
11712
11764
|
"DescribeAvailableTKEEdgeVersion": doDescribeAvailableTKEEdgeVersion,
|
11713
11765
|
"DescribeTKEEdgeClusters": doDescribeTKEEdgeClusters,
|
11714
11766
|
"DescribePrometheusTempSync": doDescribePrometheusTempSync,
|
11767
|
+
"DescribePodChargeInfo": doDescribePodChargeInfo,
|
11715
11768
|
"DescribeVersions": doDescribeVersions,
|
11716
11769
|
"DescribePrometheusAlertPolicy": doDescribePrometheusAlertPolicy,
|
11717
11770
|
"DescribeEdgeClusterExtraArgs": doDescribeEdgeClusterExtraArgs,
|