fastly 4.1.0 → 4.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +25 -0
- data/Gemfile.lock +1 -1
- data/README.md +7 -11
- data/docs/Backend.md +1 -1
- data/docs/BackendApi.md +4 -4
- data/docs/BackendResponse.md +1 -1
- data/docs/EnabledProductResponse.md +12 -0
- data/docs/{EnabledProductProduct.md → EnabledProductResponseLinks.md} +3 -3
- data/docs/{ResourceCreateAllOf.md → EnabledProductResponseProduct.md} +3 -2
- data/docs/{EnabledProductLinks.md → EnabledProductResponseService.md} +3 -3
- data/docs/EnabledProductsApi.md +7 -7
- data/docs/EventsApi.md +2 -0
- data/docs/HistoricalApi.md +10 -10
- data/docs/{GetStoresResponse.md → InlineResponse2002.md} +2 -2
- data/docs/{GetStoresResponseMeta.md → InlineResponse2002Meta.md} +1 -1
- data/docs/ObjectStoreApi.md +3 -166
- data/docs/Pop.md +7 -4
- data/docs/PopCoordinates.md +2 -4
- data/docs/RealtimeMeasurements.md +4 -2
- data/docs/Resource.md +2 -1
- data/docs/ResourceApi.md +34 -32
- data/docs/ResourceResponse.md +3 -3
- data/docs/ResourceResponseAllOf.md +1 -1
- data/docs/Results.md +5 -3
- data/docs/TlsSubscriptionResponseAttributes.md +1 -1
- data/docs/TlsSubscriptionResponseAttributesAllOf.md +1 -1
- data/docs/TlsSubscriptionsApi.md +3 -3
- data/lib/fastly/api/backend_api.rb +4 -4
- data/lib/fastly/api/enabled_products_api.rb +12 -12
- data/lib/fastly/api/events_api.rb +3 -0
- data/lib/fastly/api/historical_api.rb +10 -10
- data/lib/fastly/api/object_store_api.rb +5 -289
- data/lib/fastly/api/purge_api.rb +1 -1
- data/lib/fastly/api/resource_api.rb +51 -48
- data/lib/fastly/api/tls_subscriptions_api.rb +4 -4
- data/lib/fastly/models/backend.rb +1 -1
- data/lib/fastly/models/backend_response.rb +1 -1
- data/lib/fastly/models/{enabled_product.rb → enabled_product_response.rb} +6 -6
- data/lib/fastly/models/{enabled_product_links.rb → enabled_product_response_links.rb} +5 -3
- data/lib/fastly/models/{enabled_product_product.rb → enabled_product_response_product.rb} +5 -3
- data/lib/fastly/models/{key_response.rb → enabled_product_response_service.rb} +18 -18
- data/lib/fastly/models/{get_stores_response.rb → inline_response2002.rb} +4 -4
- data/lib/fastly/models/{get_stores_response_meta.rb → inline_response2002_meta.rb} +3 -3
- data/lib/fastly/models/pop.rb +121 -1
- data/lib/fastly/models/pop_coordinates.rb +12 -19
- data/lib/fastly/models/realtime_measurements.rb +23 -3
- data/lib/fastly/models/resource.rb +12 -2
- data/lib/fastly/models/resource_response.rb +23 -23
- data/lib/fastly/models/resource_response_all_of.rb +1 -1
- data/lib/fastly/models/results.rb +24 -4
- data/lib/fastly/models/tls_subscription_response_attributes.rb +2 -2
- data/lib/fastly/models/tls_subscription_response_attributes_all_of.rb +2 -2
- data/lib/fastly/models/type_resource.rb +2 -0
- data/lib/fastly/version.rb +1 -1
- data/lib/fastly.rb +6 -8
- data/sig.json +1 -1
- metadata +14 -18
- data/docs/EnabledProduct.md +0 -12
- data/docs/KeyResponse.md +0 -11
- data/docs/ResourceCreate.md +0 -11
- data/lib/fastly/models/resource_create.rb +0 -235
- data/lib/fastly/models/resource_create_all_of.rb +0 -217
data/docs/Pop.md
CHANGED
@@ -4,11 +4,14 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **code** | **String** |
|
8
|
-
| **name** | **String** |
|
9
|
-
| **group** | **String** | |
|
7
|
+
| **code** | **String** | the three-letter code for the [POP](https://developer.fastly.com/learning/concepts/pop/) | |
|
8
|
+
| **name** | **String** | the name of the POP | |
|
9
|
+
| **group** | **String** | | |
|
10
|
+
| **region** | **String** | | |
|
11
|
+
| **stats_region** | **String** | the region used for stats reporting | |
|
12
|
+
| **billing_region** | **String** | the region used for billing | |
|
10
13
|
| **coordinates** | [**PopCoordinates**](PopCoordinates.md) | | [optional] |
|
11
|
-
| **shield** | **String** |
|
14
|
+
| **shield** | **String** | the name of the [shield code](https://developer.fastly.com/learning/concepts/shielding/#choosing-a-shield-location) if this POP is suitable for shielding | [optional] |
|
12
15
|
|
13
16
|
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
14
17
|
|
data/docs/PopCoordinates.md
CHANGED
@@ -4,10 +4,8 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **
|
8
|
-
| **
|
9
|
-
| **latitude** | **Float** | | [optional] |
|
10
|
-
| **longitude** | **Float** | | [optional] |
|
7
|
+
| **latitude** | **Float** | | |
|
8
|
+
| **longitude** | **Float** | | |
|
11
9
|
|
12
10
|
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
13
11
|
|
@@ -202,8 +202,10 @@
|
|
202
202
|
| **websocket_resp_body_bytes** | **Integer** | Total message content bytes sent to end users over passthrough WebSocket connections. | [optional] |
|
203
203
|
| **fanout_recv_publishes** | **Integer** | Total published messages received from the publish API endpoint. | [optional] |
|
204
204
|
| **fanout_send_publishes** | **Integer** | Total published messages sent to end users. | [optional] |
|
205
|
-
| **
|
206
|
-
| **
|
205
|
+
| **object_store_class_a_operations** | **Integer** | The total number of class a operations for the object store. | [optional] |
|
206
|
+
| **object_store_class_b_operations** | **Integer** | The total number of class b operations for the object store. | [optional] |
|
207
|
+
| **object_store_read_requests** | **Integer** | Use object_store_class_b_operations. | [optional] |
|
208
|
+
| **object_store_write_requests** | **Integer** | Use object_store_class_a_operations. | [optional] |
|
207
209
|
| **fanout_req_header_bytes** | **Integer** | Total header bytes received from end users over Fanout connections. | [optional] |
|
208
210
|
| **fanout_req_body_bytes** | **Integer** | Total body or message content bytes received from end users over Fanout connections. | [optional] |
|
209
211
|
| **fanout_resp_header_bytes** | **Integer** | Total header bytes sent to end users over Fanout connections. | [optional] |
|
data/docs/Resource.md
CHANGED
@@ -4,7 +4,8 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **
|
7
|
+
| **resource_id** | **String** | The ID of the underlying linked resource. | [optional] |
|
8
|
+
| **name** | **String** | The name of the resource link. | [optional] |
|
8
9
|
|
9
10
|
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
10
11
|
|
data/docs/ResourceApi.md
CHANGED
@@ -10,20 +10,20 @@ api_instance = Fastly::ResourceApi.new
|
|
10
10
|
|
11
11
|
| Method | HTTP request | Description |
|
12
12
|
| ------ | ------------ | ----------- |
|
13
|
-
| [**create_resource**](ResourceApi.md#create_resource) | **POST** /service/{service_id}/version/{version_id}/resource | Create a resource |
|
14
|
-
| [**delete_resource**](ResourceApi.md#delete_resource) | **DELETE** /service/{service_id}/version/{version_id}/resource/{
|
15
|
-
| [**get_resource**](ResourceApi.md#get_resource) | **GET** /service/{service_id}/version/{version_id}/resource/{
|
16
|
-
| [**list_resources**](ResourceApi.md#list_resources) | **GET** /service/{service_id}/version/{version_id}/resource | List
|
17
|
-
| [**update_resource**](ResourceApi.md#update_resource) | **PUT** /service/{service_id}/version/{version_id}/resource/{
|
13
|
+
| [**create_resource**](ResourceApi.md#create_resource) | **POST** /service/{service_id}/version/{version_id}/resource | Create a resource link |
|
14
|
+
| [**delete_resource**](ResourceApi.md#delete_resource) | **DELETE** /service/{service_id}/version/{version_id}/resource/{id} | Delete a resource link |
|
15
|
+
| [**get_resource**](ResourceApi.md#get_resource) | **GET** /service/{service_id}/version/{version_id}/resource/{id} | Display a resource link |
|
16
|
+
| [**list_resources**](ResourceApi.md#list_resources) | **GET** /service/{service_id}/version/{version_id}/resource | List resource links |
|
17
|
+
| [**update_resource**](ResourceApi.md#update_resource) | **PUT** /service/{service_id}/version/{version_id}/resource/{id} | Update a resource link |
|
18
18
|
|
19
19
|
|
20
20
|
## `create_resource()`
|
21
21
|
|
22
22
|
```ruby
|
23
|
-
create_resource(opts): <ResourceResponse> # Create a resource
|
23
|
+
create_resource(opts): <ResourceResponse> # Create a resource link
|
24
24
|
```
|
25
25
|
|
26
|
-
Create a resource.
|
26
|
+
Create a link between a resource and a service version.
|
27
27
|
|
28
28
|
### Examples
|
29
29
|
|
@@ -32,12 +32,12 @@ api_instance = Fastly::ResourceApi.new
|
|
32
32
|
opts = {
|
33
33
|
service_id: 'service_id_example', # String | Alphanumeric string identifying the service.
|
34
34
|
version_id: 56, # Integer | Integer identifying a service version.
|
35
|
-
|
36
|
-
|
35
|
+
resource_id: 'resource_id_example', # String | The ID of the underlying linked resource.
|
36
|
+
name: 'name_example', # String | The name of the resource link.
|
37
37
|
}
|
38
38
|
|
39
39
|
begin
|
40
|
-
# Create a resource
|
40
|
+
# Create a resource link
|
41
41
|
result = api_instance.create_resource(opts)
|
42
42
|
p result
|
43
43
|
rescue Fastly::ApiError => e
|
@@ -51,8 +51,8 @@ end
|
|
51
51
|
| ---- | ---- | ----------- | ----- |
|
52
52
|
| **service_id** | **String** | Alphanumeric string identifying the service. | |
|
53
53
|
| **version_id** | **Integer** | Integer identifying a service version. | |
|
54
|
-
| **
|
55
|
-
| **
|
54
|
+
| **resource_id** | **String** | The ID of the underlying linked resource. | [optional] |
|
55
|
+
| **name** | **String** | The name of the resource link. | [optional] |
|
56
56
|
|
57
57
|
### Return type
|
58
58
|
|
@@ -63,10 +63,10 @@ end
|
|
63
63
|
## `delete_resource()`
|
64
64
|
|
65
65
|
```ruby
|
66
|
-
delete_resource(opts): <InlineResponse200> # Delete a resource
|
66
|
+
delete_resource(opts): <InlineResponse200> # Delete a resource link
|
67
67
|
```
|
68
68
|
|
69
|
-
Delete a resource.
|
69
|
+
Delete a link between a resource and a service version.
|
70
70
|
|
71
71
|
### Examples
|
72
72
|
|
@@ -75,11 +75,11 @@ api_instance = Fastly::ResourceApi.new
|
|
75
75
|
opts = {
|
76
76
|
service_id: 'service_id_example', # String | Alphanumeric string identifying the service.
|
77
77
|
version_id: 56, # Integer | Integer identifying a service version.
|
78
|
-
|
78
|
+
id: 'id_example', # String | An alphanumeric string identifying the resource link.
|
79
79
|
}
|
80
80
|
|
81
81
|
begin
|
82
|
-
# Delete a resource
|
82
|
+
# Delete a resource link
|
83
83
|
result = api_instance.delete_resource(opts)
|
84
84
|
p result
|
85
85
|
rescue Fastly::ApiError => e
|
@@ -93,7 +93,7 @@ end
|
|
93
93
|
| ---- | ---- | ----------- | ----- |
|
94
94
|
| **service_id** | **String** | Alphanumeric string identifying the service. | |
|
95
95
|
| **version_id** | **Integer** | Integer identifying a service version. | |
|
96
|
-
| **
|
96
|
+
| **id** | **String** | An alphanumeric string identifying the resource link. | |
|
97
97
|
|
98
98
|
### Return type
|
99
99
|
|
@@ -104,10 +104,10 @@ end
|
|
104
104
|
## `get_resource()`
|
105
105
|
|
106
106
|
```ruby
|
107
|
-
get_resource(opts): <ResourceResponse> # Display a resource
|
107
|
+
get_resource(opts): <ResourceResponse> # Display a resource link
|
108
108
|
```
|
109
109
|
|
110
|
-
Display a resource by its identifier.
|
110
|
+
Display a resource link by its identifier.
|
111
111
|
|
112
112
|
### Examples
|
113
113
|
|
@@ -116,11 +116,11 @@ api_instance = Fastly::ResourceApi.new
|
|
116
116
|
opts = {
|
117
117
|
service_id: 'service_id_example', # String | Alphanumeric string identifying the service.
|
118
118
|
version_id: 56, # Integer | Integer identifying a service version.
|
119
|
-
|
119
|
+
id: 'id_example', # String | An alphanumeric string identifying the resource link.
|
120
120
|
}
|
121
121
|
|
122
122
|
begin
|
123
|
-
# Display a resource
|
123
|
+
# Display a resource link
|
124
124
|
result = api_instance.get_resource(opts)
|
125
125
|
p result
|
126
126
|
rescue Fastly::ApiError => e
|
@@ -134,7 +134,7 @@ end
|
|
134
134
|
| ---- | ---- | ----------- | ----- |
|
135
135
|
| **service_id** | **String** | Alphanumeric string identifying the service. | |
|
136
136
|
| **version_id** | **Integer** | Integer identifying a service version. | |
|
137
|
-
| **
|
137
|
+
| **id** | **String** | An alphanumeric string identifying the resource link. | |
|
138
138
|
|
139
139
|
### Return type
|
140
140
|
|
@@ -145,10 +145,10 @@ end
|
|
145
145
|
## `list_resources()`
|
146
146
|
|
147
147
|
```ruby
|
148
|
-
list_resources(opts): <Array<ResourceResponse>> # List
|
148
|
+
list_resources(opts): <Array<ResourceResponse>> # List resource links
|
149
149
|
```
|
150
150
|
|
151
|
-
List resources
|
151
|
+
List links between resources and services
|
152
152
|
|
153
153
|
### Examples
|
154
154
|
|
@@ -160,7 +160,7 @@ opts = {
|
|
160
160
|
}
|
161
161
|
|
162
162
|
begin
|
163
|
-
# List
|
163
|
+
# List resource links
|
164
164
|
result = api_instance.list_resources(opts)
|
165
165
|
p result
|
166
166
|
rescue Fastly::ApiError => e
|
@@ -184,10 +184,10 @@ end
|
|
184
184
|
## `update_resource()`
|
185
185
|
|
186
186
|
```ruby
|
187
|
-
update_resource(opts): <ResourceResponse> # Update a resource
|
187
|
+
update_resource(opts): <ResourceResponse> # Update a resource link
|
188
188
|
```
|
189
189
|
|
190
|
-
Update a resource.
|
190
|
+
Update a link between a resource and a service version.
|
191
191
|
|
192
192
|
### Examples
|
193
193
|
|
@@ -196,12 +196,13 @@ api_instance = Fastly::ResourceApi.new
|
|
196
196
|
opts = {
|
197
197
|
service_id: 'service_id_example', # String | Alphanumeric string identifying the service.
|
198
198
|
version_id: 56, # Integer | Integer identifying a service version.
|
199
|
-
|
200
|
-
|
199
|
+
id: 'id_example', # String | An alphanumeric string identifying the resource link.
|
200
|
+
resource_id: 'resource_id_example', # String | The ID of the underlying linked resource.
|
201
|
+
name: 'name_example', # String | The name of the resource link.
|
201
202
|
}
|
202
203
|
|
203
204
|
begin
|
204
|
-
# Update a resource
|
205
|
+
# Update a resource link
|
205
206
|
result = api_instance.update_resource(opts)
|
206
207
|
p result
|
207
208
|
rescue Fastly::ApiError => e
|
@@ -215,8 +216,9 @@ end
|
|
215
216
|
| ---- | ---- | ----------- | ----- |
|
216
217
|
| **service_id** | **String** | Alphanumeric string identifying the service. | |
|
217
218
|
| **version_id** | **Integer** | Integer identifying a service version. | |
|
218
|
-
| **
|
219
|
-
| **
|
219
|
+
| **id** | **String** | An alphanumeric string identifying the resource link. | |
|
220
|
+
| **resource_id** | **String** | The ID of the underlying linked resource. | [optional] |
|
221
|
+
| **name** | **String** | The name of the resource link. | [optional] |
|
220
222
|
|
221
223
|
### Return type
|
222
224
|
|
data/docs/ResourceResponse.md
CHANGED
@@ -4,12 +4,12 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **resource_id** | **String** | The ID of the underlying linked resource. | [optional] |
|
8
|
+
| **name** | **String** | The name of the resource link. | [optional] |
|
7
9
|
| **created_at** | **Time** | Date and time in ISO 8601 format. | [optional][readonly] |
|
8
10
|
| **deleted_at** | **Time** | Date and time in ISO 8601 format. | [optional][readonly] |
|
9
11
|
| **updated_at** | **Time** | Date and time in ISO 8601 format. | [optional][readonly] |
|
10
|
-
| **
|
11
|
-
| **resource_id** | **String** | The ID of the linked resource. | [optional] |
|
12
|
-
| **id** | **String** | An alphanumeric string identifying the resource. | [optional] |
|
12
|
+
| **id** | **String** | An alphanumeric string identifying the resource link. | [optional] |
|
13
13
|
| **href** | **String** | The path to the resource. | [optional] |
|
14
14
|
| **service_id** | **String** | Alphanumeric string identifying the service. | [optional] |
|
15
15
|
| **version** | **Integer** | Integer identifying a service version. | [optional] |
|
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **id** | **String** | An alphanumeric string identifying the resource. | [optional] |
|
7
|
+
| **id** | **String** | An alphanumeric string identifying the resource link. | [optional] |
|
8
8
|
| **href** | **String** | The path to the resource. | [optional] |
|
9
9
|
| **service_id** | **String** | Alphanumeric string identifying the service. | [optional] |
|
10
10
|
| **version** | **Integer** | Integer identifying a service version. | [optional] |
|
data/docs/Results.md
CHANGED
@@ -14,7 +14,7 @@
|
|
14
14
|
| **errors** | **Integer** | Number of cache errors. | [optional] |
|
15
15
|
| **restarts** | **Integer** | Number of restarts performed. | [optional] |
|
16
16
|
| **hit_ratio** | **Float** | Ratio of cache hits to cache misses (between 0 and 1). | [optional] |
|
17
|
-
| **bandwidth** | **Integer** | Total bytes delivered (`resp_header_bytes` + `resp_body_bytes` + `bereq_header_bytes` + `bereq_body_bytes` + `compute_resp_header_bytes` + `compute_resp_body_bytes` + `compute_bereq_header_bytes` + `compute_bereq_body_bytes` + `websocket_resp_header_bytes` + `websocket_resp_body_bytes` + `websocket_bereq_header_bytes` + `websocket_bereq_body_bytes`). | [optional] |
|
17
|
+
| **bandwidth** | **Integer** | Total bytes delivered (`resp_header_bytes` + `resp_body_bytes` + `bereq_header_bytes` + `bereq_body_bytes` + `compute_resp_header_bytes` + `compute_resp_body_bytes` + `compute_bereq_header_bytes` + `compute_bereq_body_bytes` + `websocket_resp_header_bytes` + `websocket_resp_body_bytes` + `websocket_bereq_header_bytes` + `websocket_bereq_body_bytes` + `fanout_resp_header_bytes` + `fanout_resp_body_bytes` + `fanout_bereq_header_bytes` + `fanout_bereq_body_bytes`). | [optional] |
|
18
18
|
| **body_size** | **Integer** | Total body bytes delivered (alias for resp_body_bytes). | [optional] |
|
19
19
|
| **header_size** | **Integer** | Total header bytes delivered (alias for resp_header_bytes). | [optional] |
|
20
20
|
| **req_body_bytes** | **Integer** | Total body bytes received. | [optional] |
|
@@ -200,8 +200,10 @@
|
|
200
200
|
| **websocket_conn_time_ms** | **Integer** | Total duration of passthrough WebSocket connections with end users. | [optional] |
|
201
201
|
| **fanout_recv_publishes** | **Integer** | Total published messages received from the publish API endpoint. | [optional] |
|
202
202
|
| **fanout_send_publishes** | **Integer** | Total published messages sent to end users. | [optional] |
|
203
|
-
| **
|
204
|
-
| **
|
203
|
+
| **object_store_class_a_operations** | **Integer** | The total number of class a operations for the object store. | [optional] |
|
204
|
+
| **object_store_class_b_operations** | **Integer** | The total number of class b operations for the object store. | [optional] |
|
205
|
+
| **object_store_read_requests** | **Integer** | Use object_store_class_b_operations. | [optional] |
|
206
|
+
| **object_store_write_requests** | **Integer** | Use object_store_class_a_operations. | [optional] |
|
205
207
|
| **fanout_req_header_bytes** | **Integer** | Total header bytes received from end users over Fanout connections. | [optional] |
|
206
208
|
| **fanout_req_body_bytes** | **Integer** | Total body or message content bytes received from end users over Fanout connections. | [optional] |
|
207
209
|
| **fanout_resp_header_bytes** | **Integer** | Total header bytes sent to end users over Fanout connections. | [optional] |
|
@@ -7,7 +7,7 @@
|
|
7
7
|
| **created_at** | **Time** | Date and time in ISO 8601 format. | [optional][readonly] |
|
8
8
|
| **deleted_at** | **Time** | Date and time in ISO 8601 format. | [optional][readonly] |
|
9
9
|
| **updated_at** | **Time** | Date and time in ISO 8601 format. | [optional][readonly] |
|
10
|
-
| **state** | **String** | The current state of your subscription. | [optional]
|
10
|
+
| **state** | **String** | The current state of your subscription. | [optional] |
|
11
11
|
|
12
12
|
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
13
13
|
|
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **state** | **String** | The current state of your subscription. | [optional]
|
7
|
+
| **state** | **String** | The current state of your subscription. | [optional] |
|
8
8
|
|
9
9
|
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
10
10
|
|
data/docs/TlsSubscriptionsApi.md
CHANGED
@@ -227,7 +227,7 @@ List all TLS subscriptions.
|
|
227
227
|
```ruby
|
228
228
|
api_instance = Fastly::TlsSubscriptionsApi.new
|
229
229
|
opts = {
|
230
|
-
filter_state: 'filter_state_example', # String | Limit the returned subscriptions by state. Valid values are `pending`, `processing`, `issued`, and `
|
230
|
+
filter_state: 'filter_state_example', # String | Limit the returned subscriptions by state. Valid values are `pending`, `processing`, `issued`, `renewing`, and `failed`. Accepts parameters: `not` (e.g., `filter[state][not]=renewing`).
|
231
231
|
filter_tls_domains_id: 'filter_tls_domains_id_example', # String | Limit the returned subscriptions to those that include the specific domain.
|
232
232
|
filter_has_active_order: true, # Boolean | Limit the returned subscriptions to those that have currently active orders. Permitted values: `true`.
|
233
233
|
include: 'tls_authorizations', # String | Include related objects. Optional, comma-separated values. Permitted values: `tls_authorizations` and `tls_authorizations.globalsign_email_challenge`.
|
@@ -249,7 +249,7 @@ end
|
|
249
249
|
|
250
250
|
| Name | Type | Description | Notes |
|
251
251
|
| ---- | ---- | ----------- | ----- |
|
252
|
-
| **filter_state** | **String** | Limit the returned subscriptions by state. Valid values are `pending`, `processing`, `issued`, and `
|
252
|
+
| **filter_state** | **String** | Limit the returned subscriptions by state. Valid values are `pending`, `processing`, `issued`, `renewing`, and `failed`. Accepts parameters: `not` (e.g., `filter[state][not]=renewing`). | [optional] |
|
253
253
|
| **filter_tls_domains_id** | **String** | Limit the returned subscriptions to those that include the specific domain. | [optional] |
|
254
254
|
| **filter_has_active_order** | **Boolean** | Limit the returned subscriptions to those that have currently active orders. Permitted values: `true`. | [optional] |
|
255
255
|
| **include** | **String** | Include related objects. Optional, comma-separated values. Permitted values: `tls_authorizations` and `tls_authorizations.globalsign_email_challenge`. | [optional] |
|
@@ -269,7 +269,7 @@ end
|
|
269
269
|
patch_tls_sub(opts): <TlsSubscriptionResponse> # Update a TLS subscription
|
270
270
|
```
|
271
271
|
|
272
|
-
Change the TLS domains or common name associated with this subscription,
|
272
|
+
Change the TLS domains or common name associated with this subscription, update the TLS configuration for this set of domains, or retry a subscription with state `failed` by setting the state to `retry`.
|
273
273
|
|
274
274
|
### Examples
|
275
275
|
|
@@ -32,7 +32,7 @@ module Fastly
|
|
32
32
|
# @option opts [String] :hostname The hostname of the backend. May be used as an alternative to `address` to set the backend location.
|
33
33
|
# @option opts [String] :ipv4 IPv4 address of the backend. May be used as an alternative to `address` to set the backend location.
|
34
34
|
# @option opts [String] :ipv6 IPv6 address of the backend. May be used as an alternative to `address` to set the backend location.
|
35
|
-
# @option opts [Integer] :keepalive_time How long to keep a persistent connection to the backend between requests.
|
35
|
+
# @option opts [Integer] :keepalive_time How long in seconds to keep a persistent connection to the backend between requests.
|
36
36
|
# @option opts [Integer] :max_conn Maximum number of concurrent connections this backend will accept.
|
37
37
|
# @option opts [String] :max_tls_version Maximum allowed TLS version on SSL connections to this backend. If your backend server is not able to negotiate a connection meeting this constraint, a synthetic `503` error response will be generated.
|
38
38
|
# @option opts [String] :min_tls_version Minimum allowed TLS version on SSL connections to this backend. If your backend server is not able to negotiate a connection meeting this constraint, a synthetic `503` error response will be generated.
|
@@ -72,7 +72,7 @@ module Fastly
|
|
72
72
|
# @option opts [String] :hostname The hostname of the backend. May be used as an alternative to `address` to set the backend location.
|
73
73
|
# @option opts [String] :ipv4 IPv4 address of the backend. May be used as an alternative to `address` to set the backend location.
|
74
74
|
# @option opts [String] :ipv6 IPv6 address of the backend. May be used as an alternative to `address` to set the backend location.
|
75
|
-
# @option opts [Integer] :keepalive_time How long to keep a persistent connection to the backend between requests.
|
75
|
+
# @option opts [Integer] :keepalive_time How long in seconds to keep a persistent connection to the backend between requests.
|
76
76
|
# @option opts [Integer] :max_conn Maximum number of concurrent connections this backend will accept.
|
77
77
|
# @option opts [String] :max_tls_version Maximum allowed TLS version on SSL connections to this backend. If your backend server is not able to negotiate a connection meeting this constraint, a synthetic `503` error response will be generated.
|
78
78
|
# @option opts [String] :min_tls_version Minimum allowed TLS version on SSL connections to this backend. If your backend server is not able to negotiate a connection meeting this constraint, a synthetic `503` error response will be generated.
|
@@ -422,7 +422,7 @@ module Fastly
|
|
422
422
|
# @option opts [String] :hostname The hostname of the backend. May be used as an alternative to `address` to set the backend location.
|
423
423
|
# @option opts [String] :ipv4 IPv4 address of the backend. May be used as an alternative to `address` to set the backend location.
|
424
424
|
# @option opts [String] :ipv6 IPv6 address of the backend. May be used as an alternative to `address` to set the backend location.
|
425
|
-
# @option opts [Integer] :keepalive_time How long to keep a persistent connection to the backend between requests.
|
425
|
+
# @option opts [Integer] :keepalive_time How long in seconds to keep a persistent connection to the backend between requests.
|
426
426
|
# @option opts [Integer] :max_conn Maximum number of concurrent connections this backend will accept.
|
427
427
|
# @option opts [String] :max_tls_version Maximum allowed TLS version on SSL connections to this backend. If your backend server is not able to negotiate a connection meeting this constraint, a synthetic `503` error response will be generated.
|
428
428
|
# @option opts [String] :min_tls_version Minimum allowed TLS version on SSL connections to this backend. If your backend server is not able to negotiate a connection meeting this constraint, a synthetic `503` error response will be generated.
|
@@ -463,7 +463,7 @@ module Fastly
|
|
463
463
|
# @option opts [String] :hostname The hostname of the backend. May be used as an alternative to `address` to set the backend location.
|
464
464
|
# @option opts [String] :ipv4 IPv4 address of the backend. May be used as an alternative to `address` to set the backend location.
|
465
465
|
# @option opts [String] :ipv6 IPv6 address of the backend. May be used as an alternative to `address` to set the backend location.
|
466
|
-
# @option opts [Integer] :keepalive_time How long to keep a persistent connection to the backend between requests.
|
466
|
+
# @option opts [Integer] :keepalive_time How long in seconds to keep a persistent connection to the backend between requests.
|
467
467
|
# @option opts [Integer] :max_conn Maximum number of concurrent connections this backend will accept.
|
468
468
|
# @option opts [String] :max_tls_version Maximum allowed TLS version on SSL connections to this backend. If your backend server is not able to negotiate a connection meeting this constraint, a synthetic `503` error response will be generated.
|
469
469
|
# @option opts [String] :min_tls_version Minimum allowed TLS version on SSL connections to this backend. If your backend server is not able to negotiate a connection meeting this constraint, a synthetic `503` error response will be generated.
|
@@ -18,7 +18,7 @@ module Fastly
|
|
18
18
|
@api_client = api_client
|
19
19
|
end
|
20
20
|
# Disable a product
|
21
|
-
# Disable a product on a service. Supported product IDs: `
|
21
|
+
# Disable a product on a service. Supported product IDs: `brotli_compression`,`domain_inspector`,`fanout`,`image_optimizer`,`origin_inspector`, and `websockets`.
|
22
22
|
# @option opts [String] :product_id (required)
|
23
23
|
# @option opts [String] :service_id Alphanumeric string identifying the service. (required)
|
24
24
|
# @return [nil]
|
@@ -28,7 +28,7 @@ module Fastly
|
|
28
28
|
end
|
29
29
|
|
30
30
|
# Disable a product
|
31
|
-
# Disable a product on a service. Supported product IDs: `
|
31
|
+
# Disable a product on a service. Supported product IDs: `brotli_compression`,`domain_inspector`,`fanout`,`image_optimizer`,`origin_inspector`, and `websockets`.
|
32
32
|
# @option opts [String] :product_id (required)
|
33
33
|
# @option opts [String] :service_id Alphanumeric string identifying the service. (required)
|
34
34
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
@@ -86,20 +86,20 @@ module Fastly
|
|
86
86
|
end
|
87
87
|
|
88
88
|
# Enable a product
|
89
|
-
# Enable a product on a service. Supported product IDs: `
|
89
|
+
# Enable a product on a service. Supported product IDs: `brotli_compression`,`domain_inspector`,`fanout`,`image_optimizer`,`origin_inspector`, and `websockets`.
|
90
90
|
# @option opts [String] :product_id (required)
|
91
91
|
# @option opts [String] :service_id Alphanumeric string identifying the service. (required)
|
92
|
-
# @return [
|
92
|
+
# @return [EnabledProductResponse]
|
93
93
|
def enable_product(opts = {})
|
94
94
|
data, _status_code, _headers = enable_product_with_http_info(opts)
|
95
95
|
data
|
96
96
|
end
|
97
97
|
|
98
98
|
# Enable a product
|
99
|
-
# Enable a product on a service. Supported product IDs: `
|
99
|
+
# Enable a product on a service. Supported product IDs: `brotli_compression`,`domain_inspector`,`fanout`,`image_optimizer`,`origin_inspector`, and `websockets`.
|
100
100
|
# @option opts [String] :product_id (required)
|
101
101
|
# @option opts [String] :service_id Alphanumeric string identifying the service. (required)
|
102
|
-
# @return [Array<(
|
102
|
+
# @return [Array<(EnabledProductResponse, Integer, Hash)>] EnabledProductResponse data, response status code and response headers
|
103
103
|
def enable_product_with_http_info(opts = {})
|
104
104
|
if @api_client.config.debugging
|
105
105
|
@api_client.config.logger.debug 'Calling API: EnabledProductsApi.enable_product ...'
|
@@ -133,7 +133,7 @@ module Fastly
|
|
133
133
|
post_body = opts[:debug_body]
|
134
134
|
|
135
135
|
# return_type
|
136
|
-
return_type = opts[:debug_return_type] || '
|
136
|
+
return_type = opts[:debug_return_type] || 'EnabledProductResponse'
|
137
137
|
|
138
138
|
# auth_names
|
139
139
|
auth_names = opts[:debug_auth_names] || ['token']
|
@@ -156,20 +156,20 @@ module Fastly
|
|
156
156
|
end
|
157
157
|
|
158
158
|
# Get enabled product
|
159
|
-
# Get enabled product on a service. Supported product IDs: `
|
159
|
+
# Get enabled product on a service. Supported product IDs: `brotli_compression`,`domain_inspector`,`fanout`,`image_optimizer`,`origin_inspector`, and `websockets`.
|
160
160
|
# @option opts [String] :product_id (required)
|
161
161
|
# @option opts [String] :service_id Alphanumeric string identifying the service. (required)
|
162
|
-
# @return [
|
162
|
+
# @return [EnabledProductResponse]
|
163
163
|
def get_enabled_product(opts = {})
|
164
164
|
data, _status_code, _headers = get_enabled_product_with_http_info(opts)
|
165
165
|
data
|
166
166
|
end
|
167
167
|
|
168
168
|
# Get enabled product
|
169
|
-
# Get enabled product on a service. Supported product IDs: `
|
169
|
+
# Get enabled product on a service. Supported product IDs: `brotli_compression`,`domain_inspector`,`fanout`,`image_optimizer`,`origin_inspector`, and `websockets`.
|
170
170
|
# @option opts [String] :product_id (required)
|
171
171
|
# @option opts [String] :service_id Alphanumeric string identifying the service. (required)
|
172
|
-
# @return [Array<(
|
172
|
+
# @return [Array<(EnabledProductResponse, Integer, Hash)>] EnabledProductResponse data, response status code and response headers
|
173
173
|
def get_enabled_product_with_http_info(opts = {})
|
174
174
|
if @api_client.config.debugging
|
175
175
|
@api_client.config.logger.debug 'Calling API: EnabledProductsApi.get_enabled_product ...'
|
@@ -203,7 +203,7 @@ module Fastly
|
|
203
203
|
post_body = opts[:debug_body]
|
204
204
|
|
205
205
|
# return_type
|
206
|
-
return_type = opts[:debug_return_type] || '
|
206
|
+
return_type = opts[:debug_return_type] || 'EnabledProductResponse'
|
207
207
|
|
208
208
|
# auth_names
|
209
209
|
auth_names = opts[:debug_auth_names] || ['token']
|
@@ -87,6 +87,7 @@ module Fastly
|
|
87
87
|
# @option opts [String] :filter_service_id Limit the results returned to a specific service.
|
88
88
|
# @option opts [String] :filter_user_id Limit the results returned to a specific user.
|
89
89
|
# @option opts [String] :filter_token_id Limit the returned events to a specific token.
|
90
|
+
# @option opts [String] :filter_created_at Limit the returned events to a specific time frame. Accepts sub-parameters: lt, lte, gt, gte (e.g., filter[created_at][gt]=2022-01-12).
|
90
91
|
# @option opts [Integer] :page_number Current page.
|
91
92
|
# @option opts [Integer] :page_size Number of records per page. (default to 20)
|
92
93
|
# @option opts [String] :sort The order in which to list the results by creation date. (default to 'created_at')
|
@@ -103,6 +104,7 @@ module Fastly
|
|
103
104
|
# @option opts [String] :filter_service_id Limit the results returned to a specific service.
|
104
105
|
# @option opts [String] :filter_user_id Limit the results returned to a specific user.
|
105
106
|
# @option opts [String] :filter_token_id Limit the returned events to a specific token.
|
107
|
+
# @option opts [String] :filter_created_at Limit the returned events to a specific time frame. Accepts sub-parameters: lt, lte, gt, gte (e.g., filter[created_at][gt]=2022-01-12).
|
106
108
|
# @option opts [Integer] :page_number Current page.
|
107
109
|
# @option opts [Integer] :page_size Number of records per page. (default to 20)
|
108
110
|
# @option opts [String] :sort The order in which to list the results by creation date. (default to 'created_at')
|
@@ -134,6 +136,7 @@ module Fastly
|
|
134
136
|
query_params[:'filter[service_id]'] = opts[:'filter_service_id'] if !opts[:'filter_service_id'].nil?
|
135
137
|
query_params[:'filter[user_id]'] = opts[:'filter_user_id'] if !opts[:'filter_user_id'].nil?
|
136
138
|
query_params[:'filter[token_id]'] = opts[:'filter_token_id'] if !opts[:'filter_token_id'].nil?
|
139
|
+
query_params[:'filter[created_at]'] = opts[:'filter_created_at'] if !opts[:'filter_created_at'].nil?
|
137
140
|
query_params[:'page[number]'] = opts[:'page_number'] if !opts[:'page_number'].nil?
|
138
141
|
query_params[:'page[size]'] = opts[:'page_size'] if !opts[:'page_size'].nil?
|
139
142
|
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
@@ -22,7 +22,7 @@ module Fastly
|
|
22
22
|
# @option opts [String] :from Timestamp that defines the start of the window for which to fetch statistics, including the timestamp itself. Accepts Unix timestamps, or any form of input parsable by the [Chronic Ruby library](https://github.com/mojombo/chronic), such as 'yesterday', or 'two weeks ago'. Default varies based on the value of `by`.
|
23
23
|
# @option opts [String] :to Timestamp that defines the end of the window for which to fetch statistics. Accepts the same formats as `from`. (default to 'now')
|
24
24
|
# @option opts [String] :by Duration of sample windows. One of: * `hour` - Group data by hour. * `minute` - Group data by minute. * `day` - Group data by day. (default to 'day')
|
25
|
-
# @option opts [String] :region Limit query to a specific geographic region. One of: * `usa` - North America. * `europe` - Europe. * `anzac` - Australia and New Zealand. * `asia` - Asia. * `asia_india` - India. * `asia_southkorea` - South Korea
|
25
|
+
# @option opts [String] :region Limit query to a specific geographic region. One of: * `usa` - North America. * `europe` - Europe. * `anzac` - Australia and New Zealand. * `asia` - Asia. * `asia_india` - India. * `asia_southkorea` - South Korea. * `africa_std` - Africa. * `southamerica_std` - South America.
|
26
26
|
# @return [HistoricalResponse]
|
27
27
|
def get_hist_stats(opts = {})
|
28
28
|
data, _status_code, _headers = get_hist_stats_with_http_info(opts)
|
@@ -34,7 +34,7 @@ module Fastly
|
|
34
34
|
# @option opts [String] :from Timestamp that defines the start of the window for which to fetch statistics, including the timestamp itself. Accepts Unix timestamps, or any form of input parsable by the [Chronic Ruby library](https://github.com/mojombo/chronic), such as 'yesterday', or 'two weeks ago'. Default varies based on the value of `by`.
|
35
35
|
# @option opts [String] :to Timestamp that defines the end of the window for which to fetch statistics. Accepts the same formats as `from`. (default to 'now')
|
36
36
|
# @option opts [String] :by Duration of sample windows. One of: * `hour` - Group data by hour. * `minute` - Group data by minute. * `day` - Group data by day. (default to 'day')
|
37
|
-
# @option opts [String] :region Limit query to a specific geographic region. One of: * `usa` - North America. * `europe` - Europe. * `anzac` - Australia and New Zealand. * `asia` - Asia. * `asia_india` - India. * `asia_southkorea` - South Korea
|
37
|
+
# @option opts [String] :region Limit query to a specific geographic region. One of: * `usa` - North America. * `europe` - Europe. * `anzac` - Australia and New Zealand. * `asia` - Asia. * `asia_india` - India. * `asia_southkorea` - South Korea. * `africa_std` - Africa. * `southamerica_std` - South America.
|
38
38
|
# @return [Array<(HistoricalResponse, Integer, Hash)>] HistoricalResponse data, response status code and response headers
|
39
39
|
def get_hist_stats_with_http_info(opts = {})
|
40
40
|
if @api_client.config.debugging
|
@@ -98,7 +98,7 @@ module Fastly
|
|
98
98
|
# @option opts [String] :from Timestamp that defines the start of the window for which to fetch statistics, including the timestamp itself. Accepts Unix timestamps, or any form of input parsable by the [Chronic Ruby library](https://github.com/mojombo/chronic), such as 'yesterday', or 'two weeks ago'. Default varies based on the value of `by`.
|
99
99
|
# @option opts [String] :to Timestamp that defines the end of the window for which to fetch statistics. Accepts the same formats as `from`. (default to 'now')
|
100
100
|
# @option opts [String] :by Duration of sample windows. One of: * `hour` - Group data by hour. * `minute` - Group data by minute. * `day` - Group data by day. (default to 'day')
|
101
|
-
# @option opts [String] :region Limit query to a specific geographic region. One of: * `usa` - North America. * `europe` - Europe. * `anzac` - Australia and New Zealand. * `asia` - Asia. * `asia_india` - India. * `asia_southkorea` - South Korea
|
101
|
+
# @option opts [String] :region Limit query to a specific geographic region. One of: * `usa` - North America. * `europe` - Europe. * `anzac` - Australia and New Zealand. * `asia` - Asia. * `asia_india` - India. * `asia_southkorea` - South Korea. * `africa_std` - Africa. * `southamerica_std` - South America.
|
102
102
|
# @return [HistoricalAggregateResponse]
|
103
103
|
def get_hist_stats_aggregated(opts = {})
|
104
104
|
data, _status_code, _headers = get_hist_stats_aggregated_with_http_info(opts)
|
@@ -110,7 +110,7 @@ module Fastly
|
|
110
110
|
# @option opts [String] :from Timestamp that defines the start of the window for which to fetch statistics, including the timestamp itself. Accepts Unix timestamps, or any form of input parsable by the [Chronic Ruby library](https://github.com/mojombo/chronic), such as 'yesterday', or 'two weeks ago'. Default varies based on the value of `by`.
|
111
111
|
# @option opts [String] :to Timestamp that defines the end of the window for which to fetch statistics. Accepts the same formats as `from`. (default to 'now')
|
112
112
|
# @option opts [String] :by Duration of sample windows. One of: * `hour` - Group data by hour. * `minute` - Group data by minute. * `day` - Group data by day. (default to 'day')
|
113
|
-
# @option opts [String] :region Limit query to a specific geographic region. One of: * `usa` - North America. * `europe` - Europe. * `anzac` - Australia and New Zealand. * `asia` - Asia. * `asia_india` - India. * `asia_southkorea` - South Korea
|
113
|
+
# @option opts [String] :region Limit query to a specific geographic region. One of: * `usa` - North America. * `europe` - Europe. * `anzac` - Australia and New Zealand. * `asia` - Asia. * `asia_india` - India. * `asia_southkorea` - South Korea. * `africa_std` - Africa. * `southamerica_std` - South America.
|
114
114
|
# @return [Array<(HistoricalAggregateResponse, Integer, Hash)>] HistoricalAggregateResponse data, response status code and response headers
|
115
115
|
def get_hist_stats_aggregated_with_http_info(opts = {})
|
116
116
|
if @api_client.config.debugging
|
@@ -175,7 +175,7 @@ module Fastly
|
|
175
175
|
# @option opts [String] :from Timestamp that defines the start of the window for which to fetch statistics, including the timestamp itself. Accepts Unix timestamps, or any form of input parsable by the [Chronic Ruby library](https://github.com/mojombo/chronic), such as 'yesterday', or 'two weeks ago'. Default varies based on the value of `by`.
|
176
176
|
# @option opts [String] :to Timestamp that defines the end of the window for which to fetch statistics. Accepts the same formats as `from`. (default to 'now')
|
177
177
|
# @option opts [String] :by Duration of sample windows. One of: * `hour` - Group data by hour. * `minute` - Group data by minute. * `day` - Group data by day. (default to 'day')
|
178
|
-
# @option opts [String] :region Limit query to a specific geographic region. One of: * `usa` - North America. * `europe` - Europe. * `anzac` - Australia and New Zealand. * `asia` - Asia. * `asia_india` - India. * `asia_southkorea` - South Korea
|
178
|
+
# @option opts [String] :region Limit query to a specific geographic region. One of: * `usa` - North America. * `europe` - Europe. * `anzac` - Australia and New Zealand. * `asia` - Asia. * `asia_india` - India. * `asia_southkorea` - South Korea. * `africa_std` - Africa. * `southamerica_std` - South America.
|
179
179
|
# @return [HistoricalFieldResponse]
|
180
180
|
def get_hist_stats_field(opts = {})
|
181
181
|
data, _status_code, _headers = get_hist_stats_field_with_http_info(opts)
|
@@ -188,7 +188,7 @@ module Fastly
|
|
188
188
|
# @option opts [String] :from Timestamp that defines the start of the window for which to fetch statistics, including the timestamp itself. Accepts Unix timestamps, or any form of input parsable by the [Chronic Ruby library](https://github.com/mojombo/chronic), such as 'yesterday', or 'two weeks ago'. Default varies based on the value of `by`.
|
189
189
|
# @option opts [String] :to Timestamp that defines the end of the window for which to fetch statistics. Accepts the same formats as `from`. (default to 'now')
|
190
190
|
# @option opts [String] :by Duration of sample windows. One of: * `hour` - Group data by hour. * `minute` - Group data by minute. * `day` - Group data by day. (default to 'day')
|
191
|
-
# @option opts [String] :region Limit query to a specific geographic region. One of: * `usa` - North America. * `europe` - Europe. * `anzac` - Australia and New Zealand. * `asia` - Asia. * `asia_india` - India. * `asia_southkorea` - South Korea
|
191
|
+
# @option opts [String] :region Limit query to a specific geographic region. One of: * `usa` - North America. * `europe` - Europe. * `anzac` - Australia and New Zealand. * `asia` - Asia. * `asia_india` - India. * `asia_southkorea` - South Korea. * `africa_std` - Africa. * `southamerica_std` - South America.
|
192
192
|
# @return [Array<(HistoricalFieldResponse, Integer, Hash)>] HistoricalFieldResponse data, response status code and response headers
|
193
193
|
def get_hist_stats_field_with_http_info(opts = {})
|
194
194
|
if @api_client.config.debugging
|
@@ -258,7 +258,7 @@ module Fastly
|
|
258
258
|
# @option opts [String] :from Timestamp that defines the start of the window for which to fetch statistics, including the timestamp itself. Accepts Unix timestamps, or any form of input parsable by the [Chronic Ruby library](https://github.com/mojombo/chronic), such as 'yesterday', or 'two weeks ago'. Default varies based on the value of `by`.
|
259
259
|
# @option opts [String] :to Timestamp that defines the end of the window for which to fetch statistics. Accepts the same formats as `from`. (default to 'now')
|
260
260
|
# @option opts [String] :by Duration of sample windows. One of: * `hour` - Group data by hour. * `minute` - Group data by minute. * `day` - Group data by day. (default to 'day')
|
261
|
-
# @option opts [String] :region Limit query to a specific geographic region. One of: * `usa` - North America. * `europe` - Europe. * `anzac` - Australia and New Zealand. * `asia` - Asia. * `asia_india` - India. * `asia_southkorea` - South Korea
|
261
|
+
# @option opts [String] :region Limit query to a specific geographic region. One of: * `usa` - North America. * `europe` - Europe. * `anzac` - Australia and New Zealand. * `asia` - Asia. * `asia_india` - India. * `asia_southkorea` - South Korea. * `africa_std` - Africa. * `southamerica_std` - South America.
|
262
262
|
# @return [HistoricalAggregateResponse]
|
263
263
|
def get_hist_stats_service(opts = {})
|
264
264
|
data, _status_code, _headers = get_hist_stats_service_with_http_info(opts)
|
@@ -271,7 +271,7 @@ module Fastly
|
|
271
271
|
# @option opts [String] :from Timestamp that defines the start of the window for which to fetch statistics, including the timestamp itself. Accepts Unix timestamps, or any form of input parsable by the [Chronic Ruby library](https://github.com/mojombo/chronic), such as 'yesterday', or 'two weeks ago'. Default varies based on the value of `by`.
|
272
272
|
# @option opts [String] :to Timestamp that defines the end of the window for which to fetch statistics. Accepts the same formats as `from`. (default to 'now')
|
273
273
|
# @option opts [String] :by Duration of sample windows. One of: * `hour` - Group data by hour. * `minute` - Group data by minute. * `day` - Group data by day. (default to 'day')
|
274
|
-
# @option opts [String] :region Limit query to a specific geographic region. One of: * `usa` - North America. * `europe` - Europe. * `anzac` - Australia and New Zealand. * `asia` - Asia. * `asia_india` - India. * `asia_southkorea` - South Korea
|
274
|
+
# @option opts [String] :region Limit query to a specific geographic region. One of: * `usa` - North America. * `europe` - Europe. * `anzac` - Australia and New Zealand. * `asia` - Asia. * `asia_india` - India. * `asia_southkorea` - South Korea. * `africa_std` - Africa. * `southamerica_std` - South America.
|
275
275
|
# @return [Array<(HistoricalAggregateResponse, Integer, Hash)>] HistoricalAggregateResponse data, response status code and response headers
|
276
276
|
def get_hist_stats_service_with_http_info(opts = {})
|
277
277
|
if @api_client.config.debugging
|
@@ -342,7 +342,7 @@ module Fastly
|
|
342
342
|
# @option opts [String] :from Timestamp that defines the start of the window for which to fetch statistics, including the timestamp itself. Accepts Unix timestamps, or any form of input parsable by the [Chronic Ruby library](https://github.com/mojombo/chronic), such as 'yesterday', or 'two weeks ago'. Default varies based on the value of `by`.
|
343
343
|
# @option opts [String] :to Timestamp that defines the end of the window for which to fetch statistics. Accepts the same formats as `from`. (default to 'now')
|
344
344
|
# @option opts [String] :by Duration of sample windows. One of: * `hour` - Group data by hour. * `minute` - Group data by minute. * `day` - Group data by day. (default to 'day')
|
345
|
-
# @option opts [String] :region Limit query to a specific geographic region. One of: * `usa` - North America. * `europe` - Europe. * `anzac` - Australia and New Zealand. * `asia` - Asia. * `asia_india` - India. * `asia_southkorea` - South Korea
|
345
|
+
# @option opts [String] :region Limit query to a specific geographic region. One of: * `usa` - North America. * `europe` - Europe. * `anzac` - Australia and New Zealand. * `asia` - Asia. * `asia_india` - India. * `asia_southkorea` - South Korea. * `africa_std` - Africa. * `southamerica_std` - South America.
|
346
346
|
# @return [HistoricalFieldAggregateResponse]
|
347
347
|
def get_hist_stats_service_field(opts = {})
|
348
348
|
data, _status_code, _headers = get_hist_stats_service_field_with_http_info(opts)
|
@@ -356,7 +356,7 @@ module Fastly
|
|
356
356
|
# @option opts [String] :from Timestamp that defines the start of the window for which to fetch statistics, including the timestamp itself. Accepts Unix timestamps, or any form of input parsable by the [Chronic Ruby library](https://github.com/mojombo/chronic), such as 'yesterday', or 'two weeks ago'. Default varies based on the value of `by`.
|
357
357
|
# @option opts [String] :to Timestamp that defines the end of the window for which to fetch statistics. Accepts the same formats as `from`. (default to 'now')
|
358
358
|
# @option opts [String] :by Duration of sample windows. One of: * `hour` - Group data by hour. * `minute` - Group data by minute. * `day` - Group data by day. (default to 'day')
|
359
|
-
# @option opts [String] :region Limit query to a specific geographic region. One of: * `usa` - North America. * `europe` - Europe. * `anzac` - Australia and New Zealand. * `asia` - Asia. * `asia_india` - India. * `asia_southkorea` - South Korea
|
359
|
+
# @option opts [String] :region Limit query to a specific geographic region. One of: * `usa` - North America. * `europe` - Europe. * `anzac` - Australia and New Zealand. * `asia` - Asia. * `asia_india` - India. * `asia_southkorea` - South Korea. * `africa_std` - Africa. * `southamerica_std` - South America.
|
360
360
|
# @return [Array<(HistoricalFieldAggregateResponse, Integer, Hash)>] HistoricalFieldAggregateResponse data, response status code and response headers
|
361
361
|
def get_hist_stats_service_field_with_http_info(opts = {})
|
362
362
|
if @api_client.config.debugging
|