• CLI

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

AntiDDoS

Interface

Method

API

  

osclient.antiDDoS().antiddos().listConfigs()

GET /v1/{project_id}/antiddos/query_config_list

EIP

osclient.antiDDoS().antiddos().create(entity, "floatingIpId")

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

osclient.antiDDoS().antiddos().delete("floatingIpId")

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

osclient.antiDDoS().antiddos().get("floatingIpId")

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

osclient.antiDDoS().antiddos().update(entity, "floatingIpId")

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

osclient.antiDDoS().antiddos().getTask("taskId")

GET /v1/{project_id}/query_task_status

osclient.antiDDoS().antiddos().listStatus(options)

GET /v1/{project_id}/antiddos

osclient.antiDDoS().antiddos().getStatus("floatingIpId")

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

osclient.antiDDoS().antiddos().dailyReport("floatingIpId")

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

osclient.antiDDoS().antiddos().listLogs("floatingIpId", options)

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

  

osclient.antiDDoS().antiddos().weeklyReport(date)

GET /v1/{project_id}/antiddos/ weekly

  

osclient.antiDDoS().warnalert().query()

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