Skip to content

Latest commit

 

History

History
115 lines (70 loc) · 3.01 KB

LegacyWafConfigurationSetsApi.md

File metadata and controls

115 lines (70 loc) · 3.01 KB

LegacyWafConfigurationSetsApi

Note

All URIs are relative to https://api.fastly.com

Method HTTP request Description
list_waf_config_sets GET /wafs/configuration_sets List configuration sets
list_wafs_config_set GET /wafs/configuration_sets/{configuration_set_id}/relationships/wafs List WAFs currently using a configuration set
use_waf_config_set PATCH /wafs/configuration_sets/{configuration_set_id}/relationships/wafs Apply a configuration set to a WAF

list_waf_config_sets

List all Configuration sets.

let cfg = &Configuration::default();
let params = ListWafConfigSetsParams {
    // parameters
};
list_waf_config_sets(cfg, params)

Parameters

This endpoint does not need any parameter.

Return type

serde_json::Value

Authorization

token

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/vnd.api+json

[Back to top] [Back to API list] [Back to README]

list_wafs_config_set

List the WAF objects currently using the specified configuration set.

let cfg = &Configuration::default();
let params = ListWafsConfigSetParams {
    // parameters
};
list_wafs_config_set(cfg, params)

Parameters

Name Type Description Required Notes
configuration_set_id String Alphanumeric string identifying a WAF configuration set. [required]

Return type

serde_json::Value

Authorization

token

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/vnd.api+json

[Back to top] [Back to API list] [Back to README]

use_waf_config_set

Update one or more WAF objects to use the specified configuration set.

let cfg = &Configuration::default();
let params = UseWafConfigSetParams {
    // parameters
};
use_waf_config_set(cfg, params)

Parameters

Name Type Description Required Notes
configuration_set_id String Alphanumeric string identifying a WAF configuration set. [required]
request_body Option<::std::collections::HashMap<String, serde_json::Value>>

Return type

serde_json::Value

Authorization

token

HTTP request headers

  • Content-Type: application/vnd.api+json
  • Accept: application/vnd.api+json

[Back to top] [Back to API list] [Back to README]