tccli 3.0.1315.1__py2.py3-none-any.whl → 3.0.1316.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/bh/v20230418/api.json +2 -2
- tccli/services/cbs/v20170312/api.json +51 -40
- tccli/services/cbs/v20170312/examples.json +7 -7
- tccli/services/cdb/v20170320/api.json +32 -19
- tccli/services/cdwdoris/v20211228/api.json +20 -0
- tccli/services/cfs/v20190719/api.json +39 -39
- tccli/services/cfs/v20190719/examples.json +10 -10
- tccli/services/cfw/v20190904/api.json +4 -4
- tccli/services/cvm/v20170312/api.json +9 -9
- tccli/services/cynosdb/v20190107/api.json +139 -2
- tccli/services/dnspod/v20210323/api.json +17 -17
- tccli/services/emr/v20190103/api.json +10 -0
- tccli/services/ess/v20201111/api.json +29 -11
- tccli/services/ess/v20201111/examples.json +1 -1
- tccli/services/essbasic/v20210526/api.json +23 -5
- tccli/services/essbasic/v20210526/examples.json +1 -1
- tccli/services/gs/v20191118/api.json +22 -0
- tccli/services/hai/v20230812/api.json +58 -58
- tccli/services/hai/v20230812/examples.json +6 -6
- tccli/services/lke/v20231130/api.json +401 -7
- tccli/services/postgres/postgres_client.py +16 -122
- tccli/services/postgres/v20170312/api.json +0 -86
- tccli/services/postgres/v20170312/examples.json +0 -22
- tccli/services/privatedns/v20201028/api.json +4 -4
- tccli/services/privatedns/v20201028/examples.json +2 -2
- tccli/services/pts/v20210728/api.json +10 -0
- tccli/services/ssl/v20191205/api.json +4 -4
- tccli/services/teo/v20220901/api.json +5 -5
- tccli/services/tke/tke_client.py +8 -61
- tccli/services/tke/v20180525/api.json +10 -108
- tccli/services/tke/v20180525/examples.json +0 -8
- tccli/services/tms/v20201229/api.json +27 -8
- tccli/services/tms/v20201229/examples.json +2 -2
- tccli/services/vpc/v20170312/api.json +11 -11
- tccli/services/vpc/v20170312/examples.json +2 -2
- {tccli-3.0.1315.1.dist-info → tccli-3.0.1316.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1315.1.dist-info → tccli-3.0.1316.1.dist-info}/RECORD +41 -41
- {tccli-3.0.1315.1.dist-info → tccli-3.0.1316.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1315.1.dist-info → tccli-3.0.1316.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1315.1.dist-info → tccli-3.0.1316.1.dist-info}/license_files/LICENSE +0 -0
@@ -693,58 +693,6 @@ def doDescribeDBInstanceParameters(args, parsed_globals):
|
|
693
693
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
694
694
|
|
695
695
|
|
696
|
-
def doDeleteServerlessDBInstance(args, parsed_globals):
|
697
|
-
g_param = parse_global_arg(parsed_globals)
|
698
|
-
|
699
|
-
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
700
|
-
cred = credential.CVMRoleCredential()
|
701
|
-
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
702
|
-
cred = credential.STSAssumeRoleCredential(
|
703
|
-
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
704
|
-
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
705
|
-
)
|
706
|
-
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):
|
707
|
-
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
708
|
-
else:
|
709
|
-
cred = credential.Credential(
|
710
|
-
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
711
|
-
)
|
712
|
-
http_profile = HttpProfile(
|
713
|
-
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
714
|
-
reqMethod="POST",
|
715
|
-
endpoint=g_param[OptionsDefine.Endpoint],
|
716
|
-
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
717
|
-
)
|
718
|
-
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
719
|
-
if g_param[OptionsDefine.Language]:
|
720
|
-
profile.language = g_param[OptionsDefine.Language]
|
721
|
-
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
722
|
-
client = mod.PostgresClient(cred, g_param[OptionsDefine.Region], profile)
|
723
|
-
client._sdkVersion += ("_CLI_" + __version__)
|
724
|
-
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
725
|
-
model = models.DeleteServerlessDBInstanceRequest()
|
726
|
-
model.from_json_string(json.dumps(args))
|
727
|
-
start_time = time.time()
|
728
|
-
while True:
|
729
|
-
rsp = client.DeleteServerlessDBInstance(model)
|
730
|
-
result = rsp.to_json_string()
|
731
|
-
try:
|
732
|
-
json_obj = json.loads(result)
|
733
|
-
except TypeError as e:
|
734
|
-
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
735
|
-
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
736
|
-
break
|
737
|
-
cur_time = time.time()
|
738
|
-
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
739
|
-
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
740
|
-
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
741
|
-
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
742
|
-
else:
|
743
|
-
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
744
|
-
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
745
|
-
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
746
|
-
|
747
|
-
|
748
696
|
def doCreateDBInstanceNetworkAccess(args, parsed_globals):
|
749
697
|
g_param = parse_global_arg(parsed_globals)
|
750
698
|
|
@@ -849,7 +797,7 @@ def doModifyDBInstanceSpec(args, parsed_globals):
|
|
849
797
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
850
798
|
|
851
799
|
|
852
|
-
def
|
800
|
+
def doModifyDBInstanceSecurityGroups(args, parsed_globals):
|
853
801
|
g_param = parse_global_arg(parsed_globals)
|
854
802
|
|
855
803
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -878,11 +826,11 @@ def doModifyBackupDownloadRestriction(args, parsed_globals):
|
|
878
826
|
client = mod.PostgresClient(cred, g_param[OptionsDefine.Region], profile)
|
879
827
|
client._sdkVersion += ("_CLI_" + __version__)
|
880
828
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
881
|
-
model = models.
|
829
|
+
model = models.ModifyDBInstanceSecurityGroupsRequest()
|
882
830
|
model.from_json_string(json.dumps(args))
|
883
831
|
start_time = time.time()
|
884
832
|
while True:
|
885
|
-
rsp = client.
|
833
|
+
rsp = client.ModifyDBInstanceSecurityGroups(model)
|
886
834
|
result = rsp.to_json_string()
|
887
835
|
try:
|
888
836
|
json_obj = json.loads(result)
|
@@ -1057,7 +1005,7 @@ def doDescribeDatabases(args, parsed_globals):
|
|
1057
1005
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1058
1006
|
|
1059
1007
|
|
1060
|
-
def
|
1008
|
+
def doDescribeParameterTemplates(args, parsed_globals):
|
1061
1009
|
g_param = parse_global_arg(parsed_globals)
|
1062
1010
|
|
1063
1011
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -1086,11 +1034,11 @@ def doDescribeSlowQueryAnalysis(args, parsed_globals):
|
|
1086
1034
|
client = mod.PostgresClient(cred, g_param[OptionsDefine.Region], profile)
|
1087
1035
|
client._sdkVersion += ("_CLI_" + __version__)
|
1088
1036
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1089
|
-
model = models.
|
1037
|
+
model = models.DescribeParameterTemplatesRequest()
|
1090
1038
|
model.from_json_string(json.dumps(args))
|
1091
1039
|
start_time = time.time()
|
1092
1040
|
while True:
|
1093
|
-
rsp = client.
|
1041
|
+
rsp = client.DescribeParameterTemplates(model)
|
1094
1042
|
result = rsp.to_json_string()
|
1095
1043
|
try:
|
1096
1044
|
json_obj = json.loads(result)
|
@@ -1525,7 +1473,7 @@ def doDescribeDBBackups(args, parsed_globals):
|
|
1525
1473
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1526
1474
|
|
1527
1475
|
|
1528
|
-
def
|
1476
|
+
def doDescribeSlowQueryAnalysis(args, parsed_globals):
|
1529
1477
|
g_param = parse_global_arg(parsed_globals)
|
1530
1478
|
|
1531
1479
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -1554,11 +1502,11 @@ def doDescribeParameterTemplates(args, parsed_globals):
|
|
1554
1502
|
client = mod.PostgresClient(cred, g_param[OptionsDefine.Region], profile)
|
1555
1503
|
client._sdkVersion += ("_CLI_" + __version__)
|
1556
1504
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1557
|
-
model = models.
|
1505
|
+
model = models.DescribeSlowQueryAnalysisRequest()
|
1558
1506
|
model.from_json_string(json.dumps(args))
|
1559
1507
|
start_time = time.time()
|
1560
1508
|
while True:
|
1561
|
-
rsp = client.
|
1509
|
+
rsp = client.DescribeSlowQueryAnalysis(model)
|
1562
1510
|
result = rsp.to_json_string()
|
1563
1511
|
try:
|
1564
1512
|
json_obj = json.loads(result)
|
@@ -1785,58 +1733,6 @@ def doDescribeParameterTemplateAttributes(args, parsed_globals):
|
|
1785
1733
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1786
1734
|
|
1787
1735
|
|
1788
|
-
def doCloseServerlessDBExtranetAccess(args, parsed_globals):
|
1789
|
-
g_param = parse_global_arg(parsed_globals)
|
1790
|
-
|
1791
|
-
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
1792
|
-
cred = credential.CVMRoleCredential()
|
1793
|
-
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
1794
|
-
cred = credential.STSAssumeRoleCredential(
|
1795
|
-
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
1796
|
-
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
1797
|
-
)
|
1798
|
-
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):
|
1799
|
-
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
1800
|
-
else:
|
1801
|
-
cred = credential.Credential(
|
1802
|
-
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
1803
|
-
)
|
1804
|
-
http_profile = HttpProfile(
|
1805
|
-
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
1806
|
-
reqMethod="POST",
|
1807
|
-
endpoint=g_param[OptionsDefine.Endpoint],
|
1808
|
-
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
1809
|
-
)
|
1810
|
-
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
1811
|
-
if g_param[OptionsDefine.Language]:
|
1812
|
-
profile.language = g_param[OptionsDefine.Language]
|
1813
|
-
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
1814
|
-
client = mod.PostgresClient(cred, g_param[OptionsDefine.Region], profile)
|
1815
|
-
client._sdkVersion += ("_CLI_" + __version__)
|
1816
|
-
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1817
|
-
model = models.CloseServerlessDBExtranetAccessRequest()
|
1818
|
-
model.from_json_string(json.dumps(args))
|
1819
|
-
start_time = time.time()
|
1820
|
-
while True:
|
1821
|
-
rsp = client.CloseServerlessDBExtranetAccess(model)
|
1822
|
-
result = rsp.to_json_string()
|
1823
|
-
try:
|
1824
|
-
json_obj = json.loads(result)
|
1825
|
-
except TypeError as e:
|
1826
|
-
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
1827
|
-
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
1828
|
-
break
|
1829
|
-
cur_time = time.time()
|
1830
|
-
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
1831
|
-
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
1832
|
-
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
1833
|
-
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
1834
|
-
else:
|
1835
|
-
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
1836
|
-
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
1837
|
-
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1838
|
-
|
1839
|
-
|
1840
1736
|
def doModifyDBInstanceDeployment(args, parsed_globals):
|
1841
1737
|
g_param = parse_global_arg(parsed_globals)
|
1842
1738
|
|
@@ -5269,7 +5165,7 @@ def doInquiryPriceRenewDBInstance(args, parsed_globals):
|
|
5269
5165
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
5270
5166
|
|
5271
5167
|
|
5272
|
-
def
|
5168
|
+
def doModifyBackupDownloadRestriction(args, parsed_globals):
|
5273
5169
|
g_param = parse_global_arg(parsed_globals)
|
5274
5170
|
|
5275
5171
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -5298,11 +5194,11 @@ def doModifyDBInstanceSecurityGroups(args, parsed_globals):
|
|
5298
5194
|
client = mod.PostgresClient(cred, g_param[OptionsDefine.Region], profile)
|
5299
5195
|
client._sdkVersion += ("_CLI_" + __version__)
|
5300
5196
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
5301
|
-
model = models.
|
5197
|
+
model = models.ModifyBackupDownloadRestrictionRequest()
|
5302
5198
|
model.from_json_string(json.dumps(args))
|
5303
5199
|
start_time = time.time()
|
5304
5200
|
while True:
|
5305
|
-
rsp = client.
|
5201
|
+
rsp = client.ModifyBackupDownloadRestriction(model)
|
5306
5202
|
result = rsp.to_json_string()
|
5307
5203
|
try:
|
5308
5204
|
json_obj = json.loads(result)
|
@@ -5657,14 +5553,13 @@ ACTION_MAP = {
|
|
5657
5553
|
"DescribeDedicatedClusters": doDescribeDedicatedClusters,
|
5658
5554
|
"DeleteParameterTemplate": doDeleteParameterTemplate,
|
5659
5555
|
"DescribeDBInstanceParameters": doDescribeDBInstanceParameters,
|
5660
|
-
"DeleteServerlessDBInstance": doDeleteServerlessDBInstance,
|
5661
5556
|
"CreateDBInstanceNetworkAccess": doCreateDBInstanceNetworkAccess,
|
5662
5557
|
"ModifyDBInstanceSpec": doModifyDBInstanceSpec,
|
5663
|
-
"
|
5558
|
+
"ModifyDBInstanceSecurityGroups": doModifyDBInstanceSecurityGroups,
|
5664
5559
|
"ModifyMaintainTimeWindow": doModifyMaintainTimeWindow,
|
5665
5560
|
"RenewInstance": doRenewInstance,
|
5666
5561
|
"DescribeDatabases": doDescribeDatabases,
|
5667
|
-
"
|
5562
|
+
"DescribeParameterTemplates": doDescribeParameterTemplates,
|
5668
5563
|
"DescribeProductConfig": doDescribeProductConfig,
|
5669
5564
|
"DescribeDBSlowlogs": doDescribeDBSlowlogs,
|
5670
5565
|
"DescribeAccountPrivileges": doDescribeAccountPrivileges,
|
@@ -5673,12 +5568,11 @@ ACTION_MAP = {
|
|
5673
5568
|
"UnlockAccount": doUnlockAccount,
|
5674
5569
|
"DestroyDBInstance": doDestroyDBInstance,
|
5675
5570
|
"DescribeDBBackups": doDescribeDBBackups,
|
5676
|
-
"
|
5571
|
+
"DescribeSlowQueryAnalysis": doDescribeSlowQueryAnalysis,
|
5677
5572
|
"InquiryPriceCreateDBInstances": doInquiryPriceCreateDBInstances,
|
5678
5573
|
"DescribeDBInstanceSecurityGroups": doDescribeDBInstanceSecurityGroups,
|
5679
5574
|
"CreateBaseBackup": doCreateBaseBackup,
|
5680
5575
|
"DescribeParameterTemplateAttributes": doDescribeParameterTemplateAttributes,
|
5681
|
-
"CloseServerlessDBExtranetAccess": doCloseServerlessDBExtranetAccess,
|
5682
5576
|
"ModifyDBInstanceDeployment": doModifyDBInstanceDeployment,
|
5683
5577
|
"CreateServerlessDBInstance": doCreateServerlessDBInstance,
|
5684
5578
|
"CreateDatabase": doCreateDatabase,
|
@@ -5745,7 +5639,7 @@ ACTION_MAP = {
|
|
5745
5639
|
"InquiryPriceUpgradeDBInstance": doInquiryPriceUpgradeDBInstance,
|
5746
5640
|
"CreateReadOnlyGroup": doCreateReadOnlyGroup,
|
5747
5641
|
"InquiryPriceRenewDBInstance": doInquiryPriceRenewDBInstance,
|
5748
|
-
"
|
5642
|
+
"ModifyBackupDownloadRestriction": doModifyBackupDownloadRestriction,
|
5749
5643
|
"DescribeDBVersions": doDescribeDBVersions,
|
5750
5644
|
"LockAccount": doLockAccount,
|
5751
5645
|
"DescribeReadOnlyGroups": doDescribeReadOnlyGroups,
|
@@ -21,13 +21,6 @@
|
|
21
21
|
"output": "CloseDBExtranetAccessResponse",
|
22
22
|
"status": "online"
|
23
23
|
},
|
24
|
-
"CloseServerlessDBExtranetAccess": {
|
25
|
-
"document": "该产品形态需要下线,已完成客户实例全部下线、后端服务下线等\n\n【接口下线中,请勿使用】本接口(CloseServerlessDBExtranetAccess)用于关闭serverlessDB实例公网地址",
|
26
|
-
"input": "CloseServerlessDBExtranetAccessRequest",
|
27
|
-
"name": "【废弃】关闭serverlessDB实例公网地址",
|
28
|
-
"output": "CloseServerlessDBExtranetAccessResponse",
|
29
|
-
"status": "deprecated"
|
30
|
-
},
|
31
24
|
"CreateAccount": {
|
32
25
|
"document": "此接口用于创建数据账号,返回的Oid为账号唯一标识。与数据库系统表pg_roles中记录的oid一致。",
|
33
26
|
"input": "CreateAccountRequest",
|
@@ -168,13 +161,6 @@
|
|
168
161
|
"output": "DeleteReadOnlyGroupNetworkAccessResponse",
|
169
162
|
"status": "online"
|
170
163
|
},
|
171
|
-
"DeleteServerlessDBInstance": {
|
172
|
-
"document": "该产品形态需要下线,已完成客户实例全部下线、后端服务下线等\n\n【接口下线中,请勿使用】本接口 (DeleteServerlessDBInstance) 用于删除一个ServerlessDB实例。",
|
173
|
-
"input": "DeleteServerlessDBInstanceRequest",
|
174
|
-
"name": "【废弃】删除ServerlessDB实例",
|
175
|
-
"output": "DeleteServerlessDBInstanceResponse",
|
176
|
-
"status": "deprecated"
|
177
|
-
},
|
178
164
|
"DescribeAccountPrivileges": {
|
179
165
|
"document": "查询数据库账号对某数据库对象拥有的权限列表。",
|
180
166
|
"input": "DescribeAccountPrivilegesRequest",
|
@@ -1722,42 +1708,6 @@
|
|
1722
1708
|
],
|
1723
1709
|
"type": "object"
|
1724
1710
|
},
|
1725
|
-
"CloseServerlessDBExtranetAccessRequest": {
|
1726
|
-
"document": "CloseServerlessDBExtranetAccess请求参数结构体",
|
1727
|
-
"members": [
|
1728
|
-
{
|
1729
|
-
"disabled": false,
|
1730
|
-
"document": "实例唯一标识符",
|
1731
|
-
"example": "postgres-apzvwncr",
|
1732
|
-
"member": "string",
|
1733
|
-
"name": "DBInstanceId",
|
1734
|
-
"required": false,
|
1735
|
-
"type": "string"
|
1736
|
-
},
|
1737
|
-
{
|
1738
|
-
"disabled": false,
|
1739
|
-
"document": "实例名称",
|
1740
|
-
"example": "test-db-instance",
|
1741
|
-
"member": "string",
|
1742
|
-
"name": "DBInstanceName",
|
1743
|
-
"required": false,
|
1744
|
-
"type": "string"
|
1745
|
-
}
|
1746
|
-
],
|
1747
|
-
"type": "object"
|
1748
|
-
},
|
1749
|
-
"CloseServerlessDBExtranetAccessResponse": {
|
1750
|
-
"document": "CloseServerlessDBExtranetAccess返回参数结构体",
|
1751
|
-
"members": [
|
1752
|
-
{
|
1753
|
-
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
1754
|
-
"member": "string",
|
1755
|
-
"name": "RequestId",
|
1756
|
-
"type": "string"
|
1757
|
-
}
|
1758
|
-
],
|
1759
|
-
"type": "object"
|
1760
|
-
},
|
1761
1711
|
"CreateAccountRequest": {
|
1762
1712
|
"document": "CreateAccount请求参数结构体",
|
1763
1713
|
"members": [
|
@@ -4545,42 +4495,6 @@
|
|
4545
4495
|
],
|
4546
4496
|
"type": "object"
|
4547
4497
|
},
|
4548
|
-
"DeleteServerlessDBInstanceRequest": {
|
4549
|
-
"document": "DeleteServerlessDBInstance请求参数结构体",
|
4550
|
-
"members": [
|
4551
|
-
{
|
4552
|
-
"disabled": false,
|
4553
|
-
"document": "DB实例名称,实例名和实例ID必须至少传一个,如果同时存在,将只以实例ID为准。",
|
4554
|
-
"example": "user-data-db",
|
4555
|
-
"member": "string",
|
4556
|
-
"name": "DBInstanceName",
|
4557
|
-
"required": false,
|
4558
|
-
"type": "string"
|
4559
|
-
},
|
4560
|
-
{
|
4561
|
-
"disabled": false,
|
4562
|
-
"document": "DB实例ID,实例名和实例ID必须至少传一个,如果同时存在,将只以实例ID为准。",
|
4563
|
-
"example": "postgres-xxxxx",
|
4564
|
-
"member": "string",
|
4565
|
-
"name": "DBInstanceId",
|
4566
|
-
"required": false,
|
4567
|
-
"type": "string"
|
4568
|
-
}
|
4569
|
-
],
|
4570
|
-
"type": "object"
|
4571
|
-
},
|
4572
|
-
"DeleteServerlessDBInstanceResponse": {
|
4573
|
-
"document": "DeleteServerlessDBInstance返回参数结构体",
|
4574
|
-
"members": [
|
4575
|
-
{
|
4576
|
-
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
4577
|
-
"member": "string",
|
4578
|
-
"name": "RequestId",
|
4579
|
-
"type": "string"
|
4580
|
-
}
|
4581
|
-
],
|
4582
|
-
"type": "object"
|
4583
|
-
},
|
4584
4498
|
"DescribeAccountPrivilegesRequest": {
|
4585
4499
|
"document": "DescribeAccountPrivileges请求参数结构体",
|
4586
4500
|
"members": [
|
@@ -24,14 +24,6 @@
|
|
24
24
|
"title": "关闭实例外网"
|
25
25
|
}
|
26
26
|
],
|
27
|
-
"CloseServerlessDBExtranetAccess": [
|
28
|
-
{
|
29
|
-
"document": "关闭serverless公网地址",
|
30
|
-
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CloseServerlessDBExtranetAccess\n<公共请求参数>\n\n{\n \"DBInstanceName\": \"test-db-instance\",\n \"DBInstanceId\": \"postgres-apzvwncr\"\n}",
|
31
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"08fdf411-5d39-44f2-8e1d-a58ee60b237d\"\n }\n}",
|
32
|
-
"title": "关闭serverless公网地址"
|
33
|
-
}
|
34
|
-
],
|
35
27
|
"CreateAccount": [
|
36
28
|
{
|
37
29
|
"document": "创建数据库普通账号",
|
@@ -216,20 +208,6 @@
|
|
216
208
|
"title": "删除RO组网络"
|
217
209
|
}
|
218
210
|
],
|
219
|
-
"DeleteServerlessDBInstance": [
|
220
|
-
{
|
221
|
-
"document": "以指定实例ID方式删除实例,删除一个实例ID为“postgres-xxxxx”的serverless实例。",
|
222
|
-
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteServerlessDBInstance\n<公共请求参数>\n\n{\n \"DBInstanceId\": \"postgres-xxxxx\"\n}",
|
223
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"08fdf411-5d39-44f2-8e1d-a58ee60b237d\"\n }\n}",
|
224
|
-
"title": "指定实例ID删除serverlessDB实例"
|
225
|
-
},
|
226
|
-
{
|
227
|
-
"document": "以指定实例名方式删除实例,删除一个实例名为“serverlessdb-test”的serverless实例。",
|
228
|
-
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteServerlessDBInstance\n<公共请求参数>\n\n{\n \"DBInstanceName\": \"serverlessdb-test\"\n}",
|
229
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"08fdf411-5d39-44f2-8e1d-a58ee60b237d\"\n }\n}",
|
230
|
-
"title": "指定实例名删除serverlessDB实例"
|
231
|
-
}
|
232
|
-
],
|
233
211
|
"DescribeAccountPrivileges": [
|
234
212
|
{
|
235
213
|
"document": "查看账号类型",
|
@@ -181,7 +181,7 @@
|
|
181
181
|
"members": [
|
182
182
|
{
|
183
183
|
"disabled": false,
|
184
|
-
"document": "VpcId
|
184
|
+
"document": "VpcId",
|
185
185
|
"example": "vpc-hgje12gt",
|
186
186
|
"member": "string",
|
187
187
|
"name": "UniqVpcId",
|
@@ -192,7 +192,7 @@
|
|
192
192
|
},
|
193
193
|
{
|
194
194
|
"disabled": false,
|
195
|
-
"document": "Vpc
|
195
|
+
"document": "Vpc所属地区",
|
196
196
|
"example": "ap-guangzhou",
|
197
197
|
"member": "string",
|
198
198
|
"name": "Region",
|
@@ -203,7 +203,7 @@
|
|
203
203
|
},
|
204
204
|
{
|
205
205
|
"disabled": false,
|
206
|
-
"document": "Vpc
|
206
|
+
"document": "Vpc所属账号",
|
207
207
|
"example": "10005630010",
|
208
208
|
"member": "string",
|
209
209
|
"name": "Uin",
|
@@ -214,7 +214,7 @@
|
|
214
214
|
},
|
215
215
|
{
|
216
216
|
"disabled": false,
|
217
|
-
"document": "vpc
|
217
|
+
"document": "vpc资源名称",
|
218
218
|
"example": "testname",
|
219
219
|
"member": "string",
|
220
220
|
"name": "VpcName",
|
@@ -19,7 +19,7 @@
|
|
19
19
|
"CreatePrivateZone": [
|
20
20
|
{
|
21
21
|
"document": "",
|
22
|
-
"input": "POST / HTTP/1.1\nHost: privatedns.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreatePrivateZone\n<公共请求参数>\n\n{\n \"Domain\": \"a.com\",\n \"TagSet\": [\n {\n \"TagKey\": \"owner\",\n \"TagValue\": \"xxxxxxxxxx\"\n }\n ],\n \"VpcSet\": [\n {\n \"Region\": \"ap-guangzhou\",\n \"UniqVpcId\": \"vpc-
|
22
|
+
"input": "POST / HTTP/1.1\nHost: privatedns.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreatePrivateZone\n<公共请求参数>\n\n{\n \"Domain\": \"a.com\",\n \"TagSet\": [\n {\n \"TagKey\": \"owner\",\n \"TagValue\": \"xxxxxxxxxx\"\n }\n ],\n \"VpcSet\": [\n {\n \"Region\": \"ap-guangzhou\",\n \"UniqVpcId\": \"vpc-dw3911rr\"\n }\n ],\n \"AccountVpcSet\": [\n {\n \"Uin\": \"1000458200\",\n \"Region\": \"ap-guangzhou\",\n \"UniqVpcId\": \"vpc-adsebmy1\",\n \"VpcName\": \"vpcname\"\n }\n ],\n \"Remark\": \"测试域名\",\n \"DnsForwardStatus\": \"ENABLED\",\n \"CnameSpeedupStatus\": \"ENABLED\"\n}",
|
23
23
|
"output": "{\n \"Response\": {\n \"RequestId\": \"5cd964e2-b5e6-8a35-9ce5a1085860c845\",\n \"ZoneId\": \"zone-12345678\",\n \"Domain\": \"a.com\"\n }\n}",
|
24
24
|
"title": "创建私有域"
|
25
25
|
}
|
@@ -83,7 +83,7 @@
|
|
83
83
|
"DeleteSpecifyPrivateZoneVpc": [
|
84
84
|
{
|
85
85
|
"document": "",
|
86
|
-
"input": "POST / HTTP/1.1\nHost: privatedns.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteSpecifyPrivateZoneVpc\n<公共请求参数>\n\n{\n \"ZoneId\": \"zone-sdasd12d\",\n \"VpcSet\": [\n {\n \"UniqVpcId\": \"vpc-dae2312\",\n \"Region\": \"ap-guangzhou\"\n }\n ],\n \"AccountVpcSet\": [\n {\n \"UniqVpcId\": \"vpc-2314dae\",\n \"Region\": \"ap-
|
86
|
+
"input": "POST / HTTP/1.1\nHost: privatedns.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteSpecifyPrivateZoneVpc\n<公共请求参数>\n\n{\n \"ZoneId\": \"zone-sdasd12d\",\n \"VpcSet\": [\n {\n \"UniqVpcId\": \"vpc-dae2312\",\n \"Region\": \"ap-guangzhou\"\n }\n ],\n \"AccountVpcSet\": [\n {\n \"UniqVpcId\": \"vpc-2314dae\",\n \"Region\": \"ap-guangzhou\",\n \"Uin\": \"1000032110\",\n \"VpcName\": \"vpc-testname\"\n }\n ]\n}",
|
87
87
|
"output": "{\n \"Response\": {\n \"ZoneId\": \"zone-sdasd12d\",\n \"VpcSet\": [\n {\n \"UniqVpcId\": \"vpc-dae2312\",\n \"Region\": \"ap-guangzhou\"\n }\n ],\n \"AccountVpcSet\": [\n {\n \"Uin\": \"1000032110\",\n \"UniqVpcId\": \"vpc-2314dae\",\n \"Region\": \"ap-guangzhou\",\n \"VpcName\": \"vpc-testname\"\n }\n ],\n \"RequestId\": \"5cd964e2-b5e6-8a35-9ce5a1085860c845\"\n }\n}",
|
88
88
|
"title": "删除私有域关联的VPC"
|
89
89
|
}
|
@@ -1937,6 +1937,16 @@
|
|
1937
1937
|
"output_required": true,
|
1938
1938
|
"type": "list",
|
1939
1939
|
"value_allowed_null": true
|
1940
|
+
},
|
1941
|
+
{
|
1942
|
+
"disabled": false,
|
1943
|
+
"document": "两个时间点的时间间隔,单位纳秒",
|
1944
|
+
"example": "100",
|
1945
|
+
"member": "int64",
|
1946
|
+
"name": "Step",
|
1947
|
+
"output_required": false,
|
1948
|
+
"type": "int",
|
1949
|
+
"value_allowed_null": false
|
1940
1950
|
}
|
1941
1951
|
],
|
1942
1952
|
"usage": "out"
|
@@ -73,7 +73,7 @@
|
|
73
73
|
"CreateCertificate": {
|
74
74
|
"document": "本接口(CreateCertificate)用于创建付费证书。",
|
75
75
|
"input": "CreateCertificateRequest",
|
76
|
-
"name": "
|
76
|
+
"name": "购买付费证书",
|
77
77
|
"output": "CreateCertificateResponse",
|
78
78
|
"status": "online"
|
79
79
|
},
|
@@ -3077,7 +3077,7 @@
|
|
3077
3077
|
"members": [
|
3078
3078
|
{
|
3079
3079
|
"disabled": false,
|
3080
|
-
"document": "
|
3080
|
+
"document": "证书套餐类型:\n3:SecureSite 增强型企业版(EV Pro), \n4:SecureSite 增强型(EV), \n5:SecureSite 企业型专业版(OV Pro),\n6:SecureSite 企业型(OV), \n7:SecureSite 企业型(OV)通配符, \n8:Geotrust 增强型(EV), \n9:Geotrust 企业型(OV), \n10:Geotrust 企业型(OV)通配符, \n11:TrustAsia 域名型多域名 SSL 证书, \n12:TrustAsia 域名型(DV)通配符, \n13:TrustAsia 企业型通配符(OV)SSL 证书(D3), \n14:TrustAsia 企业型(OV)SSL 证书(D3), \n15:TrustAsia 企业型多域名 (OV)SSL 证书(D3), \n16:TrustAsia 增强型 (EV)SSL 证书(D3), \n17:TrustAsia 增强型多域名(EV)SSL 证书(D3), \n18:GlobalSign 企业型(OV)SSL 证书, \n19:GlobalSign 企业型通配符 (OV)SSL 证书, \n20:GlobalSign 增强型 (EV)SSL 证书, \n21:TrustAsia 企业型通配符多域名(OV)SSL 证书(D3), \n22:GlobalSign 企业型多域名(OV)SSL 证书, \n23:GlobalSign 企业型通配符多域名(OV)SSL 证书,\n24:GlobalSign 增强型多域名(EV)SSL 证书,\n25:Wotrus 域名型证书,\n26:Wotrus 域名型多域名证书,\n27:Wotrus 域名型通配符证书,\n28:Wotrus 企业型证书,\n29:Wotrus 企业型多域名证书,\n30:Wotrus 企业型通配符证书,\n31:Wotrus 增强型证书,\n32:Wotrus 增强型多域名证书,\n33:WoTrus-国密域名型证书,\n34:WoTrus-国密域名型证书(多域名),\n35:WoTrus-国密域名型证书(通配符),\n37:WoTrus-国密企业型证书,\n38:WoTrus-国密企业型证书(多域名),\n39:WoTrus-国密企业型证书(通配符),\n40:WoTrus-国密增强型证书,\n41:WoTrus-国密增强型证书(多域名),\n42:TrustAsia-域名型证书(通配符多域名),\n43:DNSPod-企业型(OV)SSL证书\n44:DNSPod-企业型(OV)通配符SSL证书\n45:DNSPod-企业型(OV)多域名SSL证书\n46:DNSPod-增强型(EV)SSL证书\n47:DNSPod-增强型(EV)多域名SSL证书\n48:DNSPod-域名型(DV)SSL证书\n49:DNSPod-域名型(DV)通配符SSL证书\n50:DNSPod-域名型(DV)多域名SSL证书\n51:DNSPod(国密)-企业型(OV)SSL证书\n52:DNSPod(国密)-企业型(OV)通配符SSL证书\n53:DNSPod(国密)-企业型(OV)多域名SSL证书\n54:DNSPod(国密)-域名型(DV)SSL证书\n55:DNSPod(国密)-域名型(DV)通配符SSL证书\n56:DNSPod(国密)-域名型(DV)多域名SSL证书\n57:SecureSite 企业型专业版多域名(OV Pro)\n58:SecureSite 企业型多域名(OV)\n59:SecureSite 增强型专业版多域名(EV Pro)\n60:SecureSite 增强型多域名(EV)\n61:Geotrust 增强型多域名(EV)\n75:SecureSite 企业型(OV)\n76:SecureSite 企业型(OV)通配符\n77:SecureSite 增强型(EV)\n78:Geotrust 企业型(OV)\n79:Geotrust 企业型(OV)通配符\n80:Geotrust 增强型(EV)\n81:GlobalSign 企业型(OV)SSL证书\n82:GlobalSign 企业型通配符 (OV)SSL证书\n85:GlobalSign 增强型 (EV)SSL证书\n88:GlobalSign 企业型通配符多域名 (OV)SSL证书\n89:GlobalSign 企业型多域名 (OV)SSL证书\n90:GlobalSign 增强型多域名(EV) SSL证书\n91:Geotrust 增强型多域名(EV)\n92:SecureSite 企业型专业版多域名(OV Pro)\n93:SecureSite 企业型多域名(OV)\n94:SecureSite 增强型专业版多域名(EV Pro)\n95:SecureSite 增强型多域名(EV)\n96:SecureSite 增强型专业版(EV Pro)\n97:SecureSite 企业型专业版(OV Pro)\n98:CFCA 企业型(OV)SSL证书\n99:CFCA 企业型多域名(OV)SSL证书,不支持多年期\n100:CFCA 企业型通配符(OV)SSL证书,不支持多年期\n101:CFCA 增强型(EV)SSL证书,不支持多年期\n102: Rapid-域名型(DV)SSL证书\n103: Rapid-域名型(DV)SSL证书(通配符)\n104: TrustAsia-域名型(单域名)\n105: SSL单域名证书(一年期)",
|
3081
3081
|
"example": "25",
|
3082
3082
|
"member": "int64",
|
3083
3083
|
"name": "ProductId",
|
@@ -3086,7 +3086,7 @@
|
|
3086
3086
|
},
|
3087
3087
|
{
|
3088
3088
|
"disabled": false,
|
3089
|
-
"document": "
|
3089
|
+
"document": "证书包含的域名数量。 多域名或者多泛域名证书类型必须大于1",
|
3090
3090
|
"example": "1",
|
3091
3091
|
"member": "int64",
|
3092
3092
|
"name": "DomainNum",
|
@@ -3095,7 +3095,7 @@
|
|
3095
3095
|
},
|
3096
3096
|
{
|
3097
3097
|
"disabled": false,
|
3098
|
-
"document": "
|
3098
|
+
"document": "证书年限。 支持多年期的证书才可以大于1年",
|
3099
3099
|
"example": "1",
|
3100
3100
|
"member": "int64",
|
3101
3101
|
"name": "TimeSpan",
|
@@ -36,7 +36,7 @@
|
|
36
36
|
"status": "online"
|
37
37
|
},
|
38
38
|
"CreateAliasDomain": {
|
39
|
-
"document": "
|
39
|
+
"document": "创建别称域名。\n该功能仅企业版套餐支持,并且该功能当前仍在内测中,如需使用,请[联系我们](https://cloud.tencent.com/online-service?from=connect-us)。",
|
40
40
|
"input": "CreateAliasDomainRequest",
|
41
41
|
"name": "创建别称域名",
|
42
42
|
"output": "CreateAliasDomainResponse",
|
@@ -211,7 +211,7 @@
|
|
211
211
|
"status": "online"
|
212
212
|
},
|
213
213
|
"DeleteAliasDomain": {
|
214
|
-
"document": "
|
214
|
+
"document": "删除别称域名。\n该功能仅企业版套餐支持,并且该功能当前仍在内测中,如需使用,请[联系我们](https://cloud.tencent.com/online-service?from=connect-us)。",
|
215
215
|
"input": "DeleteAliasDomainRequest",
|
216
216
|
"name": "删除别称域名",
|
217
217
|
"output": "DeleteAliasDomainResponse",
|
@@ -351,7 +351,7 @@
|
|
351
351
|
"status": "online"
|
352
352
|
},
|
353
353
|
"DescribeAliasDomains": {
|
354
|
-
"document": "
|
354
|
+
"document": "查询别称域名信息列表。\n该功能仅企业版套餐支持,并且该功能当前仍在内测中,如需使用,请[联系我们](https://cloud.tencent.com/online-service?from=connect-us)。",
|
355
355
|
"input": "DescribeAliasDomainsRequest",
|
356
356
|
"name": "查询别称域名信息列表",
|
357
357
|
"output": "DescribeAliasDomainsResponse",
|
@@ -764,14 +764,14 @@
|
|
764
764
|
"status": "online"
|
765
765
|
},
|
766
766
|
"ModifyAliasDomain": {
|
767
|
-
"document": "
|
767
|
+
"document": "修改别称域名。\n该功能仅企业版套餐支持,并且该功能当前仍在内测中,如需使用,请[联系我们](https://cloud.tencent.com/online-service?from=connect-us)。",
|
768
768
|
"input": "ModifyAliasDomainRequest",
|
769
769
|
"name": "修改别称域名",
|
770
770
|
"output": "ModifyAliasDomainResponse",
|
771
771
|
"status": "online"
|
772
772
|
},
|
773
773
|
"ModifyAliasDomainStatus": {
|
774
|
-
"document": "
|
774
|
+
"document": "修改别称域名状态。\n该功能仅企业版套餐支持,并且该功能当前仍在内测中,如需使用,请[联系我们](https://cloud.tencent.com/online-service?from=connect-us)。",
|
775
775
|
"input": "ModifyAliasDomainStatusRequest",
|
776
776
|
"name": "修改别称域名状态",
|
777
777
|
"output": "ModifyAliasDomainStatusResponse",
|