tccli 3.0.1309.1__py2.py3-none-any.whl → 3.0.1311.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/apm/v20210622/api.json +38 -0
- tccli/services/asr/v20190614/api.json +9 -0
- tccli/services/autoscaling/v20180419/api.json +19 -10
- tccli/services/bh/v20230418/api.json +193 -2
- tccli/services/bh/v20230418/examples.json +2 -2
- tccli/services/billing/billing_client.py +867 -125
- tccli/services/billing/v20180709/api.json +1336 -45
- tccli/services/billing/v20180709/examples.json +136 -0
- tccli/services/cdb/cdb_client.py +0 -53
- tccli/services/cdb/v20170320/api.json +0 -64
- tccli/services/cdb/v20170320/examples.json +0 -8
- tccli/services/cdwch/v20200915/examples.json +1 -1
- tccli/services/cfw/v20190904/api.json +11 -1
- tccli/services/cfw/v20190904/examples.json +2 -2
- tccli/services/cynosdb/v20190107/api.json +2 -2
- tccli/services/dsgc/v20190723/api.json +28 -18
- tccli/services/dsgc/v20190723/examples.json +1 -1
- tccli/services/ess/ess_client.py +53 -0
- tccli/services/ess/v20201111/api.json +102 -3
- tccli/services/ess/v20201111/examples.json +14 -0
- tccli/services/essbasic/essbasic_client.py +53 -0
- tccli/services/essbasic/v20210526/api.json +110 -2
- tccli/services/essbasic/v20210526/examples.json +14 -0
- tccli/services/gaap/gaap_client.py +12 -171
- tccli/services/gaap/v20180529/api.json +0 -325
- tccli/services/gaap/v20180529/examples.json +0 -24
- tccli/services/hunyuan/v20230901/api.json +130 -7
- tccli/services/iai/v20180301/api.json +12 -12
- tccli/services/iai/v20180301/examples.json +8 -2
- tccli/services/keewidb/v20220308/api.json +1 -1
- tccli/services/keewidb/v20220308/examples.json +1 -1
- tccli/services/lighthouse/v20200324/api.json +4 -4
- tccli/services/lke/v20231130/api.json +117 -2
- tccli/services/postgres/v20170312/api.json +6 -6
- tccli/services/redis/v20180412/api.json +12 -12
- tccli/services/redis/v20180412/examples.json +4 -4
- tccli/services/tag/v20180813/api.json +4 -4
- tccli/services/tcb/v20180608/api.json +20 -0
- tccli/services/tcb/v20180608/examples.json +1 -1
- tccli/services/tcbr/v20220217/api.json +94 -0
- tccli/services/tdmq/v20200217/api.json +4 -4
- tccli/services/teo/v20220901/api.json +45 -24
- tccli/services/thpc/v20211109/api.json +1 -1
- tccli/services/thpc/v20220401/api.json +1 -1
- tccli/services/thpc/v20230321/api.json +6 -6
- tccli/services/tione/v20211111/api.json +159 -4
- tccli/services/tke/v20180525/api.json +10 -10
- tccli/services/tmt/v20180321/api.json +1 -1
- tccli/services/trtc/v20190722/api.json +9 -0
- tccli/services/vod/v20180717/api.json +1 -1
- tccli/services/vpc/v20170312/api.json +5 -5
- tccli/services/waf/v20180125/api.json +163 -28
- tccli/services/waf/v20180125/examples.json +6 -0
- tccli/services/wedata/v20210820/api.json +1419 -0
- tccli/services/wedata/v20210820/examples.json +57 -1
- tccli/services/wedata/wedata_client.py +371 -0
- {tccli-3.0.1309.1.dist-info → tccli-3.0.1311.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1309.1.dist-info → tccli-3.0.1311.1.dist-info}/RECORD +62 -62
- {tccli-3.0.1309.1.dist-info → tccli-3.0.1311.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1309.1.dist-info → tccli-3.0.1311.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1309.1.dist-info → tccli-3.0.1311.1.dist-info}/license_files/LICENSE +0 -0
@@ -1837,58 +1837,6 @@ def doDeleteCertificate(args, parsed_globals):
|
|
1837
1837
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1838
1838
|
|
1839
1839
|
|
1840
|
-
def doCreateFirstLinkSession(args, parsed_globals):
|
1841
|
-
g_param = parse_global_arg(parsed_globals)
|
1842
|
-
|
1843
|
-
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
1844
|
-
cred = credential.CVMRoleCredential()
|
1845
|
-
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
1846
|
-
cred = credential.STSAssumeRoleCredential(
|
1847
|
-
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
1848
|
-
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
1849
|
-
)
|
1850
|
-
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):
|
1851
|
-
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
1852
|
-
else:
|
1853
|
-
cred = credential.Credential(
|
1854
|
-
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
1855
|
-
)
|
1856
|
-
http_profile = HttpProfile(
|
1857
|
-
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
1858
|
-
reqMethod="POST",
|
1859
|
-
endpoint=g_param[OptionsDefine.Endpoint],
|
1860
|
-
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
1861
|
-
)
|
1862
|
-
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
1863
|
-
if g_param[OptionsDefine.Language]:
|
1864
|
-
profile.language = g_param[OptionsDefine.Language]
|
1865
|
-
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
1866
|
-
client = mod.GaapClient(cred, g_param[OptionsDefine.Region], profile)
|
1867
|
-
client._sdkVersion += ("_CLI_" + __version__)
|
1868
|
-
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1869
|
-
model = models.CreateFirstLinkSessionRequest()
|
1870
|
-
model.from_json_string(json.dumps(args))
|
1871
|
-
start_time = time.time()
|
1872
|
-
while True:
|
1873
|
-
rsp = client.CreateFirstLinkSession(model)
|
1874
|
-
result = rsp.to_json_string()
|
1875
|
-
try:
|
1876
|
-
json_obj = json.loads(result)
|
1877
|
-
except TypeError as e:
|
1878
|
-
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
1879
|
-
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
1880
|
-
break
|
1881
|
-
cur_time = time.time()
|
1882
|
-
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
1883
|
-
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
1884
|
-
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
1885
|
-
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
1886
|
-
else:
|
1887
|
-
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
1888
|
-
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
1889
|
-
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1890
|
-
|
1891
|
-
|
1892
1840
|
def doDescribeAccessRegionsByDestRegion(args, parsed_globals):
|
1893
1841
|
g_param = parse_global_arg(parsed_globals)
|
1894
1842
|
|
@@ -2721,7 +2669,7 @@ def doDescribeCustomHeader(args, parsed_globals):
|
|
2721
2669
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
2722
2670
|
|
2723
2671
|
|
2724
|
-
def
|
2672
|
+
def doModifyProxiesAttribute(args, parsed_globals):
|
2725
2673
|
g_param = parse_global_arg(parsed_globals)
|
2726
2674
|
|
2727
2675
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -2750,11 +2698,11 @@ def doDeleteGlobalDomainDns(args, parsed_globals):
|
|
2750
2698
|
client = mod.GaapClient(cred, g_param[OptionsDefine.Region], profile)
|
2751
2699
|
client._sdkVersion += ("_CLI_" + __version__)
|
2752
2700
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
2753
|
-
model = models.
|
2701
|
+
model = models.ModifyProxiesAttributeRequest()
|
2754
2702
|
model.from_json_string(json.dumps(args))
|
2755
2703
|
start_time = time.time()
|
2756
2704
|
while True:
|
2757
|
-
rsp = client.
|
2705
|
+
rsp = client.ModifyProxiesAttribute(model)
|
2758
2706
|
result = rsp.to_json_string()
|
2759
2707
|
try:
|
2760
2708
|
json_obj = json.loads(result)
|
@@ -3553,7 +3501,7 @@ def doModifyProxiesProject(args, parsed_globals):
|
|
3553
3501
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
3554
3502
|
|
3555
3503
|
|
3556
|
-
def
|
3504
|
+
def doAddRealServers(args, parsed_globals):
|
3557
3505
|
g_param = parse_global_arg(parsed_globals)
|
3558
3506
|
|
3559
3507
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -3582,11 +3530,11 @@ def doDeleteFirstLinkSession(args, parsed_globals):
|
|
3582
3530
|
client = mod.GaapClient(cred, g_param[OptionsDefine.Region], profile)
|
3583
3531
|
client._sdkVersion += ("_CLI_" + __version__)
|
3584
3532
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
3585
|
-
model = models.
|
3533
|
+
model = models.AddRealServersRequest()
|
3586
3534
|
model.from_json_string(json.dumps(args))
|
3587
3535
|
start_time = time.time()
|
3588
3536
|
while True:
|
3589
|
-
rsp = client.
|
3537
|
+
rsp = client.AddRealServers(model)
|
3590
3538
|
result = rsp.to_json_string()
|
3591
3539
|
try:
|
3592
3540
|
json_obj = json.loads(result)
|
@@ -3709,58 +3657,6 @@ def doDescribeCertificateDetail(args, parsed_globals):
|
|
3709
3657
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
3710
3658
|
|
3711
3659
|
|
3712
|
-
def doDescribeFirstLinkSession(args, parsed_globals):
|
3713
|
-
g_param = parse_global_arg(parsed_globals)
|
3714
|
-
|
3715
|
-
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
3716
|
-
cred = credential.CVMRoleCredential()
|
3717
|
-
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
3718
|
-
cred = credential.STSAssumeRoleCredential(
|
3719
|
-
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
3720
|
-
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
3721
|
-
)
|
3722
|
-
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):
|
3723
|
-
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
3724
|
-
else:
|
3725
|
-
cred = credential.Credential(
|
3726
|
-
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
3727
|
-
)
|
3728
|
-
http_profile = HttpProfile(
|
3729
|
-
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
3730
|
-
reqMethod="POST",
|
3731
|
-
endpoint=g_param[OptionsDefine.Endpoint],
|
3732
|
-
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
3733
|
-
)
|
3734
|
-
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
3735
|
-
if g_param[OptionsDefine.Language]:
|
3736
|
-
profile.language = g_param[OptionsDefine.Language]
|
3737
|
-
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
3738
|
-
client = mod.GaapClient(cred, g_param[OptionsDefine.Region], profile)
|
3739
|
-
client._sdkVersion += ("_CLI_" + __version__)
|
3740
|
-
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
3741
|
-
model = models.DescribeFirstLinkSessionRequest()
|
3742
|
-
model.from_json_string(json.dumps(args))
|
3743
|
-
start_time = time.time()
|
3744
|
-
while True:
|
3745
|
-
rsp = client.DescribeFirstLinkSession(model)
|
3746
|
-
result = rsp.to_json_string()
|
3747
|
-
try:
|
3748
|
-
json_obj = json.loads(result)
|
3749
|
-
except TypeError as e:
|
3750
|
-
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
3751
|
-
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
3752
|
-
break
|
3753
|
-
cur_time = time.time()
|
3754
|
-
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
3755
|
-
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
3756
|
-
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
3757
|
-
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
3758
|
-
else:
|
3759
|
-
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
3760
|
-
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
3761
|
-
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
3762
|
-
|
3763
|
-
|
3764
3660
|
def doDescribeTaskStatus(args, parsed_globals):
|
3765
3661
|
g_param = parse_global_arg(parsed_globals)
|
3766
3662
|
|
@@ -3813,58 +3709,6 @@ def doDescribeTaskStatus(args, parsed_globals):
|
|
3813
3709
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
3814
3710
|
|
3815
3711
|
|
3816
|
-
def doAddRealServers(args, parsed_globals):
|
3817
|
-
g_param = parse_global_arg(parsed_globals)
|
3818
|
-
|
3819
|
-
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
3820
|
-
cred = credential.CVMRoleCredential()
|
3821
|
-
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
3822
|
-
cred = credential.STSAssumeRoleCredential(
|
3823
|
-
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
3824
|
-
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
3825
|
-
)
|
3826
|
-
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):
|
3827
|
-
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
3828
|
-
else:
|
3829
|
-
cred = credential.Credential(
|
3830
|
-
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
3831
|
-
)
|
3832
|
-
http_profile = HttpProfile(
|
3833
|
-
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
3834
|
-
reqMethod="POST",
|
3835
|
-
endpoint=g_param[OptionsDefine.Endpoint],
|
3836
|
-
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
3837
|
-
)
|
3838
|
-
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
3839
|
-
if g_param[OptionsDefine.Language]:
|
3840
|
-
profile.language = g_param[OptionsDefine.Language]
|
3841
|
-
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
3842
|
-
client = mod.GaapClient(cred, g_param[OptionsDefine.Region], profile)
|
3843
|
-
client._sdkVersion += ("_CLI_" + __version__)
|
3844
|
-
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
3845
|
-
model = models.AddRealServersRequest()
|
3846
|
-
model.from_json_string(json.dumps(args))
|
3847
|
-
start_time = time.time()
|
3848
|
-
while True:
|
3849
|
-
rsp = client.AddRealServers(model)
|
3850
|
-
result = rsp.to_json_string()
|
3851
|
-
try:
|
3852
|
-
json_obj = json.loads(result)
|
3853
|
-
except TypeError as e:
|
3854
|
-
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
3855
|
-
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
3856
|
-
break
|
3857
|
-
cur_time = time.time()
|
3858
|
-
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
3859
|
-
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
3860
|
-
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
3861
|
-
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
3862
|
-
else:
|
3863
|
-
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
3864
|
-
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
3865
|
-
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
3866
|
-
|
3867
|
-
|
3868
3712
|
def doDisableGlobalDomain(args, parsed_globals):
|
3869
3713
|
g_param = parse_global_arg(parsed_globals)
|
3870
3714
|
|
@@ -4541,7 +4385,7 @@ def doDescribeGroupDomainConfig(args, parsed_globals):
|
|
4541
4385
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
4542
4386
|
|
4543
4387
|
|
4544
|
-
def
|
4388
|
+
def doDeleteGlobalDomainDns(args, parsed_globals):
|
4545
4389
|
g_param = parse_global_arg(parsed_globals)
|
4546
4390
|
|
4547
4391
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -4570,11 +4414,11 @@ def doModifyProxiesAttribute(args, parsed_globals):
|
|
4570
4414
|
client = mod.GaapClient(cred, g_param[OptionsDefine.Region], profile)
|
4571
4415
|
client._sdkVersion += ("_CLI_" + __version__)
|
4572
4416
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
4573
|
-
model = models.
|
4417
|
+
model = models.DeleteGlobalDomainDnsRequest()
|
4574
4418
|
model.from_json_string(json.dumps(args))
|
4575
4419
|
start_time = time.time()
|
4576
4420
|
while True:
|
4577
|
-
rsp = client.
|
4421
|
+
rsp = client.DeleteGlobalDomainDns(model)
|
4578
4422
|
result = rsp.to_json_string()
|
4579
4423
|
try:
|
4580
4424
|
json_obj = json.loads(result)
|
@@ -5523,7 +5367,6 @@ ACTION_MAP = {
|
|
5523
5367
|
"DescribeProxyGroupDetails": doDescribeProxyGroupDetails,
|
5524
5368
|
"DeleteSecurityRules": doDeleteSecurityRules,
|
5525
5369
|
"DeleteCertificate": doDeleteCertificate,
|
5526
|
-
"CreateFirstLinkSession": doCreateFirstLinkSession,
|
5527
5370
|
"DescribeAccessRegionsByDestRegion": doDescribeAccessRegionsByDestRegion,
|
5528
5371
|
"ModifyGroupDomainConfig": doModifyGroupDomainConfig,
|
5529
5372
|
"DescribeTCPListeners": doDescribeTCPListeners,
|
@@ -5540,7 +5383,7 @@ ACTION_MAP = {
|
|
5540
5383
|
"CreateProxyGroup": doCreateProxyGroup,
|
5541
5384
|
"CreateCertificate": doCreateCertificate,
|
5542
5385
|
"DescribeCustomHeader": doDescribeCustomHeader,
|
5543
|
-
"
|
5386
|
+
"ModifyProxiesAttribute": doModifyProxiesAttribute,
|
5544
5387
|
"CreateProxy": doCreateProxy,
|
5545
5388
|
"DeleteDomain": doDeleteDomain,
|
5546
5389
|
"DescribeSecurityPolicyDetail": doDescribeSecurityPolicyDetail,
|
@@ -5556,12 +5399,10 @@ ACTION_MAP = {
|
|
5556
5399
|
"DescribeProxies": doDescribeProxies,
|
5557
5400
|
"DeleteProxyGroup": doDeleteProxyGroup,
|
5558
5401
|
"ModifyProxiesProject": doModifyProxiesProject,
|
5559
|
-
"
|
5402
|
+
"AddRealServers": doAddRealServers,
|
5560
5403
|
"CreateDomain": doCreateDomain,
|
5561
5404
|
"DescribeCertificateDetail": doDescribeCertificateDetail,
|
5562
|
-
"DescribeFirstLinkSession": doDescribeFirstLinkSession,
|
5563
5405
|
"DescribeTaskStatus": doDescribeTaskStatus,
|
5564
|
-
"AddRealServers": doAddRealServers,
|
5565
5406
|
"DisableGlobalDomain": doDisableGlobalDomain,
|
5566
5407
|
"DescribeRegionAndPrice": doDescribeRegionAndPrice,
|
5567
5408
|
"DescribeGlobalDomains": doDescribeGlobalDomains,
|
@@ -5575,7 +5416,7 @@ ACTION_MAP = {
|
|
5575
5416
|
"DescribeAccessRegions": doDescribeAccessRegions,
|
5576
5417
|
"ModifyRuleAttribute": doModifyRuleAttribute,
|
5577
5418
|
"DescribeGroupDomainConfig": doDescribeGroupDomainConfig,
|
5578
|
-
"
|
5419
|
+
"DeleteGlobalDomainDns": doDeleteGlobalDomainDns,
|
5579
5420
|
"ModifyHTTPSListenerAttribute": doModifyHTTPSListenerAttribute,
|
5580
5421
|
"DescribeListenerStatistics": doDescribeListenerStatistics,
|
5581
5422
|
"DeleteListeners": doDeleteListeners,
|
@@ -84,13 +84,6 @@
|
|
84
84
|
"output": "CreateDomainErrorPageInfoResponse",
|
85
85
|
"status": "online"
|
86
86
|
},
|
87
|
-
"CreateFirstLinkSession": {
|
88
|
-
"document": "产品功能已下线,对应的api接口下线\n\n本接口(CreateFirstLinkSession)用于创建接入段加速会话,创建有可能成功,也可能失败,需要通过返回码来进行判断。",
|
89
|
-
"input": "CreateFirstLinkSessionRequest",
|
90
|
-
"name": "创建接入段加速会话",
|
91
|
-
"output": "CreateFirstLinkSessionResponse",
|
92
|
-
"status": "deprecated"
|
93
|
-
},
|
94
87
|
"CreateGlobalDomain": {
|
95
88
|
"document": "用来创建统一域名",
|
96
89
|
"input": "CreateGlobalDomainRequest",
|
@@ -196,13 +189,6 @@
|
|
196
189
|
"output": "DeleteDomainErrorPageInfoResponse",
|
197
190
|
"status": "online"
|
198
191
|
},
|
199
|
-
"DeleteFirstLinkSession": {
|
200
|
-
"document": "产品功能已下线,下线对应的api接口\n\n本接口(DeleteFirstLinkSession)用于删除接入段加速会话,删除加速会话后会停止加速。",
|
201
|
-
"input": "DeleteFirstLinkSessionRequest",
|
202
|
-
"name": "删除接入段加速会话",
|
203
|
-
"output": "DeleteFirstLinkSessionResponse",
|
204
|
-
"status": "deprecated"
|
205
|
-
},
|
206
192
|
"DeleteGlobalDomain": {
|
207
193
|
"document": "删除统一域名",
|
208
194
|
"input": "DeleteGlobalDomainRequest",
|
@@ -336,13 +322,6 @@
|
|
336
322
|
"output": "DescribeDomainErrorPageInfoByIdsResponse",
|
337
323
|
"status": "online"
|
338
324
|
},
|
339
|
-
"DescribeFirstLinkSession": {
|
340
|
-
"document": "产品功能已下线,下线对应的api接口\n\n本接口(DescribeFirstLinkSession)用于查询接入段加速会话状态,包括会话状态,生效时长,加速套餐等信息。",
|
341
|
-
"input": "DescribeFirstLinkSessionRequest",
|
342
|
-
"name": "查询接入段加速会话信息",
|
343
|
-
"output": "DescribeFirstLinkSessionResponse",
|
344
|
-
"status": "deprecated"
|
345
|
-
},
|
346
325
|
"DescribeGlobalDomainDns": {
|
347
326
|
"document": "查询域名解析列表",
|
348
327
|
"input": "DescribeGlobalDomainDnsRequest",
|
@@ -1220,30 +1199,6 @@
|
|
1220
1199
|
],
|
1221
1200
|
"type": "object"
|
1222
1201
|
},
|
1223
|
-
"Capacity": {
|
1224
|
-
"document": "接口扩展参数",
|
1225
|
-
"members": [
|
1226
|
-
{
|
1227
|
-
"disabled": false,
|
1228
|
-
"document": "电信鉴权的Token",
|
1229
|
-
"example": "auth-token",
|
1230
|
-
"member": "string",
|
1231
|
-
"name": "CTCCToken",
|
1232
|
-
"required": false,
|
1233
|
-
"type": "string"
|
1234
|
-
},
|
1235
|
-
{
|
1236
|
-
"disabled": false,
|
1237
|
-
"document": "终端所处在的省份,建议不填写由服务端自动获取,若需填写请填写带有省、市、自治区、特别行政区等后缀的省份中文全称",
|
1238
|
-
"example": "广东省",
|
1239
|
-
"member": "string",
|
1240
|
-
"name": "Province",
|
1241
|
-
"required": false,
|
1242
|
-
"type": "string"
|
1243
|
-
}
|
1244
|
-
],
|
1245
|
-
"usage": "in"
|
1246
|
-
},
|
1247
1202
|
"Certificate": {
|
1248
1203
|
"document": "服务器证书",
|
1249
1204
|
"members": [
|
@@ -2087,89 +2042,6 @@
|
|
2087
2042
|
],
|
2088
2043
|
"type": "object"
|
2089
2044
|
},
|
2090
|
-
"CreateFirstLinkSessionRequest": {
|
2091
|
-
"document": "CreateFirstLinkSession请求参数结构体",
|
2092
|
-
"members": [
|
2093
|
-
{
|
2094
|
-
"disabled": false,
|
2095
|
-
"document": "模版ID",
|
2096
|
-
"example": "flt-12345678",
|
2097
|
-
"member": "string",
|
2098
|
-
"name": "TemplateId",
|
2099
|
-
"required": true,
|
2100
|
-
"type": "string"
|
2101
|
-
},
|
2102
|
-
{
|
2103
|
-
"disabled": false,
|
2104
|
-
"document": "终端网络信息",
|
2105
|
-
"example": "无",
|
2106
|
-
"member": "SrcAddressInfo",
|
2107
|
-
"name": "SrcAddressInfo",
|
2108
|
-
"required": true,
|
2109
|
-
"type": "object"
|
2110
|
-
},
|
2111
|
-
{
|
2112
|
-
"disabled": false,
|
2113
|
-
"document": "加速目标网络信息",
|
2114
|
-
"example": "无",
|
2115
|
-
"member": "DestAddressInfo",
|
2116
|
-
"name": "DestAddressInfo",
|
2117
|
-
"required": true,
|
2118
|
-
"type": "object"
|
2119
|
-
},
|
2120
|
-
{
|
2121
|
-
"disabled": false,
|
2122
|
-
"document": "终端设备信息",
|
2123
|
-
"example": "无",
|
2124
|
-
"member": "DeviceInfo",
|
2125
|
-
"name": "DeviceInfo",
|
2126
|
-
"required": false,
|
2127
|
-
"type": "object"
|
2128
|
-
},
|
2129
|
-
{
|
2130
|
-
"disabled": false,
|
2131
|
-
"document": "接口扩展参数,如果是电信用户,需要填充CTCC Token字段",
|
2132
|
-
"example": "无",
|
2133
|
-
"member": "Capacity",
|
2134
|
-
"name": "Capacity",
|
2135
|
-
"required": false,
|
2136
|
-
"type": "object"
|
2137
|
-
}
|
2138
|
-
],
|
2139
|
-
"type": "object"
|
2140
|
-
},
|
2141
|
-
"CreateFirstLinkSessionResponse": {
|
2142
|
-
"document": "CreateFirstLinkSession返回参数结构体",
|
2143
|
-
"members": [
|
2144
|
-
{
|
2145
|
-
"disabled": false,
|
2146
|
-
"document": "加速成功时返回,单次加速唯一会话Id。。\n注意:此字段可能返回 null,表示取不到有效值。",
|
2147
|
-
"example": "16323902746ebb80e918b94b818a5647fbb0d921f8-3-65537",
|
2148
|
-
"member": "string",
|
2149
|
-
"name": "SessionId",
|
2150
|
-
"required": true,
|
2151
|
-
"type": "string",
|
2152
|
-
"value_allowed_null": true
|
2153
|
-
},
|
2154
|
-
{
|
2155
|
-
"disabled": false,
|
2156
|
-
"document": "剩余的加速时间,单位秒。\n注意:此字段可能返回 null,表示取不到有效值。",
|
2157
|
-
"example": "1790",
|
2158
|
-
"member": "int64",
|
2159
|
-
"name": "Duration",
|
2160
|
-
"required": true,
|
2161
|
-
"type": "int",
|
2162
|
-
"value_allowed_null": true
|
2163
|
-
},
|
2164
|
-
{
|
2165
|
-
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
2166
|
-
"member": "string",
|
2167
|
-
"name": "RequestId",
|
2168
|
-
"type": "string"
|
2169
|
-
}
|
2170
|
-
],
|
2171
|
-
"type": "object"
|
2172
|
-
},
|
2173
2045
|
"CreateGlobalDomainDnsRequest": {
|
2174
2046
|
"document": "CreateGlobalDomainDns请求参数结构体",
|
2175
2047
|
"members": [
|
@@ -3441,33 +3313,6 @@
|
|
3441
3313
|
],
|
3442
3314
|
"type": "object"
|
3443
3315
|
},
|
3444
|
-
"DeleteFirstLinkSessionRequest": {
|
3445
|
-
"document": "DeleteFirstLinkSession请求参数结构体",
|
3446
|
-
"members": [
|
3447
|
-
{
|
3448
|
-
"disabled": false,
|
3449
|
-
"document": "单次加速唯一会话Id",
|
3450
|
-
"example": "16323902746ebb80e918b94b818a5647fbb0d921f8-3-65537",
|
3451
|
-
"member": "string",
|
3452
|
-
"name": "SessionId",
|
3453
|
-
"required": true,
|
3454
|
-
"type": "string"
|
3455
|
-
}
|
3456
|
-
],
|
3457
|
-
"type": "object"
|
3458
|
-
},
|
3459
|
-
"DeleteFirstLinkSessionResponse": {
|
3460
|
-
"document": "DeleteFirstLinkSession返回参数结构体",
|
3461
|
-
"members": [
|
3462
|
-
{
|
3463
|
-
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
3464
|
-
"member": "string",
|
3465
|
-
"name": "RequestId",
|
3466
|
-
"type": "string"
|
3467
|
-
}
|
3468
|
-
],
|
3469
|
-
"type": "object"
|
3470
|
-
},
|
3471
3316
|
"DeleteGlobalDomainDnsRequest": {
|
3472
3317
|
"document": "DeleteGlobalDomainDns请求参数结构体",
|
3473
3318
|
"members": [
|
@@ -4219,83 +4064,6 @@
|
|
4219
4064
|
],
|
4220
4065
|
"type": "object"
|
4221
4066
|
},
|
4222
|
-
"DescribeFirstLinkSessionRequest": {
|
4223
|
-
"document": "DescribeFirstLinkSession请求参数结构体",
|
4224
|
-
"members": [
|
4225
|
-
{
|
4226
|
-
"disabled": false,
|
4227
|
-
"document": "单次加速唯一会话Id",
|
4228
|
-
"example": "16323902746ebb80e918b94b818a5647fbb0d921f8-3-65537",
|
4229
|
-
"member": "string",
|
4230
|
-
"name": "SessionId",
|
4231
|
-
"required": true,
|
4232
|
-
"type": "string"
|
4233
|
-
}
|
4234
|
-
],
|
4235
|
-
"type": "object"
|
4236
|
-
},
|
4237
|
-
"DescribeFirstLinkSessionResponse": {
|
4238
|
-
"document": "DescribeFirstLinkSession返回参数结构体",
|
4239
|
-
"members": [
|
4240
|
-
{
|
4241
|
-
"disabled": false,
|
4242
|
-
"document": "会话状态,具体如下:\n1: 加速中;\n0: 非加速中。\n注意:此字段可能返回 null,表示取不到有效值。",
|
4243
|
-
"example": "1",
|
4244
|
-
"member": "int64",
|
4245
|
-
"name": "Status",
|
4246
|
-
"required": true,
|
4247
|
-
"type": "int",
|
4248
|
-
"value_allowed_null": true
|
4249
|
-
},
|
4250
|
-
{
|
4251
|
-
"disabled": false,
|
4252
|
-
"document": "剩余加速时间,单位秒。\n注意:此字段可能返回 null,表示取不到有效值。",
|
4253
|
-
"example": "1790",
|
4254
|
-
"member": "int64",
|
4255
|
-
"name": "Duration",
|
4256
|
-
"required": true,
|
4257
|
-
"type": "int",
|
4258
|
-
"value_allowed_null": true
|
4259
|
-
},
|
4260
|
-
{
|
4261
|
-
"disabled": false,
|
4262
|
-
"document": "加速套餐类型。\n套餐说明如下:\nT100K:上/下行保障100kbps;\nBD4M:下行带宽保障4Mbps;\nBU4M:上行带宽保障4Mbps。\n注意:此字段可能返回 null,表示取不到有效值。",
|
4263
|
-
"example": "T100K",
|
4264
|
-
"member": "string",
|
4265
|
-
"name": "SuiteType",
|
4266
|
-
"required": true,
|
4267
|
-
"type": "string",
|
4268
|
-
"value_allowed_null": true
|
4269
|
-
},
|
4270
|
-
{
|
4271
|
-
"disabled": false,
|
4272
|
-
"document": "加速终端的公网ip\n注意:此字段可能返回 null,表示取不到有效值。",
|
4273
|
-
"example": "211.97.129.234",
|
4274
|
-
"member": "string",
|
4275
|
-
"name": "SrcPublicIpv4",
|
4276
|
-
"required": true,
|
4277
|
-
"type": "string",
|
4278
|
-
"value_allowed_null": true
|
4279
|
-
},
|
4280
|
-
{
|
4281
|
-
"disabled": false,
|
4282
|
-
"document": "加速目标ip\n注意:此字段可能返回 null,表示取不到有效值。",
|
4283
|
-
"example": "无",
|
4284
|
-
"member": "string",
|
4285
|
-
"name": "DestIpv4",
|
4286
|
-
"required": true,
|
4287
|
-
"type": "list",
|
4288
|
-
"value_allowed_null": true
|
4289
|
-
},
|
4290
|
-
{
|
4291
|
-
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
4292
|
-
"member": "string",
|
4293
|
-
"name": "RequestId",
|
4294
|
-
"type": "string"
|
4295
|
-
}
|
4296
|
-
],
|
4297
|
-
"type": "object"
|
4298
|
-
},
|
4299
4067
|
"DescribeGlobalDomainDnsRequest": {
|
4300
4068
|
"document": "DescribeGlobalDomainDns请求参数结构体",
|
4301
4069
|
"members": [
|
@@ -6384,22 +6152,6 @@
|
|
6384
6152
|
],
|
6385
6153
|
"type": "object"
|
6386
6154
|
},
|
6387
|
-
"DestAddressInfo": {
|
6388
|
-
"document": "网络加速的目标地址信息",
|
6389
|
-
"members": [
|
6390
|
-
{
|
6391
|
-
"disabled": false,
|
6392
|
-
"document": "加速的目标IP,可多ip一起加速",
|
6393
|
-
"example": "[\"192.168.0.0.1\"]",
|
6394
|
-
"member": "string",
|
6395
|
-
"name": "DestIp",
|
6396
|
-
"required": true,
|
6397
|
-
"type": "list",
|
6398
|
-
"value_allowed_null": false
|
6399
|
-
}
|
6400
|
-
],
|
6401
|
-
"usage": "both"
|
6402
|
-
},
|
6403
6155
|
"DestroyProxiesRequest": {
|
6404
6156
|
"document": "DestroyProxies请求参数结构体",
|
6405
6157
|
"members": [
|
@@ -6474,57 +6226,6 @@
|
|
6474
6226
|
],
|
6475
6227
|
"type": "object"
|
6476
6228
|
},
|
6477
|
-
"DeviceInfo": {
|
6478
|
-
"document": "终端设备信息",
|
6479
|
-
"members": [
|
6480
|
-
{
|
6481
|
-
"disabled": false,
|
6482
|
-
"document": "设备数据卡所属的运营商\n1:移动\n2:电信\n3:联通\n4:广电\n99:其他",
|
6483
|
-
"example": "2",
|
6484
|
-
"member": "int64",
|
6485
|
-
"name": "Vendor",
|
6486
|
-
"required": false,
|
6487
|
-
"type": "int"
|
6488
|
-
},
|
6489
|
-
{
|
6490
|
-
"disabled": false,
|
6491
|
-
"document": "设备操作系统\n1:Android\n2: IOS\n99:其他",
|
6492
|
-
"example": "1",
|
6493
|
-
"member": "int64",
|
6494
|
-
"name": "OS",
|
6495
|
-
"required": false,
|
6496
|
-
"type": "int"
|
6497
|
-
},
|
6498
|
-
{
|
6499
|
-
"disabled": false,
|
6500
|
-
"document": "设备唯一标识\nIOS 填写 IDFV\nAndroid 填写 IMEI",
|
6501
|
-
"example": "359881030314356",
|
6502
|
-
"member": "string",
|
6503
|
-
"name": "DeviceId",
|
6504
|
-
"required": false,
|
6505
|
-
"type": "string"
|
6506
|
-
},
|
6507
|
-
{
|
6508
|
-
"disabled": false,
|
6509
|
-
"document": "用户手机号码",
|
6510
|
-
"example": "13112341234",
|
6511
|
-
"member": "string",
|
6512
|
-
"name": "PhoneNum",
|
6513
|
-
"required": false,
|
6514
|
-
"type": "string"
|
6515
|
-
},
|
6516
|
-
{
|
6517
|
-
"disabled": false,
|
6518
|
-
"document": "无线信息\n1:4G\n2:5G\n3:WIFI\n99:其他",
|
6519
|
-
"example": "1",
|
6520
|
-
"member": "int64",
|
6521
|
-
"name": "Wireless",
|
6522
|
-
"required": false,
|
6523
|
-
"type": "int"
|
6524
|
-
}
|
6525
|
-
],
|
6526
|
-
"usage": "in"
|
6527
|
-
},
|
6528
6229
|
"DisableGlobalDomainRequest": {
|
6529
6230
|
"document": "DisableGlobalDomain请求参数结构体",
|
6530
6231
|
"members": [
|
@@ -10914,32 +10615,6 @@
|
|
10914
10615
|
],
|
10915
10616
|
"type": "object"
|
10916
10617
|
},
|
10917
|
-
"SrcAddressInfo": {
|
10918
|
-
"document": "网络加速的原地址信息",
|
10919
|
-
"members": [
|
10920
|
-
{
|
10921
|
-
"disabled": false,
|
10922
|
-
"document": "内网Ip4地址",
|
10923
|
-
"example": "192.168.0.0.1",
|
10924
|
-
"member": "string",
|
10925
|
-
"name": "SrcIpv4",
|
10926
|
-
"required": true,
|
10927
|
-
"type": "string",
|
10928
|
-
"value_allowed_null": false
|
10929
|
-
},
|
10930
|
-
{
|
10931
|
-
"disabled": false,
|
10932
|
-
"document": "公网Ip4地址",
|
10933
|
-
"example": "192.168.0.0.1",
|
10934
|
-
"member": "string",
|
10935
|
-
"name": "SrcPublicIpv4",
|
10936
|
-
"required": true,
|
10937
|
-
"type": "string",
|
10938
|
-
"value_allowed_null": false
|
10939
|
-
}
|
10940
|
-
],
|
10941
|
-
"usage": "in"
|
10942
|
-
},
|
10943
10618
|
"StatisticsDataInfo": {
|
10944
10619
|
"document": "统计数据信息",
|
10945
10620
|
"members": [
|