tccli 3.0.947.1__py2.py3-none-any.whl → 3.0.949.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/examples/apigateway/v20180808/DescribeService.md +1 -0
- tccli/examples/bma/v20221115/CreateBPWhiteList.md +5 -1
- tccli/examples/bma/v20221115/DescribeBPWhiteLists.md +14 -1
- tccli/examples/cdwch/v20200915/DeleteBackUpData.md +21 -0
- tccli/examples/cdwch/v20200915/DescribeBackUpJob.md +32 -0
- tccli/examples/cdwch/v20200915/DescribeBackUpJobDetail.md +30 -0
- tccli/examples/cdwch/v20200915/DescribeCkSqlApis.md +2 -32
- tccli/examples/cdwch/v20200915/RecoverBackUpJob.md +21 -0
- tccli/examples/cfw/v20190904/DescribeNatAcRule.md +31 -22
- tccli/examples/csip/v20221121/DescribeListenerList.md +35 -3
- tccli/examples/cvm/v20170312/ModifyImageSharePermission.md +2 -2
- tccli/examples/dsgc/v20190723/DescribeDSPAAssessmentRiskSideDistributed.md +35 -0
- tccli/examples/dsgc/v20190723/DescribeDSPAAssessmentRiskSideList.md +27 -0
- tccli/examples/dsgc/v20190723/DescribeDSPAAssessmentRiskTemplateVulnerableList.md +2 -1
- tccli/examples/dsgc/v20190723/DescribeDSPAESDiscoveryTaskResultDetail.md +8 -2
- tccli/examples/faceid/v20180301/GetEidResult.md +55 -24
- tccli/examples/lcic/v20220817/DescribeGroupList.md +79 -9
- tccli/examples/vpc/v20170312/CreateNetworkAclEntries.md +30 -0
- tccli/examples/vpc/v20170312/DeleteNetworkAclEntries.md +22 -0
- tccli/examples/vpc/v20170312/ModifyNetworkAclEntries.md +0 -5
- tccli/examples/waf/v20180125/AddAntiFakeUrl.md +46 -0
- tccli/examples/waf/v20180125/AddAntiInfoLeakRules.md +26 -0
- tccli/examples/waf/v20180125/DeleteAntiFakeUrl.md +21 -0
- tccli/examples/waf/v20180125/DeleteAntiInfoLeakRule.md +21 -0
- tccli/examples/waf/v20180125/DeleteCCRule.md +23 -0
- tccli/examples/waf/v20180125/DescribeAntiFakeRules.md +28 -0
- tccli/examples/waf/v20180125/DescribeAntiFakeUrl.md +57 -0
- tccli/examples/waf/v20180125/DescribeAntiInfoLeakRules.md +40 -0
- tccli/examples/waf/v20180125/DescribeAntiInfoLeakageRules.md +38 -0
- tccli/examples/waf/v20180125/DescribeBatchIpAccessControl.md +42 -0
- tccli/examples/waf/v20180125/DescribeCCRule.md +71 -0
- tccli/examples/waf/v20180125/DescribeCCRuleList.md +36 -0
- tccli/examples/waf/v20180125/DescribeSession.md +51 -0
- tccli/examples/waf/v20180125/ModifyAntiFakeUrl.md +24 -0
- tccli/examples/waf/v20180125/ModifyAntiFakeUrlStatus.md +22 -0
- tccli/examples/waf/v20180125/ModifyAntiInfoLeakRuleStatus.md +22 -0
- tccli/examples/waf/v20180125/ModifyAntiInfoLeakRules.md +26 -0
- tccli/examples/waf/v20180125/ModifyCustomWhiteRuleStatus.md +26 -0
- tccli/examples/waf/v20180125/UpsertCCRule.md +95 -0
- tccli/examples/waf/v20180125/UpsertSession.md +25 -0
- tccli/services/apigateway/v20180808/api.json +22 -2
- tccli/services/apigateway/v20180808/examples.json +1 -1
- tccli/services/asr/v20190614/api.json +3 -3
- tccli/services/bma/v20221115/api.json +27 -6
- tccli/services/bma/v20221115/examples.json +2 -2
- tccli/services/cdwch/cdwch_client.py +278 -66
- tccli/services/cdwch/v20200915/api.json +314 -1
- tccli/services/cdwch/v20200915/examples.json +33 -1
- tccli/services/cfw/v20190904/api.json +3 -0
- tccli/services/cfw/v20190904/examples.json +2 -2
- tccli/services/ckafka/v20190819/api.json +83 -15
- tccli/services/csip/v20221121/api.json +24 -12
- tccli/services/csip/v20221121/examples.json +1 -1
- tccli/services/cvm/v20170312/api.json +4 -4
- tccli/services/cvm/v20170312/examples.json +1 -1
- tccli/services/cwp/v20180228/api.json +20 -2
- tccli/services/cynosdb/v20190107/api.json +3 -3
- tccli/services/dbbrain/v20210527/api.json +53 -33
- tccli/services/dsgc/dsgc_client.py +106 -0
- tccli/services/dsgc/v20190723/api.json +414 -46
- tccli/services/dsgc/v20190723/examples.json +18 -2
- tccli/services/ess/v20201111/api.json +1 -1
- tccli/services/faceid/v20180301/api.json +26 -7
- tccli/services/faceid/v20180301/examples.json +1 -1
- tccli/services/lcic/v20220817/api.json +2 -0
- tccli/services/lcic/v20220817/examples.json +10 -4
- tccli/services/lighthouse/v20200324/api.json +1 -1
- tccli/services/oceanus/v20190422/api.json +122 -36
- tccli/services/trtc/v20190722/api.json +3 -3
- tccli/services/tsf/v20180326/api.json +26 -8
- tccli/services/vod/v20180717/api.json +57 -11
- tccli/services/vpc/v20170312/api.json +155 -18
- tccli/services/vpc/v20170312/examples.json +19 -3
- tccli/services/vpc/vpc_client.py +195 -89
- tccli/services/waf/v20180125/api.json +2671 -582
- tccli/services/waf/v20180125/examples.json +202 -0
- tccli/services/waf/waf_client.py +1365 -305
- tccli/services/wedata/v20210820/api.json +40 -30
- {tccli-3.0.947.1.dist-info → tccli-3.0.949.1.dist-info}/METADATA +2 -2
- {tccli-3.0.947.1.dist-info → tccli-3.0.949.1.dist-info}/RECORD +84 -56
- {tccli-3.0.947.1.dist-info → tccli-3.0.949.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.947.1.dist-info → tccli-3.0.949.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.947.1.dist-info → tccli-3.0.949.1.dist-info}/license_files/LICENSE +0 -0
@@ -17,7 +17,7 @@ from tencentcloud.cdwch.v20200915 import models as models_v20200915
|
|
17
17
|
from jmespath import search
|
18
18
|
import time
|
19
19
|
|
20
|
-
def
|
20
|
+
def doCreateBackUpSchedule(args, parsed_globals):
|
21
21
|
g_param = parse_global_arg(parsed_globals)
|
22
22
|
|
23
23
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -46,11 +46,11 @@ def doDescribeBackUpSchedule(args, parsed_globals):
|
|
46
46
|
client = mod.CdwchClient(cred, g_param[OptionsDefine.Region], profile)
|
47
47
|
client._sdkVersion += ("_CLI_" + __version__)
|
48
48
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
49
|
-
model = models.
|
49
|
+
model = models.CreateBackUpScheduleRequest()
|
50
50
|
model.from_json_string(json.dumps(args))
|
51
51
|
start_time = time.time()
|
52
52
|
while True:
|
53
|
-
rsp = client.
|
53
|
+
rsp = client.CreateBackUpSchedule(model)
|
54
54
|
result = rsp.to_json_string()
|
55
55
|
try:
|
56
56
|
json_obj = json.loads(result)
|
@@ -69,7 +69,7 @@ def doDescribeBackUpSchedule(args, parsed_globals):
|
|
69
69
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
70
70
|
|
71
71
|
|
72
|
-
def
|
72
|
+
def doDescribeBackUpJob(args, parsed_globals):
|
73
73
|
g_param = parse_global_arg(parsed_globals)
|
74
74
|
|
75
75
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -98,11 +98,219 @@ def doCreateBackUpSchedule(args, parsed_globals):
|
|
98
98
|
client = mod.CdwchClient(cred, g_param[OptionsDefine.Region], profile)
|
99
99
|
client._sdkVersion += ("_CLI_" + __version__)
|
100
100
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
101
|
-
model = models.
|
101
|
+
model = models.DescribeBackUpJobRequest()
|
102
102
|
model.from_json_string(json.dumps(args))
|
103
103
|
start_time = time.time()
|
104
104
|
while True:
|
105
|
-
rsp = client.
|
105
|
+
rsp = client.DescribeBackUpJob(model)
|
106
|
+
result = rsp.to_json_string()
|
107
|
+
try:
|
108
|
+
json_obj = json.loads(result)
|
109
|
+
except TypeError as e:
|
110
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
111
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
112
|
+
break
|
113
|
+
cur_time = time.time()
|
114
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
115
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
116
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
117
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
118
|
+
else:
|
119
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
120
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
121
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
122
|
+
|
123
|
+
|
124
|
+
def doDestroyInstance(args, parsed_globals):
|
125
|
+
g_param = parse_global_arg(parsed_globals)
|
126
|
+
|
127
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
128
|
+
cred = credential.CVMRoleCredential()
|
129
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
130
|
+
cred = credential.STSAssumeRoleCredential(
|
131
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
132
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')]
|
133
|
+
)
|
134
|
+
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):
|
135
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
136
|
+
else:
|
137
|
+
cred = credential.Credential(
|
138
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
139
|
+
)
|
140
|
+
http_profile = HttpProfile(
|
141
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
142
|
+
reqMethod="POST",
|
143
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
144
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
145
|
+
)
|
146
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
147
|
+
if g_param[OptionsDefine.Language]:
|
148
|
+
profile.language = g_param[OptionsDefine.Language]
|
149
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
150
|
+
client = mod.CdwchClient(cred, g_param[OptionsDefine.Region], profile)
|
151
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
152
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
153
|
+
model = models.DestroyInstanceRequest()
|
154
|
+
model.from_json_string(json.dumps(args))
|
155
|
+
start_time = time.time()
|
156
|
+
while True:
|
157
|
+
rsp = client.DestroyInstance(model)
|
158
|
+
result = rsp.to_json_string()
|
159
|
+
try:
|
160
|
+
json_obj = json.loads(result)
|
161
|
+
except TypeError as e:
|
162
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
163
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
164
|
+
break
|
165
|
+
cur_time = time.time()
|
166
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
167
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
168
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
169
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
170
|
+
else:
|
171
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
172
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
173
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
174
|
+
|
175
|
+
|
176
|
+
def doDescribeInstanceKeyValConfigs(args, parsed_globals):
|
177
|
+
g_param = parse_global_arg(parsed_globals)
|
178
|
+
|
179
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
180
|
+
cred = credential.CVMRoleCredential()
|
181
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
182
|
+
cred = credential.STSAssumeRoleCredential(
|
183
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
184
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')]
|
185
|
+
)
|
186
|
+
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):
|
187
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
188
|
+
else:
|
189
|
+
cred = credential.Credential(
|
190
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
191
|
+
)
|
192
|
+
http_profile = HttpProfile(
|
193
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
194
|
+
reqMethod="POST",
|
195
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
196
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
197
|
+
)
|
198
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
199
|
+
if g_param[OptionsDefine.Language]:
|
200
|
+
profile.language = g_param[OptionsDefine.Language]
|
201
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
202
|
+
client = mod.CdwchClient(cred, g_param[OptionsDefine.Region], profile)
|
203
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
204
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
205
|
+
model = models.DescribeInstanceKeyValConfigsRequest()
|
206
|
+
model.from_json_string(json.dumps(args))
|
207
|
+
start_time = time.time()
|
208
|
+
while True:
|
209
|
+
rsp = client.DescribeInstanceKeyValConfigs(model)
|
210
|
+
result = rsp.to_json_string()
|
211
|
+
try:
|
212
|
+
json_obj = json.loads(result)
|
213
|
+
except TypeError as e:
|
214
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
215
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
216
|
+
break
|
217
|
+
cur_time = time.time()
|
218
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
219
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
220
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
221
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
222
|
+
else:
|
223
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
224
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
225
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
226
|
+
|
227
|
+
|
228
|
+
def doModifyInstanceKeyValConfigs(args, parsed_globals):
|
229
|
+
g_param = parse_global_arg(parsed_globals)
|
230
|
+
|
231
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
232
|
+
cred = credential.CVMRoleCredential()
|
233
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
234
|
+
cred = credential.STSAssumeRoleCredential(
|
235
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
236
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')]
|
237
|
+
)
|
238
|
+
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):
|
239
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
240
|
+
else:
|
241
|
+
cred = credential.Credential(
|
242
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
243
|
+
)
|
244
|
+
http_profile = HttpProfile(
|
245
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
246
|
+
reqMethod="POST",
|
247
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
248
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
249
|
+
)
|
250
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
251
|
+
if g_param[OptionsDefine.Language]:
|
252
|
+
profile.language = g_param[OptionsDefine.Language]
|
253
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
254
|
+
client = mod.CdwchClient(cred, g_param[OptionsDefine.Region], profile)
|
255
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
256
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
257
|
+
model = models.ModifyInstanceKeyValConfigsRequest()
|
258
|
+
model.from_json_string(json.dumps(args))
|
259
|
+
start_time = time.time()
|
260
|
+
while True:
|
261
|
+
rsp = client.ModifyInstanceKeyValConfigs(model)
|
262
|
+
result = rsp.to_json_string()
|
263
|
+
try:
|
264
|
+
json_obj = json.loads(result)
|
265
|
+
except TypeError as e:
|
266
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
267
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
268
|
+
break
|
269
|
+
cur_time = time.time()
|
270
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
271
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
272
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
273
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
274
|
+
else:
|
275
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
276
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
277
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
278
|
+
|
279
|
+
|
280
|
+
def doScaleUpInstance(args, parsed_globals):
|
281
|
+
g_param = parse_global_arg(parsed_globals)
|
282
|
+
|
283
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
284
|
+
cred = credential.CVMRoleCredential()
|
285
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
286
|
+
cred = credential.STSAssumeRoleCredential(
|
287
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
288
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')]
|
289
|
+
)
|
290
|
+
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):
|
291
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
292
|
+
else:
|
293
|
+
cred = credential.Credential(
|
294
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
295
|
+
)
|
296
|
+
http_profile = HttpProfile(
|
297
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
298
|
+
reqMethod="POST",
|
299
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
300
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
301
|
+
)
|
302
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
303
|
+
if g_param[OptionsDefine.Language]:
|
304
|
+
profile.language = g_param[OptionsDefine.Language]
|
305
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
306
|
+
client = mod.CdwchClient(cred, g_param[OptionsDefine.Region], profile)
|
307
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
308
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
309
|
+
model = models.ScaleUpInstanceRequest()
|
310
|
+
model.from_json_string(json.dumps(args))
|
311
|
+
start_time = time.time()
|
312
|
+
while True:
|
313
|
+
rsp = client.ScaleUpInstance(model)
|
106
314
|
result = rsp.to_json_string()
|
107
315
|
try:
|
108
316
|
json_obj = json.loads(result)
|
@@ -173,7 +381,7 @@ def doScaleOutInstance(args, parsed_globals):
|
|
173
381
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
174
382
|
|
175
383
|
|
176
|
-
def
|
384
|
+
def doDescribeInstanceShards(args, parsed_globals):
|
177
385
|
g_param = parse_global_arg(parsed_globals)
|
178
386
|
|
179
387
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -202,11 +410,11 @@ def doDescribeCkSqlApis(args, parsed_globals):
|
|
202
410
|
client = mod.CdwchClient(cred, g_param[OptionsDefine.Region], profile)
|
203
411
|
client._sdkVersion += ("_CLI_" + __version__)
|
204
412
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
205
|
-
model = models.
|
413
|
+
model = models.DescribeInstanceShardsRequest()
|
206
414
|
model.from_json_string(json.dumps(args))
|
207
415
|
start_time = time.time()
|
208
416
|
while True:
|
209
|
-
rsp = client.
|
417
|
+
rsp = client.DescribeInstanceShards(model)
|
210
418
|
result = rsp.to_json_string()
|
211
419
|
try:
|
212
420
|
json_obj = json.loads(result)
|
@@ -225,7 +433,7 @@ def doDescribeCkSqlApis(args, parsed_globals):
|
|
225
433
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
226
434
|
|
227
435
|
|
228
|
-
def
|
436
|
+
def doDescribeInstancesNew(args, parsed_globals):
|
229
437
|
g_param = parse_global_arg(parsed_globals)
|
230
438
|
|
231
439
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -254,11 +462,11 @@ def doDestroyInstance(args, parsed_globals):
|
|
254
462
|
client = mod.CdwchClient(cred, g_param[OptionsDefine.Region], profile)
|
255
463
|
client._sdkVersion += ("_CLI_" + __version__)
|
256
464
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
257
|
-
model = models.
|
465
|
+
model = models.DescribeInstancesNewRequest()
|
258
466
|
model.from_json_string(json.dumps(args))
|
259
467
|
start_time = time.time()
|
260
468
|
while True:
|
261
|
-
rsp = client.
|
469
|
+
rsp = client.DescribeInstancesNew(model)
|
262
470
|
result = rsp.to_json_string()
|
263
471
|
try:
|
264
472
|
json_obj = json.loads(result)
|
@@ -277,7 +485,7 @@ def doDestroyInstance(args, parsed_globals):
|
|
277
485
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
278
486
|
|
279
487
|
|
280
|
-
def
|
488
|
+
def doDeleteBackUpData(args, parsed_globals):
|
281
489
|
g_param = parse_global_arg(parsed_globals)
|
282
490
|
|
283
491
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -306,11 +514,11 @@ def doDescribeInstanceKeyValConfigs(args, parsed_globals):
|
|
306
514
|
client = mod.CdwchClient(cred, g_param[OptionsDefine.Region], profile)
|
307
515
|
client._sdkVersion += ("_CLI_" + __version__)
|
308
516
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
309
|
-
model = models.
|
517
|
+
model = models.DeleteBackUpDataRequest()
|
310
518
|
model.from_json_string(json.dumps(args))
|
311
519
|
start_time = time.time()
|
312
520
|
while True:
|
313
|
-
rsp = client.
|
521
|
+
rsp = client.DeleteBackUpData(model)
|
314
522
|
result = rsp.to_json_string()
|
315
523
|
try:
|
316
524
|
json_obj = json.loads(result)
|
@@ -329,7 +537,7 @@ def doDescribeInstanceKeyValConfigs(args, parsed_globals):
|
|
329
537
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
330
538
|
|
331
539
|
|
332
|
-
def
|
540
|
+
def doModifyClusterConfigs(args, parsed_globals):
|
333
541
|
g_param = parse_global_arg(parsed_globals)
|
334
542
|
|
335
543
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -358,11 +566,11 @@ def doOpenBackUp(args, parsed_globals):
|
|
358
566
|
client = mod.CdwchClient(cred, g_param[OptionsDefine.Region], profile)
|
359
567
|
client._sdkVersion += ("_CLI_" + __version__)
|
360
568
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
361
|
-
model = models.
|
569
|
+
model = models.ModifyClusterConfigsRequest()
|
362
570
|
model.from_json_string(json.dumps(args))
|
363
571
|
start_time = time.time()
|
364
572
|
while True:
|
365
|
-
rsp = client.
|
573
|
+
rsp = client.ModifyClusterConfigs(model)
|
366
574
|
result = rsp.to_json_string()
|
367
575
|
try:
|
368
576
|
json_obj = json.loads(result)
|
@@ -381,7 +589,7 @@ def doOpenBackUp(args, parsed_globals):
|
|
381
589
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
382
590
|
|
383
591
|
|
384
|
-
def
|
592
|
+
def doActionAlterCkUser(args, parsed_globals):
|
385
593
|
g_param = parse_global_arg(parsed_globals)
|
386
594
|
|
387
595
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -410,11 +618,11 @@ def doDescribeInstanceClusters(args, parsed_globals):
|
|
410
618
|
client = mod.CdwchClient(cred, g_param[OptionsDefine.Region], profile)
|
411
619
|
client._sdkVersion += ("_CLI_" + __version__)
|
412
620
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
413
|
-
model = models.
|
621
|
+
model = models.ActionAlterCkUserRequest()
|
414
622
|
model.from_json_string(json.dumps(args))
|
415
623
|
start_time = time.time()
|
416
624
|
while True:
|
417
|
-
rsp = client.
|
625
|
+
rsp = client.ActionAlterCkUser(model)
|
418
626
|
result = rsp.to_json_string()
|
419
627
|
try:
|
420
628
|
json_obj = json.loads(result)
|
@@ -485,7 +693,7 @@ def doDescribeInstanceState(args, parsed_globals):
|
|
485
693
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
486
694
|
|
487
695
|
|
488
|
-
def
|
696
|
+
def doDescribeClusterConfigs(args, parsed_globals):
|
489
697
|
g_param = parse_global_arg(parsed_globals)
|
490
698
|
|
491
699
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -514,11 +722,11 @@ def doDescribeInstance(args, parsed_globals):
|
|
514
722
|
client = mod.CdwchClient(cred, g_param[OptionsDefine.Region], profile)
|
515
723
|
client._sdkVersion += ("_CLI_" + __version__)
|
516
724
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
517
|
-
model = models.
|
725
|
+
model = models.DescribeClusterConfigsRequest()
|
518
726
|
model.from_json_string(json.dumps(args))
|
519
727
|
start_time = time.time()
|
520
728
|
while True:
|
521
|
-
rsp = client.
|
729
|
+
rsp = client.DescribeClusterConfigs(model)
|
522
730
|
result = rsp.to_json_string()
|
523
731
|
try:
|
524
732
|
json_obj = json.loads(result)
|
@@ -537,7 +745,7 @@ def doDescribeInstance(args, parsed_globals):
|
|
537
745
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
538
746
|
|
539
747
|
|
540
|
-
def
|
748
|
+
def doOpenBackUp(args, parsed_globals):
|
541
749
|
g_param = parse_global_arg(parsed_globals)
|
542
750
|
|
543
751
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -566,11 +774,11 @@ def doDescribeClusterConfigs(args, parsed_globals):
|
|
566
774
|
client = mod.CdwchClient(cred, g_param[OptionsDefine.Region], profile)
|
567
775
|
client._sdkVersion += ("_CLI_" + __version__)
|
568
776
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
569
|
-
model = models.
|
777
|
+
model = models.OpenBackUpRequest()
|
570
778
|
model.from_json_string(json.dumps(args))
|
571
779
|
start_time = time.time()
|
572
780
|
while True:
|
573
|
-
rsp = client.
|
781
|
+
rsp = client.OpenBackUp(model)
|
574
782
|
result = rsp.to_json_string()
|
575
783
|
try:
|
576
784
|
json_obj = json.loads(result)
|
@@ -589,7 +797,7 @@ def doDescribeClusterConfigs(args, parsed_globals):
|
|
589
797
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
590
798
|
|
591
799
|
|
592
|
-
def
|
800
|
+
def doRecoverBackUpJob(args, parsed_globals):
|
593
801
|
g_param = parse_global_arg(parsed_globals)
|
594
802
|
|
595
803
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -618,11 +826,11 @@ def doActionAlterCkUser(args, parsed_globals):
|
|
618
826
|
client = mod.CdwchClient(cred, g_param[OptionsDefine.Region], profile)
|
619
827
|
client._sdkVersion += ("_CLI_" + __version__)
|
620
828
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
621
|
-
model = models.
|
829
|
+
model = models.RecoverBackUpJobRequest()
|
622
830
|
model.from_json_string(json.dumps(args))
|
623
831
|
start_time = time.time()
|
624
832
|
while True:
|
625
|
-
rsp = client.
|
833
|
+
rsp = client.RecoverBackUpJob(model)
|
626
834
|
result = rsp.to_json_string()
|
627
835
|
try:
|
628
836
|
json_obj = json.loads(result)
|
@@ -641,7 +849,7 @@ def doActionAlterCkUser(args, parsed_globals):
|
|
641
849
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
642
850
|
|
643
851
|
|
644
|
-
def
|
852
|
+
def doDescribeCkSqlApis(args, parsed_globals):
|
645
853
|
g_param = parse_global_arg(parsed_globals)
|
646
854
|
|
647
855
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -670,11 +878,11 @@ def doDescribeSpec(args, parsed_globals):
|
|
670
878
|
client = mod.CdwchClient(cred, g_param[OptionsDefine.Region], profile)
|
671
879
|
client._sdkVersion += ("_CLI_" + __version__)
|
672
880
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
673
|
-
model = models.
|
881
|
+
model = models.DescribeCkSqlApisRequest()
|
674
882
|
model.from_json_string(json.dumps(args))
|
675
883
|
start_time = time.time()
|
676
884
|
while True:
|
677
|
-
rsp = client.
|
885
|
+
rsp = client.DescribeCkSqlApis(model)
|
678
886
|
result = rsp.to_json_string()
|
679
887
|
try:
|
680
888
|
json_obj = json.loads(result)
|
@@ -693,7 +901,7 @@ def doDescribeSpec(args, parsed_globals):
|
|
693
901
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
694
902
|
|
695
903
|
|
696
|
-
def
|
904
|
+
def doDescribeSpec(args, parsed_globals):
|
697
905
|
g_param = parse_global_arg(parsed_globals)
|
698
906
|
|
699
907
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -722,11 +930,11 @@ def doModifyClusterConfigs(args, parsed_globals):
|
|
722
930
|
client = mod.CdwchClient(cred, g_param[OptionsDefine.Region], profile)
|
723
931
|
client._sdkVersion += ("_CLI_" + __version__)
|
724
932
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
725
|
-
model = models.
|
933
|
+
model = models.DescribeSpecRequest()
|
726
934
|
model.from_json_string(json.dumps(args))
|
727
935
|
start_time = time.time()
|
728
936
|
while True:
|
729
|
-
rsp = client.
|
937
|
+
rsp = client.DescribeSpec(model)
|
730
938
|
result = rsp.to_json_string()
|
731
939
|
try:
|
732
940
|
json_obj = json.loads(result)
|
@@ -797,7 +1005,7 @@ def doCreateInstanceNew(args, parsed_globals):
|
|
797
1005
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
798
1006
|
|
799
1007
|
|
800
|
-
def
|
1008
|
+
def doDescribeBackUpSchedule(args, parsed_globals):
|
801
1009
|
g_param = parse_global_arg(parsed_globals)
|
802
1010
|
|
803
1011
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -826,11 +1034,11 @@ def doModifyInstanceKeyValConfigs(args, parsed_globals):
|
|
826
1034
|
client = mod.CdwchClient(cred, g_param[OptionsDefine.Region], profile)
|
827
1035
|
client._sdkVersion += ("_CLI_" + __version__)
|
828
1036
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
829
|
-
model = models.
|
1037
|
+
model = models.DescribeBackUpScheduleRequest()
|
830
1038
|
model.from_json_string(json.dumps(args))
|
831
1039
|
start_time = time.time()
|
832
1040
|
while True:
|
833
|
-
rsp = client.
|
1041
|
+
rsp = client.DescribeBackUpSchedule(model)
|
834
1042
|
result = rsp.to_json_string()
|
835
1043
|
try:
|
836
1044
|
json_obj = json.loads(result)
|
@@ -849,7 +1057,7 @@ def doModifyInstanceKeyValConfigs(args, parsed_globals):
|
|
849
1057
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
850
1058
|
|
851
1059
|
|
852
|
-
def
|
1060
|
+
def doDescribeBackUpJobDetail(args, parsed_globals):
|
853
1061
|
g_param = parse_global_arg(parsed_globals)
|
854
1062
|
|
855
1063
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -878,11 +1086,11 @@ def doModifyUserNewPrivilege(args, parsed_globals):
|
|
878
1086
|
client = mod.CdwchClient(cred, g_param[OptionsDefine.Region], profile)
|
879
1087
|
client._sdkVersion += ("_CLI_" + __version__)
|
880
1088
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
881
|
-
model = models.
|
1089
|
+
model = models.DescribeBackUpJobDetailRequest()
|
882
1090
|
model.from_json_string(json.dumps(args))
|
883
1091
|
start_time = time.time()
|
884
1092
|
while True:
|
885
|
-
rsp = client.
|
1093
|
+
rsp = client.DescribeBackUpJobDetail(model)
|
886
1094
|
result = rsp.to_json_string()
|
887
1095
|
try:
|
888
1096
|
json_obj = json.loads(result)
|
@@ -901,7 +1109,7 @@ def doModifyUserNewPrivilege(args, parsed_globals):
|
|
901
1109
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
902
1110
|
|
903
1111
|
|
904
|
-
def
|
1112
|
+
def doDescribeInstanceClusters(args, parsed_globals):
|
905
1113
|
g_param = parse_global_arg(parsed_globals)
|
906
1114
|
|
907
1115
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -930,11 +1138,11 @@ def doScaleUpInstance(args, parsed_globals):
|
|
930
1138
|
client = mod.CdwchClient(cred, g_param[OptionsDefine.Region], profile)
|
931
1139
|
client._sdkVersion += ("_CLI_" + __version__)
|
932
1140
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
933
|
-
model = models.
|
1141
|
+
model = models.DescribeInstanceClustersRequest()
|
934
1142
|
model.from_json_string(json.dumps(args))
|
935
1143
|
start_time = time.time()
|
936
1144
|
while True:
|
937
|
-
rsp = client.
|
1145
|
+
rsp = client.DescribeInstanceClusters(model)
|
938
1146
|
result = rsp.to_json_string()
|
939
1147
|
try:
|
940
1148
|
json_obj = json.loads(result)
|
@@ -953,7 +1161,7 @@ def doScaleUpInstance(args, parsed_globals):
|
|
953
1161
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
954
1162
|
|
955
1163
|
|
956
|
-
def
|
1164
|
+
def doDescribeInstance(args, parsed_globals):
|
957
1165
|
g_param = parse_global_arg(parsed_globals)
|
958
1166
|
|
959
1167
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -982,11 +1190,11 @@ def doDescribeInstancesNew(args, parsed_globals):
|
|
982
1190
|
client = mod.CdwchClient(cred, g_param[OptionsDefine.Region], profile)
|
983
1191
|
client._sdkVersion += ("_CLI_" + __version__)
|
984
1192
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
985
|
-
model = models.
|
1193
|
+
model = models.DescribeInstanceRequest()
|
986
1194
|
model.from_json_string(json.dumps(args))
|
987
1195
|
start_time = time.time()
|
988
1196
|
while True:
|
989
|
-
rsp = client.
|
1197
|
+
rsp = client.DescribeInstance(model)
|
990
1198
|
result = rsp.to_json_string()
|
991
1199
|
try:
|
992
1200
|
json_obj = json.loads(result)
|
@@ -1005,7 +1213,7 @@ def doDescribeInstancesNew(args, parsed_globals):
|
|
1005
1213
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1006
1214
|
|
1007
1215
|
|
1008
|
-
def
|
1216
|
+
def doModifyUserNewPrivilege(args, parsed_globals):
|
1009
1217
|
g_param = parse_global_arg(parsed_globals)
|
1010
1218
|
|
1011
1219
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -1034,11 +1242,11 @@ def doResizeDisk(args, parsed_globals):
|
|
1034
1242
|
client = mod.CdwchClient(cred, g_param[OptionsDefine.Region], profile)
|
1035
1243
|
client._sdkVersion += ("_CLI_" + __version__)
|
1036
1244
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1037
|
-
model = models.
|
1245
|
+
model = models.ModifyUserNewPrivilegeRequest()
|
1038
1246
|
model.from_json_string(json.dumps(args))
|
1039
1247
|
start_time = time.time()
|
1040
1248
|
while True:
|
1041
|
-
rsp = client.
|
1249
|
+
rsp = client.ModifyUserNewPrivilege(model)
|
1042
1250
|
result = rsp.to_json_string()
|
1043
1251
|
try:
|
1044
1252
|
json_obj = json.loads(result)
|
@@ -1057,7 +1265,7 @@ def doResizeDisk(args, parsed_globals):
|
|
1057
1265
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1058
1266
|
|
1059
1267
|
|
1060
|
-
def
|
1268
|
+
def doResizeDisk(args, parsed_globals):
|
1061
1269
|
g_param = parse_global_arg(parsed_globals)
|
1062
1270
|
|
1063
1271
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -1086,11 +1294,11 @@ def doDescribeInstanceShards(args, parsed_globals):
|
|
1086
1294
|
client = mod.CdwchClient(cred, g_param[OptionsDefine.Region], profile)
|
1087
1295
|
client._sdkVersion += ("_CLI_" + __version__)
|
1088
1296
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1089
|
-
model = models.
|
1297
|
+
model = models.ResizeDiskRequest()
|
1090
1298
|
model.from_json_string(json.dumps(args))
|
1091
1299
|
start_time = time.time()
|
1092
1300
|
while True:
|
1093
|
-
rsp = client.
|
1301
|
+
rsp = client.ResizeDisk(model)
|
1094
1302
|
result = rsp.to_json_string()
|
1095
1303
|
try:
|
1096
1304
|
json_obj = json.loads(result)
|
@@ -1120,27 +1328,31 @@ MODELS_MAP = {
|
|
1120
1328
|
}
|
1121
1329
|
|
1122
1330
|
ACTION_MAP = {
|
1123
|
-
"DescribeBackUpSchedule": doDescribeBackUpSchedule,
|
1124
1331
|
"CreateBackUpSchedule": doCreateBackUpSchedule,
|
1125
|
-
"
|
1126
|
-
"DescribeCkSqlApis": doDescribeCkSqlApis,
|
1332
|
+
"DescribeBackUpJob": doDescribeBackUpJob,
|
1127
1333
|
"DestroyInstance": doDestroyInstance,
|
1128
1334
|
"DescribeInstanceKeyValConfigs": doDescribeInstanceKeyValConfigs,
|
1129
|
-
"
|
1130
|
-
"
|
1335
|
+
"ModifyInstanceKeyValConfigs": doModifyInstanceKeyValConfigs,
|
1336
|
+
"ScaleUpInstance": doScaleUpInstance,
|
1337
|
+
"ScaleOutInstance": doScaleOutInstance,
|
1338
|
+
"DescribeInstanceShards": doDescribeInstanceShards,
|
1339
|
+
"DescribeInstancesNew": doDescribeInstancesNew,
|
1340
|
+
"DeleteBackUpData": doDeleteBackUpData,
|
1341
|
+
"ModifyClusterConfigs": doModifyClusterConfigs,
|
1342
|
+
"ActionAlterCkUser": doActionAlterCkUser,
|
1131
1343
|
"DescribeInstanceState": doDescribeInstanceState,
|
1132
|
-
"DescribeInstance": doDescribeInstance,
|
1133
1344
|
"DescribeClusterConfigs": doDescribeClusterConfigs,
|
1134
|
-
"
|
1345
|
+
"OpenBackUp": doOpenBackUp,
|
1346
|
+
"RecoverBackUpJob": doRecoverBackUpJob,
|
1347
|
+
"DescribeCkSqlApis": doDescribeCkSqlApis,
|
1135
1348
|
"DescribeSpec": doDescribeSpec,
|
1136
|
-
"ModifyClusterConfigs": doModifyClusterConfigs,
|
1137
1349
|
"CreateInstanceNew": doCreateInstanceNew,
|
1138
|
-
"
|
1350
|
+
"DescribeBackUpSchedule": doDescribeBackUpSchedule,
|
1351
|
+
"DescribeBackUpJobDetail": doDescribeBackUpJobDetail,
|
1352
|
+
"DescribeInstanceClusters": doDescribeInstanceClusters,
|
1353
|
+
"DescribeInstance": doDescribeInstance,
|
1139
1354
|
"ModifyUserNewPrivilege": doModifyUserNewPrivilege,
|
1140
|
-
"ScaleUpInstance": doScaleUpInstance,
|
1141
|
-
"DescribeInstancesNew": doDescribeInstancesNew,
|
1142
1355
|
"ResizeDisk": doResizeDisk,
|
1143
|
-
"DescribeInstanceShards": doDescribeInstanceShards,
|
1144
1356
|
|
1145
1357
|
}
|
1146
1358
|
|