tccli 3.0.1182.1__py2.py3-none-any.whl → 3.0.1183.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/ams/v20201229/api.json +20 -0
- tccli/services/ams/v20201229/examples.json +1 -1
- tccli/services/asr/asr_client.py +229 -17
- tccli/services/asr/v20190614/api.json +379 -0
- tccli/services/asr/v20190614/examples.json +32 -0
- tccli/services/bi/v20220105/api.json +10 -0
- tccli/services/cdwdoris/v20211228/api.json +52 -8
- tccli/services/cdwdoris/v20211228/examples.json +2 -2
- tccli/services/cfg/v20210820/api.json +134 -11
- tccli/services/cfw/cfw_client.py +53 -0
- tccli/services/cfw/v20190904/api.json +44 -0
- tccli/services/cfw/v20190904/examples.json +8 -0
- tccli/services/ckafka/v20190819/api.json +46 -16
- tccli/services/ckafka/v20190819/examples.json +8 -8
- tccli/services/clb/v20180317/api.json +40 -1
- tccli/services/cynosdb/cynosdb_client.py +110 -4
- tccli/services/cynosdb/v20190107/api.json +246 -0
- tccli/services/cynosdb/v20190107/examples.json +16 -0
- tccli/services/dasb/v20191018/api.json +9 -0
- tccli/services/dbbrain/v20210527/api.json +15 -15
- tccli/services/dc/v20180410/api.json +117 -73
- tccli/services/dc/v20180410/examples.json +11 -11
- tccli/services/dcdb/dcdb_client.py +53 -0
- tccli/services/dcdb/v20180411/api.json +54 -0
- tccli/services/dcdb/v20180411/examples.json +8 -0
- tccli/services/emr/emr_client.py +53 -0
- tccli/services/emr/v20190103/api.json +52 -0
- tccli/services/emr/v20190103/examples.json +8 -0
- tccli/services/es/es_client.py +53 -0
- tccli/services/es/v20180416/api.json +63 -0
- tccli/services/es/v20180416/examples.json +8 -0
- tccli/services/essbasic/v20210526/api.json +8 -8
- tccli/services/hunyuan/v20230901/api.json +1 -1
- tccli/services/ims/v20201229/api.json +1 -1
- tccli/services/iss/v20230517/api.json +18 -0
- tccli/services/iss/v20230517/examples.json +3 -3
- tccli/services/lke/v20231130/api.json +141 -2
- tccli/services/mariadb/mariadb_client.py +57 -4
- tccli/services/mariadb/v20170312/api.json +54 -0
- tccli/services/mariadb/v20170312/examples.json +8 -0
- tccli/services/oceanus/v20190422/api.json +10 -0
- tccli/services/ocr/v20181119/api.json +7 -7
- tccli/services/postgres/v20170312/api.json +3 -0
- tccli/services/scf/v20180416/api.json +8 -8
- tccli/services/sms/v20190711/api.json +49 -49
- tccli/services/sms/v20190711/examples.json +2 -2
- tccli/services/ssl/v20191205/api.json +3 -3
- tccli/services/ssl/v20191205/examples.json +2 -2
- tccli/services/tdmq/v20200217/api.json +170 -93
- tccli/services/tdmq/v20200217/examples.json +8 -8
- tccli/services/tke/v20180525/api.json +14 -2
- tccli/services/tke/v20180525/examples.json +3 -3
- tccli/services/tmt/v20180321/api.json +1 -1
- tccli/services/trocket/v20230308/api.json +62 -12
- tccli/services/vpc/v20170312/api.json +23 -0
- tccli/services/wedata/v20210820/api.json +176 -0
- tccli/services/wedata/v20210820/examples.json +8 -0
- tccli/services/wedata/wedata_client.py +53 -0
- {tccli-3.0.1182.1.dist-info → tccli-3.0.1183.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1182.1.dist-info → tccli-3.0.1183.1.dist-info}/RECORD +64 -64
- {tccli-3.0.1182.1.dist-info → tccli-3.0.1183.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1182.1.dist-info → tccli-3.0.1183.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1182.1.dist-info → tccli-3.0.1183.1.dist-info}/license_files/LICENSE +0 -0
@@ -1535,6 +1535,15 @@
|
|
1535
1535
|
"name": "Summary",
|
1536
1536
|
"required": false,
|
1537
1537
|
"type": "string"
|
1538
|
+
},
|
1539
|
+
{
|
1540
|
+
"disabled": false,
|
1541
|
+
"document": "问题以及改进",
|
1542
|
+
"example": "演练问题",
|
1543
|
+
"member": "string",
|
1544
|
+
"name": "Issue",
|
1545
|
+
"required": false,
|
1546
|
+
"type": "string"
|
1538
1547
|
}
|
1539
1548
|
],
|
1540
1549
|
"type": "object"
|
@@ -1613,6 +1622,26 @@
|
|
1613
1622
|
"output_required": false,
|
1614
1623
|
"type": "bool",
|
1615
1624
|
"value_allowed_null": true
|
1625
|
+
},
|
1626
|
+
{
|
1627
|
+
"disabled": false,
|
1628
|
+
"document": "对应在平台架构图中的资源类型名称\n注意:此字段可能返回 null,表示取不到有效值。",
|
1629
|
+
"example": "cvm",
|
1630
|
+
"member": "string",
|
1631
|
+
"name": "ObjectPlatformName",
|
1632
|
+
"output_required": false,
|
1633
|
+
"type": "string",
|
1634
|
+
"value_allowed_null": true
|
1635
|
+
},
|
1636
|
+
{
|
1637
|
+
"disabled": false,
|
1638
|
+
"document": "1:平台支持的对象 2:应用支持的部分对象\n注意:此字段可能返回 null,表示取不到有效值。",
|
1639
|
+
"example": "2",
|
1640
|
+
"member": "int64",
|
1641
|
+
"name": "ObjectSupportType",
|
1642
|
+
"output_required": false,
|
1643
|
+
"type": "int",
|
1644
|
+
"value_allowed_null": true
|
1616
1645
|
}
|
1617
1646
|
],
|
1618
1647
|
"usage": "out"
|
@@ -1835,26 +1864,28 @@
|
|
1835
1864
|
"members": [
|
1836
1865
|
{
|
1837
1866
|
"disabled": false,
|
1838
|
-
"document": "
|
1867
|
+
"document": "标签键\n注意:此字段可能返回 null,表示取不到有效值。",
|
1839
1868
|
"example": "test",
|
1840
1869
|
"member": "string",
|
1841
1870
|
"name": "TagKey",
|
1871
|
+
"output_required": false,
|
1842
1872
|
"required": true,
|
1843
1873
|
"type": "string",
|
1844
|
-
"value_allowed_null":
|
1874
|
+
"value_allowed_null": true
|
1845
1875
|
},
|
1846
1876
|
{
|
1847
1877
|
"disabled": false,
|
1848
|
-
"document": "
|
1878
|
+
"document": "标签值\n注意:此字段可能返回 null,表示取不到有效值。",
|
1849
1879
|
"example": "mytest",
|
1850
1880
|
"member": "string",
|
1851
1881
|
"name": "TagValue",
|
1882
|
+
"output_required": false,
|
1852
1883
|
"required": true,
|
1853
1884
|
"type": "string",
|
1854
|
-
"value_allowed_null":
|
1885
|
+
"value_allowed_null": true
|
1855
1886
|
}
|
1856
1887
|
],
|
1857
|
-
"usage": "
|
1888
|
+
"usage": "both"
|
1858
1889
|
},
|
1859
1890
|
"TagWithDescribe": {
|
1860
1891
|
"document": "展示标签列表",
|
@@ -2203,6 +2234,50 @@
|
|
2203
2234
|
"required": false,
|
2204
2235
|
"type": "int",
|
2205
2236
|
"value_allowed_null": true
|
2237
|
+
},
|
2238
|
+
{
|
2239
|
+
"disabled": false,
|
2240
|
+
"document": "计划开始时间\n注意:此字段可能返回 null,表示取不到有效值。",
|
2241
|
+
"example": "无",
|
2242
|
+
"member": "string",
|
2243
|
+
"name": "TaskPlanStartTime",
|
2244
|
+
"output_required": false,
|
2245
|
+
"required": false,
|
2246
|
+
"type": "string",
|
2247
|
+
"value_allowed_null": true
|
2248
|
+
},
|
2249
|
+
{
|
2250
|
+
"disabled": false,
|
2251
|
+
"document": "计划结束时间\n注意:此字段可能返回 null,表示取不到有效值。",
|
2252
|
+
"example": "无",
|
2253
|
+
"member": "string",
|
2254
|
+
"name": "TaskPlanEndTime",
|
2255
|
+
"output_required": false,
|
2256
|
+
"required": false,
|
2257
|
+
"type": "string",
|
2258
|
+
"value_allowed_null": true
|
2259
|
+
},
|
2260
|
+
{
|
2261
|
+
"disabled": false,
|
2262
|
+
"document": "人员组织\n注意:此字段可能返回 null,表示取不到有效值。",
|
2263
|
+
"example": "无",
|
2264
|
+
"member": "TaskOrg",
|
2265
|
+
"name": "TaskOrg",
|
2266
|
+
"output_required": false,
|
2267
|
+
"required": false,
|
2268
|
+
"type": "list",
|
2269
|
+
"value_allowed_null": true
|
2270
|
+
},
|
2271
|
+
{
|
2272
|
+
"disabled": false,
|
2273
|
+
"document": "问题和改进\n注意:此字段可能返回 null,表示取不到有效值。",
|
2274
|
+
"example": "无",
|
2275
|
+
"member": "string",
|
2276
|
+
"name": "TaskIssue",
|
2277
|
+
"output_required": false,
|
2278
|
+
"required": false,
|
2279
|
+
"type": "string",
|
2280
|
+
"value_allowed_null": true
|
2206
2281
|
}
|
2207
2282
|
],
|
2208
2283
|
"usage": "both"
|
@@ -3099,6 +3174,34 @@
|
|
3099
3174
|
],
|
3100
3175
|
"usage": "both"
|
3101
3176
|
},
|
3177
|
+
"TaskOrg": {
|
3178
|
+
"document": "演练人员组织",
|
3179
|
+
"members": [
|
3180
|
+
{
|
3181
|
+
"disabled": false,
|
3182
|
+
"document": "演练角色\n注意:此字段可能返回 null,表示取不到有效值。",
|
3183
|
+
"example": "执行者",
|
3184
|
+
"member": "string",
|
3185
|
+
"name": "TaskRole",
|
3186
|
+
"output_required": false,
|
3187
|
+
"required": false,
|
3188
|
+
"type": "string",
|
3189
|
+
"value_allowed_null": true
|
3190
|
+
},
|
3191
|
+
{
|
3192
|
+
"disabled": false,
|
3193
|
+
"document": "负责人\n注意:此字段可能返回 null,表示取不到有效值。",
|
3194
|
+
"example": "张三,李四",
|
3195
|
+
"member": "string",
|
3196
|
+
"name": "TaskOperator",
|
3197
|
+
"output_required": false,
|
3198
|
+
"required": false,
|
3199
|
+
"type": "string",
|
3200
|
+
"value_allowed_null": true
|
3201
|
+
}
|
3202
|
+
],
|
3203
|
+
"usage": "both"
|
3204
|
+
},
|
3102
3205
|
"TaskReportInfo": {
|
3103
3206
|
"document": "演练报告状态信息",
|
3104
3207
|
"members": [
|
@@ -3108,7 +3211,7 @@
|
|
3108
3211
|
"example": "0",
|
3109
3212
|
"member": "int64",
|
3110
3213
|
"name": "Stage",
|
3111
|
-
"
|
3214
|
+
"output_required": true,
|
3112
3215
|
"type": "int",
|
3113
3216
|
"value_allowed_null": false
|
3114
3217
|
},
|
@@ -3118,7 +3221,7 @@
|
|
3118
3221
|
"example": "\"2022-12-12 12:12:12\"",
|
3119
3222
|
"member": "string",
|
3120
3223
|
"name": "CreateTime",
|
3121
|
-
"
|
3224
|
+
"output_required": true,
|
3122
3225
|
"type": "string",
|
3123
3226
|
"value_allowed_null": false
|
3124
3227
|
},
|
@@ -3128,7 +3231,7 @@
|
|
3128
3231
|
"example": "\"2022-12-12 12:12:12\"",
|
3129
3232
|
"member": "string",
|
3130
3233
|
"name": "ExpirationTime",
|
3131
|
-
"
|
3234
|
+
"output_required": true,
|
3132
3235
|
"type": "string",
|
3133
3236
|
"value_allowed_null": false
|
3134
3237
|
},
|
@@ -3138,7 +3241,7 @@
|
|
3138
3241
|
"example": "true",
|
3139
3242
|
"member": "bool",
|
3140
3243
|
"name": "Expired",
|
3141
|
-
"
|
3244
|
+
"output_required": true,
|
3142
3245
|
"type": "bool",
|
3143
3246
|
"value_allowed_null": false
|
3144
3247
|
},
|
@@ -3148,7 +3251,7 @@
|
|
3148
3251
|
"example": "\"http://xxxx\"",
|
3149
3252
|
"member": "string",
|
3150
3253
|
"name": "CosUrl",
|
3151
|
-
"
|
3254
|
+
"output_required": true,
|
3152
3255
|
"type": "string",
|
3153
3256
|
"value_allowed_null": true
|
3154
3257
|
},
|
@@ -3158,9 +3261,29 @@
|
|
3158
3261
|
"example": "0",
|
3159
3262
|
"member": "string",
|
3160
3263
|
"name": "Log",
|
3161
|
-
"
|
3264
|
+
"output_required": true,
|
3162
3265
|
"type": "string",
|
3163
3266
|
"value_allowed_null": true
|
3267
|
+
},
|
3268
|
+
{
|
3269
|
+
"disabled": false,
|
3270
|
+
"document": "0--未开始,1--正在归档,2--归档成功,3--归档失败",
|
3271
|
+
"example": "无",
|
3272
|
+
"member": "int64",
|
3273
|
+
"name": "ArchiveStage",
|
3274
|
+
"output_required": false,
|
3275
|
+
"type": "int",
|
3276
|
+
"value_allowed_null": false
|
3277
|
+
},
|
3278
|
+
{
|
3279
|
+
"disabled": false,
|
3280
|
+
"document": "归档时间",
|
3281
|
+
"example": "\"2022-12-12 12:12:12\"",
|
3282
|
+
"member": "string",
|
3283
|
+
"name": "ArchiveTime",
|
3284
|
+
"output_required": false,
|
3285
|
+
"type": "string",
|
3286
|
+
"value_allowed_null": false
|
3164
3287
|
}
|
3165
3288
|
],
|
3166
3289
|
"usage": "out"
|
tccli/services/cfw/cfw_client.py
CHANGED
@@ -1057,6 +1057,58 @@ def doModifyBlockTop(args, parsed_globals):
|
|
1057
1057
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1058
1058
|
|
1059
1059
|
|
1060
|
+
def doDeleteRemoteAccessDomain(args, parsed_globals):
|
1061
|
+
g_param = parse_global_arg(parsed_globals)
|
1062
|
+
|
1063
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
1064
|
+
cred = credential.CVMRoleCredential()
|
1065
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
1066
|
+
cred = credential.STSAssumeRoleCredential(
|
1067
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
1068
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
1069
|
+
)
|
1070
|
+
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):
|
1071
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
1072
|
+
else:
|
1073
|
+
cred = credential.Credential(
|
1074
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
1075
|
+
)
|
1076
|
+
http_profile = HttpProfile(
|
1077
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
1078
|
+
reqMethod="POST",
|
1079
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
1080
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
1081
|
+
)
|
1082
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
1083
|
+
if g_param[OptionsDefine.Language]:
|
1084
|
+
profile.language = g_param[OptionsDefine.Language]
|
1085
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
1086
|
+
client = mod.CfwClient(cred, g_param[OptionsDefine.Region], profile)
|
1087
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
1088
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1089
|
+
model = models.DeleteRemoteAccessDomainRequest()
|
1090
|
+
model.from_json_string(json.dumps(args))
|
1091
|
+
start_time = time.time()
|
1092
|
+
while True:
|
1093
|
+
rsp = client.DeleteRemoteAccessDomain(model)
|
1094
|
+
result = rsp.to_json_string()
|
1095
|
+
try:
|
1096
|
+
json_obj = json.loads(result)
|
1097
|
+
except TypeError as e:
|
1098
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
1099
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
1100
|
+
break
|
1101
|
+
cur_time = time.time()
|
1102
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
1103
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
1104
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
1105
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
1106
|
+
else:
|
1107
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
1108
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
1109
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1110
|
+
|
1111
|
+
|
1060
1112
|
def doRemoveAclRule(args, parsed_globals):
|
1061
1113
|
g_param = parse_global_arg(parsed_globals)
|
1062
1114
|
|
@@ -5976,6 +6028,7 @@ ACTION_MAP = {
|
|
5976
6028
|
"DescribeUnHandleEventTabList": doDescribeUnHandleEventTabList,
|
5977
6029
|
"CreateNatFwInstance": doCreateNatFwInstance,
|
5978
6030
|
"ModifyBlockTop": doModifyBlockTop,
|
6031
|
+
"DeleteRemoteAccessDomain": doDeleteRemoteAccessDomain,
|
5979
6032
|
"RemoveAclRule": doRemoveAclRule,
|
5980
6033
|
"DeleteNatFwInstance": doDeleteNatFwInstance,
|
5981
6034
|
"CreateBlockIgnoreRuleList": doCreateBlockIgnoreRuleList,
|
@@ -182,6 +182,13 @@
|
|
182
182
|
"output": "DeleteNatFwInstanceResponse",
|
183
183
|
"status": "online"
|
184
184
|
},
|
185
|
+
"DeleteRemoteAccessDomain": {
|
186
|
+
"document": "删除远程运维域名",
|
187
|
+
"input": "DeleteRemoteAccessDomainRequest",
|
188
|
+
"name": "删除远程运维域名",
|
189
|
+
"output": "DeleteRemoteAccessDomainResponse",
|
190
|
+
"status": "online"
|
191
|
+
},
|
185
192
|
"DeleteResourceGroup": {
|
186
193
|
"document": "DeleteResourceGroup-资产中心资产组删除",
|
187
194
|
"input": "DeleteResourceGroupRequest",
|
@@ -3870,6 +3877,43 @@
|
|
3870
3877
|
],
|
3871
3878
|
"type": "object"
|
3872
3879
|
},
|
3880
|
+
"DeleteRemoteAccessDomainRequest": {
|
3881
|
+
"document": "DeleteRemoteAccessDomain请求参数结构体",
|
3882
|
+
"members": [
|
3883
|
+
{
|
3884
|
+
"disabled": false,
|
3885
|
+
"document": "域名列表",
|
3886
|
+
"example": "无",
|
3887
|
+
"member": "string",
|
3888
|
+
"name": "AccessDomainList",
|
3889
|
+
"required": true,
|
3890
|
+
"type": "list"
|
3891
|
+
}
|
3892
|
+
],
|
3893
|
+
"type": "object"
|
3894
|
+
},
|
3895
|
+
"DeleteRemoteAccessDomainResponse": {
|
3896
|
+
"document": "DeleteRemoteAccessDomain返回参数结构体",
|
3897
|
+
"members": [
|
3898
|
+
{
|
3899
|
+
"disabled": false,
|
3900
|
+
"document": "状态值 0:删除成功,非 0:删除失败",
|
3901
|
+
"example": "1",
|
3902
|
+
"member": "int64",
|
3903
|
+
"name": "Status",
|
3904
|
+
"required": true,
|
3905
|
+
"type": "int",
|
3906
|
+
"value_allowed_null": false
|
3907
|
+
},
|
3908
|
+
{
|
3909
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
3910
|
+
"member": "string",
|
3911
|
+
"name": "RequestId",
|
3912
|
+
"type": "string"
|
3913
|
+
}
|
3914
|
+
],
|
3915
|
+
"type": "object"
|
3916
|
+
},
|
3873
3917
|
"DeleteResourceGroupRequest": {
|
3874
3918
|
"document": "DeleteResourceGroup请求参数结构体",
|
3875
3919
|
"members": [
|
@@ -226,6 +226,14 @@
|
|
226
226
|
"title": "销毁防火墙实例"
|
227
227
|
}
|
228
228
|
],
|
229
|
+
"DeleteRemoteAccessDomain": [
|
230
|
+
{
|
231
|
+
"document": "",
|
232
|
+
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteRemoteAccessDomain\n<公共请求参数>\n\n{\n \"AccessDomainList\": [\n \"cfw.tencentcs.com\"\n ]\n}",
|
233
|
+
"output": "{\n \"Response\": {\n \"Status\": 0,\n \"RequestId\": \"b21d7f7c-3191-41a2-bd13-9a5f6d86ab44\"\n }\n}",
|
234
|
+
"title": "删除远程运维域名"
|
235
|
+
}
|
236
|
+
],
|
229
237
|
"DeleteResourceGroup": [
|
230
238
|
{
|
231
239
|
"document": "",
|
@@ -211,7 +211,7 @@
|
|
211
211
|
"status": "online"
|
212
212
|
},
|
213
213
|
"DeleteInstancePre": {
|
214
|
-
"document": "
|
214
|
+
"document": "删除预付费实例,该接口会对实例执行隔离并删除的动作,执行成功后实例会被直接删除销毁",
|
215
215
|
"input": "DeleteInstancePreRequest",
|
216
216
|
"name": "删除预付费实例",
|
217
217
|
"output": "DeleteInstancePreResponse",
|
@@ -1202,7 +1202,7 @@
|
|
1202
1202
|
"example": "无",
|
1203
1203
|
"member": "JgwOperateResponse",
|
1204
1204
|
"name": "Result",
|
1205
|
-
"
|
1205
|
+
"output_required": true,
|
1206
1206
|
"type": "object",
|
1207
1207
|
"value_allowed_null": false
|
1208
1208
|
},
|
@@ -1248,7 +1248,7 @@
|
|
1248
1248
|
"example": "无",
|
1249
1249
|
"member": "BatchModifyTopicResultDTO",
|
1250
1250
|
"name": "Result",
|
1251
|
-
"
|
1251
|
+
"output_required": true,
|
1252
1252
|
"type": "list",
|
1253
1253
|
"value_allowed_null": false
|
1254
1254
|
},
|
@@ -1540,7 +1540,7 @@
|
|
1540
1540
|
"example": "0",
|
1541
1541
|
"member": "int64",
|
1542
1542
|
"name": "Result",
|
1543
|
-
"
|
1543
|
+
"output_required": true,
|
1544
1544
|
"type": "int",
|
1545
1545
|
"value_allowed_null": true
|
1546
1546
|
},
|
@@ -3596,6 +3596,15 @@
|
|
3596
3596
|
"name": "PublicNetworkMonthly",
|
3597
3597
|
"required": false,
|
3598
3598
|
"type": "int"
|
3599
|
+
},
|
3600
|
+
{
|
3601
|
+
"disabled": false,
|
3602
|
+
"document": "标签",
|
3603
|
+
"example": "{tagKey:'kkk',tagValue:'vvv'}",
|
3604
|
+
"member": "Tag",
|
3605
|
+
"name": "Tags",
|
3606
|
+
"required": false,
|
3607
|
+
"type": "list"
|
3599
3608
|
}
|
3600
3609
|
],
|
3601
3610
|
"type": "object"
|
@@ -4090,7 +4099,7 @@
|
|
4090
4099
|
},
|
4091
4100
|
{
|
4092
4101
|
"disabled": false,
|
4093
|
-
"document": "实例类型。\"standard\":标准版,\"profession\"
|
4102
|
+
"document": "实例类型。\"standard\":标准版,\"profession\":专业版。 (标准版仅国际站支持,国内站目前支持专业版)",
|
4094
4103
|
"example": "profession",
|
4095
4104
|
"member": "string",
|
4096
4105
|
"name": "SpecificationsType",
|
@@ -4186,6 +4195,15 @@
|
|
4186
4195
|
"name": "PublicNetworkMonthly",
|
4187
4196
|
"required": false,
|
4188
4197
|
"type": "int"
|
4198
|
+
},
|
4199
|
+
{
|
4200
|
+
"disabled": false,
|
4201
|
+
"document": "标签",
|
4202
|
+
"example": "{tagKey:'kkk',tagValue:'vvv'}",
|
4203
|
+
"member": "Tag",
|
4204
|
+
"name": "Tags",
|
4205
|
+
"required": false,
|
4206
|
+
"type": "list"
|
4189
4207
|
}
|
4190
4208
|
],
|
4191
4209
|
"type": "object"
|
@@ -4428,7 +4446,7 @@
|
|
4428
4446
|
{
|
4429
4447
|
"disabled": false,
|
4430
4448
|
"document": "实例Id",
|
4431
|
-
"example": "",
|
4449
|
+
"example": "ckafka-ehrg3i4w",
|
4432
4450
|
"member": "string",
|
4433
4451
|
"name": "InstanceId",
|
4434
4452
|
"required": true,
|
@@ -4437,7 +4455,7 @@
|
|
4437
4455
|
{
|
4438
4456
|
"disabled": false,
|
4439
4457
|
"document": "主题名称",
|
4440
|
-
"example": "",
|
4458
|
+
"example": "abc",
|
4441
4459
|
"member": "string",
|
4442
4460
|
"name": "TopicName",
|
4443
4461
|
"required": true,
|
@@ -4446,7 +4464,7 @@
|
|
4446
4464
|
{
|
4447
4465
|
"disabled": false,
|
4448
4466
|
"document": "ip白名单列表",
|
4449
|
-
"example": "",
|
4467
|
+
"example": "无",
|
4450
4468
|
"member": "string",
|
4451
4469
|
"name": "IpWhiteList",
|
4452
4470
|
"required": true,
|
@@ -4461,9 +4479,10 @@
|
|
4461
4479
|
{
|
4462
4480
|
"disabled": false,
|
4463
4481
|
"document": "删除主题IP白名单结果",
|
4464
|
-
"example": "",
|
4482
|
+
"example": "无",
|
4465
4483
|
"member": "JgwOperateResponse",
|
4466
4484
|
"name": "Result",
|
4485
|
+
"output_required": true,
|
4467
4486
|
"type": "object",
|
4468
4487
|
"value_allowed_null": false
|
4469
4488
|
},
|
@@ -5753,7 +5772,7 @@
|
|
5753
5772
|
"example": "data",
|
5754
5773
|
"member": "CreateInstancePreResp",
|
5755
5774
|
"name": "Result",
|
5756
|
-
"
|
5775
|
+
"output_required": true,
|
5757
5776
|
"type": "object",
|
5758
5777
|
"value_allowed_null": false
|
5759
5778
|
},
|
@@ -5833,6 +5852,15 @@
|
|
5833
5852
|
"DeleteRouteTriggerTimeRequest": {
|
5834
5853
|
"document": "DeleteRouteTriggerTime请求参数结构体",
|
5835
5854
|
"members": [
|
5855
|
+
{
|
5856
|
+
"disabled": false,
|
5857
|
+
"document": "实例id",
|
5858
|
+
"example": "ckafka-xxx",
|
5859
|
+
"member": "string",
|
5860
|
+
"name": "InstanceId",
|
5861
|
+
"required": true,
|
5862
|
+
"type": "string"
|
5863
|
+
},
|
5836
5864
|
{
|
5837
5865
|
"disabled": false,
|
5838
5866
|
"document": "修改时间",
|
@@ -5863,7 +5891,7 @@
|
|
5863
5891
|
{
|
5864
5892
|
"disabled": false,
|
5865
5893
|
"document": "实例ID",
|
5866
|
-
"example": "",
|
5894
|
+
"example": "ckafka-shf6q3hs",
|
5867
5895
|
"member": "string",
|
5868
5896
|
"name": "InstanceId",
|
5869
5897
|
"required": true,
|
@@ -5872,7 +5900,7 @@
|
|
5872
5900
|
{
|
5873
5901
|
"disabled": false,
|
5874
5902
|
"document": "主题名称",
|
5875
|
-
"example": "",
|
5903
|
+
"example": "test-topic",
|
5876
5904
|
"member": "string",
|
5877
5905
|
"name": "TopicName",
|
5878
5906
|
"required": true,
|
@@ -5881,7 +5909,7 @@
|
|
5881
5909
|
{
|
5882
5910
|
"disabled": false,
|
5883
5911
|
"document": "ip白名单列表",
|
5884
|
-
"example": "",
|
5912
|
+
"example": "无",
|
5885
5913
|
"member": "string",
|
5886
5914
|
"name": "IpWhiteList",
|
5887
5915
|
"required": true,
|
@@ -5896,9 +5924,10 @@
|
|
5896
5924
|
{
|
5897
5925
|
"disabled": false,
|
5898
5926
|
"document": "删除主题IP白名单结果",
|
5899
|
-
"example": "",
|
5927
|
+
"example": "无",
|
5900
5928
|
"member": "JgwOperateResponse",
|
5901
5929
|
"name": "Result",
|
5930
|
+
"output_required": true,
|
5902
5931
|
"type": "object",
|
5903
5932
|
"value_allowed_null": false
|
5904
5933
|
},
|
@@ -8023,7 +8052,7 @@
|
|
8023
8052
|
"example": "data",
|
8024
8053
|
"member": "PrometheusDTO",
|
8025
8054
|
"name": "Result",
|
8026
|
-
"
|
8055
|
+
"output_required": true,
|
8027
8056
|
"type": "list",
|
8028
8057
|
"value_allowed_null": false
|
8029
8058
|
},
|
@@ -13351,7 +13380,7 @@
|
|
13351
13380
|
"example": "无",
|
13352
13381
|
"member": "CreateInstancePreResp",
|
13353
13382
|
"name": "Result",
|
13354
|
-
"
|
13383
|
+
"output_required": true,
|
13355
13384
|
"type": "object",
|
13356
13385
|
"value_allowed_null": false
|
13357
13386
|
},
|
@@ -15647,6 +15676,7 @@
|
|
15647
15676
|
"example": "无",
|
15648
15677
|
"member": "RenewCkafkaInstanceResp",
|
15649
15678
|
"name": "Result",
|
15679
|
+
"output_required": true,
|
15650
15680
|
"type": "object",
|
15651
15681
|
"value_allowed_null": false
|
15652
15682
|
},
|
@@ -19,15 +19,15 @@
|
|
19
19
|
"BatchModifyGroupOffsets": [
|
20
20
|
{
|
21
21
|
"document": "批量设置Groups 消费分组offset",
|
22
|
-
"input": "POST / HTTP/1.1\nHost: ckafka.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: BatchModifyGroupOffsets\n<公共请求参数>\n\n{\n \"
|
23
|
-
"output": "{\n \"Response\": {\n \"Result\": {\n \"ReturnCode\": \"
|
22
|
+
"input": "POST / HTTP/1.1\nHost: ckafka.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: BatchModifyGroupOffsets\n<公共请求参数>\n\n{\n \"GroupName\": \"abc\",\n \"TopicName\": [\n \"abc\"\n ],\n \"InstanceId\": \"abc\",\n \"Partitions\": [\n {\n \"Partition\": 0,\n \"Offset\": 0\n }\n ]\n}",
|
23
|
+
"output": "{\n \"Response\": {\n \"Result\": {\n \"ReturnCode\": \"abc\",\n \"ReturnMessage\": \"abc\",\n \"Data\": {\n \"FlowId\": 0,\n \"RouteDTO\": {\n \"RouteId\": 0\n }\n }\n },\n \"RequestId\": \"abc\"\n }\n}",
|
24
24
|
"title": "批量设置Groups 消费分组offset"
|
25
25
|
}
|
26
26
|
],
|
27
27
|
"BatchModifyTopicAttributes": [
|
28
28
|
{
|
29
29
|
"document": "批量设置主题属性",
|
30
|
-
"input": "POST / HTTP/1.1\nHost: ckafka.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: BatchModifyTopicAttributes\n<公共请求参数>\n\n{\n \"InstanceId\": \"
|
30
|
+
"input": "POST / HTTP/1.1\nHost: ckafka.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: BatchModifyTopicAttributes\n<公共请求参数>\n\n{\n \"InstanceId\": \"abc\",\n \"Topic\": [\n {\n \"TopicName\": \"abc\",\n \"PartitionNum\": 0,\n \"Note\": \"abc\",\n \"ReplicaNum\": 0,\n \"CleanUpPolicy\": \"abc\",\n \"MinInsyncReplicas\": 0,\n \"UncleanLeaderElectionEnable\": true,\n \"RetentionMs\": 0,\n \"RetentionBytes\": 0,\n \"SegmentMs\": 0,\n \"MaxMessageBytes\": 0\n }\n ]\n}",
|
31
31
|
"output": "{\n \"Response\": {\n \"Result\": [\n {\n \"InstanceId\": \"ckafka-jam3ao99\",\n \"TopicName\": \"test\",\n \"ReturnCode\": \"20018\",\n \"Message\": \"get topic information fail\"\n },\n {\n \"InstanceId\": \"ckafka-jam3ao99\",\n \"TopicName\": \"test1\",\n \"ReturnCode\": \"20018\",\n \"Message\": \"get topic information fail\"\n }\n ],\n \"RequestId\": \"xxxxxxxx0001\"\n }\n}",
|
32
32
|
"title": "批量设置主题属性"
|
33
33
|
}
|
@@ -213,7 +213,7 @@
|
|
213
213
|
"CreateTopicIpWhiteList": [
|
214
214
|
{
|
215
215
|
"document": "",
|
216
|
-
"input": "
|
216
|
+
"input": "POST / HTTP/1.1\nHost: ckafka.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateTopicIpWhiteList\n<公共请求参数>\n\n{\n \"InstanceId\": \"abc\",\n \"TopicName\": \"abc\",\n \"IpWhiteList\": [\n \"abc\"\n ]\n}",
|
217
217
|
"output": "{\n \"Response\": {\n \"Result\": {\n \"ReturnCode\": \"0\",\n \"ReturnMessage\": \"ok[apply success]\"\n },\n \"RequestId\": \"7a6f7927-a435-4e55-8687-f24a8838f744\"\n }\n}",
|
218
218
|
"title": "创建主题IP白名单"
|
219
219
|
}
|
@@ -286,7 +286,7 @@
|
|
286
286
|
{
|
287
287
|
"document": "删除实例(预付费包年包月)",
|
288
288
|
"input": "https://ckafka.tencentcloudapi.com/?Action=DeleteInstancePre\n&InstanceId=ckafka-xxxx\n&<公共请求参数>",
|
289
|
-
"output": "{\n \"Response\": {\n \"Result\": {\n \"DeleteRouteTimestamp\":
|
289
|
+
"output": "{\n \"Response\": {\n \"Result\": {\n \"DeleteRouteTimestamp\": null,\n \"ReturnCode\": \"0\",\n \"ReturnMessage\": \"ok\",\n \"Data\": {\n \"FlowId\": 0,\n \"DealNames\": [\n \"20240624186060707999999\"\n ],\n \"InstanceId\": \"ckafka-7777xxxx\",\n \"DealNameInstanceIdMapping\": null\n }\n },\n \"RequestId\": \"0b56102f-b4a4-4225-8ae5-60aea1234567\"\n }\n}",
|
290
290
|
"title": "删除实例(预付费包年包月)"
|
291
291
|
}
|
292
292
|
],
|
@@ -317,7 +317,7 @@
|
|
317
317
|
"DeleteTopicIpWhiteList": [
|
318
318
|
{
|
319
319
|
"document": "",
|
320
|
-
"input": "
|
320
|
+
"input": "POST / HTTP/1.1\nHost: xxx.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteTopicIpWhiteList\n<公共请求参数>\n\n{\n \"InstanceId\": \"abc\",\n \"TopicName\": \"abc\",\n \"IpWhiteList\": [\n \"abc\"\n ]\n}",
|
321
321
|
"output": "{\n \"Response\": {\n \"Result\": {\n \"ReturnCode\": \"0\",\n \"ReturnMessage\": \"ok[apply success]\"\n },\n \"RequestId\": \"b800c966-083a-40f5-8d54-44f40c6b364f\"\n }\n}",
|
322
322
|
"title": "删除主题IP白名单"
|
323
323
|
}
|
@@ -478,7 +478,7 @@
|
|
478
478
|
{
|
479
479
|
"document": "",
|
480
480
|
"input": "POST / HTTP/1.1\nHost: ckafka.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribePrometheus\n<公共请求参数>\n\n{\n \"InstanceId\": \"ckafka-xxx\"\n}",
|
481
|
-
"output": "{\n \"Response\": {\n \"Result\": [\n {\n \"Type\": \"
|
481
|
+
"output": "{\n \"Response\": {\n \"Result\": [\n {\n \"Type\": \"abc\",\n \"SourceIp\": \"abc\",\n \"SourcePort\": 0,\n \"BrokerIp\": \"abc\",\n \"VpcId\": \"abc\",\n \"SubnetId\": \"abc\"\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
|
482
482
|
"title": "获取实例Prometheus信息"
|
483
483
|
}
|
484
484
|
],
|
@@ -670,7 +670,7 @@
|
|
670
670
|
{
|
671
671
|
"document": "",
|
672
672
|
"input": "POST / HTTP/1.1\nHost: ckafka.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyInstancePre\n<公共请求参数>\n\n{\n \"InstanceId\": \"ckafka-xxxx\",\n \"BandWidth\": \"40\",\n \"DiskSize\": \"600\"\n}",
|
673
|
-
"output": "{\n \"Response\": {\n \"Result\": {\n \"
|
673
|
+
"output": "{\n \"Response\": {\n \"Result\": {\n \"ReturnCode\": \"abc\",\n \"ReturnMessage\": \"abc\",\n \"Data\": {\n \"FlowId\": 0,\n \"DealNames\": [\n \"abc\"\n ],\n \"InstanceId\": \"abc\",\n \"DealNameInstanceIdMapping\": [\n {\n \"DealName\": \"abc\",\n \"InstanceIdList\": [\n \"abc\"\n ]\n }\n ]\n },\n \"DeleteRouteTimestamp\": \"abc\"\n },\n \"RequestId\": \"abc\"\n }\n}",
|
674
674
|
"title": "修改实例(预付费包年包月)"
|
675
675
|
}
|
676
676
|
],
|