• CLI

sdk
  1. Help Center
  2. CLI
  3. Developer Guide
  4. Mapping Between API and SDK
  5. Python
  6. AntiDDoS

AntiDDoS

Interface

Method

API

  

query_config_list()

GET /v1/ {project_id}/antiddos/query_config_list

EIP

create_floating_ip(floating_ip_id, **kwargs)

POST /v1/{project_id}/antiddos/{floating_ip_id}

delete_floating_ip(floating_ip, ignore_missing=True)

DELETE /v1/{project_id}/antiddos/{floating_ip_id}

get_floating_ip(floating_ip)

GET /v1/{project_id}/antiddos/{floating_ip_id}

update_floating_ip(floating_ip, **attrs)

PUT /v1/{project_id}/antiddos/{floating_ip_id}

query_task_status(task_id)

GET /v1/{project_id}/query_task_status

floating_ips(**query)

GET /v1/{project_id}/antiddos

get_eip_status(floating_ip_id)

GET /v1/{project_id}/antiddos/{floating_ip_id}/status

list_eip_daily(floating_ip_id, **query)

GET /v1/{project_id}/antiddos/{floating_ip_id}/daily

list_eip_log(floating_ip_id, **query)

GET /v1/{project_id}/antiddos/{floating_ip_id}/logs

  

get_eip_weekly(period_start_date)

GET /v1/{project_id}/antiddos/ weekly

  

get_alert_config()

GET /v2/{project_id}/ warnalert/alertconfig/query