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 all Configuration sets.
let cfg = &Configuration::default();
let params = ListWafConfigSetsParams {
// parameters
};
list_waf_config_sets(cfg, params)
This endpoint does not need any parameter.
- Content-Type: Not defined
- Accept: application/vnd.api+json
[Back to top] [Back to API list] [Back to README]
List the WAF objects currently using the specified configuration set.
let cfg = &Configuration::default();
let params = ListWafsConfigSetParams {
// parameters
};
list_wafs_config_set(cfg, params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
configuration_set_id | String | Alphanumeric string identifying a WAF configuration set. | [required] |
- Content-Type: Not defined
- Accept: application/vnd.api+json
[Back to top] [Back to API list] [Back to README]
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)
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>> |
- Content-Type: application/vnd.api+json
- Accept: application/vnd.api+json