tccli 3.0.1405.1__py2.py3-none-any.whl → 3.0.1407.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/autoscaling/v20180419/api.json +1 -1
- tccli/services/batch/v20170312/api.json +1 -1
- tccli/services/cdb/v20170320/api.json +31 -21
- tccli/services/cdn/v20180606/api.json +1 -1
- tccli/services/cloudhsm/v20191112/api.json +10 -10
- tccli/services/cls/v20201016/api.json +40 -31
- tccli/services/cls/v20201016/examples.json +8 -2
- tccli/services/ctem/v20231128/api.json +30 -0
- tccli/services/dbbrain/v20210527/api.json +17 -7
- tccli/services/dbbrain/v20210527/examples.json +1 -1
- tccli/services/dts/v20211206/api.json +16 -6
- tccli/services/emr/v20190103/api.json +9 -0
- tccli/services/es/es_client.py +57 -4
- tccli/services/es/v20250101/api.json +133 -0
- tccli/services/es/v20250101/examples.json +8 -0
- tccli/services/ess/ess_client.py +212 -0
- tccli/services/ess/v20201111/api.json +508 -24
- tccli/services/ess/v20201111/examples.json +41 -3
- tccli/services/essbasic/v20210526/api.json +12 -3
- tccli/services/essbasic/v20210526/examples.json +2 -2
- tccli/services/gwlb/gwlb_client.py +53 -0
- tccli/services/gwlb/v20240906/api.json +80 -0
- tccli/services/gwlb/v20240906/examples.json +8 -0
- tccli/services/hunyuan/v20230901/api.json +2 -2
- tccli/services/ioa/ioa_client.py +220 -8
- tccli/services/ioa/v20220601/api.json +559 -0
- tccli/services/ioa/v20220601/examples.json +38 -0
- tccli/services/iotexplorer/iotexplorer_client.py +220 -8
- tccli/services/iotexplorer/v20190423/api.json +959 -12
- tccli/services/iotexplorer/v20190423/examples.json +68 -0
- tccli/services/lcic/v20220817/api.json +2 -2
- tccli/services/lke/v20231130/api.json +1 -1
- tccli/services/lke/v20231130/examples.json +2 -2
- tccli/services/lkeap/v20240522/api.json +1 -1
- tccli/services/lkeap/v20240522/examples.json +7 -1
- tccli/services/monitor/monitor_client.py +53 -0
- tccli/services/monitor/v20180724/api.json +248 -0
- tccli/services/monitor/v20180724/examples.json +8 -0
- tccli/services/mps/v20190612/api.json +384 -2
- tccli/services/mqtt/v20240516/api.json +10 -0
- tccli/services/mqtt/v20240516/examples.json +3 -9
- tccli/services/nlp/v20190408/api.json +6 -6
- tccli/services/oceanus/oceanus_client.py +110 -4
- tccli/services/oceanus/v20190422/api.json +152 -8
- tccli/services/oceanus/v20190422/examples.json +16 -0
- tccli/services/ocr/v20181119/api.json +10 -0
- tccli/services/privatedns/privatedns_client.py +641 -58
- tccli/services/privatedns/v20201028/api.json +923 -12
- tccli/services/privatedns/v20201028/examples.json +88 -0
- tccli/services/redis/v20180412/api.json +1 -1
- tccli/services/teo/v20220901/api.json +206 -66
- tccli/services/teo/v20220901/examples.json +32 -8
- tccli/services/tione/v20211111/api.json +1 -1
- tccli/services/tke/v20180525/api.json +23 -14
- tccli/services/tke/v20180525/examples.json +1 -1
- tccli/services/trtc/v20190722/api.json +9 -9
- tccli/services/trtc/v20190722/examples.json +1 -1
- tccli/services/tse/v20201207/api.json +30 -1
- tccli/services/vpc/v20170312/api.json +11 -2
- tccli/services/wedata/v20210820/api.json +1281 -601
- tccli/services/wedata/v20210820/examples.json +127 -157
- tccli/services/wedata/v20250806/api.json +480 -18
- tccli/services/wedata/v20250806/examples.json +38 -6
- tccli/services/wedata/wedata_client.py +216 -4
- {tccli-3.0.1405.1.dist-info → tccli-3.0.1407.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1405.1.dist-info → tccli-3.0.1407.1.dist-info}/RECORD +70 -70
- {tccli-3.0.1405.1.dist-info → tccli-3.0.1407.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1405.1.dist-info → tccli-3.0.1407.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1405.1.dist-info → tccli-3.0.1407.1.dist-info}/license_files/LICENSE +0 -0
|
@@ -1057,6 +1057,58 @@ def doDeleteWorkSpace(args, parsed_globals):
|
|
|
1057
1057
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
|
1058
1058
|
|
|
1059
1059
|
|
|
1060
|
+
def doCheckConnectorName(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.OceanusClient(cred, g_param[OptionsDefine.Region], profile)
|
|
1087
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
|
1088
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
|
1089
|
+
model = models.CheckConnectorNameRequest()
|
|
1090
|
+
model.from_json_string(json.dumps(args))
|
|
1091
|
+
start_time = time.time()
|
|
1092
|
+
while True:
|
|
1093
|
+
rsp = client.CheckConnectorName(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 doDeleteFolders(args, parsed_globals):
|
|
1061
1113
|
g_param = parse_global_arg(parsed_globals)
|
|
1062
1114
|
|
|
@@ -1317,7 +1369,7 @@ def doRunJobs(args, parsed_globals):
|
|
|
1317
1369
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
|
1318
1370
|
|
|
1319
1371
|
|
|
1320
|
-
def
|
|
1372
|
+
def doCreateVariable(args, parsed_globals):
|
|
1321
1373
|
g_param = parse_global_arg(parsed_globals)
|
|
1322
1374
|
|
|
1323
1375
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
|
@@ -1346,11 +1398,11 @@ def doCheckConnectorName(args, parsed_globals):
|
|
|
1346
1398
|
client = mod.OceanusClient(cred, g_param[OptionsDefine.Region], profile)
|
|
1347
1399
|
client._sdkVersion += ("_CLI_" + __version__)
|
|
1348
1400
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
|
1349
|
-
model = models.
|
|
1401
|
+
model = models.CreateVariableRequest()
|
|
1350
1402
|
model.from_json_string(json.dumps(args))
|
|
1351
1403
|
start_time = time.time()
|
|
1352
1404
|
while True:
|
|
1353
|
-
rsp = client.
|
|
1405
|
+
rsp = client.CreateVariable(model)
|
|
1354
1406
|
result = rsp.to_json_string()
|
|
1355
1407
|
try:
|
|
1356
1408
|
json_obj = json.loads(result)
|
|
@@ -1889,6 +1941,58 @@ def doDescribeTreeJobs(args, parsed_globals):
|
|
|
1889
1941
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
|
1890
1942
|
|
|
1891
1943
|
|
|
1944
|
+
def doDescribeVariables(args, parsed_globals):
|
|
1945
|
+
g_param = parse_global_arg(parsed_globals)
|
|
1946
|
+
|
|
1947
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
|
1948
|
+
cred = credential.CVMRoleCredential()
|
|
1949
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
|
1950
|
+
cred = credential.STSAssumeRoleCredential(
|
|
1951
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
|
1952
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
|
1953
|
+
)
|
|
1954
|
+
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):
|
|
1955
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
|
1956
|
+
else:
|
|
1957
|
+
cred = credential.Credential(
|
|
1958
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
|
1959
|
+
)
|
|
1960
|
+
http_profile = HttpProfile(
|
|
1961
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
|
1962
|
+
reqMethod="POST",
|
|
1963
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
|
1964
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
|
1965
|
+
)
|
|
1966
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
|
1967
|
+
if g_param[OptionsDefine.Language]:
|
|
1968
|
+
profile.language = g_param[OptionsDefine.Language]
|
|
1969
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
|
1970
|
+
client = mod.OceanusClient(cred, g_param[OptionsDefine.Region], profile)
|
|
1971
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
|
1972
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
|
1973
|
+
model = models.DescribeVariablesRequest()
|
|
1974
|
+
model.from_json_string(json.dumps(args))
|
|
1975
|
+
start_time = time.time()
|
|
1976
|
+
while True:
|
|
1977
|
+
rsp = client.DescribeVariables(model)
|
|
1978
|
+
result = rsp.to_json_string()
|
|
1979
|
+
try:
|
|
1980
|
+
json_obj = json.loads(result)
|
|
1981
|
+
except TypeError as e:
|
|
1982
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
|
1983
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
|
1984
|
+
break
|
|
1985
|
+
cur_time = time.time()
|
|
1986
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
|
1987
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
|
1988
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
|
1989
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
|
1990
|
+
else:
|
|
1991
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
|
1992
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
|
1993
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
|
1994
|
+
|
|
1995
|
+
|
|
1892
1996
|
def doDescribeJobs(args, parsed_globals):
|
|
1893
1997
|
g_param = parse_global_arg(parsed_globals)
|
|
1894
1998
|
|
|
@@ -2284,12 +2388,13 @@ ACTION_MAP = {
|
|
|
2284
2388
|
"ParseConnector": doParseConnector,
|
|
2285
2389
|
"DescribeJobEvents": doDescribeJobEvents,
|
|
2286
2390
|
"DeleteWorkSpace": doDeleteWorkSpace,
|
|
2391
|
+
"CheckConnectorName": doCheckConnectorName,
|
|
2287
2392
|
"DeleteFolders": doDeleteFolders,
|
|
2288
2393
|
"DeleteJobs": doDeleteJobs,
|
|
2289
2394
|
"DeleteTableConfig": doDeleteTableConfig,
|
|
2290
2395
|
"TriggerJobSavepoint": doTriggerJobSavepoint,
|
|
2291
2396
|
"RunJobs": doRunJobs,
|
|
2292
|
-
"
|
|
2397
|
+
"CreateVariable": doCreateVariable,
|
|
2293
2398
|
"DescribeWorkSpaces": doDescribeWorkSpaces,
|
|
2294
2399
|
"CreateFolder": doCreateFolder,
|
|
2295
2400
|
"CheckSavepoint": doCheckSavepoint,
|
|
@@ -2300,6 +2405,7 @@ ACTION_MAP = {
|
|
|
2300
2405
|
"DescribeResourceRelatedJobs": doDescribeResourceRelatedJobs,
|
|
2301
2406
|
"ModifyWorkSpace": doModifyWorkSpace,
|
|
2302
2407
|
"DescribeTreeJobs": doDescribeTreeJobs,
|
|
2408
|
+
"DescribeVariables": doDescribeVariables,
|
|
2303
2409
|
"DescribeJobs": doDescribeJobs,
|
|
2304
2410
|
"ModifyJob": doModifyJob,
|
|
2305
2411
|
"ModifyConnector": doModifyConnector,
|
|
@@ -63,6 +63,13 @@
|
|
|
63
63
|
"output": "CreateResourceConfigResponse",
|
|
64
64
|
"status": "online"
|
|
65
65
|
},
|
|
66
|
+
"CreateVariable": {
|
|
67
|
+
"document": "创建变量 ",
|
|
68
|
+
"input": "CreateVariableRequest",
|
|
69
|
+
"name": "创建变量",
|
|
70
|
+
"output": "CreateVariableResponse",
|
|
71
|
+
"status": "online"
|
|
72
|
+
},
|
|
66
73
|
"CreateWorkSpace": {
|
|
67
74
|
"document": "创建工作空间",
|
|
68
75
|
"input": "CreateWorkSpaceRequest",
|
|
@@ -217,6 +224,13 @@
|
|
|
217
224
|
"output": "DescribeTreeResourcesResponse",
|
|
218
225
|
"status": "online"
|
|
219
226
|
},
|
|
227
|
+
"DescribeVariables": {
|
|
228
|
+
"document": "变量列表展示",
|
|
229
|
+
"input": "DescribeVariablesRequest",
|
|
230
|
+
"name": "变量描述",
|
|
231
|
+
"output": "DescribeVariablesResponse",
|
|
232
|
+
"status": "online"
|
|
233
|
+
},
|
|
220
234
|
"DescribeWorkSpaces": {
|
|
221
235
|
"document": "授权工作空间列表",
|
|
222
236
|
"input": "DescribeWorkSpacesRequest",
|
|
@@ -2639,6 +2653,79 @@
|
|
|
2639
2653
|
],
|
|
2640
2654
|
"type": "object"
|
|
2641
2655
|
},
|
|
2656
|
+
"CreateVariableRequest": {
|
|
2657
|
+
"document": "CreateVariable请求参数结构体",
|
|
2658
|
+
"members": [
|
|
2659
|
+
{
|
|
2660
|
+
"disabled": false,
|
|
2661
|
+
"document": "变量名",
|
|
2662
|
+
"example": "Key",
|
|
2663
|
+
"member": "string",
|
|
2664
|
+
"name": "Name",
|
|
2665
|
+
"required": true,
|
|
2666
|
+
"type": "string"
|
|
2667
|
+
},
|
|
2668
|
+
{
|
|
2669
|
+
"disabled": false,
|
|
2670
|
+
"document": "变量值",
|
|
2671
|
+
"example": "Value",
|
|
2672
|
+
"member": "string",
|
|
2673
|
+
"name": "Value",
|
|
2674
|
+
"required": true,
|
|
2675
|
+
"type": "string"
|
|
2676
|
+
},
|
|
2677
|
+
{
|
|
2678
|
+
"disabled": false,
|
|
2679
|
+
"document": "变量类型 1:显式 2:隐藏",
|
|
2680
|
+
"example": "2",
|
|
2681
|
+
"member": "int64",
|
|
2682
|
+
"name": "Type",
|
|
2683
|
+
"required": true,
|
|
2684
|
+
"type": "int"
|
|
2685
|
+
},
|
|
2686
|
+
{
|
|
2687
|
+
"disabled": false,
|
|
2688
|
+
"document": "描述信息",
|
|
2689
|
+
"example": "无",
|
|
2690
|
+
"member": "string",
|
|
2691
|
+
"name": "Remark",
|
|
2692
|
+
"required": false,
|
|
2693
|
+
"type": "string"
|
|
2694
|
+
},
|
|
2695
|
+
{
|
|
2696
|
+
"disabled": false,
|
|
2697
|
+
"document": "工作空间 SerialId",
|
|
2698
|
+
"example": "space-1327",
|
|
2699
|
+
"member": "string",
|
|
2700
|
+
"name": "WorkSpaceId",
|
|
2701
|
+
"required": false,
|
|
2702
|
+
"type": "string"
|
|
2703
|
+
}
|
|
2704
|
+
],
|
|
2705
|
+
"type": "object"
|
|
2706
|
+
},
|
|
2707
|
+
"CreateVariableResponse": {
|
|
2708
|
+
"document": "CreateVariable返回参数结构体",
|
|
2709
|
+
"members": [
|
|
2710
|
+
{
|
|
2711
|
+
"disabled": false,
|
|
2712
|
+
"document": "变量Id",
|
|
2713
|
+
"example": "无",
|
|
2714
|
+
"member": "string",
|
|
2715
|
+
"name": "VariableId",
|
|
2716
|
+
"required": true,
|
|
2717
|
+
"type": "string",
|
|
2718
|
+
"value_allowed_null": false
|
|
2719
|
+
},
|
|
2720
|
+
{
|
|
2721
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
|
2722
|
+
"member": "string",
|
|
2723
|
+
"name": "RequestId",
|
|
2724
|
+
"type": "string"
|
|
2725
|
+
}
|
|
2726
|
+
],
|
|
2727
|
+
"type": "object"
|
|
2728
|
+
},
|
|
2642
2729
|
"CreateWorkSpaceRequest": {
|
|
2643
2730
|
"document": "CreateWorkSpace请求参数结构体",
|
|
2644
2731
|
"members": [
|
|
@@ -4549,6 +4636,33 @@
|
|
|
4549
4636
|
],
|
|
4550
4637
|
"usage": "out"
|
|
4551
4638
|
},
|
|
4639
|
+
"DescribeVariablesRequest": {
|
|
4640
|
+
"document": "DescribeVariables请求参数结构体",
|
|
4641
|
+
"members": [
|
|
4642
|
+
{
|
|
4643
|
+
"disabled": false,
|
|
4644
|
+
"document": "工作空间 SerialId",
|
|
4645
|
+
"example": "space-1327",
|
|
4646
|
+
"member": "string",
|
|
4647
|
+
"name": "WorkSpaceId",
|
|
4648
|
+
"required": false,
|
|
4649
|
+
"type": "string"
|
|
4650
|
+
}
|
|
4651
|
+
],
|
|
4652
|
+
"type": "object"
|
|
4653
|
+
},
|
|
4654
|
+
"DescribeVariablesResponse": {
|
|
4655
|
+
"document": "DescribeVariables返回参数结构体",
|
|
4656
|
+
"members": [
|
|
4657
|
+
{
|
|
4658
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
|
4659
|
+
"member": "string",
|
|
4660
|
+
"name": "RequestId",
|
|
4661
|
+
"type": "string"
|
|
4662
|
+
}
|
|
4663
|
+
],
|
|
4664
|
+
"type": "object"
|
|
4665
|
+
},
|
|
4552
4666
|
"DescribeWorkSpacesRequest": {
|
|
4553
4667
|
"document": "DescribeWorkSpaces请求参数结构体",
|
|
4554
4668
|
"members": [
|
|
@@ -5771,7 +5885,7 @@
|
|
|
5771
5885
|
{
|
|
5772
5886
|
"disabled": false,
|
|
5773
5887
|
"document": "作业名字\n注意:此字段可能返回 null,表示取不到有效值。",
|
|
5774
|
-
"example": "
|
|
5888
|
+
"example": "demo",
|
|
5775
5889
|
"member": "string",
|
|
5776
5890
|
"name": "Name",
|
|
5777
5891
|
"output_required": true,
|
|
@@ -5851,7 +5965,7 @@
|
|
|
5851
5965
|
{
|
|
5852
5966
|
"disabled": false,
|
|
5853
5967
|
"document": "备注信息\n注意:此字段可能返回 null,表示取不到有效值。",
|
|
5854
|
-
"example": "
|
|
5968
|
+
"example": "demo",
|
|
5855
5969
|
"member": "string",
|
|
5856
5970
|
"name": "Remark",
|
|
5857
5971
|
"output_required": true,
|
|
@@ -5871,7 +5985,7 @@
|
|
|
5871
5985
|
{
|
|
5872
5986
|
"disabled": false,
|
|
5873
5987
|
"document": "集群名字\n注意:此字段可能返回 null,表示取不到有效值。",
|
|
5874
|
-
"example": "
|
|
5988
|
+
"example": "demo",
|
|
5875
5989
|
"member": "string",
|
|
5876
5990
|
"name": "ClusterName",
|
|
5877
5991
|
"output_required": true,
|
|
@@ -5880,7 +5994,7 @@
|
|
|
5880
5994
|
},
|
|
5881
5995
|
{
|
|
5882
5996
|
"disabled": false,
|
|
5883
|
-
"document": "
|
|
5997
|
+
"document": "最新配置版本号,包括已经删除的版本\n注意:此字段可能返回 null,表示取不到有效值。",
|
|
5884
5998
|
"example": "2",
|
|
5885
5999
|
"member": "int64",
|
|
5886
6000
|
"name": "LatestJobConfigVersion",
|
|
@@ -5888,6 +6002,16 @@
|
|
|
5888
6002
|
"type": "int",
|
|
5889
6003
|
"value_allowed_null": true
|
|
5890
6004
|
},
|
|
6005
|
+
{
|
|
6006
|
+
"disabled": false,
|
|
6007
|
+
"document": "最新的版本号,不包括已经删除的版本号",
|
|
6008
|
+
"example": "1",
|
|
6009
|
+
"member": "int64",
|
|
6010
|
+
"name": "LatestValidJobConfigVersion",
|
|
6011
|
+
"output_required": false,
|
|
6012
|
+
"type": "int",
|
|
6013
|
+
"value_allowed_null": false
|
|
6014
|
+
},
|
|
5891
6015
|
{
|
|
5892
6016
|
"disabled": false,
|
|
5893
6017
|
"document": "已发布的配置版本\n注意:此字段可能返回 null,表示取不到有效值。",
|
|
@@ -6061,7 +6185,7 @@
|
|
|
6061
6185
|
{
|
|
6062
6186
|
"disabled": false,
|
|
6063
6187
|
"document": "使用CPU数目\n注意:此字段可能返回 null,表示取不到有效值。",
|
|
6064
|
-
"example": "1",
|
|
6188
|
+
"example": "1.0",
|
|
6065
6189
|
"member": "float",
|
|
6066
6190
|
"name": "RunningCpu",
|
|
6067
6191
|
"output_required": false,
|
|
@@ -6071,7 +6195,7 @@
|
|
|
6071
6195
|
{
|
|
6072
6196
|
"disabled": false,
|
|
6073
6197
|
"document": "使用内存数量\n注意:此字段可能返回 null,表示取不到有效值。",
|
|
6074
|
-
"example": "
|
|
6198
|
+
"example": "2.0",
|
|
6075
6199
|
"member": "float",
|
|
6076
6200
|
"name": "RunningMem",
|
|
6077
6201
|
"output_required": false,
|
|
@@ -6107,6 +6231,16 @@
|
|
|
6107
6231
|
"output_required": false,
|
|
6108
6232
|
"type": "int",
|
|
6109
6233
|
"value_allowed_null": false
|
|
6234
|
+
},
|
|
6235
|
+
{
|
|
6236
|
+
"disabled": false,
|
|
6237
|
+
"document": "作业重启次数",
|
|
6238
|
+
"example": "1",
|
|
6239
|
+
"member": "int64",
|
|
6240
|
+
"name": "RestartCount",
|
|
6241
|
+
"output_required": false,
|
|
6242
|
+
"type": "int",
|
|
6243
|
+
"value_allowed_null": false
|
|
6110
6244
|
}
|
|
6111
6245
|
],
|
|
6112
6246
|
"usage": "out"
|
|
@@ -8830,7 +8964,7 @@
|
|
|
8830
8964
|
{
|
|
8831
8965
|
"disabled": false,
|
|
8832
8966
|
"document": "RunningCpu\n注意:此字段可能返回 null,表示取不到有效值。",
|
|
8833
|
-
"example": "0",
|
|
8967
|
+
"example": "1.0",
|
|
8834
8968
|
"member": "float",
|
|
8835
8969
|
"name": "RunningCpu",
|
|
8836
8970
|
"output_required": false,
|
|
@@ -8840,7 +8974,7 @@
|
|
|
8840
8974
|
{
|
|
8841
8975
|
"disabled": false,
|
|
8842
8976
|
"document": "RunningMem\n注意:此字段可能返回 null,表示取不到有效值。",
|
|
8843
|
-
"example": "0",
|
|
8977
|
+
"example": "1.0",
|
|
8844
8978
|
"member": "float",
|
|
8845
8979
|
"name": "RunningMem",
|
|
8846
8980
|
"output_required": false,
|
|
@@ -8856,6 +8990,16 @@
|
|
|
8856
8990
|
"output_required": false,
|
|
8857
8991
|
"type": "string",
|
|
8858
8992
|
"value_allowed_null": true
|
|
8993
|
+
},
|
|
8994
|
+
{
|
|
8995
|
+
"disabled": false,
|
|
8996
|
+
"document": "发布版本配置id",
|
|
8997
|
+
"example": "1",
|
|
8998
|
+
"member": "int64",
|
|
8999
|
+
"name": "PublishedJobConfigId",
|
|
9000
|
+
"output_required": false,
|
|
9001
|
+
"type": "int",
|
|
9002
|
+
"value_allowed_null": false
|
|
8859
9003
|
}
|
|
8860
9004
|
],
|
|
8861
9005
|
"usage": "out"
|
|
@@ -90,6 +90,14 @@
|
|
|
90
90
|
"title": "创建依赖版本"
|
|
91
91
|
}
|
|
92
92
|
],
|
|
93
|
+
"CreateVariable": [
|
|
94
|
+
{
|
|
95
|
+
"document": "",
|
|
96
|
+
"input": "POST / HTTP/1.1\nHost: oceanus.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateVariable\n<公共请求参数>\n\n{\n \"Name\": \"MyPassword\",\n \"Value\": \"abcabc\",\n \"Type\": 2\n}",
|
|
97
|
+
"output": "{\n \"Response\": {\n \"VariableId\": \"var-b035ds\",\n \"RequestId\": \"5f124d6f-b035-4d29-9467-dd62eccdbf23\"\n }\n}",
|
|
98
|
+
"title": "创建变量"
|
|
99
|
+
}
|
|
100
|
+
],
|
|
93
101
|
"CreateWorkSpace": [
|
|
94
102
|
{
|
|
95
103
|
"document": "",
|
|
@@ -284,6 +292,14 @@
|
|
|
284
292
|
"title": "分类中的自定义树状结构并筛选"
|
|
285
293
|
}
|
|
286
294
|
],
|
|
295
|
+
"DescribeVariables": [
|
|
296
|
+
{
|
|
297
|
+
"document": "查询变量列表",
|
|
298
|
+
"input": "POST / HTTP/1.1\nHost: oceanus.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeVariables\n<公共请求参数>\n\n{}",
|
|
299
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"123\"\n }\n}",
|
|
300
|
+
"title": "变量列表展示"
|
|
301
|
+
}
|
|
302
|
+
],
|
|
287
303
|
"DescribeWorkSpaces": [
|
|
288
304
|
{
|
|
289
305
|
"document": "获取用户的空间列表",
|
|
@@ -5298,6 +5298,16 @@
|
|
|
5298
5298
|
"type": "list",
|
|
5299
5299
|
"value_allowed_null": false
|
|
5300
5300
|
},
|
|
5301
|
+
{
|
|
5302
|
+
"disabled": false,
|
|
5303
|
+
"document": "全部印章信息",
|
|
5304
|
+
"example": "无",
|
|
5305
|
+
"member": "SealInfo",
|
|
5306
|
+
"name": "SealInfos",
|
|
5307
|
+
"output_required": false,
|
|
5308
|
+
"type": "list",
|
|
5309
|
+
"value_allowed_null": false
|
|
5310
|
+
},
|
|
5301
5311
|
{
|
|
5302
5312
|
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
|
5303
5313
|
"member": "string",
|