Note
All URIs are relative to https://api.fastly.com
Method | HTTP request | Description |
---|---|---|
disable_product_ddos_protection | DELETE /enabled-products/v1/ddos_protection/services/{service_id} | Disable product |
enable_product_ddos_protection | PUT /enabled-products/v1/ddos_protection/services/{service_id} | Enable product |
get_product_ddos_protection | GET /enabled-products/v1/ddos_protection/services/{service_id} | Get product enablement status |
get_product_ddos_protection_configuration | GET /enabled-products/v1/ddos_protection/services/{service_id}/configuration | Get configuration |
set_product_ddos_protection_configuration | PATCH /enabled-products/v1/ddos_protection/services/{service_id}/configuration | Update configuration |
Disable the DDoS Protection product on a service.
let cfg = &Configuration::default();
let params = DisableProductDdosProtectionParams {
// parameters
};
disable_product_ddos_protection(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 DDoS Protection product on a service.
let cfg = &Configuration::default();
let params = EnableProductDdosProtectionParams {
// parameters
};
enable_product_ddos_protection(cfg, params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
service_id | String | Alphanumeric string identifying the service. | [required] |
crate::models::DdosProtectionResponseEnable
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to README]
Get the enablement status of the DDoS Protection product on a service.
let cfg = &Configuration::default();
let params = GetProductDdosProtectionParams {
// parameters
};
get_product_ddos_protection(cfg, params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
service_id | String | Alphanumeric string identifying the service. | [required] |
crate::models::DdosProtectionResponseEnable
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to README]
Get configuration of the DDoS Protection product on a service.
let cfg = &Configuration::default();
let params = GetProductDdosProtectionConfigurationParams {
// parameters
};
get_product_ddos_protection_configuration(cfg, params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
service_id | String | Alphanumeric string identifying the service. | [required] |
crate::models::DdosProtectionResponseConfigure
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to README]
Update configuration of the DDoS Protection product on a service.
let cfg = &Configuration::default();
let params = SetProductDdosProtectionConfigurationParams {
// parameters
};
set_product_ddos_protection_configuration(cfg, params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
service_id | String | Alphanumeric string identifying the service. | [required] | |
ddos_protection_request_update_configuration | Option<DdosProtectionRequestUpdateConfiguration> |
crate::models::DdosProtectionResponseConfigure
- Content-Type: application/json
- Accept: application/json