tccli 3.0.1398.1__py2.py3-none-any.whl → 3.0.1399.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/ccc/v20200210/api.json +33 -0
- tccli/services/cdb/cdb_client.py +53 -0
- tccli/services/cdb/v20170320/api.json +76 -14
- tccli/services/cdb/v20170320/examples.json +8 -0
- tccli/services/cdwpg/v20201230/api.json +11 -1
- tccli/services/cdwpg/v20201230/examples.json +1 -1
- tccli/services/cls/v20201016/api.json +3 -3
- tccli/services/dbbrain/dbbrain_client.py +114 -61
- tccli/services/dbbrain/v20191016/api.json +63 -61
- tccli/services/dbbrain/v20210527/api.json +324 -163
- tccli/services/dbbrain/v20210527/examples.json +11 -3
- tccli/services/dts/v20180330/api.json +4 -4
- tccli/services/dts/v20211206/api.json +54 -54
- tccli/services/dts/v20211206/examples.json +2 -2
- tccli/services/ess/v20201111/api.json +118 -3
- tccli/services/essbasic/v20210526/api.json +117 -2
- tccli/services/ioa/v20220601/api.json +11 -0
- tccli/services/lke/v20231130/api.json +162 -36
- tccli/services/lke/v20231130/examples.json +20 -20
- tccli/services/mongodb/v20190725/api.json +322 -313
- tccli/services/mongodb/v20190725/examples.json +17 -17
- tccli/services/monitor/v20180724/api.json +5 -4
- tccli/services/monitor/v20180724/examples.json +8 -2
- tccli/services/redis/v20180412/api.json +13 -13
- tccli/services/rum/v20210622/api.json +4 -4
- tccli/services/rum/v20210622/examples.json +2 -2
- tccli/services/teo/teo_client.py +166 -7
- tccli/services/teo/v20220901/api.json +341 -0
- tccli/services/teo/v20220901/examples.json +27 -3
- tccli/services/tke/v20180525/api.json +6 -6
- tccli/services/tke/v20180525/examples.json +1 -1
- tccli/services/waf/v20180125/api.json +19 -0
- {tccli-3.0.1398.1.dist-info → tccli-3.0.1399.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1398.1.dist-info → tccli-3.0.1399.1.dist-info}/RECORD +38 -38
- {tccli-3.0.1398.1.dist-info → tccli-3.0.1399.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1398.1.dist-info → tccli-3.0.1399.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1398.1.dist-info → tccli-3.0.1399.1.dist-info}/license_files/LICENSE +0 -0
tccli/services/teo/teo_client.py
CHANGED
@@ -955,6 +955,58 @@ def doDeleteFunctionRules(args, parsed_globals):
|
|
955
955
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
956
956
|
|
957
957
|
|
958
|
+
def doModifyMultiPathGatewayStatus(args, parsed_globals):
|
959
|
+
g_param = parse_global_arg(parsed_globals)
|
960
|
+
|
961
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
962
|
+
cred = credential.CVMRoleCredential()
|
963
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
964
|
+
cred = credential.STSAssumeRoleCredential(
|
965
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
966
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
967
|
+
)
|
968
|
+
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):
|
969
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
970
|
+
else:
|
971
|
+
cred = credential.Credential(
|
972
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
973
|
+
)
|
974
|
+
http_profile = HttpProfile(
|
975
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
976
|
+
reqMethod="POST",
|
977
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
978
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
979
|
+
)
|
980
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
981
|
+
if g_param[OptionsDefine.Language]:
|
982
|
+
profile.language = g_param[OptionsDefine.Language]
|
983
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
984
|
+
client = mod.TeoClient(cred, g_param[OptionsDefine.Region], profile)
|
985
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
986
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
987
|
+
model = models.ModifyMultiPathGatewayStatusRequest()
|
988
|
+
model.from_json_string(json.dumps(args))
|
989
|
+
start_time = time.time()
|
990
|
+
while True:
|
991
|
+
rsp = client.ModifyMultiPathGatewayStatus(model)
|
992
|
+
result = rsp.to_json_string()
|
993
|
+
try:
|
994
|
+
json_obj = json.loads(result)
|
995
|
+
except TypeError as e:
|
996
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
997
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
998
|
+
break
|
999
|
+
cur_time = time.time()
|
1000
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
1001
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
1002
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
1003
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
1004
|
+
else:
|
1005
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
1006
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
1007
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1008
|
+
|
1009
|
+
|
958
1010
|
def doIdentifyZone(args, parsed_globals):
|
959
1011
|
g_param = parse_global_arg(parsed_globals)
|
960
1012
|
|
@@ -3815,7 +3867,7 @@ def doDescribeOriginGroup(args, parsed_globals):
|
|
3815
3867
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
3816
3868
|
|
3817
3869
|
|
3818
|
-
def
|
3870
|
+
def doDescribeTimingL4Data(args, parsed_globals):
|
3819
3871
|
g_param = parse_global_arg(parsed_globals)
|
3820
3872
|
|
3821
3873
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -3844,11 +3896,11 @@ def doDescribeTopL7CacheData(args, parsed_globals):
|
|
3844
3896
|
client = mod.TeoClient(cred, g_param[OptionsDefine.Region], profile)
|
3845
3897
|
client._sdkVersion += ("_CLI_" + __version__)
|
3846
3898
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
3847
|
-
model = models.
|
3899
|
+
model = models.DescribeTimingL4DataRequest()
|
3848
3900
|
model.from_json_string(json.dumps(args))
|
3849
3901
|
start_time = time.time()
|
3850
3902
|
while True:
|
3851
|
-
rsp = client.
|
3903
|
+
rsp = client.DescribeTimingL4Data(model)
|
3852
3904
|
result = rsp.to_json_string()
|
3853
3905
|
try:
|
3854
3906
|
json_obj = json.loads(result)
|
@@ -3867,7 +3919,7 @@ def doDescribeTopL7CacheData(args, parsed_globals):
|
|
3867
3919
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
3868
3920
|
|
3869
3921
|
|
3870
|
-
def
|
3922
|
+
def doDescribeTopL7CacheData(args, parsed_globals):
|
3871
3923
|
g_param = parse_global_arg(parsed_globals)
|
3872
3924
|
|
3873
3925
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -3896,11 +3948,11 @@ def doDescribeTimingL4Data(args, parsed_globals):
|
|
3896
3948
|
client = mod.TeoClient(cred, g_param[OptionsDefine.Region], profile)
|
3897
3949
|
client._sdkVersion += ("_CLI_" + __version__)
|
3898
3950
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
3899
|
-
model = models.
|
3951
|
+
model = models.DescribeTopL7CacheDataRequest()
|
3900
3952
|
model.from_json_string(json.dumps(args))
|
3901
3953
|
start_time = time.time()
|
3902
3954
|
while True:
|
3903
|
-
rsp = client.
|
3955
|
+
rsp = client.DescribeTopL7CacheData(model)
|
3904
3956
|
result = rsp.to_json_string()
|
3905
3957
|
try:
|
3906
3958
|
json_obj = json.loads(result)
|
@@ -5115,6 +5167,58 @@ def doCreateSharedCNAME(args, parsed_globals):
|
|
5115
5167
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
5116
5168
|
|
5117
5169
|
|
5170
|
+
def doConfirmMultiPathGatewayOriginACL(args, parsed_globals):
|
5171
|
+
g_param = parse_global_arg(parsed_globals)
|
5172
|
+
|
5173
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
5174
|
+
cred = credential.CVMRoleCredential()
|
5175
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
5176
|
+
cred = credential.STSAssumeRoleCredential(
|
5177
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
5178
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
5179
|
+
)
|
5180
|
+
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):
|
5181
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
5182
|
+
else:
|
5183
|
+
cred = credential.Credential(
|
5184
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
5185
|
+
)
|
5186
|
+
http_profile = HttpProfile(
|
5187
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
5188
|
+
reqMethod="POST",
|
5189
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
5190
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
5191
|
+
)
|
5192
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
5193
|
+
if g_param[OptionsDefine.Language]:
|
5194
|
+
profile.language = g_param[OptionsDefine.Language]
|
5195
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
5196
|
+
client = mod.TeoClient(cred, g_param[OptionsDefine.Region], profile)
|
5197
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
5198
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
5199
|
+
model = models.ConfirmMultiPathGatewayOriginACLRequest()
|
5200
|
+
model.from_json_string(json.dumps(args))
|
5201
|
+
start_time = time.time()
|
5202
|
+
while True:
|
5203
|
+
rsp = client.ConfirmMultiPathGatewayOriginACL(model)
|
5204
|
+
result = rsp.to_json_string()
|
5205
|
+
try:
|
5206
|
+
json_obj = json.loads(result)
|
5207
|
+
except TypeError as e:
|
5208
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
5209
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
5210
|
+
break
|
5211
|
+
cur_time = time.time()
|
5212
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
5213
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
5214
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
5215
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
5216
|
+
else:
|
5217
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
5218
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
5219
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
5220
|
+
|
5221
|
+
|
5118
5222
|
def doDescribeSecurityJSInjectionRule(args, parsed_globals):
|
5119
5223
|
g_param = parse_global_arg(parsed_globals)
|
5120
5224
|
|
@@ -7611,6 +7715,58 @@ def doCreateLoadBalancer(args, parsed_globals):
|
|
7611
7715
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
7612
7716
|
|
7613
7717
|
|
7718
|
+
def doDescribeMultiPathGatewayOriginACL(args, parsed_globals):
|
7719
|
+
g_param = parse_global_arg(parsed_globals)
|
7720
|
+
|
7721
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
7722
|
+
cred = credential.CVMRoleCredential()
|
7723
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
7724
|
+
cred = credential.STSAssumeRoleCredential(
|
7725
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
7726
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
7727
|
+
)
|
7728
|
+
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):
|
7729
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
7730
|
+
else:
|
7731
|
+
cred = credential.Credential(
|
7732
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
7733
|
+
)
|
7734
|
+
http_profile = HttpProfile(
|
7735
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
7736
|
+
reqMethod="POST",
|
7737
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
7738
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
7739
|
+
)
|
7740
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
7741
|
+
if g_param[OptionsDefine.Language]:
|
7742
|
+
profile.language = g_param[OptionsDefine.Language]
|
7743
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
7744
|
+
client = mod.TeoClient(cred, g_param[OptionsDefine.Region], profile)
|
7745
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
7746
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
7747
|
+
model = models.DescribeMultiPathGatewayOriginACLRequest()
|
7748
|
+
model.from_json_string(json.dumps(args))
|
7749
|
+
start_time = time.time()
|
7750
|
+
while True:
|
7751
|
+
rsp = client.DescribeMultiPathGatewayOriginACL(model)
|
7752
|
+
result = rsp.to_json_string()
|
7753
|
+
try:
|
7754
|
+
json_obj = json.loads(result)
|
7755
|
+
except TypeError as e:
|
7756
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
7757
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
7758
|
+
break
|
7759
|
+
cur_time = time.time()
|
7760
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
7761
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
7762
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
7763
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
7764
|
+
else:
|
7765
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
7766
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
7767
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
7768
|
+
|
7769
|
+
|
7614
7770
|
def doDescribeJustInTimeTranscodeTemplates(args, parsed_globals):
|
7615
7771
|
g_param = parse_global_arg(parsed_globals)
|
7616
7772
|
|
@@ -9930,6 +10086,7 @@ ACTION_MAP = {
|
|
9930
10086
|
"DescribeWebSecurityTemplate": doDescribeWebSecurityTemplate,
|
9931
10087
|
"CreateFunctionRule": doCreateFunctionRule,
|
9932
10088
|
"DeleteFunctionRules": doDeleteFunctionRules,
|
10089
|
+
"ModifyMultiPathGatewayStatus": doModifyMultiPathGatewayStatus,
|
9933
10090
|
"IdentifyZone": doIdentifyZone,
|
9934
10091
|
"DescribeDefaultCertificates": doDescribeDefaultCertificates,
|
9935
10092
|
"ModifyL7AccRule": doModifyL7AccRule,
|
@@ -9985,8 +10142,8 @@ ACTION_MAP = {
|
|
9985
10142
|
"DescribeSecurityIPGroup": doDescribeSecurityIPGroup,
|
9986
10143
|
"CreateL4ProxyRules": doCreateL4ProxyRules,
|
9987
10144
|
"DescribeOriginGroup": doDescribeOriginGroup,
|
9988
|
-
"DescribeTopL7CacheData": doDescribeTopL7CacheData,
|
9989
10145
|
"DescribeTimingL4Data": doDescribeTimingL4Data,
|
10146
|
+
"DescribeTopL7CacheData": doDescribeTopL7CacheData,
|
9990
10147
|
"ModifyRule": doModifyRule,
|
9991
10148
|
"DescribeMultiPathGateways": doDescribeMultiPathGateways,
|
9992
10149
|
"DescribeTopL7AnalysisData": doDescribeTopL7AnalysisData,
|
@@ -10010,6 +10167,7 @@ ACTION_MAP = {
|
|
10010
10167
|
"DescribeApplicationProxies": doDescribeApplicationProxies,
|
10011
10168
|
"ModifyMultiPathGateway": doModifyMultiPathGateway,
|
10012
10169
|
"CreateSharedCNAME": doCreateSharedCNAME,
|
10170
|
+
"ConfirmMultiPathGatewayOriginACL": doConfirmMultiPathGatewayOriginACL,
|
10013
10171
|
"DescribeSecurityJSInjectionRule": doDescribeSecurityJSInjectionRule,
|
10014
10172
|
"CreateRule": doCreateRule,
|
10015
10173
|
"CreateConfigGroupVersion": doCreateConfigGroupVersion,
|
@@ -10058,6 +10216,7 @@ ACTION_MAP = {
|
|
10058
10216
|
"EnableOriginACL": doEnableOriginACL,
|
10059
10217
|
"ModifyAliasDomain": doModifyAliasDomain,
|
10060
10218
|
"CreateLoadBalancer": doCreateLoadBalancer,
|
10219
|
+
"DescribeMultiPathGatewayOriginACL": doDescribeMultiPathGatewayOriginACL,
|
10061
10220
|
"DescribeJustInTimeTranscodeTemplates": doDescribeJustInTimeTranscodeTemplates,
|
10062
10221
|
"ModifyApplicationProxyRule": doModifyApplicationProxyRule,
|
10063
10222
|
"DescribeL7AccSetting": doDescribeL7AccSetting,
|
@@ -28,6 +28,13 @@
|
|
28
28
|
"output": "CheckCnameStatusResponse",
|
29
29
|
"status": "online"
|
30
30
|
},
|
31
|
+
"ConfirmMultiPathGatewayOriginACL": {
|
32
|
+
"document": "本接口用于多通道安全加速网关回源 IP 网段发生变更时,确认已将最新回源 IP 网段更新至源站防火墙。",
|
33
|
+
"input": "ConfirmMultiPathGatewayOriginACLRequest",
|
34
|
+
"name": "确认多通道安全加速网关回源 IP 网段更新",
|
35
|
+
"output": "ConfirmMultiPathGatewayOriginACLResponse",
|
36
|
+
"status": "online"
|
37
|
+
},
|
31
38
|
"ConfirmOriginACLUpdate": {
|
32
39
|
"document": "本接口用于回源 IP 网段发生变更时,确认已将最新回源 IP 网段更新至源站防火墙。确认已更新至最新的回源 IP 网段后,相关变更通知将会停止推送。",
|
33
40
|
"input": "ConfirmOriginACLUpdateRequest",
|
@@ -693,6 +700,13 @@
|
|
693
700
|
"output": "DescribeMultiPathGatewayLineResponse",
|
694
701
|
"status": "online"
|
695
702
|
},
|
703
|
+
"DescribeMultiPathGatewayOriginACL": {
|
704
|
+
"document": "本接口用于查询多通道安全加速网关实例与回源 IP 网段的绑定关系,以及回源 IP 网段详情。若 MultiPathGatewayNextOriginACL 字段有返回值,则需要将最新的回源 IP 网段同步到源站防火墙配置中。",
|
705
|
+
"input": "DescribeMultiPathGatewayOriginACLRequest",
|
706
|
+
"name": "查询多通道安全加速网关源站防护详情",
|
707
|
+
"output": "DescribeMultiPathGatewayOriginACLResponse",
|
708
|
+
"status": "online"
|
709
|
+
},
|
696
710
|
"DescribeMultiPathGatewayRegions": {
|
697
711
|
"document": "通过本接口查询用户创建的多通道安全加速网关(云上网关)的可用地域列表。",
|
698
712
|
"input": "DescribeMultiPathGatewayRegionsRequest",
|
@@ -1197,6 +1211,13 @@
|
|
1197
1211
|
"output": "ModifyMultiPathGatewaySecretKeyResponse",
|
1198
1212
|
"status": "online"
|
1199
1213
|
},
|
1214
|
+
"ModifyMultiPathGatewayStatus": {
|
1215
|
+
"document": "更新多通道安全网关状态。",
|
1216
|
+
"input": "ModifyMultiPathGatewayStatusRequest",
|
1217
|
+
"name": "修改多通道安全加速网关状态",
|
1218
|
+
"output": "ModifyMultiPathGatewayStatusResponse",
|
1219
|
+
"status": "online"
|
1220
|
+
},
|
1200
1221
|
"ModifyOriginACL": {
|
1201
1222
|
"document": "本接口用于对七层加速域名/四层代理实例启用/关闭特定回源 IP 网段回源。单次支持提交的七层加速域名的数量最大为 200,四层代理实例的数量最大为 100,支持七层加速域名/四层代理实例混合提交,总实例个数最大为 200。如需变更超过 200 个实例,请通过本接口分批提交。",
|
1202
1223
|
"input": "ModifyOriginACLRequest",
|
@@ -5092,6 +5113,51 @@
|
|
5092
5113
|
],
|
5093
5114
|
"usage": "both"
|
5094
5115
|
},
|
5116
|
+
"ConfirmMultiPathGatewayOriginACLRequest": {
|
5117
|
+
"document": "ConfirmMultiPathGatewayOriginACL请求参数结构体",
|
5118
|
+
"members": [
|
5119
|
+
{
|
5120
|
+
"disabled": false,
|
5121
|
+
"document": "站点 ID。",
|
5122
|
+
"example": "zone-27q0p0bal192",
|
5123
|
+
"member": "string",
|
5124
|
+
"name": "ZoneId",
|
5125
|
+
"required": true,
|
5126
|
+
"type": "string"
|
5127
|
+
},
|
5128
|
+
{
|
5129
|
+
"disabled": false,
|
5130
|
+
"document": "网关 ID。",
|
5131
|
+
"example": "mpgw-lbxuhk1oh",
|
5132
|
+
"member": "string",
|
5133
|
+
"name": "GatewayId",
|
5134
|
+
"required": true,
|
5135
|
+
"type": "string"
|
5136
|
+
},
|
5137
|
+
{
|
5138
|
+
"disabled": false,
|
5139
|
+
"document": "回源 IP 版本号。",
|
5140
|
+
"example": "1",
|
5141
|
+
"member": "int64",
|
5142
|
+
"name": "OriginACLVersion",
|
5143
|
+
"required": true,
|
5144
|
+
"type": "int"
|
5145
|
+
}
|
5146
|
+
],
|
5147
|
+
"type": "object"
|
5148
|
+
},
|
5149
|
+
"ConfirmMultiPathGatewayOriginACLResponse": {
|
5150
|
+
"document": "ConfirmMultiPathGatewayOriginACL返回参数结构体",
|
5151
|
+
"members": [
|
5152
|
+
{
|
5153
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
5154
|
+
"member": "string",
|
5155
|
+
"name": "RequestId",
|
5156
|
+
"type": "string"
|
5157
|
+
}
|
5158
|
+
],
|
5159
|
+
"type": "object"
|
5160
|
+
},
|
5095
5161
|
"ConfirmOriginACLUpdateRequest": {
|
5096
5162
|
"document": "ConfirmOriginACLUpdate请求参数结构体",
|
5097
5163
|
"members": [
|
@@ -5119,6 +5185,23 @@
|
|
5119
5185
|
],
|
5120
5186
|
"type": "object"
|
5121
5187
|
},
|
5188
|
+
"ContentCompressionParameters": {
|
5189
|
+
"document": "内容压缩配置。",
|
5190
|
+
"members": [
|
5191
|
+
{
|
5192
|
+
"disabled": false,
|
5193
|
+
"document": "内容压缩配置开关,取值有:\n<li>on:开启;</li>\n<li>off:关闭。</li>\n当 Switch 为 on 时,将同时支持 brotli 和 gzip 压缩算法。",
|
5194
|
+
"example": "on",
|
5195
|
+
"member": "string",
|
5196
|
+
"name": "Switch",
|
5197
|
+
"output_required": false,
|
5198
|
+
"required": true,
|
5199
|
+
"type": "string",
|
5200
|
+
"value_allowed_null": false
|
5201
|
+
}
|
5202
|
+
],
|
5203
|
+
"usage": "both"
|
5204
|
+
},
|
5122
5205
|
"ContentIdentifier": {
|
5123
5206
|
"document": "内容标识符。该功能仅白名单开放。",
|
5124
5207
|
"members": [
|
@@ -11878,6 +11961,52 @@
|
|
11878
11961
|
],
|
11879
11962
|
"type": "object"
|
11880
11963
|
},
|
11964
|
+
"DescribeMultiPathGatewayOriginACLRequest": {
|
11965
|
+
"document": "DescribeMultiPathGatewayOriginACL请求参数结构体",
|
11966
|
+
"members": [
|
11967
|
+
{
|
11968
|
+
"disabled": false,
|
11969
|
+
"document": "站点 ID。",
|
11970
|
+
"example": "\"zone-276zs184g93m\"",
|
11971
|
+
"member": "string",
|
11972
|
+
"name": "ZoneId",
|
11973
|
+
"required": true,
|
11974
|
+
"type": "string"
|
11975
|
+
},
|
11976
|
+
{
|
11977
|
+
"disabled": false,
|
11978
|
+
"document": "网关 ID。",
|
11979
|
+
"example": "\"mpgw-lbxuhk1oh\"",
|
11980
|
+
"member": "string",
|
11981
|
+
"name": "GatewayId",
|
11982
|
+
"required": true,
|
11983
|
+
"type": "string"
|
11984
|
+
}
|
11985
|
+
],
|
11986
|
+
"type": "object"
|
11987
|
+
},
|
11988
|
+
"DescribeMultiPathGatewayOriginACLResponse": {
|
11989
|
+
"document": "DescribeMultiPathGatewayOriginACL返回参数结构体",
|
11990
|
+
"members": [
|
11991
|
+
{
|
11992
|
+
"disabled": false,
|
11993
|
+
"document": "多通道网关实例与回源 IP 网段的绑定关系详情。",
|
11994
|
+
"example": "无",
|
11995
|
+
"member": "MultiPathGatewayOriginACLInfo",
|
11996
|
+
"name": "MultiPathGatewayOriginACLInfo",
|
11997
|
+
"output_required": false,
|
11998
|
+
"type": "object",
|
11999
|
+
"value_allowed_null": false
|
12000
|
+
},
|
12001
|
+
{
|
12002
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
12003
|
+
"member": "string",
|
12004
|
+
"name": "RequestId",
|
12005
|
+
"type": "string"
|
12006
|
+
}
|
12007
|
+
],
|
12008
|
+
"type": "object"
|
12009
|
+
},
|
11881
12010
|
"DescribeMultiPathGatewayRegionsRequest": {
|
11882
12011
|
"document": "DescribeMultiPathGatewayRegions请求参数结构体",
|
11883
12012
|
"members": [
|
@@ -20599,6 +20728,51 @@
|
|
20599
20728
|
],
|
20600
20729
|
"type": "object"
|
20601
20730
|
},
|
20731
|
+
"ModifyMultiPathGatewayStatusRequest": {
|
20732
|
+
"document": "ModifyMultiPathGatewayStatus请求参数结构体",
|
20733
|
+
"members": [
|
20734
|
+
{
|
20735
|
+
"disabled": false,
|
20736
|
+
"document": "网关 ID。",
|
20737
|
+
"example": "eo-gw-lb-ahk1js",
|
20738
|
+
"member": "string",
|
20739
|
+
"name": "GatewayId",
|
20740
|
+
"required": true,
|
20741
|
+
"type": "string"
|
20742
|
+
},
|
20743
|
+
{
|
20744
|
+
"disabled": false,
|
20745
|
+
"document": "站点 ID。",
|
20746
|
+
"example": "zone-27q0p0bal192",
|
20747
|
+
"member": "string",
|
20748
|
+
"name": "ZoneId",
|
20749
|
+
"required": true,
|
20750
|
+
"type": "string"
|
20751
|
+
},
|
20752
|
+
{
|
20753
|
+
"disabled": false,
|
20754
|
+
"document": "修改网关的启用停用状态,取值有:<li> offline:停用;</li><li> online:启用。</li>",
|
20755
|
+
"example": "offline",
|
20756
|
+
"member": "string",
|
20757
|
+
"name": "GatewayStatus",
|
20758
|
+
"required": false,
|
20759
|
+
"type": "string"
|
20760
|
+
}
|
20761
|
+
],
|
20762
|
+
"type": "object"
|
20763
|
+
},
|
20764
|
+
"ModifyMultiPathGatewayStatusResponse": {
|
20765
|
+
"document": "ModifyMultiPathGatewayStatus返回参数结构体",
|
20766
|
+
"members": [
|
20767
|
+
{
|
20768
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
20769
|
+
"member": "string",
|
20770
|
+
"name": "RequestId",
|
20771
|
+
"type": "string"
|
20772
|
+
}
|
20773
|
+
],
|
20774
|
+
"type": "object"
|
20775
|
+
},
|
20602
20776
|
"ModifyOriginACLRequest": {
|
20603
20777
|
"document": "ModifyOriginACL请求参数结构体",
|
20604
20778
|
"members": [
|
@@ -21803,6 +21977,45 @@
|
|
21803
21977
|
],
|
21804
21978
|
"usage": "out"
|
21805
21979
|
},
|
21980
|
+
"MultiPathGatewayCurrentOriginACL": {
|
21981
|
+
"document": "当前生效的回源 IP 网段。",
|
21982
|
+
"members": [
|
21983
|
+
{
|
21984
|
+
"disabled": false,
|
21985
|
+
"document": "回源 IP 网段详情。",
|
21986
|
+
"example": "无",
|
21987
|
+
"member": "Addresses",
|
21988
|
+
"name": "EntireAddresses",
|
21989
|
+
"output_required": false,
|
21990
|
+
"required": false,
|
21991
|
+
"type": "object",
|
21992
|
+
"value_allowed_null": false
|
21993
|
+
},
|
21994
|
+
{
|
21995
|
+
"disabled": false,
|
21996
|
+
"document": "版本号。",
|
21997
|
+
"example": "1",
|
21998
|
+
"member": "int64",
|
21999
|
+
"name": "Version",
|
22000
|
+
"output_required": false,
|
22001
|
+
"required": false,
|
22002
|
+
"type": "int",
|
22003
|
+
"value_allowed_null": false
|
22004
|
+
},
|
22005
|
+
{
|
22006
|
+
"disabled": false,
|
22007
|
+
"document": "本参数用于记录当前版本生效前是否完成「我已更新至最新回源 IP 网段」的确认。取值有:\n<li>true:已完成更新至最新回源 IP 的确认;</li>\n<li>false:未完成更新至最新回源 IP 的确认;</li>\n注意:本参数返回 false 时,请及时确认您的源站防火墙配置是否已更新至最新的回源 IP 网段,以避免出现回源失败。",
|
22008
|
+
"example": "false",
|
22009
|
+
"member": "string",
|
22010
|
+
"name": "IsPlaned",
|
22011
|
+
"output_required": false,
|
22012
|
+
"required": false,
|
22013
|
+
"type": "string",
|
22014
|
+
"value_allowed_null": false
|
22015
|
+
}
|
22016
|
+
],
|
22017
|
+
"usage": "both"
|
22018
|
+
},
|
21806
22019
|
"MultiPathGatewayLine": {
|
21807
22020
|
"document": "多通道安全网关线路信息",
|
21808
22021
|
"members": [
|
@@ -21859,6 +22072,95 @@
|
|
21859
22072
|
],
|
21860
22073
|
"usage": "out"
|
21861
22074
|
},
|
22075
|
+
"MultiPathGatewayNextOriginACL": {
|
22076
|
+
"document": "当回源 IP 网段发生更新时,该字段会返回下一个版本将要生效的回源 IP 网段,包含与当前生效的回源 IP 网段的对比。",
|
22077
|
+
"members": [
|
22078
|
+
{
|
22079
|
+
"disabled": false,
|
22080
|
+
"document": "版本号。",
|
22081
|
+
"example": "2",
|
22082
|
+
"member": "int64",
|
22083
|
+
"name": "Version",
|
22084
|
+
"output_required": false,
|
22085
|
+
"required": false,
|
22086
|
+
"type": "int",
|
22087
|
+
"value_allowed_null": false
|
22088
|
+
},
|
22089
|
+
{
|
22090
|
+
"disabled": false,
|
22091
|
+
"document": "回源 IP 网段详情。",
|
22092
|
+
"example": "无",
|
22093
|
+
"member": "Addresses",
|
22094
|
+
"name": "EntireAddresses",
|
22095
|
+
"output_required": false,
|
22096
|
+
"required": false,
|
22097
|
+
"type": "object",
|
22098
|
+
"value_allowed_null": false
|
22099
|
+
},
|
22100
|
+
{
|
22101
|
+
"disabled": false,
|
22102
|
+
"document": "最新回源 IP 网段相较于 MultiPathGatewayCurrentOrginACL 中回源 IP 网段新增的部分。",
|
22103
|
+
"example": "无",
|
22104
|
+
"member": "Addresses",
|
22105
|
+
"name": "AddedAddresses",
|
22106
|
+
"output_required": false,
|
22107
|
+
"required": false,
|
22108
|
+
"type": "object",
|
22109
|
+
"value_allowed_null": false
|
22110
|
+
},
|
22111
|
+
{
|
22112
|
+
"disabled": false,
|
22113
|
+
"document": "最新回源 IP 网段相较于 MultiPathGatewayCurrentOrginACL 中回源 IP 网段删减的部分。",
|
22114
|
+
"example": "无",
|
22115
|
+
"member": "Addresses",
|
22116
|
+
"name": "RemovedAddresses",
|
22117
|
+
"output_required": false,
|
22118
|
+
"required": false,
|
22119
|
+
"type": "object",
|
22120
|
+
"value_allowed_null": false
|
22121
|
+
},
|
22122
|
+
{
|
22123
|
+
"disabled": false,
|
22124
|
+
"document": "最新回源 IP 网段相较于 MultiPathGatewayCurrentOrginACL 中回源 IP 网段无变化的部分。",
|
22125
|
+
"example": "无",
|
22126
|
+
"member": "Addresses",
|
22127
|
+
"name": "NoChangeAddresses",
|
22128
|
+
"output_required": false,
|
22129
|
+
"required": false,
|
22130
|
+
"type": "object",
|
22131
|
+
"value_allowed_null": false
|
22132
|
+
}
|
22133
|
+
],
|
22134
|
+
"usage": "both"
|
22135
|
+
},
|
22136
|
+
"MultiPathGatewayOriginACLInfo": {
|
22137
|
+
"document": "多通道网关示例实例与回源 IP 网段的绑定关系,以及回源 IP 网段详情。",
|
22138
|
+
"members": [
|
22139
|
+
{
|
22140
|
+
"disabled": false,
|
22141
|
+
"document": "当前生效的回源 IP 网段。",
|
22142
|
+
"example": "无",
|
22143
|
+
"member": "MultiPathGatewayCurrentOriginACL",
|
22144
|
+
"name": "MultiPathGatewayCurrentOriginACL",
|
22145
|
+
"output_required": false,
|
22146
|
+
"required": false,
|
22147
|
+
"type": "object",
|
22148
|
+
"value_allowed_null": false
|
22149
|
+
},
|
22150
|
+
{
|
22151
|
+
"disabled": false,
|
22152
|
+
"document": "当回源 IP 网段发生更新时,该字段会返回下一个版本将要生效的回源 IP 网段,包含与当前回源 IP 网段的对比。无更新时该字段为空。",
|
22153
|
+
"example": "无",
|
22154
|
+
"member": "MultiPathGatewayNextOriginACL",
|
22155
|
+
"name": "MultiPathGatewayNextOriginACL",
|
22156
|
+
"output_required": false,
|
22157
|
+
"required": false,
|
22158
|
+
"type": "object",
|
22159
|
+
"value_allowed_null": false
|
22160
|
+
}
|
22161
|
+
],
|
22162
|
+
"usage": "both"
|
22163
|
+
},
|
21862
22164
|
"MutualTLS": {
|
21863
22165
|
"document": "HTTPS 双向认证。",
|
21864
22166
|
"members": [
|
@@ -22854,6 +23156,23 @@
|
|
22854
23156
|
],
|
22855
23157
|
"usage": "out"
|
22856
23158
|
},
|
23159
|
+
"OriginPullProtocolParameters": {
|
23160
|
+
"document": "回源 HTTPS 配置参数。",
|
23161
|
+
"members": [
|
23162
|
+
{
|
23163
|
+
"disabled": false,
|
23164
|
+
"document": "回源协议配置,取值有:\n<li>http:使用 HTTP 协议回源;</li>\n<li>https:使用 HTTPS 协议回源;</li>\n<li>follow:协议跟随。</li>",
|
23165
|
+
"example": "https",
|
23166
|
+
"member": "string",
|
23167
|
+
"name": "Protocol",
|
23168
|
+
"output_required": false,
|
23169
|
+
"required": false,
|
23170
|
+
"type": "string",
|
23171
|
+
"value_allowed_null": false
|
23172
|
+
}
|
23173
|
+
],
|
23174
|
+
"usage": "both"
|
23175
|
+
},
|
22857
23176
|
"OriginRecord": {
|
22858
23177
|
"document": "源站组记录",
|
22859
23178
|
"members": [
|
@@ -25174,6 +25493,17 @@
|
|
25174
25493
|
"type": "object",
|
25175
25494
|
"value_allowed_null": true
|
25176
25495
|
},
|
25496
|
+
{
|
25497
|
+
"disabled": false,
|
25498
|
+
"document": "回源 HTTPS 配置参数,当 Name 取值为 OriginPullProtocol 时,该参数必填。\n注意:此字段可能返回 null,表示取不到有效值。",
|
25499
|
+
"example": "无",
|
25500
|
+
"member": "OriginPullProtocolParameters",
|
25501
|
+
"name": "OriginPullProtocolParameters",
|
25502
|
+
"output_required": false,
|
25503
|
+
"required": false,
|
25504
|
+
"type": "object",
|
25505
|
+
"value_allowed_null": true
|
25506
|
+
},
|
25177
25507
|
{
|
25178
25508
|
"disabled": false,
|
25179
25509
|
"document": "智能压缩配置,当 Name 取值为 Compression 时,该参数必填。\n注意:此字段可能返回 null,表示取不到有效值。",
|
@@ -25382,6 +25712,17 @@
|
|
25382
25712
|
"required": false,
|
25383
25713
|
"type": "object",
|
25384
25714
|
"value_allowed_null": false
|
25715
|
+
},
|
25716
|
+
{
|
25717
|
+
"disabled": false,
|
25718
|
+
"document": "内容压缩配置参数,当 Name 取值为 ContentCompression 时,该参数必填。该参数为白名单功能,如有需要,请联系腾讯云工程师处理。",
|
25719
|
+
"example": "无",
|
25720
|
+
"member": "ContentCompressionParameters",
|
25721
|
+
"name": "ContentCompressionParameters",
|
25722
|
+
"output_required": false,
|
25723
|
+
"required": false,
|
25724
|
+
"type": "object",
|
25725
|
+
"value_allowed_null": false
|
25385
25726
|
}
|
25386
25727
|
],
|
25387
25728
|
"usage": "both"
|