tccli 3.0.966.1__py2.py3-none-any.whl → 3.0.968.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/examples/bi/v20220105/ModifyUserRole.md +53 -0
- tccli/examples/cdwpg/v20201230/CreateInstanceByApi.md +40 -0
- tccli/examples/cdwpg/v20201230/DestroyInstanceByApi.md +22 -0
- tccli/examples/csip/v20221121/DescribeDbAssets.md +258 -65
- tccli/examples/dbbrain/v20210527/DescribeIndexRecommendAggregationSlowLogs.md +34 -0
- tccli/examples/dbbrain/v20210527/DescribeIndexRecommendInfo.md +57 -0
- tccli/examples/dbbrain/v20210527/DescribeRedisProcessList.md +46 -0
- tccli/examples/ess/v20201111/CreateDocument.md +1 -1
- tccli/examples/ess/v20201111/DescribeFileUrls.md +30 -0
- tccli/examples/ess/v20201111/UploadFiles.md +46 -14
- tccli/examples/sms/v20210111/AddSmsSign.md +4 -4
- tccli/examples/sms/v20210111/AddSmsTemplate.md +1 -1
- tccli/examples/sms/v20210111/DescribeSmsSignList.md +2 -2
- tccli/examples/sms/v20210111/DescribeSmsTemplateList.md +2 -2
- tccli/examples/sms/v20210111/ModifySmsSign.md +4 -4
- tccli/examples/sms/v20210111/ModifySmsTemplate.md +1 -1
- tccli/examples/sms/v20210111/PullSmsReplyStatus.md +3 -3
- tccli/examples/sms/v20210111/PullSmsReplyStatusByPhoneNumber.md +2 -2
- tccli/examples/sms/v20210111/PullSmsSendStatus.md +1 -1
- tccli/examples/sms/v20210111/SendSms.md +3 -3
- tccli/examples/tat/v20201028/DescribeInvocationTasks.md +12 -6
- tccli/examples/teo/v20220901/VerifyOwnership.md +66 -0
- tccli/examples/trtc/v20190722/DescribeTRTCMarketQualityData.md +2 -2
- tccli/examples/trtc/v20190722/DescribeTRTCMarketScaleData.md +27 -45
- tccli/examples/trtc/v20190722/DescribeTRTCRealTimeQualityData.md +202 -6
- tccli/examples/trtc/v20190722/DescribeTRTCRealTimeScaleData.md +214 -7
- tccli/examples/tse/v20201207/CreateCloudNativeAPIGatewayCanaryRule.md +2 -2
- tccli/examples/tse/v20201207/DeleteCloudNativeAPIGatewayCanaryRule.md +3 -3
- tccli/examples/tse/v20201207/DescribeCloudNativeAPIGatewayCanaryRules.md +10 -10
- tccli/examples/tse/v20201207/DescribeNacosReplicas.md +13 -10
- tccli/examples/tse/v20201207/DescribeNacosServerInterfaces.md +4 -4
- tccli/examples/tse/v20201207/DescribeZookeeperReplicas.md +12 -10
- tccli/examples/tse/v20201207/ModifyCloudNativeAPIGatewayCanaryRule.md +5 -5
- tccli/examples/vpc/v20170312/DescribeVpcPeeringConnections.md +29 -1
- tccli/services/__init__.py +3 -0
- tccli/services/asr/v20190614/api.json +1 -1
- tccli/services/bi/bi_client.py +53 -0
- tccli/services/bi/v20220105/api.json +109 -0
- tccli/services/bi/v20220105/examples.json +14 -0
- tccli/services/cdwpg/__init__.py +4 -0
- tccli/services/cdwpg/cdwpg_client.py +247 -0
- tccli/services/cdwpg/v20201230/api.json +354 -0
- tccli/services/cdwpg/v20201230/examples.json +21 -0
- tccli/services/clb/v20180317/api.json +4 -4
- tccli/services/csip/v20221121/api.json +66 -26
- tccli/services/csip/v20221121/examples.json +4 -4
- tccli/services/dbbrain/dbbrain_client.py +171 -12
- tccli/services/dbbrain/v20210527/api.json +614 -0
- tccli/services/dbbrain/v20210527/examples.json +24 -0
- tccli/services/ess/v20201111/api.json +158 -28
- tccli/services/ess/v20201111/examples.json +20 -8
- tccli/services/essbasic/v20210526/api.json +140 -2
- tccli/services/lcic/v20220817/api.json +7 -7
- tccli/services/lighthouse/v20200324/api.json +3 -3
- tccli/services/mps/v20190612/api.json +2 -1
- tccli/services/ocr/v20181119/api.json +1 -1
- tccli/services/sms/v20210111/api.json +84 -81
- tccli/services/sms/v20210111/examples.json +11 -11
- tccli/services/tat/v20201028/api.json +9 -9
- tccli/services/tat/v20201028/examples.json +1 -1
- tccli/services/teo/teo_client.py +65 -12
- tccli/services/teo/v20220901/api.json +169 -1
- tccli/services/teo/v20220901/examples.json +20 -0
- tccli/services/tmt/v20180321/api.json +5 -2
- tccli/services/trtc/v20190722/api.json +1 -1
- tccli/services/trtc/v20190722/examples.json +8 -8
- tccli/services/tse/v20201207/api.json +7 -6
- tccli/services/tse/v20201207/examples.json +13 -13
- tccli/services/vod/v20180717/api.json +18 -5
- tccli/services/vpc/v20170312/api.json +206 -0
- tccli/services/vpc/v20170312/examples.json +1 -1
- tccli/services/waf/v20180125/api.json +22 -0
- {tccli-3.0.966.1.dist-info → tccli-3.0.968.1.dist-info}/METADATA +2 -2
- {tccli-3.0.966.1.dist-info → tccli-3.0.968.1.dist-info}/RECORD +78 -67
- {tccli-3.0.966.1.dist-info → tccli-3.0.968.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.966.1.dist-info → tccli-3.0.968.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.966.1.dist-info → tccli-3.0.968.1.dist-info}/license_files/LICENSE +0 -0
@@ -3,7 +3,7 @@
|
|
3
3
|
"AddSmsSign": [
|
4
4
|
{
|
5
5
|
"document": "",
|
6
|
-
"input": "POST / HTTP/1.1\nHost: sms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: AddSmsSign\n<公共请求参数>\n\n{\n \"Remark\": \"
|
6
|
+
"input": "POST / HTTP/1.1\nHost: sms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: AddSmsSign\n<公共请求参数>\n\n{\n \"Remark\": \"业务自用申请\",\n \"SignPurpose\": 0,\n \"SignType\": 0,\n \"CommissionImage\": \"\",\n \"SignName\": \"腾讯云\",\n \"DocumentType\": 1,\n \"International\": 0,\n \"ProofImage\": \"\"\n}",
|
7
7
|
"output": "{\n \"Response\": {\n \"AddSignStatus\": {\n \"SignId\": 1110\n },\n \"RequestId\": \"f36e4f00-605e-49b1-ad0d-bfaba81c7325\"\n }\n}",
|
8
8
|
"title": "请求示例"
|
9
9
|
}
|
@@ -11,7 +11,7 @@
|
|
11
11
|
"AddSmsTemplate": [
|
12
12
|
{
|
13
13
|
"document": "",
|
14
|
-
"input": "POST / HTTP/1.1\nHost: sms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: AddSmsTemplate\n<公共请求参数>\n\n{\n \"SmsType\": 0,\n \"International\": 0,\n \"Remark\": \"
|
14
|
+
"input": "POST / HTTP/1.1\nHost: sms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: AddSmsTemplate\n<公共请求参数>\n\n{\n \"SmsType\": 0,\n \"International\": 0,\n \"Remark\": \"业务验证码\",\n \"TemplateContent\": \"您的验证码是{1}\",\n \"TemplateName\": \"验证码\"\n}",
|
15
15
|
"output": "{\n \"Response\": {\n \"AddTemplateStatus\": {\n \"TemplateId\": \"1110\"\n },\n \"RequestId\": \"f36e4f00-605e-49b1-ad0d-bfaba81c7325\"\n }\n}",
|
16
16
|
"title": "请求示例"
|
17
17
|
}
|
@@ -52,7 +52,7 @@
|
|
52
52
|
{
|
53
53
|
"document": "",
|
54
54
|
"input": "POST / HTTP/1.1\nHost: sms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeSmsSignList\n<公共请求参数>\n\n{\n \"International\": 0,\n \"SignIdSet\": [\n 1110,\n 1111\n ]\n}",
|
55
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"f36e4f00-605e-49b1-ad0d-bfaba81c7325\",\n \"DescribeSignListStatusSet\": [\n {\n \"SignName\": \"腾讯云\",\n \"International\": 0,\n \"SignId\": 1110,\n \"ReviewReply\": \"
|
55
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"f36e4f00-605e-49b1-ad0d-bfaba81c7325\",\n \"DescribeSignListStatusSet\": [\n {\n \"SignName\": \"腾讯云\",\n \"International\": 0,\n \"SignId\": 1110,\n \"ReviewReply\": \"\",\n \"CreateTime\": 1617508800,\n \"StatusCode\": 0\n },\n {\n \"SignName\": \"腾讯云\",\n \"International\": 1,\n \"SignId\": 1111,\n \"ReviewReply\": \"\",\n \"CreateTime\": 1617508801,\n \"StatusCode\": 0\n }\n ]\n }\n}",
|
56
56
|
"title": "请求示例"
|
57
57
|
}
|
58
58
|
],
|
@@ -60,14 +60,14 @@
|
|
60
60
|
{
|
61
61
|
"document": "",
|
62
62
|
"input": "POST / HTTP/1.1\nHost: sms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeSmsTemplateList\n<公共请求参数>\n\n{\n \"International\": 0,\n \"TemplateIdSet\": [\n 1110,\n 1111\n ]\n}",
|
63
|
-
"output": "{\n \"Response\": {\n \"DescribeTemplateStatusSet\": [\n {\n \"TemplateName\": \"验证码\",\n \"TemplateId\": 1110,\n \"International\": 0,\n \"ReviewReply\": \"
|
63
|
+
"output": "{\n \"Response\": {\n \"DescribeTemplateStatusSet\": [\n {\n \"TemplateName\": \"验证码\",\n \"TemplateId\": 1110,\n \"International\": 0,\n \"ReviewReply\": \"\",\n \"CreateTime\": 1617379200,\n \"TemplateContent\": \"您的验证码是{1}\",\n \"StatusCode\": 0\n },\n {\n \"TemplateName\": \"通知\",\n \"TemplateId\": 1111,\n \"International\": 0,\n \"ReviewReply\": \"\",\n \"CreateTime\": 1617508800,\n \"TemplateContent\": \"请尽快参加{1}会议\",\n \"StatusCode\": 0\n }\n ],\n \"RequestId\": \"f36e4f00-605e-49b1-ad0d-bfaba81c7325\"\n }\n}",
|
64
64
|
"title": "请求示例"
|
65
65
|
}
|
66
66
|
],
|
67
67
|
"ModifySmsSign": [
|
68
68
|
{
|
69
69
|
"document": "修改短信签名",
|
70
|
-
"input": "POST / HTTP/1.1\nHost: sms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifySmsSign\n<公共请求参数>\n\n{\n \"Remark\": \"
|
70
|
+
"input": "POST / HTTP/1.1\nHost: sms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifySmsSign\n<公共请求参数>\n\n{\n \"Remark\": \"自用业务申请\",\n \"SignPurpose\": 0,\n \"SignType\": 0,\n \"CommissionImage\": \"\",\n \"SignName\": \"腾讯云\",\n \"DocumentType\": 1,\n \"International\": 0,\n \"SignId\": 1110,\n \"ProofImage\": \"\"\n}",
|
71
71
|
"output": "{\n \"Response\": {\n \"ModifySignStatus\": {\n \"SignId\": 1110\n },\n \"RequestId\": \"f36e4f00-605e-49b1-ad0d-bfaba81c7325\"\n }\n}",
|
72
72
|
"title": "请求示例"
|
73
73
|
}
|
@@ -75,7 +75,7 @@
|
|
75
75
|
"ModifySmsTemplate": [
|
76
76
|
{
|
77
77
|
"document": "",
|
78
|
-
"input": "POST / HTTP/1.1\nHost: sms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifySmsTemplate\n<公共请求参数>\n\n{\n \"TemplateId\": 1110,\n \"SmsType\": 0,\n \"International\": 0,\n \"Remark\": \"
|
78
|
+
"input": "POST / HTTP/1.1\nHost: sms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifySmsTemplate\n<公共请求参数>\n\n{\n \"TemplateId\": 1110,\n \"SmsType\": 0,\n \"International\": 0,\n \"Remark\": \"业务验证码\",\n \"TemplateContent\": \"您的验证码是{1}\",\n \"TemplateName\": \"验证码\"\n}",
|
79
79
|
"output": "{\n \"Response\": {\n \"ModifyTemplateStatus\": {\n \"TemplateId\": 1110\n },\n \"RequestId\": \"f36e4f00-605e-49b1-ad0d-bfaba81c7325\"\n }\n}",
|
80
80
|
"title": "请求示例"
|
81
81
|
}
|
@@ -83,8 +83,8 @@
|
|
83
83
|
"PullSmsReplyStatus": [
|
84
84
|
{
|
85
85
|
"document": "",
|
86
|
-
"input": "POST / HTTP/1.1\nHost: sms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: PullSmsReplyStatus\n<公共请求参数>\n\n{\n \"SmsSdkAppId\": \"1400006874\",\n \"Limit\":
|
87
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"a0aabda6-cf91-4f3e-a81f-9198114a2279\",\n \"PullSmsReplyStatusSet\": [\n {\n \"CountryCode\": \"86\",\n \"ReplyContent\": \"
|
86
|
+
"input": "POST / HTTP/1.1\nHost: sms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: PullSmsReplyStatus\n<公共请求参数>\n\n{\n \"SmsSdkAppId\": \"1400006874\",\n \"Limit\": 100\n}",
|
87
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"a0aabda6-cf91-4f3e-a81f-9198114a2279\",\n \"PullSmsReplyStatusSet\": [\n {\n \"CountryCode\": \"86\",\n \"ReplyContent\": \"1\",\n \"SubscriberNumber\": \"15291990000\",\n \"ExtendCode\": \"11\",\n \"ReplyTime\": 1620734188,\n \"PhoneNumber\": \"+8615291990000\",\n \"SignName\": \"腾讯云\"\n },\n {\n \"CountryCode\": \"86\",\n \"ReplyContent\": \"2\",\n \"SubscriberNumber\": \"15291990001\",\n \"ExtendCode\": \"11\",\n \"ReplyTime\": 1620734189,\n \"PhoneNumber\": \"+8615291990001\",\n \"SignName\": \"腾讯云\"\n }\n ]\n }\n}",
|
88
88
|
"title": "请求示例"
|
89
89
|
}
|
90
90
|
],
|
@@ -92,14 +92,14 @@
|
|
92
92
|
{
|
93
93
|
"document": "",
|
94
94
|
"input": "POST / HTTP/1.1\nHost: sms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: PullSmsReplyStatusByPhoneNumber\n<公共请求参数>\n\n{\n \"SmsSdkAppId\": \"1400006666\",\n \"PhoneNumber\": \"+8615291996666\",\n \"BeginTime\": 1620734100,\n \"Offset\": 0,\n \"Limit\": 2,\n \"EndTime\": 1620734200\n}",
|
95
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"a0aabda6-cf91-4f3e-a81f-9198114a2279\",\n \"PullSmsReplyStatusSet\": [\n {\n \"CountryCode\": \"86\",\n \"ReplyContent\": \"
|
95
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"a0aabda6-cf91-4f3e-a81f-9198114a2279\",\n \"PullSmsReplyStatusSet\": [\n {\n \"CountryCode\": \"86\",\n \"ReplyContent\": \"1\",\n \"SubscriberNumber\": \"15291996666\",\n \"ExtendCode\": \"11\",\n \"ReplyTime\": 1620734188,\n \"PhoneNumber\": \"+8615291996666\",\n \"SignName\": \"腾讯云\"\n },\n {\n \"CountryCode\": \"86\",\n \"ReplyContent\": \"2\",\n \"SubscriberNumber\": \"15291996666\",\n \"ExtendCode\": \"11\",\n \"ReplyTime\": 1620734189,\n \"PhoneNumber\": \"+8615291996666\",\n \"SignName\": \"腾讯云\"\n }\n ]\n }\n}",
|
96
96
|
"title": "请求示例"
|
97
97
|
}
|
98
98
|
],
|
99
99
|
"PullSmsSendStatus": [
|
100
100
|
{
|
101
101
|
"document": "",
|
102
|
-
"input": "POST / HTTP/1.1\nHost: sms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: PullSmsSendStatus\n<公共请求参数>\n\n{\n \"SmsSdkAppId\": \"1400006874\",\n \"Limit\":
|
102
|
+
"input": "POST / HTTP/1.1\nHost: sms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: PullSmsSendStatus\n<公共请求参数>\n\n{\n \"SmsSdkAppId\": \"1400006874\",\n \"Limit\": 100\n}",
|
103
103
|
"output": "{\n \"Response\": {\n \"PullSmsSendStatusSet\": [\n {\n \"Description\": \"DELIVRD\",\n \"CountryCode\": \"86\",\n \"SubscriberNumber\": \"15291990000\",\n \"ReportStatus\": \"SUCCESS\",\n \"PhoneNumber\": \"+8615291990000\",\n \"SerialNo\": \"14:19325917feb3914eb78b50d6182d7e452e\",\n \"UserReceiveTime\": 1620734188\n },\n {\n \"Description\": \"DELIVRD\",\n \"CountryCode\": \"86\",\n \"SubscriberNumber\": \"15291990001\",\n \"ReportStatus\": \"SUCCESS\",\n \"PhoneNumber\": \"+8615291990001\",\n \"SerialNo\": \"14:19325917feb3914eb78b50d6182d7e462f\",\n \"UserReceiveTime\": 1620734188\n }\n ],\n \"RequestId\": \"8979fc1e-9564-4fc9-bf7d-2958ce679b72\"\n }\n}",
|
104
104
|
"title": "请求示例"
|
105
105
|
}
|
@@ -123,7 +123,7 @@
|
|
123
123
|
"SendSms": [
|
124
124
|
{
|
125
125
|
"document": "",
|
126
|
-
"input": "POST / HTTP/1.1\nHost: sms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SendSms\n<公共请求参数>\n\n{\n \"PhoneNumberSet\": [\n \"+
|
126
|
+
"input": "POST / HTTP/1.1\nHost: sms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SendSms\n<公共请求参数>\n\n{\n \"PhoneNumberSet\": [\n \"+8618511122233\",\n \"+8618511122266\"\n ],\n \"SmsSdkAppId\": \"1400006666\",\n \"SignName\": \"腾讯云\",\n \"TemplateId\": \"1110\",\n \"TemplateParamSet\": [\n \"1234\"\n ],\n \"SessionContext\": \"test\"\n}",
|
127
127
|
"output": "{\n \"Response\": {\n \"SendStatusSet\": [\n {\n \"SerialNo\": \"5000:1045710669157053657849499619\",\n \"PhoneNumber\": \"+8618511122233\",\n \"Fee\": 1,\n \"SessionContext\": \"test\",\n \"Code\": \"Ok\",\n \"Message\": \"send success\",\n \"IsoCode\": \"CN\"\n },\n {\n \"SerialNo\": \"5000:1045710669157053657849499718\",\n \"PhoneNumber\": \"+8618511122266\",\n \"Fee\": 1,\n \"SessionContext\": \"test\",\n \"Code\": \"Ok\",\n \"Message\": \"send success\",\n \"IsoCode\": \"CN\"\n }\n ],\n \"RequestId\": \"a0aabda6-cf91-4f3e-a81f-9198114a2279\"\n }\n}",
|
128
128
|
"title": "请求示例"
|
129
129
|
}
|
@@ -1209,7 +1209,7 @@
|
|
1209
1209
|
},
|
1210
1210
|
{
|
1211
1211
|
"disabled": false,
|
1212
|
-
"document": "是否隐藏输出,取值范围:<br><li>
|
1212
|
+
"document": "是否隐藏输出,取值范围:<br><li>true:隐藏输出 <br><li>false:不隐藏 <br>默认为 false。",
|
1213
1213
|
"example": "false",
|
1214
1214
|
"member": "bool",
|
1215
1215
|
"name": "HideOutput",
|
@@ -1228,7 +1228,7 @@
|
|
1228
1228
|
"example": "3",
|
1229
1229
|
"member": "uint64",
|
1230
1230
|
"name": "TotalCount",
|
1231
|
-
"
|
1231
|
+
"output_required": true,
|
1232
1232
|
"type": "int",
|
1233
1233
|
"value_allowed_null": false
|
1234
1234
|
},
|
@@ -1238,7 +1238,7 @@
|
|
1238
1238
|
"example": "无",
|
1239
1239
|
"member": "InvocationTask",
|
1240
1240
|
"name": "InvocationTaskSet",
|
1241
|
-
"
|
1241
|
+
"output_required": true,
|
1242
1242
|
"type": "list",
|
1243
1243
|
"value_allowed_null": false
|
1244
1244
|
},
|
@@ -2016,23 +2016,23 @@
|
|
2016
2016
|
},
|
2017
2017
|
{
|
2018
2018
|
"disabled": false,
|
2019
|
-
"document": "
|
2020
|
-
"example": "
|
2019
|
+
"document": "执行任务开始时间。\n注意:此字段可能返回 null,表示取不到有效值。",
|
2020
|
+
"example": "2014-08-03 12:00:00",
|
2021
2021
|
"member": "datetime_iso",
|
2022
2022
|
"name": "StartTime",
|
2023
2023
|
"required": true,
|
2024
2024
|
"type": "string",
|
2025
|
-
"value_allowed_null":
|
2025
|
+
"value_allowed_null": true
|
2026
2026
|
},
|
2027
2027
|
{
|
2028
2028
|
"disabled": false,
|
2029
|
-
"document": "
|
2030
|
-
"example": "
|
2029
|
+
"document": "执行任务结束时间。\n注意:此字段可能返回 null,表示取不到有效值。",
|
2030
|
+
"example": "2014-08-03 12:00:00",
|
2031
2031
|
"member": "datetime_iso",
|
2032
2032
|
"name": "EndTime",
|
2033
2033
|
"required": true,
|
2034
2034
|
"type": "string",
|
2035
|
-
"value_allowed_null":
|
2035
|
+
"value_allowed_null": true
|
2036
2036
|
},
|
2037
2037
|
{
|
2038
2038
|
"disabled": false,
|
@@ -108,7 +108,7 @@
|
|
108
108
|
{
|
109
109
|
"document": "",
|
110
110
|
"input": "POST / HTTP/1.1\nHost: tat.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInvocationTasks\n<公共请求参数>\n\n{\n \"Offset\": 0,\n \"Limit\": 10,\n \"HideOutput\": false,\n \"Filters\": [\n {\n \"Name\": \"invocation-id\",\n \"Values\": [\n \"inv-1vll7hda\"\n ]\n }\n ]\n}",
|
111
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"a1df9725-51c6-466d-a038-4c86461a8e26\",\n \"TotalCount\": 3,\n \"InvocationTaskSet\": [\n {\n \"CommandId\": \"cmd-13axrtuq\",\n \"CommandDocument\": {\n \"Content\": \"d2hvYW1p\",\n \"CommandType\": \"SHELL\",\n \"Timeout\": 1,\n \"Username\": \"root\",\n \"WorkingDirectory\": \"/root/\"\n },\n \"InvocationId\": \"inv-1vll7hda\",\n \"InvocationTaskId\": \"invt-afwuqts2\",\n \"TaskStatus\": \"SUCCESS\",\n \"InstanceId\": \"ins-zj0f57ev\",\n \"TaskResult\": {\n \"ExitCode\": 0,\n \"Output\": \"cm9vdAo=\",\n \"Dropped\": 0,\n \"OutputUploadCOSErrorInfo\": \"\",\n \"OutputUrl\": \"\",\n \"ExecStartTime\": \"2020-11-05T07:49:58+00:00\",\n \"ExecEndTime\": \"2020-11-05T07:50:04+00:00\"\n },\n \"ErrorInfo\": \"\",\n \"InvocationSource\": \"
|
111
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"a1df9725-51c6-466d-a038-4c86461a8e26\",\n \"TotalCount\": 3,\n \"InvocationTaskSet\": [\n {\n \"CommandId\": \"cmd-13axrtuq\",\n \"CommandDocument\": {\n \"Content\": \"d2hvYW1p\",\n \"CommandType\": \"SHELL\",\n \"Timeout\": 1,\n \"Username\": \"root\",\n \"WorkingDirectory\": \"/root/\",\n \"OutputCOSBucketUrl\": \"abc\",\n \"OutputCOSKeyPrefix\": \"abc\"\n },\n \"InvocationId\": \"inv-1vll7hda\",\n \"InvocationTaskId\": \"invt-afwuqts2\",\n \"TaskStatus\": \"SUCCESS\",\n \"InstanceId\": \"ins-zj0f57ev\",\n \"TaskResult\": {\n \"ExitCode\": 0,\n \"Output\": \"cm9vdAo=\",\n \"Dropped\": 0,\n \"OutputUploadCOSErrorInfo\": \"\",\n \"OutputUrl\": \"\",\n \"ExecStartTime\": \"2020-11-05T07:49:58+00:00\",\n \"ExecEndTime\": \"2020-11-05T07:50:04+00:00\"\n },\n \"ErrorInfo\": \"\",\n \"InvocationSource\": \"abc\",\n \"StartTime\": \"2020-11-05T07:49:58+00:00\",\n \"EndTime\": \"2020-11-05T07:50:04+00:00\",\n \"CreatedTime\": \"2020-11-05T07:49:56+00:00\",\n \"UpdatedTime\": \"2020-11-05T07:50:06+00:00\"\n },\n {\n \"CommandId\": \"cmd-13axrtuq\",\n \"CommandDocument\": {\n \"Content\": \"d2hvYW1p\",\n \"CommandType\": \"SHELL\",\n \"Timeout\": 1,\n \"Username\": \"root\",\n \"WorkingDirectory\": \"/root/\",\n \"OutputCOSBucketUrl\": \"abc\",\n \"OutputCOSKeyPrefix\": \"abc\"\n },\n \"InvocationId\": \"inv-1vll7hda\",\n \"InvocationTaskId\": \"invt-08oe5fe2\",\n \"TaskStatus\": \"SUCCESS\",\n \"InstanceId\": \"ins-zj0f57ex\",\n \"TaskResult\": {\n \"ExitCode\": 0,\n \"Output\": \"cm9vdAo=\",\n \"Dropped\": 0,\n \"OutputUploadCOSErrorInfo\": \"\",\n \"OutputUrl\": \"\",\n \"ExecStartTime\": \"2020-11-05T07:49:58+00:00\",\n \"ExecEndTime\": \"2020-11-05T07:50:04+00:00\"\n },\n \"ErrorInfo\": \"\",\n \"InvocationSource\": \"abc\",\n \"StartTime\": \"2020-11-05T07:49:58+00:00\",\n \"EndTime\": \"2020-11-05T07:50:04+00:00\",\n \"CreatedTime\": \"2020-11-05T07:49:56+00:00\",\n \"UpdatedTime\": \"2020-11-05T07:50:06+00:00\"\n },\n {\n \"CommandId\": \"cmd-13axrtuq\",\n \"CommandDocument\": {\n \"Content\": \"d2hvYW1p\",\n \"CommandType\": \"SHELL\",\n \"Timeout\": 1,\n \"Username\": \"root\",\n \"WorkingDirectory\": \"/root/\",\n \"OutputCOSBucketUrl\": \"abc\",\n \"OutputCOSKeyPrefix\": \"abc\"\n },\n \"InvocationId\": \"inv-1vll7hda\",\n \"InvocationTaskId\": \"invt-91cpqs22\",\n \"TaskStatus\": \"SUCCESS\",\n \"InstanceId\": \"ins-zj0f57ew\",\n \"TaskResult\": {\n \"ExitCode\": 0,\n \"Output\": \"cm9vdAo=\",\n \"Dropped\": 0,\n \"OutputUploadCOSErrorInfo\": \"\",\n \"OutputUrl\": \"\",\n \"ExecStartTime\": \"2020-11-05T07:49:58+00:00\",\n \"ExecEndTime\": \"2020-11-05T07:50:04+00:00\"\n },\n \"ErrorInfo\": \"\",\n \"InvocationSource\": \"abc\",\n \"StartTime\": \"2020-11-05T07:49:58+00:00\",\n \"EndTime\": \"2020-11-05T07:50:04+00:00\",\n \"CreatedTime\": \"2020-11-05T07:49:56+00:00\",\n \"UpdatedTime\": \"2020-11-05T07:50:06+00:00\"\n }\n ]\n }\n}",
|
112
112
|
"title": "根据执行活动ID查询所有执行任务详情"
|
113
113
|
}
|
114
114
|
],
|
tccli/services/teo/teo_client.py
CHANGED
@@ -903,7 +903,7 @@ def doCreateZone(args, parsed_globals):
|
|
903
903
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
904
904
|
|
905
905
|
|
906
|
-
def
|
906
|
+
def doVerifyOwnership(args, parsed_globals):
|
907
907
|
g_param = parse_global_arg(parsed_globals)
|
908
908
|
|
909
909
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -932,11 +932,11 @@ def doModifyZone(args, parsed_globals):
|
|
932
932
|
client = mod.TeoClient(cred, g_param[OptionsDefine.Region], profile)
|
933
933
|
client._sdkVersion += ("_CLI_" + __version__)
|
934
934
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
935
|
-
model = models.
|
935
|
+
model = models.VerifyOwnershipRequest()
|
936
936
|
model.from_json_string(json.dumps(args))
|
937
937
|
start_time = time.time()
|
938
938
|
while True:
|
939
|
-
rsp = client.
|
939
|
+
rsp = client.VerifyOwnership(model)
|
940
940
|
result = rsp.to_json_string()
|
941
941
|
try:
|
942
942
|
json_obj = json.loads(result)
|
@@ -1059,6 +1059,58 @@ def doDescribeAvailablePlans(args, parsed_globals):
|
|
1059
1059
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1060
1060
|
|
1061
1061
|
|
1062
|
+
def doDescribeAliasDomains(args, parsed_globals):
|
1063
|
+
g_param = parse_global_arg(parsed_globals)
|
1064
|
+
|
1065
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
1066
|
+
cred = credential.CVMRoleCredential()
|
1067
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
1068
|
+
cred = credential.STSAssumeRoleCredential(
|
1069
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
1070
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')]
|
1071
|
+
)
|
1072
|
+
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):
|
1073
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
1074
|
+
else:
|
1075
|
+
cred = credential.Credential(
|
1076
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
1077
|
+
)
|
1078
|
+
http_profile = HttpProfile(
|
1079
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
1080
|
+
reqMethod="POST",
|
1081
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
1082
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
1083
|
+
)
|
1084
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
1085
|
+
if g_param[OptionsDefine.Language]:
|
1086
|
+
profile.language = g_param[OptionsDefine.Language]
|
1087
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
1088
|
+
client = mod.TeoClient(cred, g_param[OptionsDefine.Region], profile)
|
1089
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
1090
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1091
|
+
model = models.DescribeAliasDomainsRequest()
|
1092
|
+
model.from_json_string(json.dumps(args))
|
1093
|
+
start_time = time.time()
|
1094
|
+
while True:
|
1095
|
+
rsp = client.DescribeAliasDomains(model)
|
1096
|
+
result = rsp.to_json_string()
|
1097
|
+
try:
|
1098
|
+
json_obj = json.loads(result)
|
1099
|
+
except TypeError as e:
|
1100
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
1101
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
1102
|
+
break
|
1103
|
+
cur_time = time.time()
|
1104
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
1105
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
1106
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
1107
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
1108
|
+
else:
|
1109
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
1110
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
1111
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1112
|
+
|
1113
|
+
|
1062
1114
|
def doIdentifyZone(args, parsed_globals):
|
1063
1115
|
g_param = parse_global_arg(parsed_globals)
|
1064
1116
|
|
@@ -2463,7 +2515,7 @@ def doDescribeDDoSAttackEvent(args, parsed_globals):
|
|
2463
2515
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
2464
2516
|
|
2465
2517
|
|
2466
|
-
def
|
2518
|
+
def doModifyZone(args, parsed_globals):
|
2467
2519
|
g_param = parse_global_arg(parsed_globals)
|
2468
2520
|
|
2469
2521
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -2492,11 +2544,11 @@ def doModifySecurityPolicy(args, parsed_globals):
|
|
2492
2544
|
client = mod.TeoClient(cred, g_param[OptionsDefine.Region], profile)
|
2493
2545
|
client._sdkVersion += ("_CLI_" + __version__)
|
2494
2546
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
2495
|
-
model = models.
|
2547
|
+
model = models.ModifyZoneRequest()
|
2496
2548
|
model.from_json_string(json.dumps(args))
|
2497
2549
|
start_time = time.time()
|
2498
2550
|
while True:
|
2499
|
-
rsp = client.
|
2551
|
+
rsp = client.ModifyZone(model)
|
2500
2552
|
result = rsp.to_json_string()
|
2501
2553
|
try:
|
2502
2554
|
json_obj = json.loads(result)
|
@@ -2879,7 +2931,7 @@ def doDeleteRules(args, parsed_globals):
|
|
2879
2931
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
2880
2932
|
|
2881
2933
|
|
2882
|
-
def
|
2934
|
+
def doModifySecurityPolicy(args, parsed_globals):
|
2883
2935
|
g_param = parse_global_arg(parsed_globals)
|
2884
2936
|
|
2885
2937
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -2908,11 +2960,11 @@ def doDescribeAliasDomains(args, parsed_globals):
|
|
2908
2960
|
client = mod.TeoClient(cred, g_param[OptionsDefine.Region], profile)
|
2909
2961
|
client._sdkVersion += ("_CLI_" + __version__)
|
2910
2962
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
2911
|
-
model = models.
|
2963
|
+
model = models.ModifySecurityPolicyRequest()
|
2912
2964
|
model.from_json_string(json.dumps(args))
|
2913
2965
|
start_time = time.time()
|
2914
2966
|
while True:
|
2915
|
-
rsp = client.
|
2967
|
+
rsp = client.ModifySecurityPolicy(model)
|
2916
2968
|
result = rsp.to_json_string()
|
2917
2969
|
try:
|
2918
2970
|
json_obj = json.loads(result)
|
@@ -3481,9 +3533,10 @@ ACTION_MAP = {
|
|
3481
3533
|
"ModifyApplicationProxy": doModifyApplicationProxy,
|
3482
3534
|
"DescribeIdentifications": doDescribeIdentifications,
|
3483
3535
|
"CreateZone": doCreateZone,
|
3484
|
-
"
|
3536
|
+
"VerifyOwnership": doVerifyOwnership,
|
3485
3537
|
"DescribeHostsSetting": doDescribeHostsSetting,
|
3486
3538
|
"DescribeAvailablePlans": doDescribeAvailablePlans,
|
3539
|
+
"DescribeAliasDomains": doDescribeAliasDomains,
|
3487
3540
|
"IdentifyZone": doIdentifyZone,
|
3488
3541
|
"DescribeOriginProtection": doDescribeOriginProtection,
|
3489
3542
|
"DescribeDefaultCertificates": doDescribeDefaultCertificates,
|
@@ -3511,7 +3564,7 @@ ACTION_MAP = {
|
|
3511
3564
|
"DescribeTopL7AnalysisData": doDescribeTopL7AnalysisData,
|
3512
3565
|
"DescribeDDoSAttackData": doDescribeDDoSAttackData,
|
3513
3566
|
"DescribeDDoSAttackEvent": doDescribeDDoSAttackEvent,
|
3514
|
-
"
|
3567
|
+
"ModifyZone": doModifyZone,
|
3515
3568
|
"DownloadL4Logs": doDownloadL4Logs,
|
3516
3569
|
"CreatePrefetchTask": doCreatePrefetchTask,
|
3517
3570
|
"DeleteAliasDomain": doDeleteAliasDomain,
|
@@ -3519,7 +3572,7 @@ ACTION_MAP = {
|
|
3519
3572
|
"BindZoneToPlan": doBindZoneToPlan,
|
3520
3573
|
"CreateAccelerationDomain": doCreateAccelerationDomain,
|
3521
3574
|
"DeleteRules": doDeleteRules,
|
3522
|
-
"
|
3575
|
+
"ModifySecurityPolicy": doModifySecurityPolicy,
|
3523
3576
|
"ModifyAccelerationDomain": doModifyAccelerationDomain,
|
3524
3577
|
"ModifySecurityIPGroup": doModifySecurityIPGroup,
|
3525
3578
|
"DescribeRules": doDescribeRules,
|
@@ -461,6 +461,13 @@
|
|
461
461
|
"name": "切换站点状态",
|
462
462
|
"output": "ModifyZoneStatusResponse",
|
463
463
|
"status": "online"
|
464
|
+
},
|
465
|
+
"VerifyOwnership": {
|
466
|
+
"document": "在 CNAME 接入模式下,您需要对站点或者域名的归属权进行验证,可以通过本接口触发验证。若站点通过归属权验证后,后续添加域名无需再验证。详情参考 [站点/域名归属权验证](https://cloud.tencent.com/document/product/1552/70789)。\n\n在 NS 接入模式下,您也可以通过本接口来查询 NS 服务器是否切换成功,详情参考 [修改 DNS 服务器](https://cloud.tencent.com/document/product/1552/90452)。",
|
467
|
+
"input": "VerifyOwnershipRequest",
|
468
|
+
"name": "验证归属权",
|
469
|
+
"output": "VerifyOwnershipResponse",
|
470
|
+
"status": "online"
|
464
471
|
}
|
465
472
|
},
|
466
473
|
"metadata": {
|
@@ -594,10 +601,48 @@
|
|
594
601
|
"output_required": false,
|
595
602
|
"type": "object",
|
596
603
|
"value_allowed_null": true
|
604
|
+
},
|
605
|
+
{
|
606
|
+
"disabled": false,
|
607
|
+
"document": "域名证书信息\n注意:此字段可能返回 null,表示取不到有效值。",
|
608
|
+
"example": "无",
|
609
|
+
"member": "AccelerationDomainCertificate",
|
610
|
+
"name": "Certificate",
|
611
|
+
"output_required": false,
|
612
|
+
"type": "object",
|
613
|
+
"value_allowed_null": true
|
597
614
|
}
|
598
615
|
],
|
599
616
|
"usage": "out"
|
600
617
|
},
|
618
|
+
"AccelerationDomainCertificate": {
|
619
|
+
"document": "加速域名所对应的证书信息。",
|
620
|
+
"members": [
|
621
|
+
{
|
622
|
+
"disabled": false,
|
623
|
+
"document": "配置证书的模式,取值有: <li>disable:不配置证书;</li> <li>eofreecert:配置 EdgeOne 免费证书;</li> <li>sslcert:配置 SSL 证书。</li>",
|
624
|
+
"example": "\"ssl\"",
|
625
|
+
"member": "string",
|
626
|
+
"name": "Mode",
|
627
|
+
"output_required": false,
|
628
|
+
"required": false,
|
629
|
+
"type": "string",
|
630
|
+
"value_allowed_null": false
|
631
|
+
},
|
632
|
+
{
|
633
|
+
"disabled": false,
|
634
|
+
"document": "证书列表。\n注意:此字段可能返回 null,表示取不到有效值。",
|
635
|
+
"example": "无",
|
636
|
+
"member": "CertificateInfo",
|
637
|
+
"name": "List",
|
638
|
+
"output_required": false,
|
639
|
+
"required": false,
|
640
|
+
"type": "list",
|
641
|
+
"value_allowed_null": true
|
642
|
+
}
|
643
|
+
],
|
644
|
+
"usage": "both"
|
645
|
+
},
|
601
646
|
"AclCondition": {
|
602
647
|
"document": "精准防护条件",
|
603
648
|
"members": [
|
@@ -2122,6 +2167,82 @@
|
|
2122
2167
|
],
|
2123
2168
|
"usage": "both"
|
2124
2169
|
},
|
2170
|
+
"CertificateInfo": {
|
2171
|
+
"document": "https 服务端证书配置",
|
2172
|
+
"members": [
|
2173
|
+
{
|
2174
|
+
"disabled": false,
|
2175
|
+
"document": "服务器证书 ID。",
|
2176
|
+
"example": "EO-dsfdsf",
|
2177
|
+
"member": "string",
|
2178
|
+
"name": "CertId",
|
2179
|
+
"output_required": false,
|
2180
|
+
"type": "string",
|
2181
|
+
"value_allowed_null": false
|
2182
|
+
},
|
2183
|
+
{
|
2184
|
+
"disabled": false,
|
2185
|
+
"document": "证书备注名。",
|
2186
|
+
"example": "默认证书",
|
2187
|
+
"member": "string",
|
2188
|
+
"name": "Alias",
|
2189
|
+
"output_required": false,
|
2190
|
+
"type": "string",
|
2191
|
+
"value_allowed_null": false
|
2192
|
+
},
|
2193
|
+
{
|
2194
|
+
"disabled": false,
|
2195
|
+
"document": "证书类型,取值有:\n<li>default:默认证书;</li>\n<li>upload:用户上传;</li>\n<li>managed:腾讯云托管。</li>",
|
2196
|
+
"example": "default",
|
2197
|
+
"member": "string",
|
2198
|
+
"name": "Type",
|
2199
|
+
"output_required": false,
|
2200
|
+
"type": "string",
|
2201
|
+
"value_allowed_null": false
|
2202
|
+
},
|
2203
|
+
{
|
2204
|
+
"disabled": false,
|
2205
|
+
"document": "证书过期时间。",
|
2206
|
+
"example": "2014-08-03T12:00:00+08:00",
|
2207
|
+
"member": "datetime_iso",
|
2208
|
+
"name": "ExpireTime",
|
2209
|
+
"output_required": false,
|
2210
|
+
"type": "string",
|
2211
|
+
"value_allowed_null": false
|
2212
|
+
},
|
2213
|
+
{
|
2214
|
+
"disabled": false,
|
2215
|
+
"document": "证书部署时间。",
|
2216
|
+
"example": "2014-08-03T12:00:00+08:00",
|
2217
|
+
"member": "datetime_iso",
|
2218
|
+
"name": "DeployTime",
|
2219
|
+
"output_required": false,
|
2220
|
+
"type": "string",
|
2221
|
+
"value_allowed_null": false
|
2222
|
+
},
|
2223
|
+
{
|
2224
|
+
"disabled": false,
|
2225
|
+
"document": "签名算法。",
|
2226
|
+
"example": "RSA",
|
2227
|
+
"member": "string",
|
2228
|
+
"name": "SignAlgo",
|
2229
|
+
"output_required": false,
|
2230
|
+
"type": "string",
|
2231
|
+
"value_allowed_null": false
|
2232
|
+
},
|
2233
|
+
{
|
2234
|
+
"disabled": false,
|
2235
|
+
"document": "证书状态,取值有:\n<li>deployed:已部署;</li>\n<li>processing:部署中;</li>\n<li>applying:申请中;</li>\n<li>failed:申请失败;</li>\n<li>issued:绑定失败。</li>",
|
2236
|
+
"example": "deployed",
|
2237
|
+
"member": "string",
|
2238
|
+
"name": "Status",
|
2239
|
+
"output_required": false,
|
2240
|
+
"type": "string",
|
2241
|
+
"value_allowed_null": false
|
2242
|
+
}
|
2243
|
+
],
|
2244
|
+
"usage": "out"
|
2245
|
+
},
|
2125
2246
|
"CheckCnameStatusRequest": {
|
2126
2247
|
"document": "CheckCnameStatus请求参数结构体",
|
2127
2248
|
"members": [
|
@@ -3176,7 +3297,7 @@
|
|
3176
3297
|
},
|
3177
3298
|
{
|
3178
3299
|
"disabled": false,
|
3179
|
-
"document": "同名站点标识。限制输入数字、英文、- 和 _ 组合,长度 20 个字符以内。详情参考 [同名站点标识](),无此使用场景时,该字段保留为空即可。",
|
3300
|
+
"document": "同名站点标识。限制输入数字、英文、- 和 _ 组合,长度 20 个字符以内。详情参考 [同名站点标识](https://cloud.tencent.com/document/product/1552/70202),无此使用场景时,该字段保留为空即可。",
|
3180
3301
|
"example": "zone-example",
|
3181
3302
|
"member": "string",
|
3182
3303
|
"name": "AliasZoneName",
|
@@ -11614,6 +11735,53 @@
|
|
11614
11735
|
],
|
11615
11736
|
"usage": "out"
|
11616
11737
|
},
|
11738
|
+
"VerifyOwnershipRequest": {
|
11739
|
+
"document": "VerifyOwnership请求参数结构体",
|
11740
|
+
"members": [
|
11741
|
+
{
|
11742
|
+
"disabled": false,
|
11743
|
+
"document": "站点或者加速域名。",
|
11744
|
+
"example": "qq.com",
|
11745
|
+
"member": "string",
|
11746
|
+
"name": "Domain",
|
11747
|
+
"required": true,
|
11748
|
+
"type": "string"
|
11749
|
+
}
|
11750
|
+
],
|
11751
|
+
"type": "object"
|
11752
|
+
},
|
11753
|
+
"VerifyOwnershipResponse": {
|
11754
|
+
"document": "VerifyOwnership返回参数结构体",
|
11755
|
+
"members": [
|
11756
|
+
{
|
11757
|
+
"disabled": false,
|
11758
|
+
"document": "归属权验证结果。\n<li>success:验证成功;</li>\n<li>fail:验证失败。</li>",
|
11759
|
+
"example": "success",
|
11760
|
+
"member": "string",
|
11761
|
+
"name": "Status",
|
11762
|
+
"output_required": true,
|
11763
|
+
"type": "string",
|
11764
|
+
"value_allowed_null": false
|
11765
|
+
},
|
11766
|
+
{
|
11767
|
+
"disabled": false,
|
11768
|
+
"document": "当验证结果为不通过时,该字段会返回原因,协助您排查问题。",
|
11769
|
+
"example": "无",
|
11770
|
+
"member": "string",
|
11771
|
+
"name": "Result",
|
11772
|
+
"output_required": true,
|
11773
|
+
"type": "string",
|
11774
|
+
"value_allowed_null": false
|
11775
|
+
},
|
11776
|
+
{
|
11777
|
+
"document": "唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。",
|
11778
|
+
"member": "string",
|
11779
|
+
"name": "RequestId",
|
11780
|
+
"type": "string"
|
11781
|
+
}
|
11782
|
+
],
|
11783
|
+
"type": "object"
|
11784
|
+
},
|
11617
11785
|
"Waf": {
|
11618
11786
|
"document": "无",
|
11619
11787
|
"members": [
|
@@ -743,6 +743,26 @@
|
|
743
743
|
"output": "{\n \"Response\": {\n \"RequestId\": \"7sd20b24-7dc5-98f4-96ce-95825dcd34sa\"\n }\n}",
|
744
744
|
"title": "切换站点状态"
|
745
745
|
}
|
746
|
+
],
|
747
|
+
"VerifyOwnership": [
|
748
|
+
{
|
749
|
+
"document": "验证域名 test.example.com 的归属权。",
|
750
|
+
"input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: VerifyOwnership\n<公共请求参数>\n\n{\n \"Domain\": \"test.example.com\"\n}",
|
751
|
+
"output": "{\n \"Response\": {\n \"Status\": \"success\",\n \"Result\": \"\",\n \"RequestId\": \"9kl50bew-89ga-44f4-91ce-78125d53vd2a\"\n }\n}",
|
752
|
+
"title": "CNAME 接入时,验证域名归属权"
|
753
|
+
},
|
754
|
+
{
|
755
|
+
"document": "验证站点 example.com (站点ID: zone-xxxxx) 的归属权。",
|
756
|
+
"input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: VerifyOwnership\n<公共请求参数>\n\n{\n \"Domain\": \"example.com\"\n}",
|
757
|
+
"output": "{\n \"Response\": {\n \"Status\": \"fail\",\n \"Result\": \"解析 xx 得到 类型 xx 的内容 xx。\\n 访问 http://xxx/.. 解析 xx 无法连接\",\n \"RequestId\": \"9kl50bew-89ga-44f4-91ce-78125d53vd2a\"\n }\n}",
|
758
|
+
"title": "CNAME 接入时,验证站点归属权"
|
759
|
+
},
|
760
|
+
{
|
761
|
+
"document": "验证 example.com 的 DNS 服务器是否已经切换成功。",
|
762
|
+
"input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: VerifyOwnership\n<公共请求参数>\n\n{\n \"Domain\": \"example.com\"\n}",
|
763
|
+
"output": "{\n \"Response\": {\n \"Status\": \"fail\",\n \"Result\": \"当前域名的 DNS 服务器为 xxx,与预期服务器 xxx 不符合\",\n \"RequestId\": \"9kl50bew-89ga-44f4-91ce-78125d53vd2a\"\n }\n}",
|
764
|
+
"title": "NS 接入时,查询 DNS 服务器是否切换成功"
|
765
|
+
}
|
746
766
|
]
|
747
767
|
},
|
748
768
|
"version": "1.0"
|
@@ -36,7 +36,7 @@
|
|
36
36
|
"status": "online"
|
37
37
|
},
|
38
38
|
"TextTranslate": {
|
39
|
-
"document": "
|
39
|
+
"document": "腾讯翻译为合作伙伴提供文本翻译、文档翻译、交互翻译、AI同传等多种机器翻译服务,具有toB多行业解决方案。作为WMT世界机器翻译大赛冠军,翻译准确度值得信赖,其中,交互翻译能力是业界领先技术;腾讯同传是AI同传业界标杆。<br />\n提示:对于一般开发者,我们建议优先使用SDK接入简化开发。SDK使用介绍请直接查看 5. 开发者资源 部分。",
|
40
40
|
"input": "TextTranslateRequest",
|
41
41
|
"name": "文本翻译",
|
42
42
|
"output": "TextTranslateResponse",
|
@@ -832,15 +832,17 @@
|
|
832
832
|
"example": "你好",
|
833
833
|
"member": "string",
|
834
834
|
"name": "TargetText",
|
835
|
+
"output_required": true,
|
835
836
|
"type": "string",
|
836
837
|
"value_allowed_null": false
|
837
838
|
},
|
838
839
|
{
|
839
840
|
"disabled": false,
|
840
|
-
"document": "源语言,详见入参
|
841
|
+
"document": "源语言,详见入参Source",
|
841
842
|
"example": "en",
|
842
843
|
"member": "string",
|
843
844
|
"name": "Source",
|
845
|
+
"output_required": true,
|
844
846
|
"type": "string",
|
845
847
|
"value_allowed_null": false
|
846
848
|
},
|
@@ -850,6 +852,7 @@
|
|
850
852
|
"example": "zh",
|
851
853
|
"member": "string",
|
852
854
|
"name": "Target",
|
855
|
+
"output_required": true,
|
853
856
|
"type": "string",
|
854
857
|
"value_allowed_null": false
|
855
858
|
},
|