fastly 14.0.0 → 15.0.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 +23 -0
- data/Gemfile.lock +1 -1
- data/README.md +13 -11
- data/docs/ApiDiscoveryResponseBodyGetAllServices.md +13 -0
- data/docs/ApiDiscoveryResponseCustomer.md +10 -0
- data/docs/ApiDiscoveryResponseCustomerCustomer.md +11 -0
- data/docs/ApiDiscoveryResponseEnable.md +12 -0
- data/docs/ApiDiscoveryResponseEnabledServices.md +10 -0
- data/docs/ApiDiscoveryResponseLinks.md +10 -0
- data/docs/ApiDiscoveryResponseLinksGetAllServices.md +10 -0
- data/docs/ApiDiscoveryResponseLinksGetAllServicesLinks.md +10 -0
- data/docs/ApiDiscoveryResponseLinksLinks.md +10 -0
- data/docs/ApiDiscoveryResponseProduct.md +10 -0
- data/docs/ApiDiscoveryResponseProductProduct.md +11 -0
- data/docs/ApiDiscoveryResponseService.md +10 -0
- data/docs/{BotManagementResponseServiceService.md → ApiDiscoveryResponseServiceService.md} +1 -1
- data/docs/BotManagementResponseBodyEnable.md +1 -1
- data/docs/BotManagementResponseService.md +1 -1
- data/docs/BrotliCompressionResponseBodyEnable.md +1 -1
- data/docs/BrotliCompressionResponseService.md +1 -1
- data/docs/DdosProtectionApi.md +2 -0
- data/docs/DdosProtectionResponseConfigure.md +1 -1
- data/docs/DdosProtectionResponseEnable.md +1 -1
- data/docs/DdosProtectionResponseService.md +1 -1
- data/docs/DdosProtectionRuleWithStats.md +23 -0
- data/docs/DdosProtectionRuleWithStatsAllOf.md +10 -0
- data/docs/DdosProtectionTrafficStats.md +1 -0
- data/docs/DdosProtectionTrafficStatsAllOf.md +1 -0
- data/docs/DmDomainsApi.md +220 -0
- data/docs/DomainInspectorResponseBodyEnable.md +1 -1
- data/docs/DomainInspectorResponseService.md +1 -1
- data/docs/DomainOwnershipsApi.md +2 -2
- data/docs/FanoutResponseBodyEnable.md +1 -1
- data/docs/FanoutResponseService.md +1 -1
- data/docs/Healthcheck.md +1 -1
- data/docs/HealthcheckApi.md +4 -4
- data/docs/HealthcheckResponse.md +1 -1
- data/docs/IamRolesApi.md +23 -253
- data/docs/IamV1RoleListResponse.md +12 -0
- data/docs/IamV1RoleResponse.md +13 -0
- data/docs/ImageOptimizerResponseBodyEnable.md +1 -1
- data/docs/ImageOptimizerResponseService.md +1 -1
- data/docs/InlineResponse20010.md +10 -0
- data/docs/InlineResponse2003.md +2 -2
- data/docs/InlineResponse2004.md +2 -1
- data/docs/InlineResponse2005.md +1 -2
- data/docs/InlineResponse2006.md +1 -1
- data/docs/InlineResponse2007.md +1 -1
- data/docs/InlineResponse2008.md +1 -1
- data/docs/InlineResponse2009.md +2 -1
- data/docs/InvitationDataAttributes.md +1 -0
- data/docs/KvStoreApi.md +2 -2
- data/docs/KvStoreItemApi.md +2 -2
- data/docs/LogExplorerInsightsResponseBodyEnable.md +1 -1
- data/docs/LogExplorerInsightsResponseService.md +1 -1
- data/docs/LoggingHttpsAdditional.md +1 -0
- data/docs/LoggingHttpsApi.md +4 -0
- data/docs/LoggingHttpsResponse.md +1 -0
- data/docs/NgwafResponseConfigure.md +1 -1
- data/docs/NgwafResponseEnable.md +1 -1
- data/docs/NgwafResponseService.md +1 -1
- data/docs/OriginInspectorResponseBodyEnable.md +1 -1
- data/docs/OriginInspectorResponseService.md +1 -1
- data/docs/ProductApiDiscoveryApi.md +163 -0
- data/docs/RealtimeEntryAggregated.md +1 -0
- data/docs/RealtimeMeasurements.md +1 -0
- data/docs/RequestBodyForCreate.md +12 -0
- data/docs/RequestBodyForUpdate.md +11 -0
- data/docs/Results.md +1 -0
- data/docs/SchemasUserResponse.md +1 -0
- data/docs/SecretStoreApi.md +2 -2
- data/docs/SecretStoreItemApi.md +2 -2
- data/docs/ServiceAuthorizationsApi.md +2 -2
- data/docs/SuccessfulResponseAsObject.md +17 -0
- data/docs/SuccessfulResponseAsObjectAllOf.md +15 -0
- data/docs/User.md +1 -0
- data/docs/UserApi.md +4 -0
- data/docs/UserResponse.md +1 -0
- data/docs/WebsocketsResponseBodyEnable.md +1 -1
- data/docs/WebsocketsResponseService.md +1 -1
- data/lib/fastly/api/ddos_protection_api.rb +3 -0
- data/lib/fastly/api/dm_domains_api.rb +362 -0
- data/lib/fastly/api/domain_ownerships_api.rb +3 -3
- data/lib/fastly/api/healthcheck_api.rb +20 -4
- data/lib/fastly/api/iam_roles_api.rb +43 -435
- data/lib/fastly/api/kv_store_api.rb +3 -3
- data/lib/fastly/api/kv_store_item_api.rb +3 -3
- data/lib/fastly/api/logging_https_api.rb +6 -0
- data/lib/fastly/api/product_api_discovery_api.rb +263 -0
- data/lib/fastly/api/secret_store_api.rb +3 -3
- data/lib/fastly/api/secret_store_item_api.rb +3 -3
- data/lib/fastly/api/service_authorizations_api.rb +3 -3
- data/lib/fastly/api/user_api.rb +6 -0
- data/lib/fastly/configuration.rb +56 -38
- data/lib/fastly/models/api_discovery_response_body_get_all_services.rb +256 -0
- data/lib/fastly/models/api_discovery_response_customer.rb +216 -0
- data/lib/fastly/models/api_discovery_response_customer_customer.rb +227 -0
- data/lib/fastly/models/api_discovery_response_enable.rb +243 -0
- data/lib/fastly/models/api_discovery_response_enabled_services.rb +219 -0
- data/lib/fastly/models/api_discovery_response_links.rb +216 -0
- data/lib/fastly/models/api_discovery_response_links_get_all_services.rb +216 -0
- data/lib/fastly/models/api_discovery_response_links_get_all_services_links.rb +217 -0
- data/lib/fastly/models/api_discovery_response_links_links.rb +217 -0
- data/lib/fastly/models/api_discovery_response_product.rb +216 -0
- data/lib/fastly/models/api_discovery_response_product_product.rb +227 -0
- data/lib/fastly/models/api_discovery_response_service.rb +216 -0
- data/lib/fastly/models/{bot_management_response_service_service.rb → api_discovery_response_service_service.rb} +3 -3
- data/lib/fastly/models/bot_management_response_body_enable.rb +1 -1
- data/lib/fastly/models/bot_management_response_service.rb +1 -1
- data/lib/fastly/models/brotli_compression_response_body_enable.rb +1 -1
- data/lib/fastly/models/brotli_compression_response_service.rb +1 -1
- data/lib/fastly/models/ddos_protection_response_configure.rb +1 -1
- data/lib/fastly/models/ddos_protection_response_enable.rb +1 -1
- data/lib/fastly/models/ddos_protection_response_service.rb +1 -1
- data/lib/fastly/models/ddos_protection_rule_with_stats.rb +365 -0
- data/lib/fastly/models/ddos_protection_rule_with_stats_all_of.rb +216 -0
- data/lib/fastly/models/ddos_protection_traffic_stats.rb +20 -4
- data/lib/fastly/models/ddos_protection_traffic_stats_all_of.rb +20 -4
- data/lib/fastly/models/domain_inspector_response_body_enable.rb +1 -1
- data/lib/fastly/models/domain_inspector_response_service.rb +1 -1
- data/lib/fastly/models/fanout_response_body_enable.rb +1 -1
- data/lib/fastly/models/fanout_response_service.rb +1 -1
- data/lib/fastly/models/healthcheck.rb +25 -1
- data/lib/fastly/models/healthcheck_response.rb +25 -1
- data/lib/fastly/models/iam_v1_role_list_response.rb +240 -0
- data/lib/fastly/models/{iam_role_all_of.rb → iam_v1_role_response.rb} +14 -34
- data/lib/fastly/models/image_optimizer_response_body_enable.rb +1 -1
- data/lib/fastly/models/image_optimizer_response_service.rb +1 -1
- data/lib/fastly/models/inline_response20010.rb +218 -0
- data/lib/fastly/models/inline_response2003.rb +11 -1
- data/lib/fastly/models/inline_response2004.rb +20 -8
- data/lib/fastly/models/inline_response2005.rb +8 -18
- data/lib/fastly/models/inline_response2006.rb +1 -1
- data/lib/fastly/models/inline_response2007.rb +1 -1
- data/lib/fastly/models/inline_response2008.rb +1 -1
- data/lib/fastly/models/inline_response2009.rb +13 -4
- data/lib/fastly/models/invitation_data_attributes.rb +12 -1
- data/lib/fastly/models/log_explorer_insights_response_body_enable.rb +1 -1
- data/lib/fastly/models/log_explorer_insights_response_service.rb +1 -1
- data/lib/fastly/models/logging_https_additional.rb +16 -4
- data/lib/fastly/models/logging_https_response.rb +13 -1
- data/lib/fastly/models/ngwaf_response_configure.rb +1 -1
- data/lib/fastly/models/ngwaf_response_enable.rb +1 -1
- data/lib/fastly/models/ngwaf_response_service.rb +1 -1
- data/lib/fastly/models/origin_inspector_response_body_enable.rb +1 -1
- data/lib/fastly/models/origin_inspector_response_service.rb +1 -1
- data/lib/fastly/models/realtime_entry_aggregated.rb +14 -4
- data/lib/fastly/models/realtime_measurements.rb +14 -4
- data/lib/fastly/models/request_body_for_create.rb +244 -0
- data/lib/fastly/models/request_body_for_update.rb +229 -0
- data/lib/fastly/models/results.rb +11 -1
- data/lib/fastly/models/role_user.rb +2 -0
- data/lib/fastly/models/schemas_user_response.rb +13 -1
- data/lib/fastly/models/{iam_role.rb → successful_response_as_object.rb} +37 -35
- data/lib/fastly/models/successful_response_as_object_all_of.rb +268 -0
- data/lib/fastly/models/user.rb +13 -1
- data/lib/fastly/models/user_response.rb +13 -1
- data/lib/fastly/models/websockets_response_body_enable.rb +1 -1
- data/lib/fastly/models/websockets_response_service.rb +1 -1
- data/lib/fastly/version.rb +1 -1
- data/lib/fastly.rb +24 -3
- data/sig.json +1 -1
- metadata +50 -8
- data/docs/IamRole.md +0 -17
- data/docs/IamRoleAllOf.md +0 -15
data/docs/LoggingHttpsApi.md
CHANGED
|
@@ -54,6 +54,7 @@ opts = {
|
|
|
54
54
|
header_value: 'header_value_example', # String | Value of the custom header sent with the request.
|
|
55
55
|
method: 'POST', # String | HTTP method used for request.
|
|
56
56
|
json_format: '0', # String | Enforces valid JSON formatting for log entries.
|
|
57
|
+
period: 56, # Integer | How frequently, in seconds, batches of log data are sent to the HTTPS endpoint. A value of `0` sends logs at the same interval as the default, which is `5` seconds.
|
|
57
58
|
}
|
|
58
59
|
|
|
59
60
|
begin
|
|
@@ -90,6 +91,7 @@ end
|
|
|
90
91
|
| **header_value** | **String** | Value of the custom header sent with the request. | [optional][default to 'null'] |
|
|
91
92
|
| **method** | **String** | HTTP method used for request. | [optional][default to 'POST'] |
|
|
92
93
|
| **json_format** | **String** | Enforces valid JSON formatting for log entries. | [optional] |
|
|
94
|
+
| **period** | **Integer** | How frequently, in seconds, batches of log data are sent to the HTTPS endpoint. A value of `0` sends logs at the same interval as the default, which is `5` seconds. | [optional][default to 5] |
|
|
93
95
|
|
|
94
96
|
### Return type
|
|
95
97
|
|
|
@@ -253,6 +255,7 @@ opts = {
|
|
|
253
255
|
header_value: 'header_value_example', # String | Value of the custom header sent with the request.
|
|
254
256
|
method: 'POST', # String | HTTP method used for request.
|
|
255
257
|
json_format: '0', # String | Enforces valid JSON formatting for log entries.
|
|
258
|
+
period: 56, # Integer | How frequently, in seconds, batches of log data are sent to the HTTPS endpoint. A value of `0` sends logs at the same interval as the default, which is `5` seconds.
|
|
256
259
|
}
|
|
257
260
|
|
|
258
261
|
begin
|
|
@@ -290,6 +293,7 @@ end
|
|
|
290
293
|
| **header_value** | **String** | Value of the custom header sent with the request. | [optional][default to 'null'] |
|
|
291
294
|
| **method** | **String** | HTTP method used for request. | [optional][default to 'POST'] |
|
|
292
295
|
| **json_format** | **String** | Enforces valid JSON formatting for log entries. | [optional] |
|
|
296
|
+
| **period** | **Integer** | How frequently, in seconds, batches of log data are sent to the HTTPS endpoint. A value of `0` sends logs at the same interval as the default, which is `5` seconds. | [optional][default to 5] |
|
|
293
297
|
|
|
294
298
|
### Return type
|
|
295
299
|
|
|
@@ -23,6 +23,7 @@
|
|
|
23
23
|
| **header_value** | **String** | Value of the custom header sent with the request. | [optional][default to 'null'] |
|
|
24
24
|
| **method** | **String** | HTTP method used for request. | [optional][default to 'POST'] |
|
|
25
25
|
| **json_format** | **String** | Enforces valid JSON formatting for log entries. | [optional] |
|
|
26
|
+
| **period** | **Integer** | How frequently, in seconds, batches of log data are sent to the HTTPS endpoint. A value of `0` sends logs at the same interval as the default, which is `5` seconds. | [optional][default to 5] |
|
|
26
27
|
| **created_at** | **Time** | Date and time in ISO 8601 format. | [optional][readonly] |
|
|
27
28
|
| **deleted_at** | **Time** | Date and time in ISO 8601 format. | [optional][readonly] |
|
|
28
29
|
| **updated_at** | **Time** | Date and time in ISO 8601 format. | [optional][readonly] |
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **product** | [**NgwafResponseProductProduct**](NgwafResponseProductProduct.md) | | [optional] |
|
|
8
|
-
| **service** | [**
|
|
8
|
+
| **service** | [**ApiDiscoveryResponseServiceService**](ApiDiscoveryResponseServiceService.md) | | [optional] |
|
|
9
9
|
| **configuration** | [**NgwafResponseConfigurationConfiguration**](NgwafResponseConfigurationConfiguration.md) | | [optional] |
|
|
10
10
|
| **_links** | [**NgwafResponseLinksLinks**](NgwafResponseLinksLinks.md) | | [optional] |
|
|
11
11
|
|
data/docs/NgwafResponseEnable.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **product** | [**NgwafResponseProductProduct**](NgwafResponseProductProduct.md) | | [optional] |
|
|
8
|
-
| **service** | [**
|
|
8
|
+
| **service** | [**ApiDiscoveryResponseServiceService**](ApiDiscoveryResponseServiceService.md) | | [optional] |
|
|
9
9
|
| **_links** | [**NgwafResponseLinksLinks**](NgwafResponseLinksLinks.md) | | [optional] |
|
|
10
10
|
|
|
11
11
|
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **service** | [**
|
|
7
|
+
| **service** | [**ApiDiscoveryResponseServiceService**](ApiDiscoveryResponseServiceService.md) | | [optional] |
|
|
8
8
|
|
|
9
9
|
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
|
10
10
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **product** | [**OriginInspectorResponseProductProduct**](OriginInspectorResponseProductProduct.md) | | [optional] |
|
|
8
|
-
| **service** | [**
|
|
8
|
+
| **service** | [**ApiDiscoveryResponseServiceService**](ApiDiscoveryResponseServiceService.md) | | [optional] |
|
|
9
9
|
| **_links** | [**OriginInspectorResponseLinksLinks**](OriginInspectorResponseLinksLinks.md) | | [optional] |
|
|
10
10
|
|
|
11
11
|
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **service** | [**
|
|
7
|
+
| **service** | [**ApiDiscoveryResponseServiceService**](ApiDiscoveryResponseServiceService.md) | | [optional] |
|
|
8
8
|
|
|
9
9
|
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
|
10
10
|
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
# Fastly::ProductApiDiscoveryApi
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
```ruby
|
|
5
|
+
require 'fastly'
|
|
6
|
+
api_instance = Fastly::ProductApiDiscoveryApi.new
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
## Methods
|
|
10
|
+
|
|
11
|
+
> [!NOTE]
|
|
12
|
+
> All URIs are relative to `https://api.fastly.com`
|
|
13
|
+
|
|
14
|
+
Method | HTTP request | Description
|
|
15
|
+
------ | ------------ | -----------
|
|
16
|
+
[**disable_product_api_discovery**](ProductApiDiscoveryApi.md#disable_product_api_discovery) | **DELETE** /enabled-products/v1/api_discovery/services/{service_id} | Disable product
|
|
17
|
+
[**enable_product_api_discovery**](ProductApiDiscoveryApi.md#enable_product_api_discovery) | **PUT** /enabled-products/v1/api_discovery/services/{service_id} | Enable product
|
|
18
|
+
[**get_product_api_discovery**](ProductApiDiscoveryApi.md#get_product_api_discovery) | **GET** /enabled-products/v1/api_discovery/services/{service_id} | Get product enablement status
|
|
19
|
+
[**get_services_product_api_discovery**](ProductApiDiscoveryApi.md#get_services_product_api_discovery) | **GET** /enabled-products/v1/api_discovery/services | Get services with product enabled
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
## `disable_product_api_discovery()`
|
|
23
|
+
|
|
24
|
+
```ruby
|
|
25
|
+
disable_product_api_discovery(opts) # Disable product
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
Disable the API Discovery product on a service.
|
|
29
|
+
|
|
30
|
+
### Examples
|
|
31
|
+
|
|
32
|
+
```ruby
|
|
33
|
+
api_instance = Fastly::ProductApiDiscoveryApi.new
|
|
34
|
+
opts = {
|
|
35
|
+
service_id: 'service_id_example', # String | Alphanumeric string identifying the service.
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
begin
|
|
39
|
+
# Disable product
|
|
40
|
+
api_instance.disable_product_api_discovery(opts)
|
|
41
|
+
rescue Fastly::ApiError => e
|
|
42
|
+
puts "Error when calling ProductApiDiscoveryApi->disable_product_api_discovery: #{e}"
|
|
43
|
+
end
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
### Options
|
|
47
|
+
|
|
48
|
+
| Name | Type | Description | Notes |
|
|
49
|
+
| ---- | ---- | ----------- | ----- |
|
|
50
|
+
| **service_id** | **String** | Alphanumeric string identifying the service. | |
|
|
51
|
+
|
|
52
|
+
### Return type
|
|
53
|
+
|
|
54
|
+
nil (empty response body)
|
|
55
|
+
|
|
56
|
+
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
|
|
57
|
+
[[Back to README]](../../README.md)
|
|
58
|
+
## `enable_product_api_discovery()`
|
|
59
|
+
|
|
60
|
+
```ruby
|
|
61
|
+
enable_product_api_discovery(opts): <ApiDiscoveryResponseEnable> # Enable product
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
Enable the API Discovery product on a service.
|
|
65
|
+
|
|
66
|
+
### Examples
|
|
67
|
+
|
|
68
|
+
```ruby
|
|
69
|
+
api_instance = Fastly::ProductApiDiscoveryApi.new
|
|
70
|
+
opts = {
|
|
71
|
+
service_id: 'service_id_example', # String | Alphanumeric string identifying the service.
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
begin
|
|
75
|
+
# Enable product
|
|
76
|
+
result = api_instance.enable_product_api_discovery(opts)
|
|
77
|
+
p result
|
|
78
|
+
rescue Fastly::ApiError => e
|
|
79
|
+
puts "Error when calling ProductApiDiscoveryApi->enable_product_api_discovery: #{e}"
|
|
80
|
+
end
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
### Options
|
|
84
|
+
|
|
85
|
+
| Name | Type | Description | Notes |
|
|
86
|
+
| ---- | ---- | ----------- | ----- |
|
|
87
|
+
| **service_id** | **String** | Alphanumeric string identifying the service. | |
|
|
88
|
+
|
|
89
|
+
### Return type
|
|
90
|
+
|
|
91
|
+
[**ApiDiscoveryResponseEnable**](ApiDiscoveryResponseEnable.md)
|
|
92
|
+
|
|
93
|
+
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
|
|
94
|
+
[[Back to README]](../../README.md)
|
|
95
|
+
## `get_product_api_discovery()`
|
|
96
|
+
|
|
97
|
+
```ruby
|
|
98
|
+
get_product_api_discovery(opts): <ApiDiscoveryResponseEnable> # Get product enablement status
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
Get the enablement status of the API Discovery product on a service.
|
|
102
|
+
|
|
103
|
+
### Examples
|
|
104
|
+
|
|
105
|
+
```ruby
|
|
106
|
+
api_instance = Fastly::ProductApiDiscoveryApi.new
|
|
107
|
+
opts = {
|
|
108
|
+
service_id: 'service_id_example', # String | Alphanumeric string identifying the service.
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
begin
|
|
112
|
+
# Get product enablement status
|
|
113
|
+
result = api_instance.get_product_api_discovery(opts)
|
|
114
|
+
p result
|
|
115
|
+
rescue Fastly::ApiError => e
|
|
116
|
+
puts "Error when calling ProductApiDiscoveryApi->get_product_api_discovery: #{e}"
|
|
117
|
+
end
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
### Options
|
|
121
|
+
|
|
122
|
+
| Name | Type | Description | Notes |
|
|
123
|
+
| ---- | ---- | ----------- | ----- |
|
|
124
|
+
| **service_id** | **String** | Alphanumeric string identifying the service. | |
|
|
125
|
+
|
|
126
|
+
### Return type
|
|
127
|
+
|
|
128
|
+
[**ApiDiscoveryResponseEnable**](ApiDiscoveryResponseEnable.md)
|
|
129
|
+
|
|
130
|
+
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
|
|
131
|
+
[[Back to README]](../../README.md)
|
|
132
|
+
## `get_services_product_api_discovery()`
|
|
133
|
+
|
|
134
|
+
```ruby
|
|
135
|
+
get_services_product_api_discovery: <ApiDiscoveryResponseBodyGetAllServices> # Get services with product enabled
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
Get all the services for a customer that has the API Discovery product enabled.
|
|
139
|
+
|
|
140
|
+
### Examples
|
|
141
|
+
|
|
142
|
+
```ruby
|
|
143
|
+
api_instance = Fastly::ProductApiDiscoveryApi.new
|
|
144
|
+
|
|
145
|
+
begin
|
|
146
|
+
# Get services with product enabled
|
|
147
|
+
result = api_instance.get_services_product_api_discovery
|
|
148
|
+
p result
|
|
149
|
+
rescue Fastly::ApiError => e
|
|
150
|
+
puts "Error when calling ProductApiDiscoveryApi->get_services_product_api_discovery: #{e}"
|
|
151
|
+
end
|
|
152
|
+
```
|
|
153
|
+
|
|
154
|
+
### Options
|
|
155
|
+
|
|
156
|
+
This endpoint does not need any parameter.
|
|
157
|
+
|
|
158
|
+
### Return type
|
|
159
|
+
|
|
160
|
+
[**ApiDiscoveryResponseBodyGetAllServices**](ApiDiscoveryResponseBodyGetAllServices.md)
|
|
161
|
+
|
|
162
|
+
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
|
|
163
|
+
[[Back to README]](../../README.md)
|
|
@@ -265,6 +265,7 @@
|
|
|
265
265
|
| **request_collapse_usable_count** | **Integer** | Number of requests that were collapsed and satisfied by a usable cache object. | [optional] |
|
|
266
266
|
| **request_collapse_unusable_count** | **Integer** | Number of requests that were collapsed and unable to be satisfied by the resulting cache object. | [optional] |
|
|
267
267
|
| **compute_cache_operations_count** | **Integer** | Number of cache operations executed by the Compute platform. | [optional] |
|
|
268
|
+
| **api_discovery_requests_count** | **Integer** | Number of requests processed by the API Discovery engine. | [optional] |
|
|
268
269
|
|
|
269
270
|
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
|
270
271
|
|
|
@@ -265,6 +265,7 @@
|
|
|
265
265
|
| **request_collapse_usable_count** | **Integer** | Number of requests that were collapsed and satisfied by a usable cache object. | [optional] |
|
|
266
266
|
| **request_collapse_unusable_count** | **Integer** | Number of requests that were collapsed and unable to be satisfied by the resulting cache object. | [optional] |
|
|
267
267
|
| **compute_cache_operations_count** | **Integer** | Number of cache operations executed by the Compute platform. | [optional] |
|
|
268
|
+
| **api_discovery_requests_count** | **Integer** | Number of requests processed by the API Discovery engine. | [optional] |
|
|
268
269
|
|
|
269
270
|
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
|
270
271
|
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# Fastly::RequestBodyForCreate
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **fqdn** | **String** | The fully-qualified domain name for your domain. Can be created, but not updated. | |
|
|
8
|
+
| **service_id** | **String** | The `service_id` associated with your domain or `null` if there is no association. | [optional] |
|
|
9
|
+
| **description** | **String** | A freeform descriptive note. | [optional] |
|
|
10
|
+
|
|
11
|
+
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
|
12
|
+
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# Fastly::RequestBodyForUpdate
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **service_id** | **String** | The `service_id` associated with your domain or `null` if there is no association. | [optional] |
|
|
8
|
+
| **description** | **String** | A freeform descriptive note. | [optional] |
|
|
9
|
+
|
|
10
|
+
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
|
11
|
+
|
data/docs/Results.md
CHANGED
|
@@ -272,6 +272,7 @@
|
|
|
272
272
|
| **ngwaf_requests_blocked_count** | **Integer** | Count of Next-Gen WAF (Edge WAF & Core WAF) requests blocked. | [optional] |
|
|
273
273
|
| **ngwaf_requests_timeout_count** | **Integer** | Count of Edge WAF requests timed outcome. | [optional] |
|
|
274
274
|
| **ngwaf_requests_challenged_count** | **Integer** | Count of Edge WAF requests challenged. | [optional] |
|
|
275
|
+
| **api_discovery_requests_count** | **Integer** | Number of requests processed by the API Discovery engine. | [optional] |
|
|
275
276
|
| **service_id** | **String** | | [optional][readonly] |
|
|
276
277
|
| **start_time** | **Integer** | Timestamp for the start of the time period being reported | [optional] |
|
|
277
278
|
|
data/docs/SchemasUserResponse.md
CHANGED
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
| **locked** | **Boolean** | Indicates whether the is account is locked for editing or not. | [optional] |
|
|
11
11
|
| **require_new_password** | **Boolean** | Indicates if a new password is required at next login. | [optional] |
|
|
12
12
|
| **role** | [**RoleUser**](RoleUser.md) | | [optional] |
|
|
13
|
+
| **roles** | **Array<String>** | A list of role IDs assigned to the user. | [optional] |
|
|
13
14
|
| **two_factor_auth_enabled** | **Boolean** | Indicates if 2FA is enabled on the user. | [optional] |
|
|
14
15
|
| **two_factor_setup_required** | **Boolean** | Indicates if 2FA is required by the user's customer account. | [optional] |
|
|
15
16
|
| **created_at** | **Time** | Date and time in ISO 8601 format. | [optional][readonly] |
|
data/docs/SecretStoreApi.md
CHANGED
|
@@ -166,7 +166,7 @@ end
|
|
|
166
166
|
## `get_secret_stores()`
|
|
167
167
|
|
|
168
168
|
```ruby
|
|
169
|
-
get_secret_stores(opts): <
|
|
169
|
+
get_secret_stores(opts): <InlineResponse2008> # Get all secret stores
|
|
170
170
|
```
|
|
171
171
|
|
|
172
172
|
Get all secret stores.
|
|
@@ -200,7 +200,7 @@ end
|
|
|
200
200
|
|
|
201
201
|
### Return type
|
|
202
202
|
|
|
203
|
-
[**
|
|
203
|
+
[**InlineResponse2008**](InlineResponse2008.md)
|
|
204
204
|
|
|
205
205
|
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
|
|
206
206
|
[[Back to README]](../../README.md)
|
data/docs/SecretStoreItemApi.md
CHANGED
|
@@ -140,7 +140,7 @@ end
|
|
|
140
140
|
## `get_secrets()`
|
|
141
141
|
|
|
142
142
|
```ruby
|
|
143
|
-
get_secrets(opts): <
|
|
143
|
+
get_secrets(opts): <InlineResponse2009> # List secrets within a store.
|
|
144
144
|
```
|
|
145
145
|
|
|
146
146
|
List all secrets within a store.
|
|
@@ -174,7 +174,7 @@ end
|
|
|
174
174
|
|
|
175
175
|
### Return type
|
|
176
176
|
|
|
177
|
-
[**
|
|
177
|
+
[**InlineResponse2009**](InlineResponse2009.md)
|
|
178
178
|
|
|
179
179
|
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
|
|
180
180
|
[[Back to README]](../../README.md)
|
|
@@ -98,7 +98,7 @@ nil (empty response body)
|
|
|
98
98
|
## `delete_service_authorization2()`
|
|
99
99
|
|
|
100
100
|
```ruby
|
|
101
|
-
delete_service_authorization2(opts): <
|
|
101
|
+
delete_service_authorization2(opts): <InlineResponse20010> # Delete service authorizations
|
|
102
102
|
```
|
|
103
103
|
|
|
104
104
|
Delete service authorizations.
|
|
@@ -128,7 +128,7 @@ end
|
|
|
128
128
|
|
|
129
129
|
### Return type
|
|
130
130
|
|
|
131
|
-
[**
|
|
131
|
+
[**InlineResponse20010**](InlineResponse20010.md)
|
|
132
132
|
|
|
133
133
|
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
|
|
134
134
|
[[Back to README]](../../README.md)
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# Fastly::SuccessfulResponseAsObject
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **created_at** | **Time** | Date and time in ISO 8601 format. | [optional][readonly] |
|
|
8
|
+
| **updated_at** | **Time** | Date and time in ISO 8601 format. | [optional][readonly] |
|
|
9
|
+
| **id** | **String** | Domain Identifier (UUID). | [optional] |
|
|
10
|
+
| **fqdn** | **String** | The fully-qualified domain name for your domain. Can be created, but not updated. | [optional] |
|
|
11
|
+
| **service_id** | **String** | The `service_id` associated with your domain or `null` if there is no association. | [optional] |
|
|
12
|
+
| **description** | **String** | A freeform descriptive note. | [optional] |
|
|
13
|
+
| **activated** | **Boolean** | Denotes if the domain has at least one TLS activation or not. | [optional][readonly] |
|
|
14
|
+
| **verified** | **Boolean** | Denotes that the customer has proven ownership over the domain by obtaining a Fastly-managed TLS certificate for it or by providing a their own TLS certificate from a publicly-trusted CA that includes the domain or matching wildcard. | [optional][readonly] |
|
|
15
|
+
|
|
16
|
+
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
|
17
|
+
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# Fastly::SuccessfulResponseAsObjectAllOf
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **id** | **String** | Domain Identifier (UUID). | [optional] |
|
|
8
|
+
| **fqdn** | **String** | The fully-qualified domain name for your domain. Can be created, but not updated. | [optional] |
|
|
9
|
+
| **service_id** | **String** | The `service_id` associated with your domain or `null` if there is no association. | [optional] |
|
|
10
|
+
| **description** | **String** | A freeform descriptive note. | [optional] |
|
|
11
|
+
| **activated** | **Boolean** | Denotes if the domain has at least one TLS activation or not. | [optional][readonly] |
|
|
12
|
+
| **verified** | **Boolean** | Denotes that the customer has proven ownership over the domain by obtaining a Fastly-managed TLS certificate for it or by providing a their own TLS certificate from a publicly-trusted CA that includes the domain or matching wildcard. | [optional][readonly] |
|
|
13
|
+
|
|
14
|
+
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
|
15
|
+
|
data/docs/User.md
CHANGED
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
| **locked** | **Boolean** | Indicates whether the is account is locked for editing or not. | [optional] |
|
|
11
11
|
| **require_new_password** | **Boolean** | Indicates if a new password is required at next login. | [optional] |
|
|
12
12
|
| **role** | [**RoleUser**](RoleUser.md) | | [optional] |
|
|
13
|
+
| **roles** | **Array<String>** | A list of role IDs assigned to the user. | [optional] |
|
|
13
14
|
| **two_factor_auth_enabled** | **Boolean** | Indicates if 2FA is enabled on the user. | [optional] |
|
|
14
15
|
| **two_factor_setup_required** | **Boolean** | Indicates if 2FA is required by the user's customer account. | [optional] |
|
|
15
16
|
|
data/docs/UserApi.md
CHANGED
|
@@ -41,6 +41,7 @@ opts = {
|
|
|
41
41
|
locked: true, # Boolean | Indicates whether the is account is locked for editing or not.
|
|
42
42
|
require_new_password: true, # Boolean | Indicates if a new password is required at next login.
|
|
43
43
|
role: Fastly::RoleUser::USER, # RoleUser |
|
|
44
|
+
roles: ['6bKsDElwPt8vZXCArszK9x'], # Array<String> | A list of role IDs assigned to the user.
|
|
44
45
|
two_factor_auth_enabled: true, # Boolean | Indicates if 2FA is enabled on the user.
|
|
45
46
|
two_factor_setup_required: true, # Boolean | Indicates if 2FA is required by the user's customer account.
|
|
46
47
|
}
|
|
@@ -64,6 +65,7 @@ end
|
|
|
64
65
|
| **locked** | **Boolean** | Indicates whether the is account is locked for editing or not. | [optional] |
|
|
65
66
|
| **require_new_password** | **Boolean** | Indicates if a new password is required at next login. | [optional] |
|
|
66
67
|
| **role** | [**RoleUser**](RoleUser.md) | | [optional] |
|
|
68
|
+
| **roles** | [**Array<String>**](String.md) | A list of role IDs assigned to the user. | [optional] |
|
|
67
69
|
| **two_factor_auth_enabled** | **Boolean** | Indicates if 2FA is enabled on the user. | [optional] |
|
|
68
70
|
| **two_factor_setup_required** | **Boolean** | Indicates if 2FA is required by the user's customer account. | [optional] |
|
|
69
71
|
|
|
@@ -236,6 +238,7 @@ opts = {
|
|
|
236
238
|
locked: true, # Boolean | Indicates whether the is account is locked for editing or not.
|
|
237
239
|
require_new_password: true, # Boolean | Indicates if a new password is required at next login.
|
|
238
240
|
role: Fastly::RoleUser::USER, # RoleUser |
|
|
241
|
+
roles: ['6bKsDElwPt8vZXCArszK9x'], # Array<String> | A list of role IDs assigned to the user.
|
|
239
242
|
two_factor_auth_enabled: true, # Boolean | Indicates if 2FA is enabled on the user.
|
|
240
243
|
two_factor_setup_required: true, # Boolean | Indicates if 2FA is required by the user's customer account.
|
|
241
244
|
}
|
|
@@ -260,6 +263,7 @@ end
|
|
|
260
263
|
| **locked** | **Boolean** | Indicates whether the is account is locked for editing or not. | [optional] |
|
|
261
264
|
| **require_new_password** | **Boolean** | Indicates if a new password is required at next login. | [optional] |
|
|
262
265
|
| **role** | [**RoleUser**](RoleUser.md) | | [optional] |
|
|
266
|
+
| **roles** | [**Array<String>**](String.md) | A list of role IDs assigned to the user. | [optional] |
|
|
263
267
|
| **two_factor_auth_enabled** | **Boolean** | Indicates if 2FA is enabled on the user. | [optional] |
|
|
264
268
|
| **two_factor_setup_required** | **Boolean** | Indicates if 2FA is required by the user's customer account. | [optional] |
|
|
265
269
|
|
data/docs/UserResponse.md
CHANGED
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
| **locked** | **Boolean** | Indicates whether the is account is locked for editing or not. | [optional] |
|
|
11
11
|
| **require_new_password** | **Boolean** | Indicates if a new password is required at next login. | [optional] |
|
|
12
12
|
| **role** | [**RoleUser**](RoleUser.md) | | [optional] |
|
|
13
|
+
| **roles** | **Array<String>** | A list of role IDs assigned to the user. | [optional] |
|
|
13
14
|
| **two_factor_auth_enabled** | **Boolean** | Indicates if 2FA is enabled on the user. | [optional] |
|
|
14
15
|
| **two_factor_setup_required** | **Boolean** | Indicates if 2FA is required by the user's customer account. | [optional] |
|
|
15
16
|
| **created_at** | **Time** | Date and time in ISO 8601 format. | [optional][readonly] |
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **product** | [**WebsocketsResponseProductProduct**](WebsocketsResponseProductProduct.md) | | [optional] |
|
|
8
|
-
| **service** | [**
|
|
8
|
+
| **service** | [**ApiDiscoveryResponseServiceService**](ApiDiscoveryResponseServiceService.md) | | [optional] |
|
|
9
9
|
| **_links** | [**WebsocketsResponseLinksLinks**](WebsocketsResponseLinksLinks.md) | | [optional] |
|
|
10
10
|
|
|
11
11
|
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **service** | [**
|
|
7
|
+
| **service** | [**ApiDiscoveryResponseServiceService**](ApiDiscoveryResponseServiceService.md) | | [optional] |
|
|
8
8
|
|
|
9
9
|
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
|
10
10
|
|
|
@@ -163,6 +163,7 @@ module Fastly
|
|
|
163
163
|
# @option opts [String] :event_id Unique ID of the event. (required)
|
|
164
164
|
# @option opts [String] :cursor Cursor value from the `next_cursor` field of a previous response, used to retrieve the next page. To request the first page, this should be empty.
|
|
165
165
|
# @option opts [Integer] :limit Limit how many results are returned. (default to 20)
|
|
166
|
+
# @option opts [String] :include Include relationships. Optional. Comma-separated values.
|
|
166
167
|
# @return [InlineResponse2003]
|
|
167
168
|
def ddos_protection_event_rule_list(opts = {})
|
|
168
169
|
data, _status_code, _headers = ddos_protection_event_rule_list_with_http_info(opts)
|
|
@@ -174,6 +175,7 @@ module Fastly
|
|
|
174
175
|
# @option opts [String] :event_id Unique ID of the event. (required)
|
|
175
176
|
# @option opts [String] :cursor Cursor value from the `next_cursor` field of a previous response, used to retrieve the next page. To request the first page, this should be empty.
|
|
176
177
|
# @option opts [Integer] :limit Limit how many results are returned. (default to 20)
|
|
178
|
+
# @option opts [String] :include Include relationships. Optional. Comma-separated values.
|
|
177
179
|
# @return [Array<(InlineResponse2003, Integer, Hash)>] InlineResponse2003 data, response status code and response headers
|
|
178
180
|
def ddos_protection_event_rule_list_with_http_info(opts = {})
|
|
179
181
|
if @api_client.config.debugging
|
|
@@ -196,6 +198,7 @@ module Fastly
|
|
|
196
198
|
query_params = opts[:query_params] || {}
|
|
197
199
|
query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
|
|
198
200
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
201
|
+
query_params[:'include'] = opts[:'include'] if !opts[:'include'].nil?
|
|
199
202
|
|
|
200
203
|
# header parameters
|
|
201
204
|
header_params = opts[:header_params] || {}
|