Note
All URIs are relative to https://api.fastly.com
Method | HTTP request | Description |
---|---|---|
disable_product_ngwaf | DELETE /enabled-products/v1/ngwaf/services/{service_id} | Disable product |
enable_product_ngwaf | PUT /enabled-products/v1/ngwaf/services/{service_id} | Enable product |
get_product_ngwaf | GET /enabled-products/v1/ngwaf/services/{service_id} | Get product enablement status |
get_product_ngwaf_configuration | GET /enabled-products/v1/ngwaf/services/{service_id}/configuration | Get configuration |
set_product_ngwaf_configuration | PATCH /enabled-products/v1/ngwaf/services/{service_id}/configuration | Update configuration |
Disable the Next-Gen WAF product on a service.
let cfg = &Configuration::default();
let params = DisableProductNgwafParams {
// parameters
};
disable_product_ngwaf(cfg, params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
service_id | String | Alphanumeric string identifying the service. | [required] |
(empty response body)
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to README]
Enable the Next-Gen WAF product on a service.
let cfg = &Configuration::default();
let params = EnableProductNgwafParams {
// parameters
};
enable_product_ngwaf(cfg, params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
service_id | String | Alphanumeric string identifying the service. | [required] | |
ngwaf_request_enable | Option<NgwafRequestEnable> |
crate::models::NgwafResponseEnable
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to README]
Get the enablement status of the Next-Gen WAF product on a service.
let cfg = &Configuration::default();
let params = GetProductNgwafParams {
// parameters
};
get_product_ngwaf(cfg, params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
service_id | String | Alphanumeric string identifying the service. | [required] |
crate::models::NgwafResponseEnable
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to README]
Get configuration of the Next-Gen WAF product on a service.
let cfg = &Configuration::default();
let params = GetProductNgwafConfigurationParams {
// parameters
};
get_product_ngwaf_configuration(cfg, params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
service_id | String | Alphanumeric string identifying the service. | [required] |
crate::models::NgwafResponseConfigure
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to README]
Update configuration of the Next-Gen WAF product on a service.
let cfg = &Configuration::default();
let params = SetProductNgwafConfigurationParams {
// parameters
};
set_product_ngwaf_configuration(cfg, params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
service_id | String | Alphanumeric string identifying the service. | [required] | |
ngwaf_request_update_configuration | Option<NgwafRequestUpdateConfiguration> |
crate::models::NgwafResponseConfigure
- Content-Type: application/json
- Accept: application/json