alibabacloud-esa20240910 2.33.0__py3-none-any.whl → 2.35.0__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.
- alibabacloud_esa20240910/__init__.py +1 -1
- alibabacloud_esa20240910/client.py +456 -0
- alibabacloud_esa20240910/models/__init__.py +42 -0
- alibabacloud_esa20240910/models/_create_edge_container_app_image_secret_request.py +8 -0
- alibabacloud_esa20240910/models/_create_edge_container_app_image_secret_response_body.py +1 -0
- alibabacloud_esa20240910/models/_delete_edge_container_app_image_secret_request.py +4 -0
- alibabacloud_esa20240910/models/_delete_edge_container_app_image_secret_response_body.py +1 -0
- alibabacloud_esa20240910/models/_delete_http_ddo_sintelligent_rule_request.py +6 -0
- alibabacloud_esa20240910/models/_delete_http_ddo_sintelligent_rule_response_body.py +4 -1
- alibabacloud_esa20240910/models/_delete_user_waf_ruleset_request.py +4 -0
- alibabacloud_esa20240910/models/_delete_user_waf_ruleset_response_body.py +1 -0
- alibabacloud_esa20240910/models/_describe_ddos_max_burst_gbps_request.py +34 -0
- alibabacloud_esa20240910/models/_describe_ddos_max_burst_gbps_response.py +54 -0
- alibabacloud_esa20240910/models/_describe_ddos_max_burst_gbps_response_body.py +50 -0
- alibabacloud_esa20240910/models/_describe_http_ddo_sattack_rules_request.py +51 -0
- alibabacloud_esa20240910/models/_describe_http_ddo_sattack_rules_response.py +54 -0
- alibabacloud_esa20240910/models/_describe_http_ddo_sattack_rules_response_body.py +160 -0
- alibabacloud_esa20240910/models/_describe_http_ddo_sintelligent_acl_rules_request.py +59 -0
- alibabacloud_esa20240910/models/_describe_http_ddo_sintelligent_acl_rules_response.py +54 -0
- alibabacloud_esa20240910/models/_describe_http_ddo_sintelligent_acl_rules_response_body.py +152 -0
- alibabacloud_esa20240910/models/_describe_http_ddo_sintelligent_rate_limit_rules_request.py +59 -0
- alibabacloud_esa20240910/models/_describe_http_ddo_sintelligent_rate_limit_rules_response.py +54 -0
- alibabacloud_esa20240910/models/_describe_http_ddo_sintelligent_rate_limit_rules_response_body.py +168 -0
- alibabacloud_esa20240910/models/_get_edge_container_app_resource_capacity_request.py +2 -0
- alibabacloud_esa20240910/models/_get_edge_container_app_resource_capacity_response_body.py +49 -0
- alibabacloud_esa20240910/models/_get_kv_detail_request.py +47 -0
- alibabacloud_esa20240910/models/_get_kv_detail_response.py +54 -0
- alibabacloud_esa20240910/models/_get_kv_detail_response_body.py +52 -0
- alibabacloud_esa20240910/models/_list_edge_container_app_image_secrets_request.py +2 -0
- alibabacloud_esa20240910/models/_list_edge_container_app_image_secrets_response_body.py +5 -0
- alibabacloud_esa20240910/models/_set_ddos_max_burst_gbps_request.py +43 -0
- alibabacloud_esa20240910/models/_set_ddos_max_burst_gbps_response.py +54 -0
- alibabacloud_esa20240910/models/_set_ddos_max_burst_gbps_response_body.py +33 -0
- alibabacloud_esa20240910/models/_set_http_ddo_sattack_rule_action_request.py +13 -0
- alibabacloud_esa20240910/models/_set_http_ddo_sattack_rule_action_response_body.py +1 -1
- alibabacloud_esa20240910/models/_set_http_ddo_sattack_rule_status_request.py +10 -0
- alibabacloud_esa20240910/models/_set_http_ddo_sattack_rule_status_response_body.py +1 -1
- {alibabacloud_esa20240910-2.33.0.dist-info → alibabacloud_esa20240910-2.35.0.dist-info}/METADATA +2 -2
- {alibabacloud_esa20240910-2.33.0.dist-info → alibabacloud_esa20240910-2.35.0.dist-info}/RECORD +42 -24
- {alibabacloud_esa20240910-2.33.0.dist-info → alibabacloud_esa20240910-2.35.0.dist-info}/LICENSE +0 -0
- {alibabacloud_esa20240910-2.33.0.dist-info → alibabacloud_esa20240910-2.35.0.dist-info}/WHEEL +0 -0
- {alibabacloud_esa20240910-2.33.0.dist-info → alibabacloud_esa20240910-2.35.0.dist-info}/top_level.txt +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = '2.
|
|
1
|
+
__version__ = '2.35.0'
|
|
@@ -10829,6 +10829,72 @@ class Client(OpenApiClient):
|
|
|
10829
10829
|
runtime = RuntimeOptions()
|
|
10830
10830
|
return await self.describe_ddo_sl7qps_list_with_options_async(request, runtime)
|
|
10831
10831
|
|
|
10832
|
+
def describe_ddos_max_burst_gbps_with_options(
|
|
10833
|
+
self,
|
|
10834
|
+
request: main_models.DescribeDdosMaxBurstGbpsRequest,
|
|
10835
|
+
runtime: RuntimeOptions,
|
|
10836
|
+
) -> main_models.DescribeDdosMaxBurstGbpsResponse:
|
|
10837
|
+
request.validate()
|
|
10838
|
+
query = Utils.query(request.to_map())
|
|
10839
|
+
req = open_api_util_models.OpenApiRequest(
|
|
10840
|
+
query = Utils.query(query)
|
|
10841
|
+
)
|
|
10842
|
+
params = open_api_util_models.Params(
|
|
10843
|
+
action = 'DescribeDdosMaxBurstGbps',
|
|
10844
|
+
version = '2024-09-10',
|
|
10845
|
+
protocol = 'HTTPS',
|
|
10846
|
+
pathname = '/',
|
|
10847
|
+
method = 'GET',
|
|
10848
|
+
auth_type = 'AK',
|
|
10849
|
+
style = 'RPC',
|
|
10850
|
+
req_body_type = 'formData',
|
|
10851
|
+
body_type = 'json'
|
|
10852
|
+
)
|
|
10853
|
+
return DaraCore.from_map(
|
|
10854
|
+
main_models.DescribeDdosMaxBurstGbpsResponse(),
|
|
10855
|
+
self.call_api(params, req, runtime)
|
|
10856
|
+
)
|
|
10857
|
+
|
|
10858
|
+
async def describe_ddos_max_burst_gbps_with_options_async(
|
|
10859
|
+
self,
|
|
10860
|
+
request: main_models.DescribeDdosMaxBurstGbpsRequest,
|
|
10861
|
+
runtime: RuntimeOptions,
|
|
10862
|
+
) -> main_models.DescribeDdosMaxBurstGbpsResponse:
|
|
10863
|
+
request.validate()
|
|
10864
|
+
query = Utils.query(request.to_map())
|
|
10865
|
+
req = open_api_util_models.OpenApiRequest(
|
|
10866
|
+
query = Utils.query(query)
|
|
10867
|
+
)
|
|
10868
|
+
params = open_api_util_models.Params(
|
|
10869
|
+
action = 'DescribeDdosMaxBurstGbps',
|
|
10870
|
+
version = '2024-09-10',
|
|
10871
|
+
protocol = 'HTTPS',
|
|
10872
|
+
pathname = '/',
|
|
10873
|
+
method = 'GET',
|
|
10874
|
+
auth_type = 'AK',
|
|
10875
|
+
style = 'RPC',
|
|
10876
|
+
req_body_type = 'formData',
|
|
10877
|
+
body_type = 'json'
|
|
10878
|
+
)
|
|
10879
|
+
return DaraCore.from_map(
|
|
10880
|
+
main_models.DescribeDdosMaxBurstGbpsResponse(),
|
|
10881
|
+
await self.call_api_async(params, req, runtime)
|
|
10882
|
+
)
|
|
10883
|
+
|
|
10884
|
+
def describe_ddos_max_burst_gbps(
|
|
10885
|
+
self,
|
|
10886
|
+
request: main_models.DescribeDdosMaxBurstGbpsRequest,
|
|
10887
|
+
) -> main_models.DescribeDdosMaxBurstGbpsResponse:
|
|
10888
|
+
runtime = RuntimeOptions()
|
|
10889
|
+
return self.describe_ddos_max_burst_gbps_with_options(request, runtime)
|
|
10890
|
+
|
|
10891
|
+
async def describe_ddos_max_burst_gbps_async(
|
|
10892
|
+
self,
|
|
10893
|
+
request: main_models.DescribeDdosMaxBurstGbpsRequest,
|
|
10894
|
+
) -> main_models.DescribeDdosMaxBurstGbpsResponse:
|
|
10895
|
+
runtime = RuntimeOptions()
|
|
10896
|
+
return await self.describe_ddos_max_burst_gbps_with_options_async(request, runtime)
|
|
10897
|
+
|
|
10832
10898
|
def describe_edge_container_app_stats_with_options(
|
|
10833
10899
|
self,
|
|
10834
10900
|
request: main_models.DescribeEdgeContainerAppStatsRequest,
|
|
@@ -11035,6 +11101,248 @@ class Client(OpenApiClient):
|
|
|
11035
11101
|
runtime = RuntimeOptions()
|
|
11036
11102
|
return await self.describe_http_ddo_sattack_protection_with_options_async(request, runtime)
|
|
11037
11103
|
|
|
11104
|
+
def describe_http_ddo_sattack_rules_with_options(
|
|
11105
|
+
self,
|
|
11106
|
+
request: main_models.DescribeHttpDDoSAttackRulesRequest,
|
|
11107
|
+
runtime: RuntimeOptions,
|
|
11108
|
+
) -> main_models.DescribeHttpDDoSAttackRulesResponse:
|
|
11109
|
+
request.validate()
|
|
11110
|
+
query = {}
|
|
11111
|
+
if not DaraCore.is_null(request.page_number):
|
|
11112
|
+
query['PageNumber'] = request.page_number
|
|
11113
|
+
if not DaraCore.is_null(request.page_size):
|
|
11114
|
+
query['PageSize'] = request.page_size
|
|
11115
|
+
if not DaraCore.is_null(request.site_id):
|
|
11116
|
+
query['SiteId'] = request.site_id
|
|
11117
|
+
req = open_api_util_models.OpenApiRequest(
|
|
11118
|
+
query = Utils.query(query)
|
|
11119
|
+
)
|
|
11120
|
+
params = open_api_util_models.Params(
|
|
11121
|
+
action = 'DescribeHttpDDoSAttackRules',
|
|
11122
|
+
version = '2024-09-10',
|
|
11123
|
+
protocol = 'HTTPS',
|
|
11124
|
+
pathname = '/',
|
|
11125
|
+
method = 'POST',
|
|
11126
|
+
auth_type = 'AK',
|
|
11127
|
+
style = 'RPC',
|
|
11128
|
+
req_body_type = 'formData',
|
|
11129
|
+
body_type = 'json'
|
|
11130
|
+
)
|
|
11131
|
+
return DaraCore.from_map(
|
|
11132
|
+
main_models.DescribeHttpDDoSAttackRulesResponse(),
|
|
11133
|
+
self.call_api(params, req, runtime)
|
|
11134
|
+
)
|
|
11135
|
+
|
|
11136
|
+
async def describe_http_ddo_sattack_rules_with_options_async(
|
|
11137
|
+
self,
|
|
11138
|
+
request: main_models.DescribeHttpDDoSAttackRulesRequest,
|
|
11139
|
+
runtime: RuntimeOptions,
|
|
11140
|
+
) -> main_models.DescribeHttpDDoSAttackRulesResponse:
|
|
11141
|
+
request.validate()
|
|
11142
|
+
query = {}
|
|
11143
|
+
if not DaraCore.is_null(request.page_number):
|
|
11144
|
+
query['PageNumber'] = request.page_number
|
|
11145
|
+
if not DaraCore.is_null(request.page_size):
|
|
11146
|
+
query['PageSize'] = request.page_size
|
|
11147
|
+
if not DaraCore.is_null(request.site_id):
|
|
11148
|
+
query['SiteId'] = request.site_id
|
|
11149
|
+
req = open_api_util_models.OpenApiRequest(
|
|
11150
|
+
query = Utils.query(query)
|
|
11151
|
+
)
|
|
11152
|
+
params = open_api_util_models.Params(
|
|
11153
|
+
action = 'DescribeHttpDDoSAttackRules',
|
|
11154
|
+
version = '2024-09-10',
|
|
11155
|
+
protocol = 'HTTPS',
|
|
11156
|
+
pathname = '/',
|
|
11157
|
+
method = 'POST',
|
|
11158
|
+
auth_type = 'AK',
|
|
11159
|
+
style = 'RPC',
|
|
11160
|
+
req_body_type = 'formData',
|
|
11161
|
+
body_type = 'json'
|
|
11162
|
+
)
|
|
11163
|
+
return DaraCore.from_map(
|
|
11164
|
+
main_models.DescribeHttpDDoSAttackRulesResponse(),
|
|
11165
|
+
await self.call_api_async(params, req, runtime)
|
|
11166
|
+
)
|
|
11167
|
+
|
|
11168
|
+
def describe_http_ddo_sattack_rules(
|
|
11169
|
+
self,
|
|
11170
|
+
request: main_models.DescribeHttpDDoSAttackRulesRequest,
|
|
11171
|
+
) -> main_models.DescribeHttpDDoSAttackRulesResponse:
|
|
11172
|
+
runtime = RuntimeOptions()
|
|
11173
|
+
return self.describe_http_ddo_sattack_rules_with_options(request, runtime)
|
|
11174
|
+
|
|
11175
|
+
async def describe_http_ddo_sattack_rules_async(
|
|
11176
|
+
self,
|
|
11177
|
+
request: main_models.DescribeHttpDDoSAttackRulesRequest,
|
|
11178
|
+
) -> main_models.DescribeHttpDDoSAttackRulesResponse:
|
|
11179
|
+
runtime = RuntimeOptions()
|
|
11180
|
+
return await self.describe_http_ddo_sattack_rules_with_options_async(request, runtime)
|
|
11181
|
+
|
|
11182
|
+
def describe_http_ddo_sintelligent_acl_rules_with_options(
|
|
11183
|
+
self,
|
|
11184
|
+
request: main_models.DescribeHttpDDoSIntelligentAclRulesRequest,
|
|
11185
|
+
runtime: RuntimeOptions,
|
|
11186
|
+
) -> main_models.DescribeHttpDDoSIntelligentAclRulesResponse:
|
|
11187
|
+
request.validate()
|
|
11188
|
+
query = {}
|
|
11189
|
+
if not DaraCore.is_null(request.page_number):
|
|
11190
|
+
query['PageNumber'] = request.page_number
|
|
11191
|
+
if not DaraCore.is_null(request.page_size):
|
|
11192
|
+
query['PageSize'] = request.page_size
|
|
11193
|
+
if not DaraCore.is_null(request.rule_type):
|
|
11194
|
+
query['RuleType'] = request.rule_type
|
|
11195
|
+
if not DaraCore.is_null(request.site_id):
|
|
11196
|
+
query['SiteId'] = request.site_id
|
|
11197
|
+
req = open_api_util_models.OpenApiRequest(
|
|
11198
|
+
query = Utils.query(query)
|
|
11199
|
+
)
|
|
11200
|
+
params = open_api_util_models.Params(
|
|
11201
|
+
action = 'DescribeHttpDDoSIntelligentAclRules',
|
|
11202
|
+
version = '2024-09-10',
|
|
11203
|
+
protocol = 'HTTPS',
|
|
11204
|
+
pathname = '/',
|
|
11205
|
+
method = 'POST',
|
|
11206
|
+
auth_type = 'AK',
|
|
11207
|
+
style = 'RPC',
|
|
11208
|
+
req_body_type = 'formData',
|
|
11209
|
+
body_type = 'json'
|
|
11210
|
+
)
|
|
11211
|
+
return DaraCore.from_map(
|
|
11212
|
+
main_models.DescribeHttpDDoSIntelligentAclRulesResponse(),
|
|
11213
|
+
self.call_api(params, req, runtime)
|
|
11214
|
+
)
|
|
11215
|
+
|
|
11216
|
+
async def describe_http_ddo_sintelligent_acl_rules_with_options_async(
|
|
11217
|
+
self,
|
|
11218
|
+
request: main_models.DescribeHttpDDoSIntelligentAclRulesRequest,
|
|
11219
|
+
runtime: RuntimeOptions,
|
|
11220
|
+
) -> main_models.DescribeHttpDDoSIntelligentAclRulesResponse:
|
|
11221
|
+
request.validate()
|
|
11222
|
+
query = {}
|
|
11223
|
+
if not DaraCore.is_null(request.page_number):
|
|
11224
|
+
query['PageNumber'] = request.page_number
|
|
11225
|
+
if not DaraCore.is_null(request.page_size):
|
|
11226
|
+
query['PageSize'] = request.page_size
|
|
11227
|
+
if not DaraCore.is_null(request.rule_type):
|
|
11228
|
+
query['RuleType'] = request.rule_type
|
|
11229
|
+
if not DaraCore.is_null(request.site_id):
|
|
11230
|
+
query['SiteId'] = request.site_id
|
|
11231
|
+
req = open_api_util_models.OpenApiRequest(
|
|
11232
|
+
query = Utils.query(query)
|
|
11233
|
+
)
|
|
11234
|
+
params = open_api_util_models.Params(
|
|
11235
|
+
action = 'DescribeHttpDDoSIntelligentAclRules',
|
|
11236
|
+
version = '2024-09-10',
|
|
11237
|
+
protocol = 'HTTPS',
|
|
11238
|
+
pathname = '/',
|
|
11239
|
+
method = 'POST',
|
|
11240
|
+
auth_type = 'AK',
|
|
11241
|
+
style = 'RPC',
|
|
11242
|
+
req_body_type = 'formData',
|
|
11243
|
+
body_type = 'json'
|
|
11244
|
+
)
|
|
11245
|
+
return DaraCore.from_map(
|
|
11246
|
+
main_models.DescribeHttpDDoSIntelligentAclRulesResponse(),
|
|
11247
|
+
await self.call_api_async(params, req, runtime)
|
|
11248
|
+
)
|
|
11249
|
+
|
|
11250
|
+
def describe_http_ddo_sintelligent_acl_rules(
|
|
11251
|
+
self,
|
|
11252
|
+
request: main_models.DescribeHttpDDoSIntelligentAclRulesRequest,
|
|
11253
|
+
) -> main_models.DescribeHttpDDoSIntelligentAclRulesResponse:
|
|
11254
|
+
runtime = RuntimeOptions()
|
|
11255
|
+
return self.describe_http_ddo_sintelligent_acl_rules_with_options(request, runtime)
|
|
11256
|
+
|
|
11257
|
+
async def describe_http_ddo_sintelligent_acl_rules_async(
|
|
11258
|
+
self,
|
|
11259
|
+
request: main_models.DescribeHttpDDoSIntelligentAclRulesRequest,
|
|
11260
|
+
) -> main_models.DescribeHttpDDoSIntelligentAclRulesResponse:
|
|
11261
|
+
runtime = RuntimeOptions()
|
|
11262
|
+
return await self.describe_http_ddo_sintelligent_acl_rules_with_options_async(request, runtime)
|
|
11263
|
+
|
|
11264
|
+
def describe_http_ddo_sintelligent_rate_limit_rules_with_options(
|
|
11265
|
+
self,
|
|
11266
|
+
request: main_models.DescribeHttpDDoSIntelligentRateLimitRulesRequest,
|
|
11267
|
+
runtime: RuntimeOptions,
|
|
11268
|
+
) -> main_models.DescribeHttpDDoSIntelligentRateLimitRulesResponse:
|
|
11269
|
+
request.validate()
|
|
11270
|
+
query = {}
|
|
11271
|
+
if not DaraCore.is_null(request.page_number):
|
|
11272
|
+
query['PageNumber'] = request.page_number
|
|
11273
|
+
if not DaraCore.is_null(request.page_size):
|
|
11274
|
+
query['PageSize'] = request.page_size
|
|
11275
|
+
if not DaraCore.is_null(request.rule_type):
|
|
11276
|
+
query['RuleType'] = request.rule_type
|
|
11277
|
+
if not DaraCore.is_null(request.site_id):
|
|
11278
|
+
query['SiteId'] = request.site_id
|
|
11279
|
+
req = open_api_util_models.OpenApiRequest(
|
|
11280
|
+
query = Utils.query(query)
|
|
11281
|
+
)
|
|
11282
|
+
params = open_api_util_models.Params(
|
|
11283
|
+
action = 'DescribeHttpDDoSIntelligentRateLimitRules',
|
|
11284
|
+
version = '2024-09-10',
|
|
11285
|
+
protocol = 'HTTPS',
|
|
11286
|
+
pathname = '/',
|
|
11287
|
+
method = 'POST',
|
|
11288
|
+
auth_type = 'AK',
|
|
11289
|
+
style = 'RPC',
|
|
11290
|
+
req_body_type = 'formData',
|
|
11291
|
+
body_type = 'json'
|
|
11292
|
+
)
|
|
11293
|
+
return DaraCore.from_map(
|
|
11294
|
+
main_models.DescribeHttpDDoSIntelligentRateLimitRulesResponse(),
|
|
11295
|
+
self.call_api(params, req, runtime)
|
|
11296
|
+
)
|
|
11297
|
+
|
|
11298
|
+
async def describe_http_ddo_sintelligent_rate_limit_rules_with_options_async(
|
|
11299
|
+
self,
|
|
11300
|
+
request: main_models.DescribeHttpDDoSIntelligentRateLimitRulesRequest,
|
|
11301
|
+
runtime: RuntimeOptions,
|
|
11302
|
+
) -> main_models.DescribeHttpDDoSIntelligentRateLimitRulesResponse:
|
|
11303
|
+
request.validate()
|
|
11304
|
+
query = {}
|
|
11305
|
+
if not DaraCore.is_null(request.page_number):
|
|
11306
|
+
query['PageNumber'] = request.page_number
|
|
11307
|
+
if not DaraCore.is_null(request.page_size):
|
|
11308
|
+
query['PageSize'] = request.page_size
|
|
11309
|
+
if not DaraCore.is_null(request.rule_type):
|
|
11310
|
+
query['RuleType'] = request.rule_type
|
|
11311
|
+
if not DaraCore.is_null(request.site_id):
|
|
11312
|
+
query['SiteId'] = request.site_id
|
|
11313
|
+
req = open_api_util_models.OpenApiRequest(
|
|
11314
|
+
query = Utils.query(query)
|
|
11315
|
+
)
|
|
11316
|
+
params = open_api_util_models.Params(
|
|
11317
|
+
action = 'DescribeHttpDDoSIntelligentRateLimitRules',
|
|
11318
|
+
version = '2024-09-10',
|
|
11319
|
+
protocol = 'HTTPS',
|
|
11320
|
+
pathname = '/',
|
|
11321
|
+
method = 'POST',
|
|
11322
|
+
auth_type = 'AK',
|
|
11323
|
+
style = 'RPC',
|
|
11324
|
+
req_body_type = 'formData',
|
|
11325
|
+
body_type = 'json'
|
|
11326
|
+
)
|
|
11327
|
+
return DaraCore.from_map(
|
|
11328
|
+
main_models.DescribeHttpDDoSIntelligentRateLimitRulesResponse(),
|
|
11329
|
+
await self.call_api_async(params, req, runtime)
|
|
11330
|
+
)
|
|
11331
|
+
|
|
11332
|
+
def describe_http_ddo_sintelligent_rate_limit_rules(
|
|
11333
|
+
self,
|
|
11334
|
+
request: main_models.DescribeHttpDDoSIntelligentRateLimitRulesRequest,
|
|
11335
|
+
) -> main_models.DescribeHttpDDoSIntelligentRateLimitRulesResponse:
|
|
11336
|
+
runtime = RuntimeOptions()
|
|
11337
|
+
return self.describe_http_ddo_sintelligent_rate_limit_rules_with_options(request, runtime)
|
|
11338
|
+
|
|
11339
|
+
async def describe_http_ddo_sintelligent_rate_limit_rules_async(
|
|
11340
|
+
self,
|
|
11341
|
+
request: main_models.DescribeHttpDDoSIntelligentRateLimitRulesRequest,
|
|
11342
|
+
) -> main_models.DescribeHttpDDoSIntelligentRateLimitRulesResponse:
|
|
11343
|
+
runtime = RuntimeOptions()
|
|
11344
|
+
return await self.describe_http_ddo_sintelligent_rate_limit_rules_with_options_async(request, runtime)
|
|
11345
|
+
|
|
11038
11346
|
def describe_kv_account_status_with_options(
|
|
11039
11347
|
self,
|
|
11040
11348
|
runtime: RuntimeOptions,
|
|
@@ -14265,6 +14573,80 @@ class Client(OpenApiClient):
|
|
|
14265
14573
|
runtime = RuntimeOptions()
|
|
14266
14574
|
return await self.get_kv_account_with_options_async(runtime)
|
|
14267
14575
|
|
|
14576
|
+
def get_kv_detail_with_options(
|
|
14577
|
+
self,
|
|
14578
|
+
request: main_models.GetKvDetailRequest,
|
|
14579
|
+
runtime: RuntimeOptions,
|
|
14580
|
+
) -> main_models.GetKvDetailResponse:
|
|
14581
|
+
request.validate()
|
|
14582
|
+
query = {}
|
|
14583
|
+
if not DaraCore.is_null(request.key):
|
|
14584
|
+
query['Key'] = request.key
|
|
14585
|
+
if not DaraCore.is_null(request.namespace):
|
|
14586
|
+
query['Namespace'] = request.namespace
|
|
14587
|
+
req = open_api_util_models.OpenApiRequest(
|
|
14588
|
+
query = Utils.query(query)
|
|
14589
|
+
)
|
|
14590
|
+
params = open_api_util_models.Params(
|
|
14591
|
+
action = 'GetKvDetail',
|
|
14592
|
+
version = '2024-09-10',
|
|
14593
|
+
protocol = 'HTTPS',
|
|
14594
|
+
pathname = '/',
|
|
14595
|
+
method = 'POST',
|
|
14596
|
+
auth_type = 'AK',
|
|
14597
|
+
style = 'RPC',
|
|
14598
|
+
req_body_type = 'formData',
|
|
14599
|
+
body_type = 'json'
|
|
14600
|
+
)
|
|
14601
|
+
return DaraCore.from_map(
|
|
14602
|
+
main_models.GetKvDetailResponse(),
|
|
14603
|
+
self.call_api(params, req, runtime)
|
|
14604
|
+
)
|
|
14605
|
+
|
|
14606
|
+
async def get_kv_detail_with_options_async(
|
|
14607
|
+
self,
|
|
14608
|
+
request: main_models.GetKvDetailRequest,
|
|
14609
|
+
runtime: RuntimeOptions,
|
|
14610
|
+
) -> main_models.GetKvDetailResponse:
|
|
14611
|
+
request.validate()
|
|
14612
|
+
query = {}
|
|
14613
|
+
if not DaraCore.is_null(request.key):
|
|
14614
|
+
query['Key'] = request.key
|
|
14615
|
+
if not DaraCore.is_null(request.namespace):
|
|
14616
|
+
query['Namespace'] = request.namespace
|
|
14617
|
+
req = open_api_util_models.OpenApiRequest(
|
|
14618
|
+
query = Utils.query(query)
|
|
14619
|
+
)
|
|
14620
|
+
params = open_api_util_models.Params(
|
|
14621
|
+
action = 'GetKvDetail',
|
|
14622
|
+
version = '2024-09-10',
|
|
14623
|
+
protocol = 'HTTPS',
|
|
14624
|
+
pathname = '/',
|
|
14625
|
+
method = 'POST',
|
|
14626
|
+
auth_type = 'AK',
|
|
14627
|
+
style = 'RPC',
|
|
14628
|
+
req_body_type = 'formData',
|
|
14629
|
+
body_type = 'json'
|
|
14630
|
+
)
|
|
14631
|
+
return DaraCore.from_map(
|
|
14632
|
+
main_models.GetKvDetailResponse(),
|
|
14633
|
+
await self.call_api_async(params, req, runtime)
|
|
14634
|
+
)
|
|
14635
|
+
|
|
14636
|
+
def get_kv_detail(
|
|
14637
|
+
self,
|
|
14638
|
+
request: main_models.GetKvDetailRequest,
|
|
14639
|
+
) -> main_models.GetKvDetailResponse:
|
|
14640
|
+
runtime = RuntimeOptions()
|
|
14641
|
+
return self.get_kv_detail_with_options(request, runtime)
|
|
14642
|
+
|
|
14643
|
+
async def get_kv_detail_async(
|
|
14644
|
+
self,
|
|
14645
|
+
request: main_models.GetKvDetailRequest,
|
|
14646
|
+
) -> main_models.GetKvDetailResponse:
|
|
14647
|
+
runtime = RuntimeOptions()
|
|
14648
|
+
return await self.get_kv_detail_with_options_async(request, runtime)
|
|
14649
|
+
|
|
14268
14650
|
def get_kv_namespace_with_options(
|
|
14269
14651
|
self,
|
|
14270
14652
|
request: main_models.GetKvNamespaceRequest,
|
|
@@ -23729,6 +24111,80 @@ class Client(OpenApiClient):
|
|
|
23729
24111
|
runtime = RuntimeOptions()
|
|
23730
24112
|
return await self.set_client_certificate_hostnames_with_options_async(request, runtime)
|
|
23731
24113
|
|
|
24114
|
+
def set_ddos_max_burst_gbps_with_options(
|
|
24115
|
+
self,
|
|
24116
|
+
request: main_models.SetDdosMaxBurstGbpsRequest,
|
|
24117
|
+
runtime: RuntimeOptions,
|
|
24118
|
+
) -> main_models.SetDdosMaxBurstGbpsResponse:
|
|
24119
|
+
request.validate()
|
|
24120
|
+
query = {}
|
|
24121
|
+
if not DaraCore.is_null(request.instance_id):
|
|
24122
|
+
query['InstanceId'] = request.instance_id
|
|
24123
|
+
if not DaraCore.is_null(request.max_burst_gbps):
|
|
24124
|
+
query['MaxBurstGbps'] = request.max_burst_gbps
|
|
24125
|
+
req = open_api_util_models.OpenApiRequest(
|
|
24126
|
+
query = Utils.query(query)
|
|
24127
|
+
)
|
|
24128
|
+
params = open_api_util_models.Params(
|
|
24129
|
+
action = 'SetDdosMaxBurstGbps',
|
|
24130
|
+
version = '2024-09-10',
|
|
24131
|
+
protocol = 'HTTPS',
|
|
24132
|
+
pathname = '/',
|
|
24133
|
+
method = 'POST',
|
|
24134
|
+
auth_type = 'AK',
|
|
24135
|
+
style = 'RPC',
|
|
24136
|
+
req_body_type = 'formData',
|
|
24137
|
+
body_type = 'json'
|
|
24138
|
+
)
|
|
24139
|
+
return DaraCore.from_map(
|
|
24140
|
+
main_models.SetDdosMaxBurstGbpsResponse(),
|
|
24141
|
+
self.call_api(params, req, runtime)
|
|
24142
|
+
)
|
|
24143
|
+
|
|
24144
|
+
async def set_ddos_max_burst_gbps_with_options_async(
|
|
24145
|
+
self,
|
|
24146
|
+
request: main_models.SetDdosMaxBurstGbpsRequest,
|
|
24147
|
+
runtime: RuntimeOptions,
|
|
24148
|
+
) -> main_models.SetDdosMaxBurstGbpsResponse:
|
|
24149
|
+
request.validate()
|
|
24150
|
+
query = {}
|
|
24151
|
+
if not DaraCore.is_null(request.instance_id):
|
|
24152
|
+
query['InstanceId'] = request.instance_id
|
|
24153
|
+
if not DaraCore.is_null(request.max_burst_gbps):
|
|
24154
|
+
query['MaxBurstGbps'] = request.max_burst_gbps
|
|
24155
|
+
req = open_api_util_models.OpenApiRequest(
|
|
24156
|
+
query = Utils.query(query)
|
|
24157
|
+
)
|
|
24158
|
+
params = open_api_util_models.Params(
|
|
24159
|
+
action = 'SetDdosMaxBurstGbps',
|
|
24160
|
+
version = '2024-09-10',
|
|
24161
|
+
protocol = 'HTTPS',
|
|
24162
|
+
pathname = '/',
|
|
24163
|
+
method = 'POST',
|
|
24164
|
+
auth_type = 'AK',
|
|
24165
|
+
style = 'RPC',
|
|
24166
|
+
req_body_type = 'formData',
|
|
24167
|
+
body_type = 'json'
|
|
24168
|
+
)
|
|
24169
|
+
return DaraCore.from_map(
|
|
24170
|
+
main_models.SetDdosMaxBurstGbpsResponse(),
|
|
24171
|
+
await self.call_api_async(params, req, runtime)
|
|
24172
|
+
)
|
|
24173
|
+
|
|
24174
|
+
def set_ddos_max_burst_gbps(
|
|
24175
|
+
self,
|
|
24176
|
+
request: main_models.SetDdosMaxBurstGbpsRequest,
|
|
24177
|
+
) -> main_models.SetDdosMaxBurstGbpsResponse:
|
|
24178
|
+
runtime = RuntimeOptions()
|
|
24179
|
+
return self.set_ddos_max_burst_gbps_with_options(request, runtime)
|
|
24180
|
+
|
|
24181
|
+
async def set_ddos_max_burst_gbps_async(
|
|
24182
|
+
self,
|
|
24183
|
+
request: main_models.SetDdosMaxBurstGbpsRequest,
|
|
24184
|
+
) -> main_models.SetDdosMaxBurstGbpsResponse:
|
|
24185
|
+
runtime = RuntimeOptions()
|
|
24186
|
+
return await self.set_ddos_max_burst_gbps_with_options_async(request, runtime)
|
|
24187
|
+
|
|
23732
24188
|
def set_http_ddo_sattack_intelligent_protection_with_options(
|
|
23733
24189
|
self,
|
|
23734
24190
|
request: main_models.SetHttpDDoSAttackIntelligentProtectionRequest,
|
|
@@ -402,6 +402,9 @@ from ._describe_ddo_sbps_list_response import DescribeDDoSBpsListResponse
|
|
|
402
402
|
from ._describe_ddo_sl7qps_list_request import DescribeDDoSL7QpsListRequest
|
|
403
403
|
from ._describe_ddo_sl7qps_list_response_body import DescribeDDoSL7QpsListResponseBody
|
|
404
404
|
from ._describe_ddo_sl7qps_list_response import DescribeDDoSL7QpsListResponse
|
|
405
|
+
from ._describe_ddos_max_burst_gbps_request import DescribeDdosMaxBurstGbpsRequest
|
|
406
|
+
from ._describe_ddos_max_burst_gbps_response_body import DescribeDdosMaxBurstGbpsResponseBody
|
|
407
|
+
from ._describe_ddos_max_burst_gbps_response import DescribeDdosMaxBurstGbpsResponse
|
|
405
408
|
from ._describe_edge_container_app_stats_request import DescribeEdgeContainerAppStatsRequest
|
|
406
409
|
from ._describe_edge_container_app_stats_response_body import DescribeEdgeContainerAppStatsResponseBody
|
|
407
410
|
from ._describe_edge_container_app_stats_response import DescribeEdgeContainerAppStatsResponse
|
|
@@ -411,6 +414,15 @@ from ._describe_http_ddo_sattack_intelligent_protection_response import Describe
|
|
|
411
414
|
from ._describe_http_ddo_sattack_protection_request import DescribeHttpDDoSAttackProtectionRequest
|
|
412
415
|
from ._describe_http_ddo_sattack_protection_response_body import DescribeHttpDDoSAttackProtectionResponseBody
|
|
413
416
|
from ._describe_http_ddo_sattack_protection_response import DescribeHttpDDoSAttackProtectionResponse
|
|
417
|
+
from ._describe_http_ddo_sattack_rules_request import DescribeHttpDDoSAttackRulesRequest
|
|
418
|
+
from ._describe_http_ddo_sattack_rules_response_body import DescribeHttpDDoSAttackRulesResponseBody
|
|
419
|
+
from ._describe_http_ddo_sattack_rules_response import DescribeHttpDDoSAttackRulesResponse
|
|
420
|
+
from ._describe_http_ddo_sintelligent_acl_rules_request import DescribeHttpDDoSIntelligentAclRulesRequest
|
|
421
|
+
from ._describe_http_ddo_sintelligent_acl_rules_response_body import DescribeHttpDDoSIntelligentAclRulesResponseBody
|
|
422
|
+
from ._describe_http_ddo_sintelligent_acl_rules_response import DescribeHttpDDoSIntelligentAclRulesResponse
|
|
423
|
+
from ._describe_http_ddo_sintelligent_rate_limit_rules_request import DescribeHttpDDoSIntelligentRateLimitRulesRequest
|
|
424
|
+
from ._describe_http_ddo_sintelligent_rate_limit_rules_response_body import DescribeHttpDDoSIntelligentRateLimitRulesResponseBody
|
|
425
|
+
from ._describe_http_ddo_sintelligent_rate_limit_rules_response import DescribeHttpDDoSIntelligentRateLimitRulesResponse
|
|
414
426
|
from ._describe_kv_account_status_response_body import DescribeKvAccountStatusResponseBody
|
|
415
427
|
from ._describe_kv_account_status_response import DescribeKvAccountStatusResponse
|
|
416
428
|
from ._describe_preload_tasks_request import DescribePreloadTasksRequest
|
|
@@ -552,6 +564,9 @@ from ._get_kv_response_body import GetKvResponseBody
|
|
|
552
564
|
from ._get_kv_response import GetKvResponse
|
|
553
565
|
from ._get_kv_account_response_body import GetKvAccountResponseBody
|
|
554
566
|
from ._get_kv_account_response import GetKvAccountResponse
|
|
567
|
+
from ._get_kv_detail_request import GetKvDetailRequest
|
|
568
|
+
from ._get_kv_detail_response_body import GetKvDetailResponseBody
|
|
569
|
+
from ._get_kv_detail_response import GetKvDetailResponse
|
|
555
570
|
from ._get_kv_namespace_request import GetKvNamespaceRequest
|
|
556
571
|
from ._get_kv_namespace_response_body import GetKvNamespaceResponseBody
|
|
557
572
|
from ._get_kv_namespace_response import GetKvNamespaceResponse
|
|
@@ -947,6 +962,9 @@ from ._set_client_certificate_hostnames_request import SetClientCertificateHostn
|
|
|
947
962
|
from ._set_client_certificate_hostnames_shrink_request import SetClientCertificateHostnamesShrinkRequest
|
|
948
963
|
from ._set_client_certificate_hostnames_response_body import SetClientCertificateHostnamesResponseBody
|
|
949
964
|
from ._set_client_certificate_hostnames_response import SetClientCertificateHostnamesResponse
|
|
965
|
+
from ._set_ddos_max_burst_gbps_request import SetDdosMaxBurstGbpsRequest
|
|
966
|
+
from ._set_ddos_max_burst_gbps_response_body import SetDdosMaxBurstGbpsResponseBody
|
|
967
|
+
from ._set_ddos_max_burst_gbps_response import SetDdosMaxBurstGbpsResponse
|
|
950
968
|
from ._set_http_ddo_sattack_intelligent_protection_request import SetHttpDDoSAttackIntelligentProtectionRequest
|
|
951
969
|
from ._set_http_ddo_sattack_intelligent_protection_response_body import SetHttpDDoSAttackIntelligentProtectionResponseBody
|
|
952
970
|
from ._set_http_ddo_sattack_intelligent_protection_response import SetHttpDDoSAttackIntelligentProtectionResponse
|
|
@@ -1264,6 +1282,9 @@ from ._describe_ddo_sall_event_list_response_body import DescribeDDoSAllEventLis
|
|
|
1264
1282
|
from ._describe_ddo_sbps_list_response_body import DescribeDDoSBpsListResponseBodyDataModule
|
|
1265
1283
|
from ._describe_ddo_sl7qps_list_response_body import DescribeDDoSL7QpsListResponseBodyDataModule
|
|
1266
1284
|
from ._describe_edge_container_app_stats_response_body import DescribeEdgeContainerAppStatsResponseBodyPoints
|
|
1285
|
+
from ._describe_http_ddo_sattack_rules_response_body import DescribeHttpDDoSAttackRulesResponseBodyRuleInfos
|
|
1286
|
+
from ._describe_http_ddo_sintelligent_acl_rules_response_body import DescribeHttpDDoSIntelligentAclRulesResponseBodyRuleInfos
|
|
1287
|
+
from ._describe_http_ddo_sintelligent_rate_limit_rules_response_body import DescribeHttpDDoSIntelligentRateLimitRulesResponseBodyRuleInfos
|
|
1267
1288
|
from ._describe_preload_tasks_response_body import DescribePreloadTasksResponseBodyTasks
|
|
1268
1289
|
from ._describe_purge_tasks_response_body import DescribePurgeTasksResponseBodyTasks
|
|
1269
1290
|
from ._describe_site_logs_response_body import DescribeSiteLogsResponseBodySiteLogDetailsLogInfos
|
|
@@ -1889,6 +1910,9 @@ __all__ = [
|
|
|
1889
1910
|
DescribeDDoSL7QpsListRequest,
|
|
1890
1911
|
DescribeDDoSL7QpsListResponseBody,
|
|
1891
1912
|
DescribeDDoSL7QpsListResponse,
|
|
1913
|
+
DescribeDdosMaxBurstGbpsRequest,
|
|
1914
|
+
DescribeDdosMaxBurstGbpsResponseBody,
|
|
1915
|
+
DescribeDdosMaxBurstGbpsResponse,
|
|
1892
1916
|
DescribeEdgeContainerAppStatsRequest,
|
|
1893
1917
|
DescribeEdgeContainerAppStatsResponseBody,
|
|
1894
1918
|
DescribeEdgeContainerAppStatsResponse,
|
|
@@ -1898,6 +1922,15 @@ __all__ = [
|
|
|
1898
1922
|
DescribeHttpDDoSAttackProtectionRequest,
|
|
1899
1923
|
DescribeHttpDDoSAttackProtectionResponseBody,
|
|
1900
1924
|
DescribeHttpDDoSAttackProtectionResponse,
|
|
1925
|
+
DescribeHttpDDoSAttackRulesRequest,
|
|
1926
|
+
DescribeHttpDDoSAttackRulesResponseBody,
|
|
1927
|
+
DescribeHttpDDoSAttackRulesResponse,
|
|
1928
|
+
DescribeHttpDDoSIntelligentAclRulesRequest,
|
|
1929
|
+
DescribeHttpDDoSIntelligentAclRulesResponseBody,
|
|
1930
|
+
DescribeHttpDDoSIntelligentAclRulesResponse,
|
|
1931
|
+
DescribeHttpDDoSIntelligentRateLimitRulesRequest,
|
|
1932
|
+
DescribeHttpDDoSIntelligentRateLimitRulesResponseBody,
|
|
1933
|
+
DescribeHttpDDoSIntelligentRateLimitRulesResponse,
|
|
1901
1934
|
DescribeKvAccountStatusResponseBody,
|
|
1902
1935
|
DescribeKvAccountStatusResponse,
|
|
1903
1936
|
DescribePreloadTasksRequest,
|
|
@@ -2039,6 +2072,9 @@ __all__ = [
|
|
|
2039
2072
|
GetKvResponse,
|
|
2040
2073
|
GetKvAccountResponseBody,
|
|
2041
2074
|
GetKvAccountResponse,
|
|
2075
|
+
GetKvDetailRequest,
|
|
2076
|
+
GetKvDetailResponseBody,
|
|
2077
|
+
GetKvDetailResponse,
|
|
2042
2078
|
GetKvNamespaceRequest,
|
|
2043
2079
|
GetKvNamespaceResponseBody,
|
|
2044
2080
|
GetKvNamespaceResponse,
|
|
@@ -2434,6 +2470,9 @@ __all__ = [
|
|
|
2434
2470
|
SetClientCertificateHostnamesShrinkRequest,
|
|
2435
2471
|
SetClientCertificateHostnamesResponseBody,
|
|
2436
2472
|
SetClientCertificateHostnamesResponse,
|
|
2473
|
+
SetDdosMaxBurstGbpsRequest,
|
|
2474
|
+
SetDdosMaxBurstGbpsResponseBody,
|
|
2475
|
+
SetDdosMaxBurstGbpsResponse,
|
|
2437
2476
|
SetHttpDDoSAttackIntelligentProtectionRequest,
|
|
2438
2477
|
SetHttpDDoSAttackIntelligentProtectionResponseBody,
|
|
2439
2478
|
SetHttpDDoSAttackIntelligentProtectionResponse,
|
|
@@ -2751,6 +2790,9 @@ __all__ = [
|
|
|
2751
2790
|
DescribeDDoSBpsListResponseBodyDataModule,
|
|
2752
2791
|
DescribeDDoSL7QpsListResponseBodyDataModule,
|
|
2753
2792
|
DescribeEdgeContainerAppStatsResponseBodyPoints,
|
|
2793
|
+
DescribeHttpDDoSAttackRulesResponseBodyRuleInfos,
|
|
2794
|
+
DescribeHttpDDoSIntelligentAclRulesResponseBodyRuleInfos,
|
|
2795
|
+
DescribeHttpDDoSIntelligentRateLimitRulesResponseBodyRuleInfos,
|
|
2754
2796
|
DescribePreloadTasksResponseBodyTasks,
|
|
2755
2797
|
DescribePurgeTasksResponseBodyTasks,
|
|
2756
2798
|
DescribeSiteLogsResponseBodySiteLogDetailsLogInfos,
|
|
@@ -12,12 +12,20 @@ class CreateEdgeContainerAppImageSecretRequest(DaraModel):
|
|
|
12
12
|
registry: str = None,
|
|
13
13
|
username: str = None,
|
|
14
14
|
):
|
|
15
|
+
# Application ID, which can be obtained using the [ListEdgeContainerApps](~~ListEdgeContainerApps~~) interface.
|
|
16
|
+
#
|
|
15
17
|
# This parameter is required.
|
|
16
18
|
self.app_id = app_id
|
|
19
|
+
# Image repository password.
|
|
20
|
+
#
|
|
17
21
|
# This parameter is required.
|
|
18
22
|
self.password = password
|
|
23
|
+
# Image repository address.
|
|
24
|
+
#
|
|
19
25
|
# This parameter is required.
|
|
20
26
|
self.registry = registry
|
|
27
|
+
# Image repository username.
|
|
28
|
+
#
|
|
21
29
|
# This parameter is required.
|
|
22
30
|
self.username = username
|
|
23
31
|
|
|
@@ -10,8 +10,12 @@ class DeleteEdgeContainerAppImageSecretRequest(DaraModel):
|
|
|
10
10
|
app_id: str = None,
|
|
11
11
|
name: str = None,
|
|
12
12
|
):
|
|
13
|
+
# Application ID, which can be obtained using the [ListEdgeContainerApps](~~ListEdgeContainerApps~~) API.
|
|
14
|
+
#
|
|
13
15
|
# This parameter is required.
|
|
14
16
|
self.app_id = app_id
|
|
17
|
+
# Name of the image secret.
|
|
18
|
+
#
|
|
15
19
|
# This parameter is required.
|
|
16
20
|
self.name = name
|
|
17
21
|
|
|
@@ -11,10 +11,16 @@ class DeleteHttpDDoSIntelligentRuleRequest(DaraModel):
|
|
|
11
11
|
rule_id: int = None,
|
|
12
12
|
site_id: int = None,
|
|
13
13
|
):
|
|
14
|
+
# Record name.
|
|
15
|
+
#
|
|
14
16
|
# This parameter is required.
|
|
15
17
|
self.record_name = record_name
|
|
18
|
+
# Rule ID.
|
|
19
|
+
#
|
|
16
20
|
# This parameter is required.
|
|
17
21
|
self.rule_id = rule_id
|
|
22
|
+
# Site ID, which can be obtained by calling the [ListSites](~~ListSites~~) interface.
|
|
23
|
+
#
|
|
18
24
|
# This parameter is required.
|
|
19
25
|
self.site_id = site_id
|
|
20
26
|
|
|
@@ -12,10 +12,13 @@ class DeleteHttpDDoSIntelligentRuleResponseBody(DaraModel):
|
|
|
12
12
|
rule_id: int = None,
|
|
13
13
|
site_id: int = None,
|
|
14
14
|
):
|
|
15
|
+
# Record name.
|
|
15
16
|
self.record_name = record_name
|
|
16
|
-
#
|
|
17
|
+
# ID of the request
|
|
17
18
|
self.request_id = request_id
|
|
19
|
+
# Rule ID.
|
|
18
20
|
self.rule_id = rule_id
|
|
21
|
+
# Site ID, which can be obtained by calling the [ListSites](https://help.aliyun.com/document_detail/2850189.html) interface.
|
|
19
22
|
self.site_id = site_id
|
|
20
23
|
|
|
21
24
|
def validate(self):
|