tccli 3.0.1226.1__py2.py3-none-any.whl → 3.0.1228.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/__init__.py +3 -0
- tccli/services/cam/v20190116/api.json +19 -13
- tccli/services/cdb/v20170320/api.json +159 -1
- tccli/services/cdb/v20170320/examples.json +2 -2
- tccli/services/cfs/v20190719/api.json +19 -0
- tccli/services/ckafka/v20190819/api.json +968 -763
- tccli/services/ckafka/v20190819/examples.json +112 -118
- tccli/services/cloudapp/v20220530/api.json +2 -2
- tccli/services/cloudapp/v20220530/examples.json +1 -1
- tccli/services/cynosdb/cynosdb_client.py +110 -4
- tccli/services/cynosdb/v20190107/api.json +125 -0
- tccli/services/cynosdb/v20190107/examples.json +16 -0
- tccli/services/emr/v20190103/api.json +28 -22
- tccli/services/ess/v20201111/api.json +18 -0
- tccli/services/essbasic/v20210526/api.json +10 -1
- tccli/services/faceid/v20180301/api.json +1 -1
- tccli/services/iotexplorer/iotexplorer_client.py +57 -4
- tccli/services/iotexplorer/v20190423/api.json +145 -0
- tccli/services/iotexplorer/v20190423/examples.json +14 -0
- tccli/services/ivld/v20210903/api.json +245 -192
- tccli/services/ivld/v20210903/examples.json +10 -10
- tccli/services/lcic/v20220817/api.json +1 -1
- tccli/services/lke/lke_client.py +394 -23
- tccli/services/lke/v20231130/api.json +756 -23
- tccli/services/lke/v20231130/examples.json +62 -0
- tccli/services/mps/v20190612/api.json +13 -13
- tccli/services/organization/v20181225/api.json +75 -51
- tccli/services/organization/v20181225/examples.json +20 -20
- tccli/services/organization/v20210331/api.json +74 -61
- tccli/services/organization/v20210331/examples.json +14 -14
- tccli/services/privatedns/v20201028/api.json +41 -13
- tccli/services/rce/v20201103/api.json +1 -1
- tccli/services/redis/v20180412/api.json +1 -1
- tccli/services/teo/v20220901/api.json +3 -3
- tccli/services/tke/v20220501/api.json +109 -0
- tccli/services/tmt/v20180321/api.json +2 -2
- tccli/services/tmt/v20180321/examples.json +2 -2
- tccli/services/trocket/v20230308/api.json +79 -79
- tccli/services/trocket/v20230308/examples.json +8 -8
- tccli/services/trtc/v20190722/api.json +84 -0
- tccli/services/vcube/__init__.py +4 -0
- tccli/services/vcube/v20220410/api.json +4168 -0
- tccli/services/vcube/v20220410/examples.json +277 -0
- tccli/services/vcube/vcube_client.py +1956 -0
- tccli/services/vdb/v20230616/api.json +9 -0
- tccli/services/vod/v20180717/api.json +40 -3
- tccli/services/vod/v20180717/examples.json +13 -1
- tccli/services/vpc/v20170312/api.json +163 -11
- tccli/services/vpc/v20170312/examples.json +10 -2
- tccli/services/vpc/vpc_client.py +53 -0
- {tccli-3.0.1226.1.dist-info → tccli-3.0.1228.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1226.1.dist-info → tccli-3.0.1228.1.dist-info}/RECORD +56 -52
- {tccli-3.0.1226.1.dist-info → tccli-3.0.1228.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1226.1.dist-info → tccli-3.0.1228.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1226.1.dist-info → tccli-3.0.1228.1.dist-info}/license_files/LICENSE +0 -0
@@ -40,7 +40,7 @@
|
|
40
40
|
},
|
41
41
|
{
|
42
42
|
"disabled": false,
|
43
|
-
"document": "软件的授权状态。<table><thead><tr><th>枚举值</th><th>说明</th></tr></thead><tbody><tr><td>Issued</td><td>已颁发,等待激活。一般来说,如果软件已经在运行,不会出现该状态。</td></tr><tr><td>Active</td><td>授权在有效期内,这是软件运行期间最常见的状态。</td></tr><tr><td>Expired</td><td>授权已过期。订阅类的软件授权有有效期,如果服务器时间已晚于有效期,则会进入过期状态。</td></tr><tr><td>
|
43
|
+
"document": "软件的授权状态。<table><thead><tr><th>枚举值</th><th>说明</th></tr></thead><tbody><tr><td>Issued</td><td>已颁发,等待激活。一般来说,如果软件已经在运行,不会出现该状态。</td></tr><tr><td>Active</td><td>授权在有效期内,这是软件运行期间最常见的状态。</td></tr><tr><td>Expired</td><td>授权已过期。订阅类的软件授权有有效期,如果服务器时间已晚于有效期,则会进入过期状态。</td></tr><tr><td>Isolated</td><td>授权已隔离。有截止日期的授权,当用户授权到期时,先进入此状态,用户可以去续费,超过7天不续费则授权进入Destroyed状态。</td></tr><tr><td>Destroyed</td><td>授权已失效/销毁。用户如果退货软件,则授权会自动失效。</td></tr></tbody></table>",
|
44
44
|
"example": "Active",
|
45
45
|
"member": "string",
|
46
46
|
"name": "LicenseStatus",
|
@@ -160,7 +160,7 @@
|
|
160
160
|
},
|
161
161
|
{
|
162
162
|
"disabled": false,
|
163
|
-
"document": "
|
163
|
+
"document": "授权过期时间\n注意:此字段可能返回 null,表示取不到有效值。",
|
164
164
|
"example": "2025-06-30T00:00:00+08:00",
|
165
165
|
"member": "datetime_iso",
|
166
166
|
"name": "ExpirationDate",
|
@@ -4,7 +4,7 @@
|
|
4
4
|
{
|
5
5
|
"document": "",
|
6
6
|
"input": "POST / HTTP/1.1\nHost: cloudapp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: VerifyLicense\n<公共请求参数>\n\n{}",
|
7
|
-
"output": "{\n \"Response\": {\n \"License\": {\n \"LicenseId\": \"
|
7
|
+
"output": "{\n \"Response\": {\n \"License\": {\n \"LicenseId\": \"LICENSE_CLOUDAPP_A95275D8\",\n \"LicenseMode\": \"Subscription\",\n \"LicenseStatus\": \"Active\",\n \"ProviderId\": 1,\n \"SoftwarePackageId\": \"pkg-kby01bv4\",\n \"SoftwarePackageVersion\": \"1.0.0\",\n \"AuthorizedUserUin\": \"100008888888\",\n \"AuthorizedCloudappId\": \"cloudapp\",\n \"AuthorizedCloudappRoleId\": \"4000008000060000\",\n \"AuthorizedSpecification\": [\n {\n \"ParamKey\": \"user_scale\",\n \"ParamValue\": \"100\",\n \"ParamKeyName\": \"用户规模\",\n \"ParamValueName\": \"100人\"\n }\n ],\n \"BillingMode\": 1,\n \"LifeSpan\": 1,\n \"IssueDate\": \"2020-09-22T00:00:00+00:00\",\n \"ActivationDate\": \"2020-09-22T00:00:00+00:00\",\n \"ExpirationDate\": \"2020-09-23T00:00:00+00:00\",\n \"LifeSpanUnit\": \"D\"\n },\n \"RequestId\": \"abc\"\n }\n}",
|
8
8
|
"title": "通过运行时roleId查询对应的软件 LICENSE"
|
9
9
|
}
|
10
10
|
]
|
@@ -1421,7 +1421,7 @@ def doDisassociateSecurityGroups(args, parsed_globals):
|
|
1421
1421
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1422
1422
|
|
1423
1423
|
|
1424
|
-
def
|
1424
|
+
def doDescribeClusterTransparentEncryptInfo(args, parsed_globals):
|
1425
1425
|
g_param = parse_global_arg(parsed_globals)
|
1426
1426
|
|
1427
1427
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -1450,11 +1450,11 @@ def doOpenReadOnlyInstanceExclusiveAccess(args, parsed_globals):
|
|
1450
1450
|
client = mod.CynosdbClient(cred, g_param[OptionsDefine.Region], profile)
|
1451
1451
|
client._sdkVersion += ("_CLI_" + __version__)
|
1452
1452
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1453
|
-
model = models.
|
1453
|
+
model = models.DescribeClusterTransparentEncryptInfoRequest()
|
1454
1454
|
model.from_json_string(json.dumps(args))
|
1455
1455
|
start_time = time.time()
|
1456
1456
|
while True:
|
1457
|
-
rsp = client.
|
1457
|
+
rsp = client.DescribeClusterTransparentEncryptInfo(model)
|
1458
1458
|
result = rsp.to_json_string()
|
1459
1459
|
try:
|
1460
1460
|
json_obj = json.loads(result)
|
@@ -3605,6 +3605,58 @@ def doSwitchClusterZone(args, parsed_globals):
|
|
3605
3605
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
3606
3606
|
|
3607
3607
|
|
3608
|
+
def doOpenClusterTransparentEncrypt(args, parsed_globals):
|
3609
|
+
g_param = parse_global_arg(parsed_globals)
|
3610
|
+
|
3611
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
3612
|
+
cred = credential.CVMRoleCredential()
|
3613
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
3614
|
+
cred = credential.STSAssumeRoleCredential(
|
3615
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
3616
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
3617
|
+
)
|
3618
|
+
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):
|
3619
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
3620
|
+
else:
|
3621
|
+
cred = credential.Credential(
|
3622
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
3623
|
+
)
|
3624
|
+
http_profile = HttpProfile(
|
3625
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
3626
|
+
reqMethod="POST",
|
3627
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
3628
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
3629
|
+
)
|
3630
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
3631
|
+
if g_param[OptionsDefine.Language]:
|
3632
|
+
profile.language = g_param[OptionsDefine.Language]
|
3633
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
3634
|
+
client = mod.CynosdbClient(cred, g_param[OptionsDefine.Region], profile)
|
3635
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
3636
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
3637
|
+
model = models.OpenClusterTransparentEncryptRequest()
|
3638
|
+
model.from_json_string(json.dumps(args))
|
3639
|
+
start_time = time.time()
|
3640
|
+
while True:
|
3641
|
+
rsp = client.OpenClusterTransparentEncrypt(model)
|
3642
|
+
result = rsp.to_json_string()
|
3643
|
+
try:
|
3644
|
+
json_obj = json.loads(result)
|
3645
|
+
except TypeError as e:
|
3646
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
3647
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
3648
|
+
break
|
3649
|
+
cur_time = time.time()
|
3650
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
3651
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
3652
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
3653
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
3654
|
+
else:
|
3655
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
3656
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
3657
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
3658
|
+
|
3659
|
+
|
3608
3660
|
def doAddInstances(args, parsed_globals):
|
3609
3661
|
g_param = parse_global_arg(parsed_globals)
|
3610
3662
|
|
@@ -5685,6 +5737,58 @@ def doStopCLSDelivery(args, parsed_globals):
|
|
5685
5737
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
5686
5738
|
|
5687
5739
|
|
5740
|
+
def doOpenReadOnlyInstanceExclusiveAccess(args, parsed_globals):
|
5741
|
+
g_param = parse_global_arg(parsed_globals)
|
5742
|
+
|
5743
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
5744
|
+
cred = credential.CVMRoleCredential()
|
5745
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
5746
|
+
cred = credential.STSAssumeRoleCredential(
|
5747
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
5748
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
5749
|
+
)
|
5750
|
+
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):
|
5751
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
5752
|
+
else:
|
5753
|
+
cred = credential.Credential(
|
5754
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
5755
|
+
)
|
5756
|
+
http_profile = HttpProfile(
|
5757
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
5758
|
+
reqMethod="POST",
|
5759
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
5760
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
5761
|
+
)
|
5762
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
5763
|
+
if g_param[OptionsDefine.Language]:
|
5764
|
+
profile.language = g_param[OptionsDefine.Language]
|
5765
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
5766
|
+
client = mod.CynosdbClient(cred, g_param[OptionsDefine.Region], profile)
|
5767
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
5768
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
5769
|
+
model = models.OpenReadOnlyInstanceExclusiveAccessRequest()
|
5770
|
+
model.from_json_string(json.dumps(args))
|
5771
|
+
start_time = time.time()
|
5772
|
+
while True:
|
5773
|
+
rsp = client.OpenReadOnlyInstanceExclusiveAccess(model)
|
5774
|
+
result = rsp.to_json_string()
|
5775
|
+
try:
|
5776
|
+
json_obj = json.loads(result)
|
5777
|
+
except TypeError as e:
|
5778
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
5779
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
5780
|
+
break
|
5781
|
+
cur_time = time.time()
|
5782
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
5783
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
5784
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
5785
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
5786
|
+
else:
|
5787
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
5788
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
5789
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
5790
|
+
|
5791
|
+
|
5688
5792
|
def doDescribeBackupList(args, parsed_globals):
|
5689
5793
|
g_param = parse_global_arg(parsed_globals)
|
5690
5794
|
|
@@ -7803,7 +7907,7 @@ ACTION_MAP = {
|
|
7803
7907
|
"ActivateInstance": doActivateInstance,
|
7804
7908
|
"DescribeProxyNodes": doDescribeProxyNodes,
|
7805
7909
|
"DisassociateSecurityGroups": doDisassociateSecurityGroups,
|
7806
|
-
"
|
7910
|
+
"DescribeClusterTransparentEncryptInfo": doDescribeClusterTransparentEncryptInfo,
|
7807
7911
|
"ExportInstanceSlowQueries": doExportInstanceSlowQueries,
|
7808
7912
|
"DeleteCLSDelivery": doDeleteCLSDelivery,
|
7809
7913
|
"DescribeChangedParamsAfterUpgrade": doDescribeChangedParamsAfterUpgrade,
|
@@ -7845,6 +7949,7 @@ ACTION_MAP = {
|
|
7845
7949
|
"DescribeAuditLogFiles": doDescribeAuditLogFiles,
|
7846
7950
|
"DeleteClusterDatabase": doDeleteClusterDatabase,
|
7847
7951
|
"SwitchClusterZone": doSwitchClusterZone,
|
7952
|
+
"OpenClusterTransparentEncrypt": doOpenClusterTransparentEncrypt,
|
7848
7953
|
"AddInstances": doAddInstances,
|
7849
7954
|
"ModifyInstanceUpgradeLimitDays": doModifyInstanceUpgradeLimitDays,
|
7850
7955
|
"DeleteAccounts": doDeleteAccounts,
|
@@ -7885,6 +7990,7 @@ ACTION_MAP = {
|
|
7885
7990
|
"DescribeIsolatedInstances": doDescribeIsolatedInstances,
|
7886
7991
|
"ModifyAuditRuleTemplates": doModifyAuditRuleTemplates,
|
7887
7992
|
"StopCLSDelivery": doStopCLSDelivery,
|
7993
|
+
"OpenReadOnlyInstanceExclusiveAccess": doOpenReadOnlyInstanceExclusiveAccess,
|
7888
7994
|
"DescribeBackupList": doDescribeBackupList,
|
7889
7995
|
"ModifyAccountDescription": doModifyAccountDescription,
|
7890
7996
|
"ModifyServerlessStrategy": doModifyServerlessStrategy,
|
@@ -364,6 +364,13 @@
|
|
364
364
|
"output": "DescribeClusterPasswordComplexityResponse",
|
365
365
|
"status": "online"
|
366
366
|
},
|
367
|
+
"DescribeClusterTransparentEncryptInfo": {
|
368
|
+
"document": "查询集群透明加密信息",
|
369
|
+
"input": "DescribeClusterTransparentEncryptInfoRequest",
|
370
|
+
"name": "查询集群透明加密信息",
|
371
|
+
"output": "DescribeClusterTransparentEncryptInfoResponse",
|
372
|
+
"status": "online"
|
373
|
+
},
|
367
374
|
"DescribeClusters": {
|
368
375
|
"document": "本接口(DescribeClusters)用于查询集群列表。",
|
369
376
|
"input": "DescribeClustersRequest",
|
@@ -861,6 +868,13 @@
|
|
861
868
|
"output": "OpenClusterReadOnlyInstanceGroupAccessResponse",
|
862
869
|
"status": "online"
|
863
870
|
},
|
871
|
+
"OpenClusterTransparentEncrypt": {
|
872
|
+
"document": "开通集群透明加密",
|
873
|
+
"input": "OpenClusterTransparentEncryptRequest",
|
874
|
+
"name": "开通集群透明加密",
|
875
|
+
"output": "OpenClusterTransparentEncryptResponse",
|
876
|
+
"status": "online"
|
877
|
+
},
|
864
878
|
"OpenReadOnlyInstanceExclusiveAccess": {
|
865
879
|
"document": "本接口(OpenReadOnlyInstanceExclusiveAccess)用于开通只读实例独有访问接入组。",
|
866
880
|
"input": "OpenReadOnlyInstanceExclusiveAccessRequest",
|
@@ -9792,6 +9806,53 @@
|
|
9792
9806
|
],
|
9793
9807
|
"type": "object"
|
9794
9808
|
},
|
9809
|
+
"DescribeClusterTransparentEncryptInfoRequest": {
|
9810
|
+
"document": "DescribeClusterTransparentEncryptInfo请求参数结构体",
|
9811
|
+
"members": [
|
9812
|
+
{
|
9813
|
+
"disabled": false,
|
9814
|
+
"document": "集群id",
|
9815
|
+
"example": "cynosdbmysql-6oo0qjvo",
|
9816
|
+
"member": "string",
|
9817
|
+
"name": "ClusterId",
|
9818
|
+
"required": true,
|
9819
|
+
"type": "string"
|
9820
|
+
}
|
9821
|
+
],
|
9822
|
+
"type": "object"
|
9823
|
+
},
|
9824
|
+
"DescribeClusterTransparentEncryptInfoResponse": {
|
9825
|
+
"document": "DescribeClusterTransparentEncryptInfo返回参数结构体",
|
9826
|
+
"members": [
|
9827
|
+
{
|
9828
|
+
"disabled": false,
|
9829
|
+
"document": "加密秘钥id",
|
9830
|
+
"example": "无",
|
9831
|
+
"member": "string",
|
9832
|
+
"name": "KeyId",
|
9833
|
+
"output_required": false,
|
9834
|
+
"type": "string",
|
9835
|
+
"value_allowed_null": false
|
9836
|
+
},
|
9837
|
+
{
|
9838
|
+
"disabled": false,
|
9839
|
+
"document": "加密秘钥地域\n",
|
9840
|
+
"example": "无",
|
9841
|
+
"member": "string",
|
9842
|
+
"name": "KeyRegion",
|
9843
|
+
"output_required": false,
|
9844
|
+
"type": "string",
|
9845
|
+
"value_allowed_null": false
|
9846
|
+
},
|
9847
|
+
{
|
9848
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
9849
|
+
"member": "string",
|
9850
|
+
"name": "RequestId",
|
9851
|
+
"type": "string"
|
9852
|
+
}
|
9853
|
+
],
|
9854
|
+
"type": "object"
|
9855
|
+
},
|
9795
9856
|
"DescribeClustersRequest": {
|
9796
9857
|
"document": "DescribeClusters请求参数结构体",
|
9797
9858
|
"members": [
|
@@ -16489,6 +16550,70 @@
|
|
16489
16550
|
],
|
16490
16551
|
"type": "object"
|
16491
16552
|
},
|
16553
|
+
"OpenClusterTransparentEncryptRequest": {
|
16554
|
+
"document": "OpenClusterTransparentEncrypt请求参数结构体",
|
16555
|
+
"members": [
|
16556
|
+
{
|
16557
|
+
"disabled": false,
|
16558
|
+
"document": "集群id",
|
16559
|
+
"example": "cynosdbmysql-6oo0qjvo",
|
16560
|
+
"member": "string",
|
16561
|
+
"name": "ClusterId",
|
16562
|
+
"required": true,
|
16563
|
+
"type": "string"
|
16564
|
+
},
|
16565
|
+
{
|
16566
|
+
"disabled": false,
|
16567
|
+
"document": "秘钥类型(cloud,custom)",
|
16568
|
+
"example": "cloud",
|
16569
|
+
"member": "string",
|
16570
|
+
"name": "KeyType",
|
16571
|
+
"required": true,
|
16572
|
+
"type": "string"
|
16573
|
+
},
|
16574
|
+
{
|
16575
|
+
"disabled": false,
|
16576
|
+
"document": "秘钥Id",
|
16577
|
+
"example": "9d112608-76f7-11ee-a86f-525400368ae8",
|
16578
|
+
"member": "string",
|
16579
|
+
"name": "KeyId",
|
16580
|
+
"required": false,
|
16581
|
+
"type": "string"
|
16582
|
+
},
|
16583
|
+
{
|
16584
|
+
"disabled": false,
|
16585
|
+
"document": "秘钥地域",
|
16586
|
+
"example": "ap-guangzhou",
|
16587
|
+
"member": "string",
|
16588
|
+
"name": "KeyRegion",
|
16589
|
+
"required": false,
|
16590
|
+
"type": "string"
|
16591
|
+
}
|
16592
|
+
],
|
16593
|
+
"type": "object"
|
16594
|
+
},
|
16595
|
+
"OpenClusterTransparentEncryptResponse": {
|
16596
|
+
"document": "OpenClusterTransparentEncrypt返回参数结构体",
|
16597
|
+
"members": [
|
16598
|
+
{
|
16599
|
+
"disabled": false,
|
16600
|
+
"document": "异步任务id\n",
|
16601
|
+
"example": "12345",
|
16602
|
+
"member": "int64",
|
16603
|
+
"name": "TaskId",
|
16604
|
+
"output_required": false,
|
16605
|
+
"type": "int",
|
16606
|
+
"value_allowed_null": false
|
16607
|
+
},
|
16608
|
+
{
|
16609
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
16610
|
+
"member": "string",
|
16611
|
+
"name": "RequestId",
|
16612
|
+
"type": "string"
|
16613
|
+
}
|
16614
|
+
],
|
16615
|
+
"type": "object"
|
16616
|
+
},
|
16492
16617
|
"OpenReadOnlyInstanceExclusiveAccessRequest": {
|
16493
16618
|
"document": "OpenReadOnlyInstanceExclusiveAccess请求参数结构体",
|
16494
16619
|
"members": [
|
@@ -434,6 +434,14 @@
|
|
434
434
|
"title": "查看集群密码复杂度详情"
|
435
435
|
}
|
436
436
|
],
|
437
|
+
"DescribeClusterTransparentEncryptInfo": [
|
438
|
+
{
|
439
|
+
"document": "",
|
440
|
+
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeClusterTransparentEncryptInfo\n<公共请求参数>\n\n{\n \"ClusterId\": \"cynosdbmysql-3pd4zrvn\"\n}",
|
441
|
+
"output": "{\n \"Response\": {\n \"KeyId\": \"9d112608-76f7-11ee-a86f-525400368ae8\",\n \"KeyRegion\": \"ap-guangzhou\",\n \"RequestId\": \"c66ada1a-0098-4787-8db8-42be0cee52cd\"\n }\n}",
|
442
|
+
"title": "查询集群加密信息"
|
443
|
+
}
|
444
|
+
],
|
437
445
|
"DescribeClusters": [
|
438
446
|
{
|
439
447
|
"document": "查询集群列表",
|
@@ -1008,6 +1016,14 @@
|
|
1008
1016
|
"title": "ex:"
|
1009
1017
|
}
|
1010
1018
|
],
|
1019
|
+
"OpenClusterTransparentEncrypt": [
|
1020
|
+
{
|
1021
|
+
"document": "",
|
1022
|
+
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: OpenClusterTransparentEncrypt\n<公共请求参数>\n\n{\n \"ClusterId\": \"cynosdbmysql-3pd4zrvn\",\n \"KeyType\": \"cloud\"\n}",
|
1023
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"c66ada1a-0098-4787-8db8-42be0cee52cd\",\n \"TaskId\": 283\n }\n}",
|
1024
|
+
"title": "使用云产品开启透明加密"
|
1025
|
+
}
|
1026
|
+
],
|
1011
1027
|
"OpenReadOnlyInstanceExclusiveAccess": [
|
1012
1028
|
{
|
1013
1029
|
"document": "任何场景",
|
@@ -1673,7 +1673,7 @@
|
|
1673
1673
|
{
|
1674
1674
|
"disabled": false,
|
1675
1675
|
"document": "集群错误状态告警信息\n注意:此字段可能返回 null,表示取不到有效值。",
|
1676
|
-
"example": "
|
1676
|
+
"example": "--",
|
1677
1677
|
"member": "string",
|
1678
1678
|
"name": "AlarmInfo",
|
1679
1679
|
"output_required": true,
|
@@ -1693,7 +1693,7 @@
|
|
1693
1693
|
{
|
1694
1694
|
"disabled": false,
|
1695
1695
|
"document": "元数据库信息\n注意:此字段可能返回 null,表示取不到有效值。",
|
1696
|
-
"example": "
|
1696
|
+
"example": "cdb-lvz9h3us",
|
1697
1697
|
"member": "string",
|
1698
1698
|
"name": "MetaDb",
|
1699
1699
|
"output_required": true,
|
@@ -1713,7 +1713,7 @@
|
|
1713
1713
|
{
|
1714
1714
|
"disabled": false,
|
1715
1715
|
"document": "Hive元数据信息\n注意:此字段可能返回 null,表示取不到有效值。",
|
1716
|
-
"example": "
|
1716
|
+
"example": "cdb-8mq5jdt1",
|
1717
1717
|
"member": "string",
|
1718
1718
|
"name": "HiveMetaDb",
|
1719
1719
|
"output_required": true,
|
@@ -1733,7 +1733,7 @@
|
|
1733
1733
|
{
|
1734
1734
|
"disabled": false,
|
1735
1735
|
"document": "集群所有节点的别名序列化\n注意:此字段可能返回 null,表示取不到有效值。",
|
1736
|
-
"example": "
|
1736
|
+
"example": "\"eyJjNrIn0=\"",
|
1737
1737
|
"member": "string",
|
1738
1738
|
"name": "AliasInfo",
|
1739
1739
|
"output_required": true,
|
@@ -1833,7 +1833,7 @@
|
|
1833
1833
|
{
|
1834
1834
|
"disabled": false,
|
1835
1835
|
"document": "集群vpcid 字符串类型\n注意:此字段可能返回 null,表示取不到有效值。",
|
1836
|
-
"example": "
|
1836
|
+
"example": "vpc-34o0gwhj",
|
1837
1837
|
"member": "string",
|
1838
1838
|
"name": "UniqVpcId",
|
1839
1839
|
"output_required": true,
|
@@ -1843,7 +1843,7 @@
|
|
1843
1843
|
{
|
1844
1844
|
"disabled": false,
|
1845
1845
|
"document": "子网id 字符串类型\n注意:此字段可能返回 null,表示取不到有效值。",
|
1846
|
-
"example": "
|
1846
|
+
"example": "subnet-1laxlsao",
|
1847
1847
|
"member": "string",
|
1848
1848
|
"name": "UniqSubnetId",
|
1849
1849
|
"output_required": true,
|
@@ -1899,6 +1899,16 @@
|
|
1899
1899
|
"output_required": false,
|
1900
1900
|
"type": "object",
|
1901
1901
|
"value_allowed_null": true
|
1902
|
+
},
|
1903
|
+
{
|
1904
|
+
"disabled": false,
|
1905
|
+
"document": "集群绑定的文件系统数\n注意:此字段可能返回 null,表示取不到有效值。",
|
1906
|
+
"example": "1",
|
1907
|
+
"member": "int64",
|
1908
|
+
"name": "BindFileSystemNum",
|
1909
|
+
"output_required": false,
|
1910
|
+
"type": "int",
|
1911
|
+
"value_allowed_null": true
|
1902
1912
|
}
|
1903
1913
|
],
|
1904
1914
|
"usage": "out"
|
@@ -7307,18 +7317,7 @@
|
|
7307
7317
|
"member": "string",
|
7308
7318
|
"name": "ShareType",
|
7309
7319
|
"required": true,
|
7310
|
-
"type": "string"
|
7311
|
-
"value_allowed_null": false
|
7312
|
-
},
|
7313
|
-
{
|
7314
|
-
"disabled": false,
|
7315
|
-
"document": "自定义参数集合",
|
7316
|
-
"example": "无",
|
7317
|
-
"member": "CustomServiceDefine",
|
7318
|
-
"name": "CustomServiceDefineList",
|
7319
|
-
"required": true,
|
7320
|
-
"type": "list",
|
7321
|
-
"value_allowed_null": false
|
7320
|
+
"type": "string"
|
7322
7321
|
},
|
7323
7322
|
{
|
7324
7323
|
"disabled": false,
|
@@ -7327,8 +7326,7 @@
|
|
7327
7326
|
"member": "string",
|
7328
7327
|
"name": "Service",
|
7329
7328
|
"required": true,
|
7330
|
-
"type": "string"
|
7331
|
-
"value_allowed_null": false
|
7329
|
+
"type": "string"
|
7332
7330
|
},
|
7333
7331
|
{
|
7334
7332
|
"disabled": false,
|
@@ -7337,8 +7335,16 @@
|
|
7337
7335
|
"member": "string",
|
7338
7336
|
"name": "InstanceId",
|
7339
7337
|
"required": true,
|
7340
|
-
"type": "string"
|
7341
|
-
|
7338
|
+
"type": "string"
|
7339
|
+
},
|
7340
|
+
{
|
7341
|
+
"disabled": false,
|
7342
|
+
"document": "自定义参数集合",
|
7343
|
+
"example": "无",
|
7344
|
+
"member": "CustomServiceDefine",
|
7345
|
+
"name": "CustomServiceDefineList",
|
7346
|
+
"required": true,
|
7347
|
+
"type": "list"
|
7342
7348
|
}
|
7343
7349
|
],
|
7344
7350
|
"usage": "in"
|
@@ -967,6 +967,15 @@
|
|
967
967
|
"name": "Components",
|
968
968
|
"required": false,
|
969
969
|
"type": "list"
|
970
|
+
},
|
971
|
+
{
|
972
|
+
"disabled": false,
|
973
|
+
"document": "进入签署流程的限制,目前支持以下选项:\n<ul><li> <b>空值(默认)</b> :无限制,可在任何场景进入签署流程。</li><li> <b>link</b> :选择此选项后,将无法通过控制台或电子签小程序列表进入填写或签署操作,仅可预览合同。填写或签署流程只能通过短信或发起方提供的专用链接进行。</li></ul>",
|
974
|
+
"example": "[\"link\"]",
|
975
|
+
"member": "string",
|
976
|
+
"name": "SignEndpoints",
|
977
|
+
"required": false,
|
978
|
+
"type": "list"
|
970
979
|
}
|
971
980
|
],
|
972
981
|
"usage": "in"
|
@@ -11286,6 +11295,15 @@
|
|
11286
11295
|
"name": "Intention",
|
11287
11296
|
"required": false,
|
11288
11297
|
"type": "object"
|
11298
|
+
},
|
11299
|
+
{
|
11300
|
+
"disabled": false,
|
11301
|
+
"document": "进入签署流程的限制,目前支持以下选项:\n<ul><li> <b>空值(默认)</b> :无限制,可在任何场景进入签署流程。</li><li> <b>link</b> :选择此选项后,将无法通过控制台或电子签小程序列表进入填写或签署操作,仅可预览合同。填写或签署流程只能通过短信或发起方提供的专用链接进行。</li></ul>",
|
11302
|
+
"example": "[\"link\"]",
|
11303
|
+
"member": "string",
|
11304
|
+
"name": "SignEndpoints",
|
11305
|
+
"required": false,
|
11306
|
+
"type": "list"
|
11289
11307
|
}
|
11290
11308
|
],
|
11291
11309
|
"usage": "in"
|
@@ -7516,7 +7516,7 @@
|
|
7516
7516
|
},
|
7517
7517
|
{
|
7518
7518
|
"disabled": false,
|
7519
|
-
"document": "签署链接类型,可以设置的参数如下\n<ul><li> **WEIXINAPP** :(默认)跳转电子签小程序的http_url, 短信通知或者H5跳转适合此类型 ,此时返回短链</li>\n<li> **CHANNEL** :带有H5
|
7519
|
+
"document": "签署链接类型,可以设置的参数如下\n<ul><li> **WEIXINAPP** :(默认)跳转电子签小程序的http_url, 短信通知或者H5跳转适合此类型 ,此时返回短链</li>\n<li> **CHANNEL** :带有H5引导页的跳转电子签小程序的链接(<b>GenerateType非ALL时候不能设置成CHANNEL</b>)</li>\n<li> **APP** :第三方App或小程序跳转电子签小程序的path, App或者小程序跳转适合此类型</li>\n<li> **LONGURL2WEIXINAPP** :跳转电子签小程序的链接, H5跳转适合此类型,此时返回长链</li></ul>\n\n**注:**动态签署人场景,如果签署链接类型设置为`APP`,则仅支持跳转到封面页。\n\n详细使用场景可以参考接口描述说明中的 **主要使用场景EndPoint分类**\n",
|
7520
7520
|
"example": "”WEIXINAPP“",
|
7521
7521
|
"member": "string",
|
7522
7522
|
"name": "Endpoint",
|
@@ -9454,6 +9454,15 @@
|
|
9454
9454
|
"name": "Intention",
|
9455
9455
|
"required": false,
|
9456
9456
|
"type": "object"
|
9457
|
+
},
|
9458
|
+
{
|
9459
|
+
"disabled": false,
|
9460
|
+
"document": "进入签署流程的限制,目前支持以下选项:\n<ul><li> <b>空值(默认)</b> :无限制,可在任何场景进入签署流程。</li><li> <b>link</b> :选择此选项后,将无法通过控制台或电子签小程序列表进入填写或签署操作,仅可预览合同。填写或签署流程只能通过短信或发起方提供的专用链接进行。</li></ul>",
|
9461
|
+
"example": "[\"link\"]",
|
9462
|
+
"member": "string",
|
9463
|
+
"name": "SignEndpoints",
|
9464
|
+
"required": false,
|
9465
|
+
"type": "list"
|
9457
9466
|
}
|
9458
9467
|
],
|
9459
9468
|
"usage": "in"
|