You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+15-4
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ Rust 2021 Edition
15
15
Add the following to `Cargo.toml` under `[dependencies]`:
16
16
17
17
```toml
18
-
fastly-api = "4.13.0"
18
+
fastly-api = "5.0.0"
19
19
```
20
20
21
21
## Usage
@@ -126,7 +126,7 @@ Class | Method | Description
126
126
*BillingInvoicesApi* | [**get_month_to_date_invoice**](docs/BillingInvoicesApi.md#get_month_to_date_invoice) | Get month-to-date invoice.
127
127
*BillingInvoicesApi* | [**list_invoices**](docs/BillingInvoicesApi.md#list_invoices) | List of invoices.
128
128
*BillingUsageMetricsApi* | [**get_service_level_usage**](docs/BillingUsageMetricsApi.md#get_service_level_usage) | Retrieve service-level usage metrics for a product.
129
-
*BillingUsageMetricsApi* | [**get_service_level_usage_types**](docs/BillingUsageMetricsApi.md#get_service_level_usage_types) | Retrieve product usage types for a customer.
129
+
*BillingUsageMetricsApi* | [**get_usage_metrics**](docs/BillingUsageMetricsApi.md#get_usage_metrics) | Get monthly usage metrics
130
130
*CacheSettingsApi* | [**create_cache_settings**](docs/CacheSettingsApi.md#create_cache_settings) | Create a cache settings object
131
131
*CacheSettingsApi* | [**delete_cache_settings**](docs/CacheSettingsApi.md#delete_cache_settings) | Delete a cache settings object
132
132
*CacheSettingsApi* | [**get_cache_settings**](docs/CacheSettingsApi.md#get_cache_settings) | Get a cache settings object
@@ -253,6 +253,7 @@ Class | Method | Description
253
253
*IamUserGroupsApi* | [**update_a_user_group**](docs/IamUserGroupsApi.md#update_a_user_group) | Update a user group
254
254
*ImageOptimizerDefaultSettingsApi* | [**get_default_settings**](docs/ImageOptimizerDefaultSettingsApi.md#get_default_settings) | Get current Image Optimizer Default Settings
**product_id** | **String** | The product identifier for the metrics returned (e.g., `cdn_usage`). This field is not required for CSV requests. | [required] |
32
31
**usage_type_name** | **String** | The usage type name for the metrics returned (e.g., `North America Requests`). This field is not required for CSV requests. | [required] |
Disable a product on a service. Supported product IDs: `brotli_compression`,`domain_inspector`,`fanout`,`image_optimizer`,`origin_inspector`, `websockets`, `bot_management`, and `ngwaf`.
18
+
Disable a product on a service. Supported product IDs: `brotli_compression`,`domain_inspector`,`fanout`,`image_optimizer`,`origin_inspector`, `websockets`, `bot_management`, `ngwaf`, `ddos_protection`, and `log_explorer_insights`.
19
19
20
20
```rust
21
21
letcfg=&Configuration::default();
@@ -51,7 +51,7 @@ Name | Type | Description | Required | Notes
51
51
52
52
## enable_product
53
53
54
-
Enable a product on a service. Supported product IDs: `brotli_compression`,`domain_inspector`,`fanout`,`image_optimizer`,`origin_inspector`, `websockets`, `bot_management`, and `ngwaf`.
54
+
Enable a product on a service. Supported product IDs: `brotli_compression`,`domain_inspector`,`fanout`,`image_optimizer`,`origin_inspector`, `websockets`, `bot_management`, `ngwaf`, `ddos_protection`, and `log_explorer_insights`.
55
55
56
56
```rust
57
57
letcfg=&Configuration::default();
@@ -88,7 +88,7 @@ Name | Type | Description | Required | Notes
88
88
89
89
## get_enabled_product
90
90
91
-
Get enabled product on a service. Supported product IDs: `brotli_compression`,`domain_inspector`,`fanout`,`image_optimizer`,`origin_inspector`, `websockets`, `bot_management`, and `ngwaf`.
91
+
Get enabled product on a service. Supported product IDs: `brotli_compression`,`domain_inspector`,`fanout`,`image_optimizer`,`origin_inspector`, `websockets`, `bot_management`, `ngwaf`, `ddos_protection`, and `log_explorer_insights`.
92
92
93
93
```rust
94
94
letcfg=&Configuration::default();
@@ -124,7 +124,7 @@ Name | Type | Description | Required | Notes
124
124
125
125
## get_product_configuration
126
126
127
-
Get configuration for an enabled product on a service. Supported product IDs: `ngwaf`.
127
+
Get configuration for an enabled product on a service. Supported product IDs: `ngwaf` and `ddos_protection`.
128
128
129
129
```rust
130
130
letcfg=&Configuration::default();
@@ -160,7 +160,7 @@ Name | Type | Description | Required | Notes
160
160
161
161
## set_product_configuration
162
162
163
-
Update configuration for an enabled product on a service. Supported product IDs: `ngwaf`.
163
+
Update configuration for an enabled product on a service. Supported product IDs: `ngwaf` and `ddos_protection`.
0 commit comments