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.
- tccli/__init__.py +1 -1
- tccli/services/billing/v20180709/api.json +4 -2
- tccli/services/cdn/v20180606/api.json +33 -11
- tccli/services/cls/v20201016/api.json +1 -1
- tccli/services/cvm/v20170312/api.json +12 -2
- tccli/services/ess/v20201111/api.json +19 -19
- tccli/services/essbasic/v20210526/api.json +2 -2
- tccli/services/lcic/v20220817/api.json +30 -35
- tccli/services/lkeap/v20240522/api.json +412 -9
- tccli/services/lkeap/v20240522/examples.json +19 -19
- tccli/services/mongodb/mongodb_client.py +53 -0
- tccli/services/mongodb/v20190725/api.json +70 -0
- tccli/services/mongodb/v20190725/examples.json +8 -0
- tccli/services/rum/v20210622/api.json +12 -12
- tccli/services/rum/v20210622/examples.json +6 -6
- tccli/services/ssl/v20191205/api.json +20 -20
- tccli/services/sts/v20180813/api.json +1 -1
- tccli/services/teo/v20220901/api.json +1 -1
- tccli/services/tke/v20180525/api.json +18 -0
- tccli/services/trro/v20220325/api.json +1 -1
- tccli/services/trtc/v20190722/api.json +8 -7
- tccli/services/trtc/v20190722/examples.json +5 -5
- tccli/services/vms/v20200902/api.json +9 -9
- tccli/services/vms/v20200902/examples.json +5 -5
- tccli/services/vpc/v20170312/api.json +6 -6
- tccli/services/vpc/v20170312/examples.json +4 -4
- tccli/services/waf/v20180125/api.json +24 -2
- tccli/services/wedata/v20210820/api.json +107 -0
- tccli/services/wedata/v20210820/examples.json +8 -0
- tccli/services/wedata/wedata_client.py +53 -0
- {tccli-3.0.1265.1.dist-info → tccli-3.0.1266.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1265.1.dist-info → tccli-3.0.1266.1.dist-info}/RECORD +35 -35
- {tccli-3.0.1265.1.dist-info → tccli-3.0.1266.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1265.1.dist-info → tccli-3.0.1266.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1265.1.dist-info → tccli-3.0.1266.1.dist-info}/license_files/LICENSE +0 -0
@@ -71,6 +71,58 @@ def doTerminateDBInstances(args, parsed_globals):
|
|
71
71
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
72
72
|
|
73
73
|
|
74
|
+
def doDescribeDBInstanceURL(args, parsed_globals):
|
75
|
+
g_param = parse_global_arg(parsed_globals)
|
76
|
+
|
77
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
78
|
+
cred = credential.CVMRoleCredential()
|
79
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
80
|
+
cred = credential.STSAssumeRoleCredential(
|
81
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
82
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
83
|
+
)
|
84
|
+
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):
|
85
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
86
|
+
else:
|
87
|
+
cred = credential.Credential(
|
88
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
89
|
+
)
|
90
|
+
http_profile = HttpProfile(
|
91
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
92
|
+
reqMethod="POST",
|
93
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
94
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
95
|
+
)
|
96
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
97
|
+
if g_param[OptionsDefine.Language]:
|
98
|
+
profile.language = g_param[OptionsDefine.Language]
|
99
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
100
|
+
client = mod.MongodbClient(cred, g_param[OptionsDefine.Region], profile)
|
101
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
102
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
103
|
+
model = models.DescribeDBInstanceURLRequest()
|
104
|
+
model.from_json_string(json.dumps(args))
|
105
|
+
start_time = time.time()
|
106
|
+
while True:
|
107
|
+
rsp = client.DescribeDBInstanceURL(model)
|
108
|
+
result = rsp.to_json_string()
|
109
|
+
try:
|
110
|
+
json_obj = json.loads(result)
|
111
|
+
except TypeError as e:
|
112
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
113
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
114
|
+
break
|
115
|
+
cur_time = time.time()
|
116
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
117
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
118
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
119
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
120
|
+
else:
|
121
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
122
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
123
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
124
|
+
|
125
|
+
|
74
126
|
def doDescribeDBInstanceNodeProperty(args, parsed_globals):
|
75
127
|
g_param = parse_global_arg(parsed_globals)
|
76
128
|
|
@@ -2893,6 +2945,7 @@ MODELS_MAP = {
|
|
2893
2945
|
|
2894
2946
|
ACTION_MAP = {
|
2895
2947
|
"TerminateDBInstances": doTerminateDBInstances,
|
2948
|
+
"DescribeDBInstanceURL": doDescribeDBInstanceURL,
|
2896
2949
|
"DescribeDBInstanceNodeProperty": doDescribeDBInstanceNodeProperty,
|
2897
2950
|
"DescribeDBInstanceParamTpl": doDescribeDBInstanceParamTpl,
|
2898
2951
|
"DescribeDBInstanceDeal": doDescribeDBInstanceDeal,
|
@@ -133,6 +133,13 @@
|
|
133
133
|
"output": "DescribeDBInstanceParamTplDetailResponse",
|
134
134
|
"status": "online"
|
135
135
|
},
|
136
|
+
"DescribeDBInstanceURL": {
|
137
|
+
"document": "本接口(DescribeDBInstanceURL)用于获取指定实例的 URI 形式的连接串访问地址示例。",
|
138
|
+
"input": "DescribeDBInstanceURLRequest",
|
139
|
+
"name": "获取实例连接的URI。",
|
140
|
+
"output": "DescribeDBInstanceURLResponse",
|
141
|
+
"status": "online"
|
142
|
+
},
|
136
143
|
"DescribeDBInstances": {
|
137
144
|
"document": "本接口(DescribeDBInstances)用于查询云数据库实例列表,支持通过项目ID、实例ID、实例状态等过滤条件来筛选主实例、灾备实例和只读实例信息列表。",
|
138
145
|
"input": "DescribeDBInstancesRequest",
|
@@ -1794,6 +1801,32 @@
|
|
1794
1801
|
],
|
1795
1802
|
"usage": "both"
|
1796
1803
|
},
|
1804
|
+
"DbURL": {
|
1805
|
+
"document": "数据库实例 URI 形式的连接串访问地址示例。",
|
1806
|
+
"members": [
|
1807
|
+
{
|
1808
|
+
"disabled": false,
|
1809
|
+
"document": "指 URI 类别,包括:,\n- CLUSTER_ALL:指通过该 URI 连接库实例的主节点,可读写。\n- CLUSTER_READ_READONLY:指通过该 URI 连接实例只读节点。\n- CLUSTER_READ_SECONDARY:指通过该 URI 连接实例从节点。\n- CLUSTER_READ_SECONDARY_AND_READONLY:指通过该 URI 连接实例只读从节点。\n- CLUSTER_PRIMARY_AND_SECONDARY:指通过该 URI 连接实例 主节点与从节点。\n- MONGOS_ALL:指通过该 URI 连接每个 Mongos 节点,可读写。\n- MONGOS_READ_READONLY:指通过该 URI 连接 Mongos 的只读节点。\n- MONGOS_READ_SECONDARY:指通过该 URI 连接 Mongos 的从节点。\n- MONGOS_READ_PRIMARY_AND_SECONDARY:指通过该URI 连接 Mongos 的主节点与从节点。\n- MONGOS_READ_SECONDARY_AND_READONLY:指通过该URI 连接 Mongos 的从节点与只读节点。",
|
1810
|
+
"example": "MONGOS_ALL",
|
1811
|
+
"member": "string",
|
1812
|
+
"name": "URLType",
|
1813
|
+
"required": true,
|
1814
|
+
"type": "string",
|
1815
|
+
"value_allowed_null": false
|
1816
|
+
},
|
1817
|
+
{
|
1818
|
+
"disabled": false,
|
1819
|
+
"document": "实例 URI 形式的连接串访问地址示例。",
|
1820
|
+
"example": "无",
|
1821
|
+
"member": "string",
|
1822
|
+
"name": "Address",
|
1823
|
+
"required": true,
|
1824
|
+
"type": "string",
|
1825
|
+
"value_allowed_null": false
|
1826
|
+
}
|
1827
|
+
],
|
1828
|
+
"usage": "out"
|
1829
|
+
},
|
1797
1830
|
"DeleteAccountUserRequest": {
|
1798
1831
|
"document": "DeleteAccountUser请求参数结构体",
|
1799
1832
|
"members": [
|
@@ -2730,6 +2763,43 @@
|
|
2730
2763
|
],
|
2731
2764
|
"type": "object"
|
2732
2765
|
},
|
2766
|
+
"DescribeDBInstanceURLRequest": {
|
2767
|
+
"document": "DescribeDBInstanceURL请求参数结构体",
|
2768
|
+
"members": [
|
2769
|
+
{
|
2770
|
+
"disabled": false,
|
2771
|
+
"document": "实例 ID。请登录 [MongoDB 控制台](https://console.cloud.tencent.com/mongodb#/)在实例列表复制实例 ID。",
|
2772
|
+
"example": "cmgo-p8vn********",
|
2773
|
+
"member": "string",
|
2774
|
+
"name": "InstanceId",
|
2775
|
+
"required": true,
|
2776
|
+
"type": "string"
|
2777
|
+
}
|
2778
|
+
],
|
2779
|
+
"type": "object"
|
2780
|
+
},
|
2781
|
+
"DescribeDBInstanceURLResponse": {
|
2782
|
+
"document": "DescribeDBInstanceURL返回参数结构体",
|
2783
|
+
"members": [
|
2784
|
+
{
|
2785
|
+
"disabled": false,
|
2786
|
+
"document": "实例 URI 形式的连接串访问地址示例。包含:URI 类型及连接串地址。",
|
2787
|
+
"example": "无",
|
2788
|
+
"member": "DbURL",
|
2789
|
+
"name": "Urls",
|
2790
|
+
"output_required": true,
|
2791
|
+
"type": "list",
|
2792
|
+
"value_allowed_null": false
|
2793
|
+
},
|
2794
|
+
{
|
2795
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
2796
|
+
"member": "string",
|
2797
|
+
"name": "RequestId",
|
2798
|
+
"type": "string"
|
2799
|
+
}
|
2800
|
+
],
|
2801
|
+
"type": "object"
|
2802
|
+
},
|
2733
2803
|
"DescribeDBInstancesRequest": {
|
2734
2804
|
"document": "DescribeDBInstances请求参数结构体",
|
2735
2805
|
"members": [
|
@@ -152,6 +152,14 @@
|
|
152
152
|
"title": "查询参数模板详情"
|
153
153
|
}
|
154
154
|
],
|
155
|
+
"DescribeDBInstanceURL": [
|
156
|
+
{
|
157
|
+
"document": "获取指定实例的 URI 形式的连接串访问地址示例,包含 URI 类型、URI 连接串。",
|
158
|
+
"input": "POST / HTTP/1.1\nHost: mongodb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDBInstanceURL\n<公共请求参数>\n\n{\n \"InstanceId\": \"cmgo-g5*****\"\n}",
|
159
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"8e4cb480-9d32-11ec-8dfc-037b69052954\",\n \"Urls\": [\n {\n \"Address\": \"mongodb://mongouser:******@10.*.0.**:27017,10.*.0.**:27017/test?authSource=admin\",\n \"URLType\": \"CLUSTER_ALL\"\n },\n {\n \"Address\": \"mongodb://mongouser:******@10.*.0.**:27017,10.*.0.**:27017/test?authSource=admin&readPreference=secondaryPreferred\",\n \"URLType\": \"CLUSTER_READ_SECONDARY\"\n }\n ]\n }\n}",
|
160
|
+
"title": "获取访问实例的 URI。"
|
161
|
+
}
|
162
|
+
],
|
155
163
|
"DescribeDBInstances": [
|
156
164
|
{
|
157
165
|
"document": "查询实例列表",
|
@@ -529,7 +529,7 @@
|
|
529
529
|
"example": "success",
|
530
530
|
"member": "string",
|
531
531
|
"name": "Msg",
|
532
|
-
"
|
532
|
+
"output_required": true,
|
533
533
|
"type": "string",
|
534
534
|
"value_allowed_null": false
|
535
535
|
},
|
@@ -3713,7 +3713,7 @@
|
|
3713
3713
|
{
|
3714
3714
|
"disabled": false,
|
3715
3715
|
"document": "查询字符串",
|
3716
|
-
"example": "\"select delta(count) as allCount from db.name where time >= 1621240040s and time <= 1621243620s and id='1613' group by \\\"ext3\\\"
|
3716
|
+
"example": "\"select delta(count) as allCount from db.name where time >= 1621240040s and time <= 1621243620s and id='1613' group by \\\"ext3\\\" limit 1000\"",
|
3717
3717
|
"member": "string",
|
3718
3718
|
"name": "Query",
|
3719
3719
|
"required": true,
|
@@ -5053,7 +5053,7 @@
|
|
5053
5053
|
"type": "list"
|
5054
5054
|
},
|
5055
5055
|
{
|
5056
|
-
"disabled":
|
5056
|
+
"disabled": true,
|
5057
5057
|
"document": "该参数已废弃,demo模式请在Filters内注明",
|
5058
5058
|
"example": "1",
|
5059
5059
|
"member": "int64",
|
@@ -5208,7 +5208,7 @@
|
|
5208
5208
|
{
|
5209
5209
|
"disabled": false,
|
5210
5210
|
"document": "临时密钥key",
|
5211
|
-
"example": "
|
5211
|
+
"example": "OnKjAEea4W5***",
|
5212
5212
|
"member": "string",
|
5213
5213
|
"name": "SecretKey",
|
5214
5214
|
"output_required": true,
|
@@ -5218,7 +5218,7 @@
|
|
5218
5218
|
{
|
5219
5219
|
"disabled": false,
|
5220
5220
|
"document": "临时密钥 id",
|
5221
|
-
"example": "
|
5221
|
+
"example": "AKIDDHDvz_o***",
|
5222
5222
|
"member": "string",
|
5223
5223
|
"name": "SecretID",
|
5224
5224
|
"output_required": true,
|
@@ -5228,7 +5228,7 @@
|
|
5228
5228
|
{
|
5229
5229
|
"disabled": false,
|
5230
5230
|
"document": "临时密钥临时 token",
|
5231
|
-
"example": "
|
5231
|
+
"example": "2nTxEweEOsBo***",
|
5232
5232
|
"member": "string",
|
5233
5233
|
"name": "SessionToken",
|
5234
5234
|
"output_required": true,
|
@@ -5238,7 +5238,7 @@
|
|
5238
5238
|
{
|
5239
5239
|
"disabled": false,
|
5240
5240
|
"document": "开始时间戳",
|
5241
|
-
"example": "
|
5241
|
+
"example": "1739258276",
|
5242
5242
|
"member": "int64",
|
5243
5243
|
"name": "StartTime",
|
5244
5244
|
"output_required": true,
|
@@ -5248,7 +5248,7 @@
|
|
5248
5248
|
{
|
5249
5249
|
"disabled": false,
|
5250
5250
|
"document": "过期时间戳",
|
5251
|
-
"example": "
|
5251
|
+
"example": "1739260076",
|
5252
5252
|
"member": "int64",
|
5253
5253
|
"name": "ExpiredTime",
|
5254
5254
|
"output_required": true,
|
@@ -5751,7 +5751,7 @@
|
|
5751
5751
|
"type": "int"
|
5752
5752
|
},
|
5753
5753
|
{
|
5754
|
-
"disabled":
|
5754
|
+
"disabled": true,
|
5755
5755
|
"document": "该参数已废弃",
|
5756
5756
|
"example": "1",
|
5757
5757
|
"member": "int64",
|
@@ -5925,7 +5925,7 @@
|
|
5925
5925
|
"type": "list"
|
5926
5926
|
},
|
5927
5927
|
{
|
5928
|
-
"disabled":
|
5928
|
+
"disabled": true,
|
5929
5929
|
"document": "实例Id, 该参数已废弃,请在Filters内注明",
|
5930
5930
|
"example": "****7ixj431zO1",
|
5931
5931
|
"member": "string",
|
@@ -5943,7 +5943,7 @@
|
|
5943
5943
|
"type": "list"
|
5944
5944
|
},
|
5945
5945
|
{
|
5946
|
-
"disabled":
|
5946
|
+
"disabled": true,
|
5947
5947
|
"document": "该参数已废弃,demo模式请在Filters内注明",
|
5948
5948
|
"example": "1",
|
5949
5949
|
"member": "int64",
|
@@ -6159,7 +6159,7 @@
|
|
6159
6159
|
{
|
6160
6160
|
"disabled": false,
|
6161
6161
|
"document": "username",
|
6162
|
-
"example": "
|
6162
|
+
"example": "hachen",
|
6163
6163
|
"member": "string",
|
6164
6164
|
"name": "SaslUserName",
|
6165
6165
|
"output_required": true,
|
@@ -11,7 +11,7 @@
|
|
11
11
|
"CreateReleaseFile": [
|
12
12
|
{
|
13
13
|
"document": "",
|
14
|
-
"input": "https://rum.tencentcloudapi.com/?Action=CreateReleaseFile\n&ProjectID=1\n&Files.0.Version='0.0.1'\n&Files.0.FileName='a.js.map'\n&Files.0.FileKey='1-0.0.1-a.js.map'\n&Files.0.FileHash='
|
14
|
+
"input": "https://rum.tencentcloudapi.com/?Action=CreateReleaseFile\n&ProjectID=1\n&Files.0.Version='0.0.1'\n&Files.0.FileName='a.js.map'\n&Files.0.FileKey='1-0.0.1-a.js.map'\n&Files.0.FileHash='XNdLOW5RN***'\n&<公共请求参数>",
|
15
15
|
"output": "{\n \"Response\": {\n \"Msg\": \"success\",\n \"RequestId\": \"65a8fec7-2b39-4b11-893f-3715279d235f\"\n }\n}",
|
16
16
|
"title": "创建文件记录"
|
17
17
|
}
|
@@ -90,7 +90,7 @@
|
|
90
90
|
{
|
91
91
|
"document": "",
|
92
92
|
"input": "POST / HTTP/1.1\nHost: rum.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAppDimensionMetrics\n<公共请求参数>\n\n{\n \"Filter\": \"'[]'\",\n \"ProjectID\": 1,\n \"FilterSimple\": \"'{\\\\\\\"entrance_time__gte\\\\\\\":1671367462000,\\\\\\\"entrance_time__lte\\\\\\\":1671453862000,\\\\\\\"category__in\\\\\\\":[\\\\\\\"PERF_NET_REQUEST\\\\\\\"],\\\\\\\"d4\\\\\\\":\\\\\\\"false\\\\\\\",\\\\\\\"d3\\\\\\\":\\\\\\\"http\\\\\\\",\\\\\\\"v1__lte\\\\\\\":300000}'\",\n \"From\": \"'kv_7_dist'\",\n \"Fields\": \"'[[\\\\\\\"explodeDimensions\\\\\\\",\\\\\\\"d2\\\\\\\",\\\\\\\"d8\\\\\\\"],[\\\\\\\"as\\\\\\\",[\\\\\\\"multiIf\\\\\\\",[\\\\\\\"equals\\\\\\\",\\\\\\\"dimension_name\\\\\\\",\\\\\\\"'d2'\\\\\\\"],\\\\\\\"'domain'\\\\\\\",[\\\\\\\"equals\\\\\\\",\\\\\\\"dimension_name\\\\\\\",\\\\\\\"'d8'\\\\\\\"],\\\\\\\"'region'\\\\\\\",\\\\\\\"dimension_name\\\\\\\"],\\\\\\\"dimension\\\\\\\"],[\\\\\\\"as\\\\\\\",[\\\\\\\"avg\\\\\\\",\\\\\\\"v1\\\\\\\"],\\\\\\\"cost_time\\\\\\\"],[\\\\\\\"as\\\\\\\",[\\\\\\\"count\\\\\\\",1],\\\\\\\"request_cnt\\\\\\\"],[\\\\\\\"as\\\\\\\",[\\\\\\\"aggByPartition\\\\\\\",\\\\\\\"sum\\\\\\\",\\\\\\\"request_cnt\\\\\\\",\\\\\\\"dimension_name\\\\\\\"],\\\\\\\"total_request_cnt\\\\\\\"],[\\\\\\\"as\\\\\\\",\\\\\\\"total_request_cnt\\\\\\\",\\\\\\\"total_cnt\\\\\\\"],[\\\\\\\"as\\\\\\\",\\\\\\\"request_cnt\\\\\\\",\\\\\\\"cnt\\\\\\\"],[\\\\\\\"as\\\\\\\",[\\\\\\\"aggByPartition\\\\\\\",\\\\\\\"row_number\\\\\\\",\\\\\\\"none\\\\\\\",\\\\\\\"dimension_name\\\\\\\",[\\\\\\\"order_by\\\\\\\",\\\\\\\"request_cnt\\\\\\\",\\\\\\\"desc\\\\\\\"]],\\\\\\\"rank_cnt\\\\\\\"]]'\",\n \"Limit\": 1000\n}",
|
93
|
-
"output": "{\n \"Response\": {\n \"Data\": \"'{\\\"status\\\":\\\"ok\\\",\\\"code\\\":10000,\\\"msg\\\":\\\"ok\\\",\\\"data\\\":[{\\\"by_dimension\\\":[\\\"d2\\\",\\\"m.
|
93
|
+
"output": "{\n \"Response\": {\n \"Data\": \"'{\\\"status\\\":\\\"ok\\\",\\\"code\\\":10000,\\\"msg\\\":\\\"ok\\\",\\\"data\\\":[{\\\"by_dimension\\\":[\\\"d2\\\",\\\"m.zipkin.com\\\"],\\\"cnt\\\":1280,\\\"cost_time\\\":1480,\\\"dimension\\\":\\\"domain\\\",\\\"dimension_name\\\":\\\"d2\\\",\\\"dimension_value\\\":\\\"m.zipkin.com\\\",\\\"rank_cnt\\\":1,\\\"request_cnt\\\":1280,\\\"total_cnt\\\":1280,\\\"total_request_cnt\\\":1280},{\\\"by_dimension\\\":[\\\"d8\\\",\\\"unsupported\\\"],\\\"cnt\\\":1280,\\\"cost_time\\\":1480,\\\"dimension\\\":\\\"region\\\",\\\"dimension_name\\\":\\\"d8\\\",\\\"dimension_value\\\":\\\"unsupported\\\",\\\"rank_cnt\\\":1,\\\"request_cnt\\\":1280,\\\"total_cnt\\\":1280,\\\"total_request_cnt\\\":1280}]}'\",\n \"RequestId\": \"8a211fc4-7ce2-40ce-ad49-1c29cca2f3fc\"\n }\n}",
|
94
94
|
"title": "查询多维分析数据"
|
95
95
|
}
|
96
96
|
],
|
@@ -121,7 +121,7 @@
|
|
121
121
|
"DescribeData": [
|
122
122
|
{
|
123
123
|
"document": "",
|
124
|
-
"input": "https://rum.tencentcloudapi.com/?Action=DescribeData\n&ID=1\n&Query=\"select delta(count) as allCount from db.name where time >= 1621240040s and time <= 1621243620s and id='1613' group by \\\"ext3\\\"
|
124
|
+
"input": "https://rum.tencentcloudapi.com/?Action=DescribeData\n&ID=1\n&Query=\"select delta(count) as allCount from db.name where time >= 1621240040s and time <= 1621243620s and id='1613' group by \\\"ext3\\\" limit 1000\"\n&<公共请求参数>",
|
125
125
|
"output": "{\n \"Response\": {\n \"Result\": \"{\\\"request_id\\\":\\\"65a8fec7-2b39-4b11-893f-3715279d235f\\\",\\\"results\\\":[{\\\"statement_id\\\":0,\\\"total\\\":0},{\\\"statement_id\\\":1,\\\"total\\\":0}]}\",\n \"RequestId\": \"65a8fec7-2b39-4b11-893f-3715279d235f\"\n }\n}",
|
126
126
|
"title": "转发获取data信息"
|
127
127
|
}
|
@@ -338,7 +338,7 @@
|
|
338
338
|
{
|
339
339
|
"document": "获取临时密钥",
|
340
340
|
"input": "https://rum.tencentcloudapi.com/?Action=DescribeReleaseFileSign\n&<公共请求参数>",
|
341
|
-
"output": "{\n \"Response\": {\n \"SecretKey\": \"
|
341
|
+
"output": "{\n \"Response\": {\n \"SecretKey\": \"OnKjAEea4W5***\",\n \"SecretID\": \"AKIDDHDvz_oW***\",\n \"SessionToken\": \"2nTxEweEOsBoGaz0sjm***\",\n \"StartTime\": 1739258276,\n \"ExpiredTime\": 1739260076,\n \"RequestId\": \"65a8fec7-2b39-4b11-893f-3715279d235f\"\n }\n}",
|
342
342
|
"title": "获取临时密钥"
|
343
343
|
}
|
344
344
|
],
|
@@ -382,13 +382,13 @@
|
|
382
382
|
{
|
383
383
|
"document": "",
|
384
384
|
"input": "POST / HTTP/1.1\nHost: rum.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRumLogExports\n<公共请求参数>\n\n{\n \"PageNum\": 1,\n \"ID\": 234763,\n \"PageSize\": 999\n}",
|
385
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"01a45bad-d053-4af8-9f60-0c4293574f5d\",\n \"Result\": \"{\\\"code\\\":0,\\\"data\\\":{\\\"page\\\":1,\\\"pageSize\\\":999,\\\"totalCount\\\":1,\\\"totalPage\\\":1,\\\"data\\\":[{\\\"id\\\":234763,\\\"name\\\":\\\"124858_log\\\",\\\"status\\\":\\\"\\\",\\\"message\\\":\\\"任务创建成功\\\",\\\"progress\\\":0,\\\"url\\\":\\\"\\\",\\\"updateUser\\\":\\\"
|
385
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"01a45bad-d053-4af8-9f60-0c4293574f5d\",\n \"Result\": \"{\\\"code\\\":0,\\\"data\\\":{\\\"page\\\":1,\\\"pageSize\\\":999,\\\"totalCount\\\":1,\\\"totalPage\\\":1,\\\"data\\\":[{\\\"id\\\":234763,\\\"name\\\":\\\"124858_log\\\",\\\"status\\\":\\\"\\\",\\\"message\\\":\\\"任务创建成功\\\",\\\"progress\\\":0,\\\"url\\\":\\\"\\\",\\\"updateUser\\\":\\\"TICLI\\\",\\\"updateTime\\\":\\\"2025-01-19 10:13:04\\\",\\\"type\\\":\\\"json\\\",\\\"createUser\\\":\\\"TICLI\\\",\\\"createTime\\\":\\\"2025-01-19 10:13:04\\\"}]},\\\"msg\\\":\\\"\\\"}\"\n }\n}",
|
386
386
|
"title": "xc"
|
387
387
|
},
|
388
388
|
{
|
389
389
|
"document": "",
|
390
390
|
"input": "POST / HTTP/1.1\nHost: rum.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRumLogExports\n<公共请求参数>\n\n{\n \"PageSize\": 999,\n \"ID\": 10,\n \"PageNum\": 1\n}",
|
391
|
-
"output": "{\n \"Response\": {\n \"Result\": \"{\\\"code\\\":0,\\\"data\\\":{\\\"page\\\":1,\\\"pageSize\\\":999,\\\"totalCount\\\":1,\\\"totalPage\\\":1,\\\"data\\\":[{\\\"id\\\":10,\\\"name\\\":\\\"10_log\\\",\\\"status\\\":\\\"\\\",\\\"message\\\":\\\"任务创建成功\\\",\\\"progress\\\":0,\\\"url\\\":\\\"\\\",\\\"updateUser\\\":\\\"
|
391
|
+
"output": "{\n \"Response\": {\n \"Result\": \"{\\\"code\\\":0,\\\"data\\\":{\\\"page\\\":1,\\\"pageSize\\\":999,\\\"totalCount\\\":1,\\\"totalPage\\\":1,\\\"data\\\":[{\\\"id\\\":10,\\\"name\\\":\\\"10_log\\\",\\\"status\\\":\\\"\\\",\\\"message\\\":\\\"任务创建成功\\\",\\\"progress\\\":0,\\\"url\\\":\\\"\\\",\\\"updateUser\\\":\\\"TICLI\\\",\\\"updateTime\\\":\\\"2025-01-19 10:14:04\\\",\\\"type\\\":\\\"json\\\",\\\"createUser\\\":\\\"TICLI\\\",\\\"createTime\\\":\\\"2025-01-19 10:14:04\\\"}]},\\\"msg\\\":\\\"\\\"}\",\n \"RequestId\": \"65a8fec7-2b39-4b11-893f-3715279d235f\"\n }\n}",
|
392
392
|
"title": "获取日志列表"
|
393
393
|
}
|
394
394
|
],
|
@@ -947,8 +947,8 @@
|
|
947
947
|
},
|
948
948
|
{
|
949
949
|
"disabled": false,
|
950
|
-
"document": "域名状态",
|
951
|
-
"example": "
|
950
|
+
"document": "域名状态 rejected:域名审核未通过,域名备案过期/被注销导致,processing:部署中,online:已启动,offline:已关闭",
|
951
|
+
"example": "online",
|
952
952
|
"member": "string",
|
953
953
|
"name": "Status",
|
954
954
|
"output_required": true,
|
@@ -5569,7 +5569,7 @@
|
|
5569
5569
|
{
|
5570
5570
|
"disabled": false,
|
5571
5571
|
"document": "部署资源类型apigateway",
|
5572
|
-
"example": "
|
5572
|
+
"example": "apigateway",
|
5573
5573
|
"member": "string",
|
5574
5574
|
"name": "ResourceType",
|
5575
5575
|
"required": false,
|
@@ -6341,7 +6341,7 @@
|
|
6341
6341
|
},
|
6342
6342
|
{
|
6343
6343
|
"disabled": false,
|
6344
|
-
"document": "
|
6344
|
+
"document": "过滤参数列表; FilterKey:domainMatch(查询域名是否匹配的实例列表) FilterValue:1,表示查询匹配; 0,表示查询不匹配; 默认查询匹配",
|
6345
6345
|
"example": "无",
|
6346
6346
|
"member": "Filter",
|
6347
6347
|
"name": "Filters",
|
@@ -6898,7 +6898,7 @@
|
|
6898
6898
|
},
|
6899
6899
|
{
|
6900
6900
|
"disabled": false,
|
6901
|
-
"document": "
|
6901
|
+
"document": "过滤参数列表; FilterKey:domainMatch(查询域名是否匹配的实例列表) FilterValue:1,表示查询匹配; 0,表示查询不匹配; 默认查询匹配",
|
6902
6902
|
"example": "无",
|
6903
6903
|
"member": "Filter",
|
6904
6904
|
"name": "Filters",
|
@@ -7479,12 +7479,12 @@
|
|
7479
7479
|
"type": "object"
|
7480
7480
|
},
|
7481
7481
|
"DomainValidationResult": {
|
7482
|
-
"document": "
|
7482
|
+
"document": "证书域名验证结果",
|
7483
7483
|
"members": [
|
7484
7484
|
{
|
7485
7485
|
"disabled": false,
|
7486
|
-
"document": "
|
7487
|
-
"example": "
|
7486
|
+
"document": "证书绑定的域名。",
|
7487
|
+
"example": "tencent.com",
|
7488
7488
|
"member": "string",
|
7489
7489
|
"name": "Domain",
|
7490
7490
|
"output_required": true,
|
@@ -7493,7 +7493,7 @@
|
|
7493
7493
|
},
|
7494
7494
|
{
|
7495
7495
|
"disabled": false,
|
7496
|
-
"document": "
|
7496
|
+
"document": "域名验证类型。 取值为:DNS、FILE、DNS_AUTO、DNS_PROXY、FILE_PROXY\n注意:此字段可能返回 null,表示取不到有效值。",
|
7497
7497
|
"example": "DNS",
|
7498
7498
|
"member": "string",
|
7499
7499
|
"name": "VerifyType",
|
@@ -7503,8 +7503,8 @@
|
|
7503
7503
|
},
|
7504
7504
|
{
|
7505
7505
|
"disabled": false,
|
7506
|
-
"document": "
|
7507
|
-
"example": "1",
|
7506
|
+
"document": "腾讯云检测结果,取值:1(验证通过); -1(被限频或者 txt record not found);-2(txt record not match);-3(ns record not found);-4(file not found);-5(file not match);-6(cname record not found);-7(cname record not match);-8(ns record not found)-9(file not found);-10(file not match)\n",
|
7507
|
+
"example": "-1",
|
7508
7508
|
"member": "int64",
|
7509
7509
|
"name": "LocalCheck",
|
7510
7510
|
"output_required": true,
|
@@ -7513,8 +7513,8 @@
|
|
7513
7513
|
},
|
7514
7514
|
{
|
7515
7515
|
"disabled": false,
|
7516
|
-
"document": "CA
|
7517
|
-
"example": "1",
|
7516
|
+
"document": "CA检查结果。取值: -1(未检测通过);2(检测通过)",
|
7517
|
+
"example": "-1",
|
7518
7518
|
"member": "int64",
|
7519
7519
|
"name": "CaCheck",
|
7520
7520
|
"output_required": true,
|
@@ -7523,8 +7523,8 @@
|
|
7523
7523
|
},
|
7524
7524
|
{
|
7525
7525
|
"disabled": false,
|
7526
|
-
"document": "
|
7527
|
-
"example": "
|
7526
|
+
"document": "检查失败原因。状态LocalCheck的具体描述\n注意:此字段可能返回 null,表示取不到有效值。",
|
7527
|
+
"example": "txt record not found",
|
7528
7528
|
"member": "string",
|
7529
7529
|
"name": "LocalCheckFailReason",
|
7530
7530
|
"output_required": true,
|
@@ -7534,7 +7534,7 @@
|
|
7534
7534
|
{
|
7535
7535
|
"disabled": false,
|
7536
7536
|
"document": "检查到的值。\n注意:此字段可能返回 null,表示取不到有效值。",
|
7537
|
-
"example": "[\"
|
7537
|
+
"example": "[\"2025020702351560msettk82zj7nc30anr3n0lon5l6zm5shot5qznawf8mgun1r\"]",
|
7538
7538
|
"member": "string",
|
7539
7539
|
"name": "CheckValue",
|
7540
7540
|
"output_required": true,
|
@@ -7543,7 +7543,7 @@
|
|
7543
7543
|
},
|
7544
7544
|
{
|
7545
7545
|
"disabled": false,
|
7546
|
-
"document": "
|
7546
|
+
"document": "是否被限频拦截, 取值:false(未被限频);true(被限频)",
|
7547
7547
|
"example": "false",
|
7548
7548
|
"member": "bool",
|
7549
7549
|
"name": "Frequently",
|
@@ -7553,7 +7553,7 @@
|
|
7553
7553
|
},
|
7554
7554
|
{
|
7555
7555
|
"disabled": false,
|
7556
|
-
"document": "
|
7556
|
+
"document": "证书是否已经签发。取值: false(未签发);true(已签发)",
|
7557
7557
|
"example": "false",
|
7558
7558
|
"member": "bool",
|
7559
7559
|
"name": "Issued",
|
@@ -10206,8 +10206,8 @@
|
|
10206
10206
|
},
|
10207
10207
|
{
|
10208
10208
|
"disabled": false,
|
10209
|
-
"document": "
|
10210
|
-
"example": "
|
10209
|
+
"document": "域名状态\ndeployed:已部署;\nprocessing:部署中;\napplying:申请中;\nfailed:申请失败;\nissued:绑定失败。",
|
10210
|
+
"example": "deployed",
|
10211
10211
|
"member": "string",
|
10212
10212
|
"name": "Status",
|
10213
10213
|
"output_required": true,
|
@@ -119,7 +119,7 @@
|
|
119
119
|
{
|
120
120
|
"disabled": false,
|
121
121
|
"document": "策略描述\n注意:\n1、该参数需要做urlencode,服务端会对该字段做urldecode, 并按处理后Policy授予临时访问凭证权限,请按规范传入参数。(如果通过 GET 方法请求云 API,发送请求前,所有参数都需要按照[云 API 规范](https://cloud.tencent.com/document/api/598/33159#1.-.E6.8B.BC.E6.8E.A5.E8.A7.84.E8.8C.83.E8.AF.B7.E6.B1.82.E4.B8.B2)再 urlencode 一次)。\n2、策略语法参照[ CAM 策略语法](https://cloud.tencent.com/document/product/598/10603)。\n3、策略中不能包含 principal 元素。",
|
122
|
-
"example": "%7B%22version%22%3A%222.0%22%2C%22statement%22%3A%5B%7B%22effect%22%3A%22allow%22%2C%22action%22%3A%5B%
|
122
|
+
"example": "%7B%22version%22%3A%222.0%22%2C%22statement%22%3A%5B%7B%22effect%22%3A%22allow%22%2C%22action%22%3A%5B%22cam%3AGetUser%22%5D%2C%22resource%22%3A%5B%22*%22%5D%7D%5D%7D%22%7D%7D%7D",
|
123
123
|
"member": "string",
|
124
124
|
"name": "Policy",
|
125
125
|
"required": false,
|
@@ -18987,7 +18987,7 @@
|
|
18987
18987
|
"members": [
|
18988
18988
|
{
|
18989
18989
|
"disabled": false,
|
18990
|
-
"document": "[
|
18990
|
+
"document": "[匹配条件](https://cloud.tencent.com/document/product/1552/90438#33f65828-c6c6-4b66-a011-25a20b548d5d)。",
|
18991
18991
|
"example": "\"${http.request.host} in ['test.test.com']\"",
|
18992
18992
|
"member": "string",
|
18993
18993
|
"name": "Condition",
|
@@ -17342,6 +17342,15 @@
|
|
17342
17342
|
"name": "RawValues",
|
17343
17343
|
"required": false,
|
17344
17344
|
"type": "string"
|
17345
|
+
},
|
17346
|
+
{
|
17347
|
+
"disabled": false,
|
17348
|
+
"document": "是否仅做安装检查,设置为true时仅做检查,不会安装组件",
|
17349
|
+
"example": "false",
|
17350
|
+
"member": "bool",
|
17351
|
+
"name": "DryRun",
|
17352
|
+
"required": false,
|
17353
|
+
"type": "bool"
|
17345
17354
|
}
|
17346
17355
|
],
|
17347
17356
|
"type": "object"
|
@@ -25592,6 +25601,15 @@
|
|
25592
25601
|
"name": "UpdateStrategy",
|
25593
25602
|
"required": false,
|
25594
25603
|
"type": "string"
|
25604
|
+
},
|
25605
|
+
{
|
25606
|
+
"disabled": false,
|
25607
|
+
"document": "是否仅做更新检查,设置为true时仅做检查,不会更新组件",
|
25608
|
+
"example": "false",
|
25609
|
+
"member": "bool",
|
25610
|
+
"name": "DryRun",
|
25611
|
+
"required": false,
|
25612
|
+
"type": "bool"
|
25595
25613
|
}
|
25596
25614
|
],
|
25597
25615
|
"type": "object"
|
@@ -1164,7 +1164,7 @@
|
|
1164
1164
|
{
|
1165
1165
|
"disabled": false,
|
1166
1166
|
"document": "应用id",
|
1167
|
-
"example": "
|
1167
|
+
"example": "1400000001",
|
1168
1168
|
"member": "uint64",
|
1169
1169
|
"name": "SdkAppId",
|
1170
1170
|
"required": true,
|
@@ -1173,7 +1173,7 @@
|
|
1173
1173
|
{
|
1174
1174
|
"disabled": false,
|
1175
1175
|
"document": "图片内容经base64编码后的string格式,最大长度为2M",
|
1176
|
-
"example": "
|
1176
|
+
"example": "MTg4MTM=",
|
1177
1177
|
"member": "string",
|
1178
1178
|
"name": "Content",
|
1179
1179
|
"required": true,
|
@@ -1233,9 +1233,10 @@
|
|
1233
1233
|
{
|
1234
1234
|
"disabled": false,
|
1235
1235
|
"document": "图片id",
|
1236
|
-
"example": "
|
1236
|
+
"example": "18813",
|
1237
1237
|
"member": "uint64",
|
1238
1238
|
"name": "PictureId",
|
1239
|
+
"output_required": true,
|
1239
1240
|
"type": "int",
|
1240
1241
|
"value_allowed_null": false
|
1241
1242
|
},
|
@@ -1771,7 +1772,7 @@
|
|
1771
1772
|
{
|
1772
1773
|
"disabled": false,
|
1773
1774
|
"document": "用量类型,与UsageValue中各个位置的值对应。",
|
1774
|
-
"example": "
|
1775
|
+
"example": "[\"Audio\",\"SDH264\",\"HDH264\",\"FullHDH264\",\"2KH264\",\"4KH264\",\"SDH265\",\"HDH265\",\"FullHDH265\",\"2KH265\",\"4KH265\"]",
|
1775
1776
|
"member": "string",
|
1776
1777
|
"name": "UsageKey",
|
1777
1778
|
"output_required": true,
|
@@ -1974,7 +1975,7 @@
|
|
1974
1975
|
{
|
1975
1976
|
"disabled": false,
|
1976
1977
|
"document": "用量类型,与UsageValue中各个位置的值对应。",
|
1977
|
-
"example": "
|
1978
|
+
"example": "[\"Audio\",\"SD\",\"HD\",\"FullHD\",\"2K\",\"4K\"]",
|
1978
1979
|
"member": "string",
|
1979
1980
|
"name": "UsageKey",
|
1980
1981
|
"output_required": true,
|
@@ -2039,7 +2040,7 @@
|
|
2039
2040
|
{
|
2040
2041
|
"disabled": false,
|
2041
2042
|
"document": "用量类型,与UsageValue中各个位置的值对应。",
|
2042
|
-
"example": "
|
2043
|
+
"example": "[\"Bandwidth\"]",
|
2043
2044
|
"member": "string",
|
2044
2045
|
"name": "UsageKey",
|
2045
2046
|
"output_required": true,
|
@@ -2928,7 +2929,7 @@
|
|
2928
2929
|
{
|
2929
2930
|
"disabled": false,
|
2930
2931
|
"document": "用量类型,与UsageValue中各个位置的值对应。",
|
2931
|
-
"example": "
|
2932
|
+
"example": "[\"Audio\",\"SD\",\"HD\",\"FullHD\",\"2K\",\"4K\"]",
|
2932
2933
|
"member": "string",
|
2933
2934
|
"name": "UsageKey",
|
2934
2935
|
"output_required": true,
|