fastly 7.1.1 → 7.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +17 -0
- data/Gemfile.lock +2 -2
- data/README.md +8 -7
- data/docs/HistoricalDdos.md +13 -0
- data/docs/HistoricalDdosMeta.md +13 -0
- data/docs/HistoricalFieldResultsAttributes.md +22 -13
- data/docs/KvStoreApi.md +15 -15
- data/docs/LoggingLogentriesAdditional.md +1 -1
- data/docs/LoggingLogentriesApi.md +4 -4
- data/docs/LoggingLogentriesResponse.md +1 -1
- data/docs/OriginInspectorMeasurements.md +38 -38
- data/docs/OriginInspectorValues.md +38 -38
- data/docs/PackageApi.md +8 -8
- data/docs/PackageMetadata.md +6 -6
- data/docs/PlatformDdosDataItems.md +10 -0
- data/docs/PlatformDdosEntry.md +10 -0
- data/docs/PlatformDdosResponse.md +13 -0
- data/docs/PlatformDdosResponseAllOf.md +10 -0
- data/docs/RealtimeEntryAggregated.md +22 -13
- data/docs/RealtimeMeasurements.md +22 -13
- data/docs/Results.md +22 -13
- data/docs/SchemasSnippetResponse.md +1 -1
- data/docs/SchemasSnippetResponseCommon.md +15 -0
- data/docs/Snippet.md +1 -1
- data/docs/SnippetAllOf.md +10 -0
- data/docs/SnippetApi.md +6 -6
- data/docs/SnippetCommon.md +13 -0
- data/docs/SnippetResponse.md +1 -1
- data/docs/SnippetResponseCommon.md +15 -0
- data/docs/{SnippetResponseAllOf.md → SnippetResponseCommonAllOf.md} +1 -1
- data/docs/SnippetResponsePost.md +20 -0
- data/docs/SnippetWithDynamicNumber.md +14 -0
- data/docs/SnippetWithDynamicNumberAllOf.md +10 -0
- data/docs/ValuesDdos.md +15 -0
- data/docs/WholePlatformDdosHistoricalApi.md +56 -0
- data/lib/fastly/api/kv_store_api.rb +14 -14
- data/lib/fastly/api/logging_logentries_api.rb +4 -4
- data/lib/fastly/api/package_api.rb +8 -8
- data/lib/fastly/api/snippet_api.rb +17 -17
- data/lib/fastly/api/whole_platform_ddos_historical_api.rb +89 -0
- data/lib/fastly/configuration.rb +6 -0
- data/lib/fastly/models/historical_ddos.rb +249 -0
- data/lib/fastly/models/historical_ddos_meta.rb +248 -0
- data/lib/fastly/models/historical_field_results_attributes.rb +104 -14
- data/lib/fastly/models/logging_logentries_additional.rb +1 -1
- data/lib/fastly/models/logging_logentries_response.rb +1 -1
- data/lib/fastly/models/origin_inspector_measurements.rb +38 -38
- data/lib/fastly/models/origin_inspector_values.rb +38 -38
- data/lib/fastly/models/package_metadata.rb +6 -6
- data/lib/fastly/models/platform_ddos_data_items.rb +216 -0
- data/lib/fastly/models/platform_ddos_entry.rb +219 -0
- data/lib/fastly/models/platform_ddos_response.rb +257 -0
- data/lib/fastly/models/platform_ddos_response_all_of.rb +219 -0
- data/lib/fastly/models/realtime_entry_aggregated.rb +107 -17
- data/lib/fastly/models/realtime_measurements.rb +107 -17
- data/lib/fastly/models/results.rb +107 -17
- data/lib/fastly/models/schemas_snippet_response.rb +25 -26
- data/lib/fastly/models/schemas_snippet_response_common.rb +276 -0
- data/lib/fastly/models/snippet.rb +34 -26
- data/lib/fastly/models/snippet_all_of.rb +251 -0
- data/lib/fastly/models/snippet_common.rb +283 -0
- data/lib/fastly/models/snippet_response.rb +24 -25
- data/lib/fastly/models/snippet_response_common.rb +276 -0
- data/lib/fastly/models/{snippet_response_all_of.rb → snippet_response_common_all_of.rb} +3 -3
- data/lib/fastly/models/snippet_response_post.rb +374 -0
- data/lib/fastly/models/snippet_with_dynamic_number.rb +313 -0
- data/lib/fastly/models/snippet_with_dynamic_number_all_of.rb +251 -0
- data/lib/fastly/models/values_ddos.rb +268 -0
- data/lib/fastly/version.rb +1 -1
- data/lib/fastly.rb +16 -1
- data/sig.json +1 -1
- metadata +34 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ce6216ba756030fdb517309afbe95bba04a75a8240d0427e0c0e76b04bf85c43
|
4
|
+
data.tar.gz: 4e773f9a931e50b6d555af63bc9e3cd80cc0457cc2cfa314c638b688956da026
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4e24b5d907cc8fdfd1fc08666e54a10d44a0ea39267b2a0a997eccd94d4e0125b2a36cb00e1ae8e0e9488fbbb12a2e11d057023a56acfb93c15122302317f08d
|
7
|
+
data.tar.gz: 0ad9e5f887ea6c41e7488eb1df95453e27b5d4c55cc54a58ed6ba22bc3ef9e49de317c5c47d734970534cbbb03899efc82f4cf5217b6816aa37217ba8f1fbe04
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,22 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## [v7.2.1](https://github.com/fastly/fastly-ruby/releases/tag/release/v7.2.1) (2023-10-27)
|
4
|
+
|
5
|
+
**Documentation:**
|
6
|
+
|
7
|
+
- docs: rename Compute@Edge to Compute.
|
8
|
+
|
9
|
+
## [v7.2.0](https://github.com/fastly/fastly-ruby/releases/tag/release/v7.2.0) (2023-10-24)
|
10
|
+
|
11
|
+
**Enhancements:**
|
12
|
+
|
13
|
+
- feat(stats): add historical DDoS metrics.
|
14
|
+
- feat(stats): add bot challenges.
|
15
|
+
|
16
|
+
**Bug fixes:**
|
17
|
+
|
18
|
+
- fix(snippets): ensure POST response's dynamic field is numerical.
|
19
|
+
|
3
20
|
## [v7.1.1](https://github.com/fastly/fastly-ruby/releases/tag/release/v7.1.1) (2023-09-01)
|
4
21
|
|
5
22
|
**Enhancements:**
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
fastly (7.
|
4
|
+
fastly (7.2.1)
|
5
5
|
typhoeus (~> 1.0, >= 1.0.1)
|
6
6
|
|
7
7
|
GEM
|
@@ -12,7 +12,7 @@ GEM
|
|
12
12
|
coderay (1.1.3)
|
13
13
|
ethon (0.16.0)
|
14
14
|
ffi (>= 1.15.0)
|
15
|
-
ffi (1.
|
15
|
+
ffi (1.16.3)
|
16
16
|
jaro_winkler (1.5.4)
|
17
17
|
method_source (1.0.0)
|
18
18
|
parallel (1.21.0)
|
data/README.md
CHANGED
@@ -8,7 +8,7 @@ A Ruby client library for interacting with most facets of the [Fastly API](https
|
|
8
8
|
To install via RubyGems, add the following to your project's `Gemfile`:
|
9
9
|
|
10
10
|
```ruby
|
11
|
-
gem 'fastly', '~> 7.
|
11
|
+
gem 'fastly', '~> 7.2.1'
|
12
12
|
```
|
13
13
|
|
14
14
|
Then run `bundle install`.
|
@@ -227,10 +227,10 @@ Class | Method | Description
|
|
227
227
|
[*Fastly::InvitationsApi*](docs/InvitationsApi.md) | [**create_invitation**](docs/InvitationsApi.md#create_invitation) | Create an invitation
|
228
228
|
[*Fastly::InvitationsApi*](docs/InvitationsApi.md) | [**delete_invitation**](docs/InvitationsApi.md#delete_invitation) | Delete an invitation
|
229
229
|
[*Fastly::InvitationsApi*](docs/InvitationsApi.md) | [**list_invitations**](docs/InvitationsApi.md#list_invitations) | List invitations
|
230
|
-
[*Fastly::KvStoreApi*](docs/KvStoreApi.md) | [**create_store**](docs/KvStoreApi.md#create_store) | Create
|
231
|
-
[*Fastly::KvStoreApi*](docs/KvStoreApi.md) | [**delete_store**](docs/KvStoreApi.md#delete_store) | Delete
|
232
|
-
[*Fastly::KvStoreApi*](docs/KvStoreApi.md) | [**get_store**](docs/KvStoreApi.md#get_store) | Describe
|
233
|
-
[*Fastly::KvStoreApi*](docs/KvStoreApi.md) | [**get_stores**](docs/KvStoreApi.md#get_stores) | List
|
230
|
+
[*Fastly::KvStoreApi*](docs/KvStoreApi.md) | [**create_store**](docs/KvStoreApi.md#create_store) | Create a KV store.
|
231
|
+
[*Fastly::KvStoreApi*](docs/KvStoreApi.md) | [**delete_store**](docs/KvStoreApi.md#delete_store) | Delete a KV store.
|
232
|
+
[*Fastly::KvStoreApi*](docs/KvStoreApi.md) | [**get_store**](docs/KvStoreApi.md#get_store) | Describe a KV store.
|
233
|
+
[*Fastly::KvStoreApi*](docs/KvStoreApi.md) | [**get_stores**](docs/KvStoreApi.md#get_stores) | List KV stores.
|
234
234
|
[*Fastly::KvStoreItemApi*](docs/KvStoreItemApi.md) | [**delete_key_from_store**](docs/KvStoreItemApi.md#delete_key_from_store) | Delete kv store item.
|
235
235
|
[*Fastly::KvStoreItemApi*](docs/KvStoreItemApi.md) | [**get_keys**](docs/KvStoreItemApi.md#get_keys) | List kv store keys.
|
236
236
|
[*Fastly::KvStoreItemApi*](docs/KvStoreItemApi.md) | [**get_value_for_key**](docs/KvStoreItemApi.md#get_value_for_key) | Get the value of an kv store item
|
@@ -407,8 +407,8 @@ Class | Method | Description
|
|
407
407
|
[*Fastly::OriginInspectorRealtimeApi*](docs/OriginInspectorRealtimeApi.md) | [**get_origin_inspector_last120_seconds**](docs/OriginInspectorRealtimeApi.md#get_origin_inspector_last120_seconds) | Get real-time origin data for the last 120 seconds
|
408
408
|
[*Fastly::OriginInspectorRealtimeApi*](docs/OriginInspectorRealtimeApi.md) | [**get_origin_inspector_last_max_entries**](docs/OriginInspectorRealtimeApi.md#get_origin_inspector_last_max_entries) | Get a limited number of real-time origin data entries
|
409
409
|
[*Fastly::OriginInspectorRealtimeApi*](docs/OriginInspectorRealtimeApi.md) | [**get_origin_inspector_last_second**](docs/OriginInspectorRealtimeApi.md#get_origin_inspector_last_second) | Get real-time origin data from specific time.
|
410
|
-
[*Fastly::PackageApi*](docs/PackageApi.md) | [**get_package**](docs/PackageApi.md#get_package) | Get details of the service's Compute
|
411
|
-
[*Fastly::PackageApi*](docs/PackageApi.md) | [**put_package**](docs/PackageApi.md#put_package) | Upload a Compute
|
410
|
+
[*Fastly::PackageApi*](docs/PackageApi.md) | [**get_package**](docs/PackageApi.md#get_package) | Get details of the service's Compute package.
|
411
|
+
[*Fastly::PackageApi*](docs/PackageApi.md) | [**put_package**](docs/PackageApi.md#put_package) | Upload a Compute package.
|
412
412
|
[*Fastly::PoolApi*](docs/PoolApi.md) | [**create_server_pool**](docs/PoolApi.md#create_server_pool) | Create a server pool
|
413
413
|
[*Fastly::PoolApi*](docs/PoolApi.md) | [**delete_server_pool**](docs/PoolApi.md#delete_server_pool) | Delete a server pool
|
414
414
|
[*Fastly::PoolApi*](docs/PoolApi.md) | [**get_server_pool**](docs/PoolApi.md#get_server_pool) | Get a server pool
|
@@ -588,6 +588,7 @@ Class | Method | Description
|
|
588
588
|
[*Fastly::WafRulesApi*](docs/WafRulesApi.md) | [**get_waf_rule**](docs/WafRulesApi.md#get_waf_rule) | Get a rule
|
589
589
|
[*Fastly::WafRulesApi*](docs/WafRulesApi.md) | [**list_waf_rules**](docs/WafRulesApi.md#list_waf_rules) | List available WAF rules
|
590
590
|
[*Fastly::WafTagsApi*](docs/WafTagsApi.md) | [**list_waf_tags**](docs/WafTagsApi.md#list_waf_tags) | List tags
|
591
|
+
[*Fastly::WholePlatformDdosHistoricalApi*](docs/WholePlatformDdosHistoricalApi.md) | [**get_platform_ddos_historical**](docs/WholePlatformDdosHistoricalApi.md#get_platform_ddos_historical) | Get historical DDoS metrics for the entire Fastly platform
|
591
592
|
|
592
593
|
|
593
594
|
## Issues
|
@@ -0,0 +1,13 @@
|
|
1
|
+
# Fastly::HistoricalDdos
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **status** | **String** | Whether or not we were able to successfully execute the query. | [optional] |
|
8
|
+
| **meta** | [**HistoricalDdosMeta**](HistoricalDdosMeta.md) | | [optional] |
|
9
|
+
| **msg** | **String** | If the query was not successful, this will provide a string that explains why. | [optional] |
|
10
|
+
| **data** | [**Array<PlatformDdosDataItems>**](PlatformDdosDataItems.md) | A list of [entries](#entry-data-model). | [optional] |
|
11
|
+
|
12
|
+
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
13
|
+
|
@@ -0,0 +1,13 @@
|
|
1
|
+
# Fastly::HistoricalDdosMeta
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **start** | **String** | Start time that was used to perform the query as an ISO-8601-formatted date and time. | [optional] |
|
8
|
+
| **_end** | **String** | End time that was used to perform the query as an ISO-8601-formatted date and time. | [optional] |
|
9
|
+
| **downsample** | **String** | Downsample that was used to perform the query. One of `hour` or `day`. | [optional] |
|
10
|
+
| **metric** | **String** | A comma-separated list of the metrics that were requested. | [optional] |
|
11
|
+
|
12
|
+
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
13
|
+
|
@@ -157,19 +157,19 @@
|
|
157
157
|
| **compute_request_time_billed_ms** | **Float** | The total amount of request processing time you will be billed for, measured in 50 millisecond increments. | [optional] |
|
158
158
|
| **compute_ram_used** | **Integer** | The amount of RAM used for your service by Fastly (in bytes). | [optional] |
|
159
159
|
| **compute_execution_time_ms** | **Float** | The amount of active CPU time used to process your requests (in milliseconds). | [optional] |
|
160
|
-
| **compute_req_header_bytes** | **Integer** | Total header bytes received by Compute
|
161
|
-
| **compute_req_body_bytes** | **Integer** | Total body bytes received by Compute
|
162
|
-
| **compute_resp_header_bytes** | **Integer** | Total header bytes sent from Compute
|
163
|
-
| **compute_resp_body_bytes** | **Integer** | Total body bytes sent from Compute
|
164
|
-
| **compute_resp_status_1xx** | **Integer** | Number of \"Informational\" category status codes delivered by Compute
|
165
|
-
| **compute_resp_status_2xx** | **Integer** | Number of \"Success\" category status codes delivered by Compute
|
166
|
-
| **compute_resp_status_3xx** | **Integer** | Number of \"Redirection\" category status codes delivered by Compute
|
167
|
-
| **compute_resp_status_4xx** | **Integer** | Number of \"Client Error\" category status codes delivered by Compute
|
168
|
-
| **compute_resp_status_5xx** | **Integer** | Number of \"Server Error\" category status codes delivered by Compute
|
169
|
-
| **compute_bereq_header_bytes** | **Integer** | Total header bytes sent to backends (origins) by Compute
|
170
|
-
| **compute_bereq_body_bytes** | **Integer** | Total body bytes sent to backends (origins) by Compute
|
171
|
-
| **compute_beresp_header_bytes** | **Integer** | Total header bytes received from backends (origins) by Compute
|
172
|
-
| **compute_beresp_body_bytes** | **Integer** | Total body bytes received from backends (origins) by Compute
|
160
|
+
| **compute_req_header_bytes** | **Integer** | Total header bytes received by the Compute platform. | [optional] |
|
161
|
+
| **compute_req_body_bytes** | **Integer** | Total body bytes received by the Compute platform. | [optional] |
|
162
|
+
| **compute_resp_header_bytes** | **Integer** | Total header bytes sent from Compute to end user. | [optional] |
|
163
|
+
| **compute_resp_body_bytes** | **Integer** | Total body bytes sent from Compute to end user. | [optional] |
|
164
|
+
| **compute_resp_status_1xx** | **Integer** | Number of \"Informational\" category status codes delivered by the Compute platform. | [optional] |
|
165
|
+
| **compute_resp_status_2xx** | **Integer** | Number of \"Success\" category status codes delivered by the Compute platform. | [optional] |
|
166
|
+
| **compute_resp_status_3xx** | **Integer** | Number of \"Redirection\" category status codes delivered by the Compute platform. | [optional] |
|
167
|
+
| **compute_resp_status_4xx** | **Integer** | Number of \"Client Error\" category status codes delivered by the Compute platform. | [optional] |
|
168
|
+
| **compute_resp_status_5xx** | **Integer** | Number of \"Server Error\" category status codes delivered by the Compute platform. | [optional] |
|
169
|
+
| **compute_bereq_header_bytes** | **Integer** | Total header bytes sent to backends (origins) by the Compute platform. | [optional] |
|
170
|
+
| **compute_bereq_body_bytes** | **Integer** | Total body bytes sent to backends (origins) by the Compute platform. | [optional] |
|
171
|
+
| **compute_beresp_header_bytes** | **Integer** | Total header bytes received from backends (origins) by the Compute platform. | [optional] |
|
172
|
+
| **compute_beresp_body_bytes** | **Integer** | Total body bytes received from backends (origins) by the Compute platform. | [optional] |
|
173
173
|
| **compute_bereqs** | **Integer** | Number of backend requests started. | [optional] |
|
174
174
|
| **compute_bereq_errors** | **Integer** | Number of backend request errors, including timeouts. | [optional] |
|
175
175
|
| **compute_resource_limit_exceeded** | **Integer** | Number of times a guest exceeded its resource limit, includes heap, stack, globals, and code execution timeout. | [optional] |
|
@@ -220,6 +220,15 @@
|
|
220
220
|
| **ddos_action_tarpit** | **Integer** | The number of times the tarpit action was taken. The tarpit action delays writing the response to the client. | [optional] |
|
221
221
|
| **ddos_action_close** | **Integer** | The number of times the close action was taken. The close action aborts the connection as soon as possible. The close action takes effect either right after accept, right after the client hello, or right after the response was sent. | [optional] |
|
222
222
|
| **ddos_action_blackhole** | **Integer** | The number of times the blackhole action was taken. The blackhole action quietly closes a TCP connection without sending a reset. The blackhole action quietly closes a TCP connection without notifying its peer (all TCP state is dropped). | [optional] |
|
223
|
+
| **bot_challenge_starts** | **Integer** | The number of challenge-start tokens created. | [optional] |
|
224
|
+
| **bot_challenge_complete_tokens_passed** | **Integer** | The number of challenge-complete tokens that passed validation. | [optional] |
|
225
|
+
| **bot_challenge_complete_tokens_failed** | **Integer** | The number of challenge-complete tokens that failed validation. | [optional] |
|
226
|
+
| **bot_challenge_complete_tokens_checked** | **Integer** | The number of challenge-complete tokens checked. | [optional] |
|
227
|
+
| **bot_challenge_complete_tokens_disabled** | **Integer** | The number of challenge-complete tokens not checked because the feature was disabled. | [optional] |
|
228
|
+
| **bot_challenge_complete_tokens_issued** | **Integer** | The number of challenge-complete tokens issued. For example, issuing a challenge-complete token after a series of CAPTCHA challenges ending in success. | [optional] |
|
229
|
+
| **bot_challenges_issued** | **Integer** | The number of challenges issued. For example, the issuance of a CAPTCHA challenge. | [optional] |
|
230
|
+
| **bot_challenges_succeeded** | **Integer** | The number of successful challenge solutions processed. For example, a correct CAPTCHA solution. | [optional] |
|
231
|
+
| **bot_challenges_failed** | **Integer** | The number of failed challenge solutions processed. For example, an incorrect CAPTCHA solution. | [optional] |
|
223
232
|
| **service_id** | [**ReadOnlyIdService**](ReadOnlyIdService.md) | | [optional] |
|
224
233
|
| **start_time** | **Integer** | | [optional] |
|
225
234
|
|
data/docs/KvStoreApi.md
CHANGED
@@ -10,19 +10,19 @@ api_instance = Fastly::KvStoreApi.new
|
|
10
10
|
|
11
11
|
| Method | HTTP request | Description |
|
12
12
|
| ------ | ------------ | ----------- |
|
13
|
-
| [**create_store**](KvStoreApi.md#create_store) | **POST** /resources/stores/kv | Create
|
14
|
-
| [**delete_store**](KvStoreApi.md#delete_store) | **DELETE** /resources/stores/kv/{store_id} | Delete
|
15
|
-
| [**get_store**](KvStoreApi.md#get_store) | **GET** /resources/stores/kv/{store_id} | Describe
|
16
|
-
| [**get_stores**](KvStoreApi.md#get_stores) | **GET** /resources/stores/kv | List
|
13
|
+
| [**create_store**](KvStoreApi.md#create_store) | **POST** /resources/stores/kv | Create a KV store. |
|
14
|
+
| [**delete_store**](KvStoreApi.md#delete_store) | **DELETE** /resources/stores/kv/{store_id} | Delete a KV store. |
|
15
|
+
| [**get_store**](KvStoreApi.md#get_store) | **GET** /resources/stores/kv/{store_id} | Describe a KV store. |
|
16
|
+
| [**get_stores**](KvStoreApi.md#get_stores) | **GET** /resources/stores/kv | List KV stores. |
|
17
17
|
|
18
18
|
|
19
19
|
## `create_store()`
|
20
20
|
|
21
21
|
```ruby
|
22
|
-
create_store(opts): <StoreResponse> # Create
|
22
|
+
create_store(opts): <StoreResponse> # Create a KV store.
|
23
23
|
```
|
24
24
|
|
25
|
-
Create a new
|
25
|
+
Create a new KV store.
|
26
26
|
|
27
27
|
### Examples
|
28
28
|
|
@@ -34,7 +34,7 @@ opts = {
|
|
34
34
|
}
|
35
35
|
|
36
36
|
begin
|
37
|
-
# Create
|
37
|
+
# Create a KV store.
|
38
38
|
result = api_instance.create_store(opts)
|
39
39
|
p result
|
40
40
|
rescue Fastly::ApiError => e
|
@@ -58,10 +58,10 @@ end
|
|
58
58
|
## `delete_store()`
|
59
59
|
|
60
60
|
```ruby
|
61
|
-
delete_store(opts) # Delete
|
61
|
+
delete_store(opts) # Delete a KV store.
|
62
62
|
```
|
63
63
|
|
64
|
-
|
64
|
+
A KV store must be empty before it can be deleted. Deleting a KV store that still contains keys will result in a `409` (Conflict).
|
65
65
|
|
66
66
|
### Examples
|
67
67
|
|
@@ -72,7 +72,7 @@ opts = {
|
|
72
72
|
}
|
73
73
|
|
74
74
|
begin
|
75
|
-
# Delete
|
75
|
+
# Delete a KV store.
|
76
76
|
api_instance.delete_store(opts)
|
77
77
|
rescue Fastly::ApiError => e
|
78
78
|
puts "Error when calling KvStoreApi->delete_store: #{e}"
|
@@ -94,10 +94,10 @@ nil (empty response body)
|
|
94
94
|
## `get_store()`
|
95
95
|
|
96
96
|
```ruby
|
97
|
-
get_store(opts): <StoreResponse> # Describe
|
97
|
+
get_store(opts): <StoreResponse> # Describe a KV store.
|
98
98
|
```
|
99
99
|
|
100
|
-
Get
|
100
|
+
Get a KV store by ID.
|
101
101
|
|
102
102
|
### Examples
|
103
103
|
|
@@ -108,7 +108,7 @@ opts = {
|
|
108
108
|
}
|
109
109
|
|
110
110
|
begin
|
111
|
-
# Describe
|
111
|
+
# Describe a KV store.
|
112
112
|
result = api_instance.get_store(opts)
|
113
113
|
p result
|
114
114
|
rescue Fastly::ApiError => e
|
@@ -131,7 +131,7 @@ end
|
|
131
131
|
## `get_stores()`
|
132
132
|
|
133
133
|
```ruby
|
134
|
-
get_stores(opts): <InlineResponse2003> # List
|
134
|
+
get_stores(opts): <InlineResponse2003> # List KV stores.
|
135
135
|
```
|
136
136
|
|
137
137
|
Get all stores for a given customer.
|
@@ -146,7 +146,7 @@ opts = {
|
|
146
146
|
}
|
147
147
|
|
148
148
|
begin
|
149
|
-
# List
|
149
|
+
# List KV stores.
|
150
150
|
result = api_instance.get_stores(opts)
|
151
151
|
p result
|
152
152
|
rescue Fastly::ApiError => e
|
@@ -5,7 +5,7 @@
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **port** | **Integer** | The port number. | [optional][default to 20000] |
|
8
|
-
| **token** | **String** | Use token based authentication
|
8
|
+
| **token** | **String** | Use token based authentication. | [optional] |
|
9
9
|
| **use_tls** | [**LoggingUseTls**](LoggingUseTls.md) | | [optional][default to LoggingUseTls::no_tls] |
|
10
10
|
| **region** | **String** | The region to which to stream logs. | [optional] |
|
11
11
|
|
@@ -38,7 +38,7 @@ opts = {
|
|
38
38
|
format: 'format_example', # String | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
|
39
39
|
format_version: 1, # Integer | The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
|
40
40
|
port: 56, # Integer | The port number.
|
41
|
-
token: 'token_example', # String | Use token based authentication
|
41
|
+
token: 'token_example', # String | Use token based authentication.
|
42
42
|
use_tls: Fastly::LoggingUseTls::no_tls, # LoggingUseTls |
|
43
43
|
region: 'US', # String | The region to which to stream logs.
|
44
44
|
}
|
@@ -64,7 +64,7 @@ end
|
|
64
64
|
| **format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). | [optional][default to '%h %l %u %t \"%r\" %&gt;s %b'] |
|
65
65
|
| **format_version** | **Integer** | The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`. | [optional][default to FORMAT_VERSION::v2] |
|
66
66
|
| **port** | **Integer** | The port number. | [optional][default to 20000] |
|
67
|
-
| **token** | **String** | Use token based authentication
|
67
|
+
| **token** | **String** | Use token based authentication. | [optional] |
|
68
68
|
| **use_tls** | [**LoggingUseTls**](LoggingUseTls.md) | | [optional][default to LoggingUseTls::no_tls] |
|
69
69
|
| **region** | **String** | The region to which to stream logs. | [optional] |
|
70
70
|
|
@@ -217,7 +217,7 @@ opts = {
|
|
217
217
|
format: 'format_example', # String | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
|
218
218
|
format_version: 1, # Integer | The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
|
219
219
|
port: 56, # Integer | The port number.
|
220
|
-
token: 'token_example', # String | Use token based authentication
|
220
|
+
token: 'token_example', # String | Use token based authentication.
|
221
221
|
use_tls: Fastly::LoggingUseTls::no_tls, # LoggingUseTls |
|
222
222
|
region: 'US', # String | The region to which to stream logs.
|
223
223
|
}
|
@@ -244,7 +244,7 @@ end
|
|
244
244
|
| **format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). | [optional][default to '%h %l %u %t \"%r\" %&gt;s %b'] |
|
245
245
|
| **format_version** | **Integer** | The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`. | [optional][default to FORMAT_VERSION::v2] |
|
246
246
|
| **port** | **Integer** | The port number. | [optional][default to 20000] |
|
247
|
-
| **token** | **String** | Use token based authentication
|
247
|
+
| **token** | **String** | Use token based authentication. | [optional] |
|
248
248
|
| **use_tls** | [**LoggingUseTls**](LoggingUseTls.md) | | [optional][default to LoggingUseTls::no_tls] |
|
249
249
|
| **region** | **String** | The region to which to stream logs. | [optional] |
|
250
250
|
|
@@ -10,7 +10,7 @@
|
|
10
10
|
| **format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). | [optional][default to '%h %l %u %t \"%r\" %&gt;s %b'] |
|
11
11
|
| **format_version** | **String** | The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`. | [optional][default to '2'] |
|
12
12
|
| **port** | **Integer** | The port number. | [optional][default to 20000] |
|
13
|
-
| **token** | **String** | Use token based authentication
|
13
|
+
| **token** | **String** | Use token based authentication. | [optional] |
|
14
14
|
| **use_tls** | [**LoggingUseTls**](LoggingUseTls.md) | | [optional][default to LoggingUseTls::no_tls] |
|
15
15
|
| **region** | **String** | The region to which to stream logs. | [optional] |
|
16
16
|
| **created_at** | **Time** | Date and time in ISO 8601 format. | [optional][readonly] |
|
@@ -80,44 +80,44 @@
|
|
80
80
|
| **waf_latency_5000_to_10000ms** | **Integer** | Number of responses with latency between 5,000 and 10,000 milliseconds received for origin requests made by the Fastly WAF. | [optional] |
|
81
81
|
| **waf_latency_10000_to_60000ms** | **Integer** | Number of responses with latency between 10,000 and 60,000 milliseconds received for origin requests made by the Fastly WAF. | [optional] |
|
82
82
|
| **waf_latency_60000ms** | **Integer** | Number of responses with latency of 60,000 milliseconds and above received for origin requests made by the Fastly WAF. | [optional] |
|
83
|
-
| **compute_responses** | **Integer** | Number of responses for origin received by Compute
|
84
|
-
| **compute_resp_header_bytes** | **Integer** | Number of header bytes for origin received by Compute
|
85
|
-
| **compute_resp_body_bytes** | **Integer** | Number of body bytes for origin received by Compute
|
86
|
-
| **compute_status_1xx** | **Integer** | Number of 1xx \"Informational\" status codes for origin received by Compute
|
87
|
-
| **compute_status_2xx** | **Integer** | Number of 2xx \"Success\" status codes for origin received by Compute
|
88
|
-
| **compute_status_3xx** | **Integer** | Number of 3xx \"Redirection\" codes for origin received by Compute
|
89
|
-
| **compute_status_4xx** | **Integer** | Number of 4xx \"Client Error\" codes for origin received by Compute
|
90
|
-
| **compute_status_5xx** | **Integer** | Number of 5xx \"Server Error\" codes for origin received by Compute
|
91
|
-
| **compute_status_200** | **Integer** | Number of responses received with status code 200 (Success) for origin received by Compute
|
92
|
-
| **compute_status_204** | **Integer** | Number of responses received with status code 204 (No Content) for origin received by Compute
|
93
|
-
| **compute_status_206** | **Integer** | Number of responses received with status code 206 (Partial Content) for origin received by Compute
|
94
|
-
| **compute_status_301** | **Integer** | Number of responses received with status code 301 (Moved Permanently) for origin received by Compute
|
95
|
-
| **compute_status_302** | **Integer** | Number of responses received with status code 302 (Found) for origin received by Compute
|
96
|
-
| **compute_status_304** | **Integer** | Number of responses received with status code 304 (Not Modified) for origin received by Compute
|
97
|
-
| **compute_status_400** | **Integer** | Number of responses received with status code 400 (Bad Request) for origin received by Compute
|
98
|
-
| **compute_status_401** | **Integer** | Number of responses received with status code 401 (Unauthorized) for origin received by Compute
|
99
|
-
| **compute_status_403** | **Integer** | Number of responses received with status code 403 (Forbidden) for origin received by Compute
|
100
|
-
| **compute_status_404** | **Integer** | Number of responses received with status code 404 (Not Found) for origin received by Compute
|
101
|
-
| **compute_status_416** | **Integer** | Number of responses received with status code 416 (Range Not Satisfiable) for origin received by Compute
|
102
|
-
| **compute_status_429** | **Integer** | Number of responses received with status code 429 (Too Many Requests) for origin received by Compute
|
103
|
-
| **compute_status_500** | **Integer** | Number of responses received with status code 500 (Internal Server Error) for origin received by Compute
|
104
|
-
| **compute_status_501** | **Integer** | Number of responses received with status code 501 (Not Implemented) for origin received by Compute
|
105
|
-
| **compute_status_502** | **Integer** | Number of responses received with status code 502 (Bad Gateway) for origin received by Compute
|
106
|
-
| **compute_status_503** | **Integer** | Number of responses received with status code 503 (Service Unavailable) for origin received by Compute
|
107
|
-
| **compute_status_504** | **Integer** | Number of responses received with status code 504 (Gateway Timeout) for origin received by Compute
|
108
|
-
| **compute_status_505** | **Integer** | Number of responses received with status code 505 (HTTP Version Not Supported) for origin received by Compute
|
109
|
-
| **compute_latency_0_to_1ms** | **Integer** | Number of responses with latency between 0 and 1 millisecond for origin received by Compute
|
110
|
-
| **compute_latency_1_to_5ms** | **Integer** | Number of responses with latency between 1 and 5 milliseconds for origin received by Compute
|
111
|
-
| **compute_latency_5_to_10ms** | **Integer** | Number of responses with latency between 5 and 10 milliseconds for origin received by Compute
|
112
|
-
| **compute_latency_10_to_50ms** | **Integer** | Number of responses with latency between 10 and 50 milliseconds for origin received by Compute
|
113
|
-
| **compute_latency_50_to_100ms** | **Integer** | Number of responses with latency between 50 and 100 milliseconds for origin received by Compute
|
114
|
-
| **compute_latency_100_to_250ms** | **Integer** | Number of responses with latency between 100 and 250 milliseconds for origin received by Compute
|
115
|
-
| **compute_latency_250_to_500ms** | **Integer** | Number of responses with latency between 250 and 500 milliseconds for origin received by Compute
|
116
|
-
| **compute_latency_500_to_1000ms** | **Integer** | Number of responses with latency between 500 and 1,000 milliseconds for origin received by Compute
|
117
|
-
| **compute_latency_1000_to_5000ms** | **Integer** | Number of responses with latency between 1,000 and 5,000 milliseconds for origin received by Compute
|
118
|
-
| **compute_latency_5000_to_10000ms** | **Integer** | Number of responses with latency between 5,000 and 10,000 milliseconds for origin received by Compute
|
119
|
-
| **compute_latency_10000_to_60000ms** | **Integer** | Number of responses with latency between 10,000 and 60,000 milliseconds for origin received by Compute
|
120
|
-
| **compute_latency_60000ms** | **Integer** | Number of responses with latency of 60,000 milliseconds and above for origin received by Compute
|
83
|
+
| **compute_responses** | **Integer** | Number of responses for origin received by the Compute platform. | [optional] |
|
84
|
+
| **compute_resp_header_bytes** | **Integer** | Number of header bytes for origin received by the Compute platform. | [optional] |
|
85
|
+
| **compute_resp_body_bytes** | **Integer** | Number of body bytes for origin received by the Compute platform. | [optional] |
|
86
|
+
| **compute_status_1xx** | **Integer** | Number of 1xx \"Informational\" status codes for origin received by the Compute platform. | [optional] |
|
87
|
+
| **compute_status_2xx** | **Integer** | Number of 2xx \"Success\" status codes for origin received by the Compute platform. | [optional] |
|
88
|
+
| **compute_status_3xx** | **Integer** | Number of 3xx \"Redirection\" codes for origin received by the Compute platform. | [optional] |
|
89
|
+
| **compute_status_4xx** | **Integer** | Number of 4xx \"Client Error\" codes for origin received by the Compute platform. | [optional] |
|
90
|
+
| **compute_status_5xx** | **Integer** | Number of 5xx \"Server Error\" codes for origin received by the Compute platform. | [optional] |
|
91
|
+
| **compute_status_200** | **Integer** | Number of responses received with status code 200 (Success) for origin received by the Compute platform. | [optional] |
|
92
|
+
| **compute_status_204** | **Integer** | Number of responses received with status code 204 (No Content) for origin received by the Compute platform. | [optional] |
|
93
|
+
| **compute_status_206** | **Integer** | Number of responses received with status code 206 (Partial Content) for origin received by the Compute platform. | [optional] |
|
94
|
+
| **compute_status_301** | **Integer** | Number of responses received with status code 301 (Moved Permanently) for origin received by the Compute platform. | [optional] |
|
95
|
+
| **compute_status_302** | **Integer** | Number of responses received with status code 302 (Found) for origin received by the Compute platform. | [optional] |
|
96
|
+
| **compute_status_304** | **Integer** | Number of responses received with status code 304 (Not Modified) for origin received by the Compute platform. | [optional] |
|
97
|
+
| **compute_status_400** | **Integer** | Number of responses received with status code 400 (Bad Request) for origin received by the Compute platform. | [optional] |
|
98
|
+
| **compute_status_401** | **Integer** | Number of responses received with status code 401 (Unauthorized) for origin received by the Compute platform. | [optional] |
|
99
|
+
| **compute_status_403** | **Integer** | Number of responses received with status code 403 (Forbidden) for origin received by the Compute platform. | [optional] |
|
100
|
+
| **compute_status_404** | **Integer** | Number of responses received with status code 404 (Not Found) for origin received by the Compute platform. | [optional] |
|
101
|
+
| **compute_status_416** | **Integer** | Number of responses received with status code 416 (Range Not Satisfiable) for origin received by the Compute platform. | [optional] |
|
102
|
+
| **compute_status_429** | **Integer** | Number of responses received with status code 429 (Too Many Requests) for origin received by the Compute platform. | [optional] |
|
103
|
+
| **compute_status_500** | **Integer** | Number of responses received with status code 500 (Internal Server Error) for origin received by the Compute platform. | [optional] |
|
104
|
+
| **compute_status_501** | **Integer** | Number of responses received with status code 501 (Not Implemented) for origin received by the Compute platform. | [optional] |
|
105
|
+
| **compute_status_502** | **Integer** | Number of responses received with status code 502 (Bad Gateway) for origin received by the Compute platform. | [optional] |
|
106
|
+
| **compute_status_503** | **Integer** | Number of responses received with status code 503 (Service Unavailable) for origin received by the Compute platform. | [optional] |
|
107
|
+
| **compute_status_504** | **Integer** | Number of responses received with status code 504 (Gateway Timeout) for origin received by the Compute platform. | [optional] |
|
108
|
+
| **compute_status_505** | **Integer** | Number of responses received with status code 505 (HTTP Version Not Supported) for origin received by the Compute platform. | [optional] |
|
109
|
+
| **compute_latency_0_to_1ms** | **Integer** | Number of responses with latency between 0 and 1 millisecond for origin received by the Compute platform. | [optional] |
|
110
|
+
| **compute_latency_1_to_5ms** | **Integer** | Number of responses with latency between 1 and 5 milliseconds for origin received by the Compute platform. | [optional] |
|
111
|
+
| **compute_latency_5_to_10ms** | **Integer** | Number of responses with latency between 5 and 10 milliseconds for origin received by the Compute platform. | [optional] |
|
112
|
+
| **compute_latency_10_to_50ms** | **Integer** | Number of responses with latency between 10 and 50 milliseconds for origin received by the Compute platform. | [optional] |
|
113
|
+
| **compute_latency_50_to_100ms** | **Integer** | Number of responses with latency between 50 and 100 milliseconds for origin received by the Compute platform. | [optional] |
|
114
|
+
| **compute_latency_100_to_250ms** | **Integer** | Number of responses with latency between 100 and 250 milliseconds for origin received by the Compute platform. | [optional] |
|
115
|
+
| **compute_latency_250_to_500ms** | **Integer** | Number of responses with latency between 250 and 500 milliseconds for origin received by the Compute platform. | [optional] |
|
116
|
+
| **compute_latency_500_to_1000ms** | **Integer** | Number of responses with latency between 500 and 1,000 milliseconds for origin received by the Compute platform. | [optional] |
|
117
|
+
| **compute_latency_1000_to_5000ms** | **Integer** | Number of responses with latency between 1,000 and 5,000 milliseconds for origin received by the Compute platform. | [optional] |
|
118
|
+
| **compute_latency_5000_to_10000ms** | **Integer** | Number of responses with latency between 5,000 and 10,000 milliseconds for origin received by the Compute platform. | [optional] |
|
119
|
+
| **compute_latency_10000_to_60000ms** | **Integer** | Number of responses with latency between 10,000 and 60,000 milliseconds for origin received by the Compute platform. | [optional] |
|
120
|
+
| **compute_latency_60000ms** | **Integer** | Number of responses with latency of 60,000 milliseconds and above for origin received by the Compute platform. | [optional] |
|
121
121
|
| **all_responses** | **Integer** | Number of responses received for origin requests made by all sources. | [optional] |
|
122
122
|
| **all_resp_header_bytes** | **Integer** | Number of header bytes received for origin requests made by all sources. | [optional] |
|
123
123
|
| **all_resp_body_bytes** | **Integer** | Number of body bytes received for origin requests made by all sources. | [optional] |
|
@@ -80,44 +80,44 @@
|
|
80
80
|
| **waf_latency_5000_to_10000ms** | **Integer** | Number of responses with latency between 5,000 and 10,000 milliseconds received for origin requests made by the Fastly WAF. | [optional] |
|
81
81
|
| **waf_latency_10000_to_60000ms** | **Integer** | Number of responses with latency between 10,000 and 60,000 milliseconds received for origin requests made by the Fastly WAF. | [optional] |
|
82
82
|
| **waf_latency_60000ms** | **Integer** | Number of responses with latency of 60,000 milliseconds and above received for origin requests made by the Fastly WAF. | [optional] |
|
83
|
-
| **compute_responses** | **Integer** | Number of responses for origin received by Compute
|
84
|
-
| **compute_resp_header_bytes** | **Integer** | Number of header bytes for origin received by Compute
|
85
|
-
| **compute_resp_body_bytes** | **Integer** | Number of body bytes for origin received by Compute
|
86
|
-
| **compute_status_1xx** | **Integer** | Number of 1xx \"Informational\" status codes for origin received by Compute
|
87
|
-
| **compute_status_2xx** | **Integer** | Number of 2xx \"Success\" status codes for origin received by Compute
|
88
|
-
| **compute_status_3xx** | **Integer** | Number of 3xx \"Redirection\" codes for origin received by Compute
|
89
|
-
| **compute_status_4xx** | **Integer** | Number of 4xx \"Client Error\" codes for origin received by Compute
|
90
|
-
| **compute_status_5xx** | **Integer** | Number of 5xx \"Server Error\" codes for origin received by Compute
|
91
|
-
| **compute_status_200** | **Integer** | Number of responses received with status code 200 (Success) for origin received by Compute
|
92
|
-
| **compute_status_204** | **Integer** | Number of responses received with status code 204 (No Content) for origin received by Compute
|
93
|
-
| **compute_status_206** | **Integer** | Number of responses received with status code 206 (Partial Content) for origin received by Compute
|
94
|
-
| **compute_status_301** | **Integer** | Number of responses received with status code 301 (Moved Permanently) for origin received by Compute
|
95
|
-
| **compute_status_302** | **Integer** | Number of responses received with status code 302 (Found) for origin received by Compute
|
96
|
-
| **compute_status_304** | **Integer** | Number of responses received with status code 304 (Not Modified) for origin received by Compute
|
97
|
-
| **compute_status_400** | **Integer** | Number of responses received with status code 400 (Bad Request) for origin received by Compute
|
98
|
-
| **compute_status_401** | **Integer** | Number of responses received with status code 401 (Unauthorized) for origin received by Compute
|
99
|
-
| **compute_status_403** | **Integer** | Number of responses received with status code 403 (Forbidden) for origin received by Compute
|
100
|
-
| **compute_status_404** | **Integer** | Number of responses received with status code 404 (Not Found) for origin received by Compute
|
101
|
-
| **compute_status_416** | **Integer** | Number of responses received with status code 416 (Range Not Satisfiable) for origin received by Compute
|
102
|
-
| **compute_status_429** | **Integer** | Number of responses received with status code 429 (Too Many Requests) for origin received by Compute
|
103
|
-
| **compute_status_500** | **Integer** | Number of responses received with status code 500 (Internal Server Error) for origin received by Compute
|
104
|
-
| **compute_status_501** | **Integer** | Number of responses received with status code 501 (Not Implemented) for origin received by Compute
|
105
|
-
| **compute_status_502** | **Integer** | Number of responses received with status code 502 (Bad Gateway) for origin received by Compute
|
106
|
-
| **compute_status_503** | **Integer** | Number of responses received with status code 503 (Service Unavailable) for origin received by Compute
|
107
|
-
| **compute_status_504** | **Integer** | Number of responses received with status code 504 (Gateway Timeout) for origin received by Compute
|
108
|
-
| **compute_status_505** | **Integer** | Number of responses received with status code 505 (HTTP Version Not Supported) for origin received by Compute
|
109
|
-
| **compute_latency_0_to_1ms** | **Integer** | Number of responses with latency between 0 and 1 millisecond for origin received by Compute
|
110
|
-
| **compute_latency_1_to_5ms** | **Integer** | Number of responses with latency between 1 and 5 milliseconds for origin received by Compute
|
111
|
-
| **compute_latency_5_to_10ms** | **Integer** | Number of responses with latency between 5 and 10 milliseconds for origin received by Compute
|
112
|
-
| **compute_latency_10_to_50ms** | **Integer** | Number of responses with latency between 10 and 50 milliseconds for origin received by Compute
|
113
|
-
| **compute_latency_50_to_100ms** | **Integer** | Number of responses with latency between 50 and 100 milliseconds for origin received by Compute
|
114
|
-
| **compute_latency_100_to_250ms** | **Integer** | Number of responses with latency between 100 and 250 milliseconds for origin received by Compute
|
115
|
-
| **compute_latency_250_to_500ms** | **Integer** | Number of responses with latency between 250 and 500 milliseconds for origin received by Compute
|
116
|
-
| **compute_latency_500_to_1000ms** | **Integer** | Number of responses with latency between 500 and 1,000 milliseconds for origin received by Compute
|
117
|
-
| **compute_latency_1000_to_5000ms** | **Integer** | Number of responses with latency between 1,000 and 5,000 milliseconds for origin received by Compute
|
118
|
-
| **compute_latency_5000_to_10000ms** | **Integer** | Number of responses with latency between 5,000 and 10,000 milliseconds for origin received by Compute
|
119
|
-
| **compute_latency_10000_to_60000ms** | **Integer** | Number of responses with latency between 10,000 and 60,000 milliseconds for origin received by Compute
|
120
|
-
| **compute_latency_60000ms** | **Integer** | Number of responses with latency of 60,000 milliseconds and above for origin received by Compute
|
83
|
+
| **compute_responses** | **Integer** | Number of responses for origin received by the Compute platform. | [optional] |
|
84
|
+
| **compute_resp_header_bytes** | **Integer** | Number of header bytes for origin received by the Compute platform. | [optional] |
|
85
|
+
| **compute_resp_body_bytes** | **Integer** | Number of body bytes for origin received by the Compute platform. | [optional] |
|
86
|
+
| **compute_status_1xx** | **Integer** | Number of 1xx \"Informational\" status codes for origin received by the Compute platform. | [optional] |
|
87
|
+
| **compute_status_2xx** | **Integer** | Number of 2xx \"Success\" status codes for origin received by the Compute platform. | [optional] |
|
88
|
+
| **compute_status_3xx** | **Integer** | Number of 3xx \"Redirection\" codes for origin received by the Compute platform. | [optional] |
|
89
|
+
| **compute_status_4xx** | **Integer** | Number of 4xx \"Client Error\" codes for origin received by the Compute platform. | [optional] |
|
90
|
+
| **compute_status_5xx** | **Integer** | Number of 5xx \"Server Error\" codes for origin received by the Compute platform. | [optional] |
|
91
|
+
| **compute_status_200** | **Integer** | Number of responses received with status code 200 (Success) for origin received by the Compute platform. | [optional] |
|
92
|
+
| **compute_status_204** | **Integer** | Number of responses received with status code 204 (No Content) for origin received by the Compute platform. | [optional] |
|
93
|
+
| **compute_status_206** | **Integer** | Number of responses received with status code 206 (Partial Content) for origin received by the Compute platform. | [optional] |
|
94
|
+
| **compute_status_301** | **Integer** | Number of responses received with status code 301 (Moved Permanently) for origin received by the Compute platform. | [optional] |
|
95
|
+
| **compute_status_302** | **Integer** | Number of responses received with status code 302 (Found) for origin received by the Compute platform. | [optional] |
|
96
|
+
| **compute_status_304** | **Integer** | Number of responses received with status code 304 (Not Modified) for origin received by the Compute platform. | [optional] |
|
97
|
+
| **compute_status_400** | **Integer** | Number of responses received with status code 400 (Bad Request) for origin received by the Compute platform. | [optional] |
|
98
|
+
| **compute_status_401** | **Integer** | Number of responses received with status code 401 (Unauthorized) for origin received by the Compute platform. | [optional] |
|
99
|
+
| **compute_status_403** | **Integer** | Number of responses received with status code 403 (Forbidden) for origin received by the Compute platform. | [optional] |
|
100
|
+
| **compute_status_404** | **Integer** | Number of responses received with status code 404 (Not Found) for origin received by the Compute platform. | [optional] |
|
101
|
+
| **compute_status_416** | **Integer** | Number of responses received with status code 416 (Range Not Satisfiable) for origin received by the Compute platform. | [optional] |
|
102
|
+
| **compute_status_429** | **Integer** | Number of responses received with status code 429 (Too Many Requests) for origin received by the Compute platform. | [optional] |
|
103
|
+
| **compute_status_500** | **Integer** | Number of responses received with status code 500 (Internal Server Error) for origin received by the Compute platform. | [optional] |
|
104
|
+
| **compute_status_501** | **Integer** | Number of responses received with status code 501 (Not Implemented) for origin received by the Compute platform. | [optional] |
|
105
|
+
| **compute_status_502** | **Integer** | Number of responses received with status code 502 (Bad Gateway) for origin received by the Compute platform. | [optional] |
|
106
|
+
| **compute_status_503** | **Integer** | Number of responses received with status code 503 (Service Unavailable) for origin received by the Compute platform. | [optional] |
|
107
|
+
| **compute_status_504** | **Integer** | Number of responses received with status code 504 (Gateway Timeout) for origin received by the Compute platform. | [optional] |
|
108
|
+
| **compute_status_505** | **Integer** | Number of responses received with status code 505 (HTTP Version Not Supported) for origin received by the Compute platform. | [optional] |
|
109
|
+
| **compute_latency_0_to_1ms** | **Integer** | Number of responses with latency between 0 and 1 millisecond for origin received by the Compute platform. | [optional] |
|
110
|
+
| **compute_latency_1_to_5ms** | **Integer** | Number of responses with latency between 1 and 5 milliseconds for origin received by the Compute platform. | [optional] |
|
111
|
+
| **compute_latency_5_to_10ms** | **Integer** | Number of responses with latency between 5 and 10 milliseconds for origin received by the Compute platform. | [optional] |
|
112
|
+
| **compute_latency_10_to_50ms** | **Integer** | Number of responses with latency between 10 and 50 milliseconds for origin received by the Compute platform. | [optional] |
|
113
|
+
| **compute_latency_50_to_100ms** | **Integer** | Number of responses with latency between 50 and 100 milliseconds for origin received by the Compute platform. | [optional] |
|
114
|
+
| **compute_latency_100_to_250ms** | **Integer** | Number of responses with latency between 100 and 250 milliseconds for origin received by the Compute platform. | [optional] |
|
115
|
+
| **compute_latency_250_to_500ms** | **Integer** | Number of responses with latency between 250 and 500 milliseconds for origin received by the Compute platform. | [optional] |
|
116
|
+
| **compute_latency_500_to_1000ms** | **Integer** | Number of responses with latency between 500 and 1,000 milliseconds for origin received by the Compute platform. | [optional] |
|
117
|
+
| **compute_latency_1000_to_5000ms** | **Integer** | Number of responses with latency between 1,000 and 5,000 milliseconds for origin received by the Compute platform. | [optional] |
|
118
|
+
| **compute_latency_5000_to_10000ms** | **Integer** | Number of responses with latency between 5,000 and 10,000 milliseconds for origin received by the Compute platform. | [optional] |
|
119
|
+
| **compute_latency_10000_to_60000ms** | **Integer** | Number of responses with latency between 10,000 and 60,000 milliseconds for origin received by the Compute platform. | [optional] |
|
120
|
+
| **compute_latency_60000ms** | **Integer** | Number of responses with latency of 60,000 milliseconds and above for origin received by the Compute platform. | [optional] |
|
121
121
|
| **all_responses** | **Integer** | Number of responses received for origin requests made by all sources. | [optional] |
|
122
122
|
| **all_resp_header_bytes** | **Integer** | Number of header bytes received for origin requests made by all sources. | [optional] |
|
123
123
|
| **all_resp_body_bytes** | **Integer** | Number of body bytes received for origin requests made by all sources. | [optional] |
|
data/docs/PackageApi.md
CHANGED
@@ -10,17 +10,17 @@ api_instance = Fastly::PackageApi.new
|
|
10
10
|
|
11
11
|
| Method | HTTP request | Description |
|
12
12
|
| ------ | ------------ | ----------- |
|
13
|
-
| [**get_package**](PackageApi.md#get_package) | **GET** /service/{service_id}/version/{version_id}/package | Get details of the service's Compute
|
14
|
-
| [**put_package**](PackageApi.md#put_package) | **PUT** /service/{service_id}/version/{version_id}/package | Upload a Compute
|
13
|
+
| [**get_package**](PackageApi.md#get_package) | **GET** /service/{service_id}/version/{version_id}/package | Get details of the service's Compute package. |
|
14
|
+
| [**put_package**](PackageApi.md#put_package) | **PUT** /service/{service_id}/version/{version_id}/package | Upload a Compute package. |
|
15
15
|
|
16
16
|
|
17
17
|
## `get_package()`
|
18
18
|
|
19
19
|
```ruby
|
20
|
-
get_package(opts): <PackageResponse> # Get details of the service's Compute
|
20
|
+
get_package(opts): <PackageResponse> # Get details of the service's Compute package.
|
21
21
|
```
|
22
22
|
|
23
|
-
List detailed information about the Compute
|
23
|
+
List detailed information about the Compute package for the specified service.
|
24
24
|
|
25
25
|
### Examples
|
26
26
|
|
@@ -32,7 +32,7 @@ opts = {
|
|
32
32
|
}
|
33
33
|
|
34
34
|
begin
|
35
|
-
# Get details of the service's Compute
|
35
|
+
# Get details of the service's Compute package.
|
36
36
|
result = api_instance.get_package(opts)
|
37
37
|
p result
|
38
38
|
rescue Fastly::ApiError => e
|
@@ -56,10 +56,10 @@ end
|
|
56
56
|
## `put_package()`
|
57
57
|
|
58
58
|
```ruby
|
59
|
-
put_package(opts): <PackageResponse> # Upload a Compute
|
59
|
+
put_package(opts): <PackageResponse> # Upload a Compute package.
|
60
60
|
```
|
61
61
|
|
62
|
-
Upload a Compute
|
62
|
+
Upload a Compute package associated with the specified service version.
|
63
63
|
|
64
64
|
### Examples
|
65
65
|
|
@@ -73,7 +73,7 @@ opts = {
|
|
73
73
|
}
|
74
74
|
|
75
75
|
begin
|
76
|
-
# Upload a Compute
|
76
|
+
# Upload a Compute package.
|
77
77
|
result = api_instance.put_package(opts)
|
78
78
|
p result
|
79
79
|
rescue Fastly::ApiError => e
|
data/docs/PackageMetadata.md
CHANGED
@@ -4,13 +4,13 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **name** | **String** | Name of the Compute
|
8
|
-
| **description** | **String** | Description of the Compute
|
7
|
+
| **name** | **String** | Name of the Compute package. | [optional] |
|
8
|
+
| **description** | **String** | Description of the Compute package. | [optional] |
|
9
9
|
| **authors** | **Array<String>** | A list of package authors' email addresses. | [optional] |
|
10
|
-
| **language** | **String** | The language of the Compute
|
11
|
-
| **size** | **Integer** | Size of the Compute
|
12
|
-
| **hashsum** | **String** | Hash of the Compute
|
13
|
-
| **files_hash** | **String** | Hash of the files within the Compute
|
10
|
+
| **language** | **String** | The language of the Compute package. | [optional] |
|
11
|
+
| **size** | **Integer** | Size of the Compute package in bytes. | [optional] |
|
12
|
+
| **hashsum** | **String** | Hash of the Compute package. | [optional] |
|
13
|
+
| **files_hash** | **String** | Hash of the files within the Compute package. | [optional] |
|
14
14
|
|
15
15
|
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
16
16
|
|