fastly 13.1.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 +48 -0
- data/Gemfile.lock +4 -4
- data/README.md +26 -12
- data/docs/ApiDiscoveryResponseBodyGetAllServices.md +13 -0
- data/docs/ApiDiscoveryResponseCustomer.md +10 -0
- data/docs/{LogTimeseriesGetResponseMetaFilters.md → ApiDiscoveryResponseCustomerCustomer.md} +3 -2
- 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/{LogTimeseriesResultDimensions.md → ApiDiscoveryResponseLinksGetAllServicesLinks.md} +2 -2
- data/docs/{DdosProtectionAction.md → ApiDiscoveryResponseLinksLinks.md} +2 -1
- 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/AttackReport.md +19 -0
- data/docs/AttackSignal.md +12 -0
- data/docs/AttackSource.md +13 -0
- data/docs/Backend.md +4 -4
- data/docs/BackendApi.md +10 -10
- data/docs/BackendResponse.md +4 -4
- 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 +42 -0
- data/docs/DdosProtectionAttributeStats.md +1 -1
- data/docs/DdosProtectionInvalidRequest.md +13 -0
- data/docs/DdosProtectionNotAuthorized.md +11 -0
- data/docs/DdosProtectionResponseConfigure.md +1 -1
- data/docs/DdosProtectionResponseEnable.md +1 -1
- data/docs/DdosProtectionResponseService.md +1 -1
- data/docs/DdosProtectionRule.md +1 -1
- data/docs/DdosProtectionRuleAllOf.md +1 -1
- data/docs/DdosProtectionRulePatch.md +10 -0
- 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/HistoricalApi.md +2 -0
- 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 +4 -2
- data/docs/KvStoreItemApi.md +2 -2
- data/docs/ListAttackReport.md +11 -0
- data/docs/ListAttackReportMeta.md +10 -0
- data/docs/{DdosProtectionTrafficAttribute.md → ListSignalReport.md} +2 -1
- data/docs/LogExplorerApi.md +1 -1
- 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/NgwafReportsApi.md +99 -0
- data/docs/NgwafResponseConfigure.md +1 -1
- data/docs/NgwafResponseEnable.md +1 -1
- data/docs/NgwafResponseService.md +1 -1
- data/docs/ObservabilityTimeseriesApi.md +67 -0
- data/docs/OriginInspectorResponseBodyEnable.md +1 -1
- data/docs/OriginInspectorResponseService.md +1 -1
- data/docs/PoolApi.md +4 -4
- data/docs/PoolResponse.md +1 -1
- data/docs/PoolResponseCommon.md +1 -1
- data/docs/PoolResponsePost.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/SignalReport.md +13 -0
- data/docs/SuccessfulResponseAsObject.md +17 -0
- data/docs/SuccessfulResponseAsObjectAllOf.md +15 -0
- data/docs/TimeseriesGetResponse.md +11 -0
- data/docs/TimeseriesMeta.md +13 -0
- data/docs/TimeseriesResult.md +11 -0
- data/docs/TlsSubscriptionsApi.md +0 -2
- data/docs/TopWorkspace.md +12 -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/backend_api.rb +16 -16
- data/lib/fastly/api/ddos_protection_api.rb +73 -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/historical_api.rb +3 -0
- data/lib/fastly/api/iam_roles_api.rb +43 -435
- data/lib/fastly/api/kv_store_api.rb +6 -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/ngwaf_reports_api.rb +161 -0
- data/lib/fastly/api/{observability_timeseries_for_logs_api.rb → observability_timeseries_api.rb} +38 -43
- data/lib/fastly/api/pool_api.rb +4 -4
- 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/tls_subscriptions_api.rb +0 -3
- data/lib/fastly/api/user_api.rb +6 -0
- data/lib/fastly/configuration.rb +75 -39
- 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/{log_timeseries_get_response_meta_filters.rb → api_discovery_response_enabled_services.rb} +12 -13
- 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/attack_report.rb +359 -0
- data/lib/fastly/models/attack_signal.rb +252 -0
- data/lib/fastly/models/attack_source.rb +267 -0
- data/lib/fastly/models/backend.rb +7 -1
- data/lib/fastly/models/backend_response.rb +7 -1
- 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_attribute_stats.rb +2 -1
- data/lib/fastly/models/ddos_protection_invalid_request.rb +309 -0
- data/lib/fastly/models/{log_timeseries_filter_field_item.rb → ddos_protection_not_authorized.rb} +24 -36
- 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.rb +2 -1
- data/lib/fastly/models/ddos_protection_rule_all_of.rb +2 -1
- data/lib/fastly/models/ddos_protection_rule_patch.rb +219 -0
- 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_timeseries_get_response.rb → list_attack_report.rb} +5 -5
- data/lib/fastly/models/list_attack_report_meta.rb +218 -0
- data/lib/fastly/models/{log_timeseries_result_dimensions.rb → list_signal_report.rb} +12 -10
- 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/pool_response.rb +1 -1
- data/lib/fastly/models/pool_response_common.rb +1 -1
- data/lib/fastly/models/pool_response_post.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/signal_report.rb +249 -0
- 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/timeseries_get_response.rb +227 -0
- data/lib/fastly/models/{log_timeseries_get_response_meta.rb → timeseries_meta.rb} +23 -32
- data/lib/fastly/models/{log_timeseries_result.rb → timeseries_result.rb} +9 -5
- data/lib/fastly/models/top_workspace.rb +238 -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 +40 -13
- data/sig.json +1 -1
- metadata +82 -28
- data/docs/IamRole.md +0 -17
- data/docs/IamRoleAllOf.md +0 -15
- data/docs/LogTimeseriesFilterFieldItem.md +0 -12
- data/docs/LogTimeseriesGetResponse.md +0 -11
- data/docs/LogTimeseriesGetResponseMeta.md +0 -14
- data/docs/LogTimeseriesResult.md +0 -11
- data/docs/LogTimeseriesValueField.md +0 -59
- data/docs/ObservabilityTimeseriesForLogsApi.md +0 -67
- data/lib/fastly/models/ddos_protection_action.rb +0 -37
- data/lib/fastly/models/ddos_protection_traffic_attribute.rb +0 -40
- data/lib/fastly/models/log_timeseries_value_field.rb +0 -108
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# Fastly::TimeseriesResult
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **dimensions** | **Hash<String, Object>** | An object containing each requested dimension and time as properties. | [optional] |
|
|
8
|
+
| **values** | **Hash<String, Object>** | An object containing each requested series as a property. | [optional] |
|
|
9
|
+
|
|
10
|
+
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
|
11
|
+
|
data/docs/TlsSubscriptionsApi.md
CHANGED
|
@@ -76,7 +76,6 @@ Create a new TLS subscription. This response includes a list of possible challen
|
|
|
76
76
|
```ruby
|
|
77
77
|
api_instance = Fastly::TlsSubscriptionsApi.new
|
|
78
78
|
opts = {
|
|
79
|
-
force: true, # Boolean | A flag that allows you to edit and delete a subscription with active domains. Valid to use on PATCH and DELETE actions. As a warning, removing an active domain from a subscription or forcing the deletion of a subscription may result in breaking TLS termination to that domain.
|
|
80
79
|
tls_subscription: Fastly::TlsSubscription.new, # TlsSubscription |
|
|
81
80
|
}
|
|
82
81
|
|
|
@@ -93,7 +92,6 @@ end
|
|
|
93
92
|
|
|
94
93
|
| Name | Type | Description | Notes |
|
|
95
94
|
| ---- | ---- | ----------- | ----- |
|
|
96
|
-
| **force** | **Boolean** | A flag that allows you to edit and delete a subscription with active domains. Valid to use on PATCH and DELETE actions. As a warning, removing an active domain from a subscription or forcing the deletion of a subscription may result in breaking TLS termination to that domain. | [optional] |
|
|
97
95
|
| **tls_subscription** | [**TlsSubscription**](TlsSubscription.md) | | [optional] |
|
|
98
96
|
|
|
99
97
|
### Return type
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# Fastly::TopWorkspace
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **id** | **String** | ID of the workspace. | [optional] |
|
|
8
|
+
| **name** | **String** | Name of the workspace. | [optional] |
|
|
9
|
+
| **count** | **Integer** | Count of attacks on this workspace for the specific attack type. | [optional] |
|
|
10
|
+
|
|
11
|
+
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
|
12
|
+
|
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
|
|
|
@@ -23,7 +23,7 @@ module Fastly
|
|
|
23
23
|
# @option opts [Integer] :version_id Integer identifying a service version. (required)
|
|
24
24
|
# @option opts [String] :address A hostname, IPv4, or IPv6 address for the backend. This is the preferred way to specify the location of your backend.
|
|
25
25
|
# @option opts [Boolean] :auto_loadbalance Whether or not this backend should be automatically load balanced. If true, all backends with this setting that don't have a `request_condition` will be selected based on their `weight`.
|
|
26
|
-
# @option opts [Integer] :between_bytes_timeout Maximum duration in milliseconds that Fastly will wait while receiving no data on a download from a backend. If exceeded, the response received so far will be considered complete and the fetch will end. May be set at runtime using `bereq.between_bytes_timeout`.
|
|
26
|
+
# @option opts [Integer] :between_bytes_timeout Maximum duration in milliseconds that Fastly will wait while receiving no data on a download from a backend. If exceeded, for Delivery services, the response received so far will be considered complete and the fetch will end. For Compute services, timeout expiration is treated as a failure of the backend connection, and an error is generated. May be set at runtime using `bereq.between_bytes_timeout`.
|
|
27
27
|
# @option opts [String] :client_cert Unused.
|
|
28
28
|
# @option opts [String] :comment A freeform descriptive note.
|
|
29
29
|
# @option opts [Integer] :connect_timeout Maximum duration in milliseconds to wait for a connection to this backend to be established. If exceeded, the connection is aborted and a synthetic `503` response will be presented instead. May be set at runtime using `bereq.connect_timeout`.
|
|
@@ -52,9 +52,9 @@ module Fastly
|
|
|
52
52
|
# @option opts [String] :ssl_hostname Use `ssl_cert_hostname` and `ssl_sni_hostname` to configure certificate validation.
|
|
53
53
|
# @option opts [String] :ssl_sni_hostname Overrides `ssl_hostname`, but only for SNI in the handshake. Does not affect cert validation at all.
|
|
54
54
|
# @option opts [Boolean] :tcp_keepalive_enable Whether to enable TCP keepalives for backend connections. Varnish defaults to using keepalives if this is unspecified.
|
|
55
|
-
# @option opts [Integer] :tcp_keepalive_interval Interval in seconds between subsequent keepalive probes.
|
|
56
|
-
# @option opts [Integer] :tcp_keepalive_probes Number of unacknowledged probes to send before considering the connection dead.
|
|
57
|
-
# @option opts [Integer] :tcp_keepalive_time Interval in seconds between the last data packet sent and the first keepalive probe.
|
|
55
|
+
# @option opts [Integer] :tcp_keepalive_interval Interval in seconds between subsequent keepalive probes. (default to 10)
|
|
56
|
+
# @option opts [Integer] :tcp_keepalive_probes Number of unacknowledged probes to send before considering the connection dead. (default to 3)
|
|
57
|
+
# @option opts [Integer] :tcp_keepalive_time Interval in seconds between the last data packet sent and the first keepalive probe. (default to 300)
|
|
58
58
|
# @option opts [Boolean] :use_ssl Whether or not to require TLS for connections to this backend.
|
|
59
59
|
# @option opts [Integer] :weight Weight used to load balance this backend against others. May be any positive integer. If `auto_loadbalance` is true, the chance of this backend being selected is equal to its own weight over the sum of all weights for backends that have `auto_loadbalance` set to true.
|
|
60
60
|
# @return [BackendResponse]
|
|
@@ -69,7 +69,7 @@ module Fastly
|
|
|
69
69
|
# @option opts [Integer] :version_id Integer identifying a service version. (required)
|
|
70
70
|
# @option opts [String] :address A hostname, IPv4, or IPv6 address for the backend. This is the preferred way to specify the location of your backend.
|
|
71
71
|
# @option opts [Boolean] :auto_loadbalance Whether or not this backend should be automatically load balanced. If true, all backends with this setting that don't have a `request_condition` will be selected based on their `weight`.
|
|
72
|
-
# @option opts [Integer] :between_bytes_timeout Maximum duration in milliseconds that Fastly will wait while receiving no data on a download from a backend. If exceeded, the response received so far will be considered complete and the fetch will end. May be set at runtime using `bereq.between_bytes_timeout`.
|
|
72
|
+
# @option opts [Integer] :between_bytes_timeout Maximum duration in milliseconds that Fastly will wait while receiving no data on a download from a backend. If exceeded, for Delivery services, the response received so far will be considered complete and the fetch will end. For Compute services, timeout expiration is treated as a failure of the backend connection, and an error is generated. May be set at runtime using `bereq.between_bytes_timeout`.
|
|
73
73
|
# @option opts [String] :client_cert Unused.
|
|
74
74
|
# @option opts [String] :comment A freeform descriptive note.
|
|
75
75
|
# @option opts [Integer] :connect_timeout Maximum duration in milliseconds to wait for a connection to this backend to be established. If exceeded, the connection is aborted and a synthetic `503` response will be presented instead. May be set at runtime using `bereq.connect_timeout`.
|
|
@@ -98,9 +98,9 @@ module Fastly
|
|
|
98
98
|
# @option opts [String] :ssl_hostname Use `ssl_cert_hostname` and `ssl_sni_hostname` to configure certificate validation.
|
|
99
99
|
# @option opts [String] :ssl_sni_hostname Overrides `ssl_hostname`, but only for SNI in the handshake. Does not affect cert validation at all.
|
|
100
100
|
# @option opts [Boolean] :tcp_keepalive_enable Whether to enable TCP keepalives for backend connections. Varnish defaults to using keepalives if this is unspecified.
|
|
101
|
-
# @option opts [Integer] :tcp_keepalive_interval Interval in seconds between subsequent keepalive probes.
|
|
102
|
-
# @option opts [Integer] :tcp_keepalive_probes Number of unacknowledged probes to send before considering the connection dead.
|
|
103
|
-
# @option opts [Integer] :tcp_keepalive_time Interval in seconds between the last data packet sent and the first keepalive probe.
|
|
101
|
+
# @option opts [Integer] :tcp_keepalive_interval Interval in seconds between subsequent keepalive probes. (default to 10)
|
|
102
|
+
# @option opts [Integer] :tcp_keepalive_probes Number of unacknowledged probes to send before considering the connection dead. (default to 3)
|
|
103
|
+
# @option opts [Integer] :tcp_keepalive_time Interval in seconds between the last data packet sent and the first keepalive probe. (default to 300)
|
|
104
104
|
# @option opts [Boolean] :use_ssl Whether or not to require TLS for connections to this backend.
|
|
105
105
|
# @option opts [Integer] :weight Weight used to load balance this backend against others. May be any positive integer. If `auto_loadbalance` is true, the chance of this backend being selected is equal to its own weight over the sum of all weights for backends that have `auto_loadbalance` set to true.
|
|
106
106
|
# @return [Array<(BackendResponse, Integer, Hash)>] BackendResponse data, response status code and response headers
|
|
@@ -436,7 +436,7 @@ module Fastly
|
|
|
436
436
|
# @option opts [String] :backend_name The name of the backend. (required)
|
|
437
437
|
# @option opts [String] :address A hostname, IPv4, or IPv6 address for the backend. This is the preferred way to specify the location of your backend.
|
|
438
438
|
# @option opts [Boolean] :auto_loadbalance Whether or not this backend should be automatically load balanced. If true, all backends with this setting that don't have a `request_condition` will be selected based on their `weight`.
|
|
439
|
-
# @option opts [Integer] :between_bytes_timeout Maximum duration in milliseconds that Fastly will wait while receiving no data on a download from a backend. If exceeded, the response received so far will be considered complete and the fetch will end. May be set at runtime using `bereq.between_bytes_timeout`.
|
|
439
|
+
# @option opts [Integer] :between_bytes_timeout Maximum duration in milliseconds that Fastly will wait while receiving no data on a download from a backend. If exceeded, for Delivery services, the response received so far will be considered complete and the fetch will end. For Compute services, timeout expiration is treated as a failure of the backend connection, and an error is generated. May be set at runtime using `bereq.between_bytes_timeout`.
|
|
440
440
|
# @option opts [String] :client_cert Unused.
|
|
441
441
|
# @option opts [String] :comment A freeform descriptive note.
|
|
442
442
|
# @option opts [Integer] :connect_timeout Maximum duration in milliseconds to wait for a connection to this backend to be established. If exceeded, the connection is aborted and a synthetic `503` response will be presented instead. May be set at runtime using `bereq.connect_timeout`.
|
|
@@ -465,9 +465,9 @@ module Fastly
|
|
|
465
465
|
# @option opts [String] :ssl_hostname Use `ssl_cert_hostname` and `ssl_sni_hostname` to configure certificate validation.
|
|
466
466
|
# @option opts [String] :ssl_sni_hostname Overrides `ssl_hostname`, but only for SNI in the handshake. Does not affect cert validation at all.
|
|
467
467
|
# @option opts [Boolean] :tcp_keepalive_enable Whether to enable TCP keepalives for backend connections. Varnish defaults to using keepalives if this is unspecified.
|
|
468
|
-
# @option opts [Integer] :tcp_keepalive_interval Interval in seconds between subsequent keepalive probes.
|
|
469
|
-
# @option opts [Integer] :tcp_keepalive_probes Number of unacknowledged probes to send before considering the connection dead.
|
|
470
|
-
# @option opts [Integer] :tcp_keepalive_time Interval in seconds between the last data packet sent and the first keepalive probe.
|
|
468
|
+
# @option opts [Integer] :tcp_keepalive_interval Interval in seconds between subsequent keepalive probes. (default to 10)
|
|
469
|
+
# @option opts [Integer] :tcp_keepalive_probes Number of unacknowledged probes to send before considering the connection dead. (default to 3)
|
|
470
|
+
# @option opts [Integer] :tcp_keepalive_time Interval in seconds between the last data packet sent and the first keepalive probe. (default to 300)
|
|
471
471
|
# @option opts [Boolean] :use_ssl Whether or not to require TLS for connections to this backend.
|
|
472
472
|
# @option opts [Integer] :weight Weight used to load balance this backend against others. May be any positive integer. If `auto_loadbalance` is true, the chance of this backend being selected is equal to its own weight over the sum of all weights for backends that have `auto_loadbalance` set to true.
|
|
473
473
|
# @return [BackendResponse]
|
|
@@ -483,7 +483,7 @@ module Fastly
|
|
|
483
483
|
# @option opts [String] :backend_name The name of the backend. (required)
|
|
484
484
|
# @option opts [String] :address A hostname, IPv4, or IPv6 address for the backend. This is the preferred way to specify the location of your backend.
|
|
485
485
|
# @option opts [Boolean] :auto_loadbalance Whether or not this backend should be automatically load balanced. If true, all backends with this setting that don't have a `request_condition` will be selected based on their `weight`.
|
|
486
|
-
# @option opts [Integer] :between_bytes_timeout Maximum duration in milliseconds that Fastly will wait while receiving no data on a download from a backend. If exceeded, the response received so far will be considered complete and the fetch will end. May be set at runtime using `bereq.between_bytes_timeout`.
|
|
486
|
+
# @option opts [Integer] :between_bytes_timeout Maximum duration in milliseconds that Fastly will wait while receiving no data on a download from a backend. If exceeded, for Delivery services, the response received so far will be considered complete and the fetch will end. For Compute services, timeout expiration is treated as a failure of the backend connection, and an error is generated. May be set at runtime using `bereq.between_bytes_timeout`.
|
|
487
487
|
# @option opts [String] :client_cert Unused.
|
|
488
488
|
# @option opts [String] :comment A freeform descriptive note.
|
|
489
489
|
# @option opts [Integer] :connect_timeout Maximum duration in milliseconds to wait for a connection to this backend to be established. If exceeded, the connection is aborted and a synthetic `503` response will be presented instead. May be set at runtime using `bereq.connect_timeout`.
|
|
@@ -512,9 +512,9 @@ module Fastly
|
|
|
512
512
|
# @option opts [String] :ssl_hostname Use `ssl_cert_hostname` and `ssl_sni_hostname` to configure certificate validation.
|
|
513
513
|
# @option opts [String] :ssl_sni_hostname Overrides `ssl_hostname`, but only for SNI in the handshake. Does not affect cert validation at all.
|
|
514
514
|
# @option opts [Boolean] :tcp_keepalive_enable Whether to enable TCP keepalives for backend connections. Varnish defaults to using keepalives if this is unspecified.
|
|
515
|
-
# @option opts [Integer] :tcp_keepalive_interval Interval in seconds between subsequent keepalive probes.
|
|
516
|
-
# @option opts [Integer] :tcp_keepalive_probes Number of unacknowledged probes to send before considering the connection dead.
|
|
517
|
-
# @option opts [Integer] :tcp_keepalive_time Interval in seconds between the last data packet sent and the first keepalive probe.
|
|
515
|
+
# @option opts [Integer] :tcp_keepalive_interval Interval in seconds between subsequent keepalive probes. (default to 10)
|
|
516
|
+
# @option opts [Integer] :tcp_keepalive_probes Number of unacknowledged probes to send before considering the connection dead. (default to 3)
|
|
517
|
+
# @option opts [Integer] :tcp_keepalive_time Interval in seconds between the last data packet sent and the first keepalive probe. (default to 300)
|
|
518
518
|
# @option opts [Boolean] :use_ssl Whether or not to require TLS for connections to this backend.
|
|
519
519
|
# @option opts [Integer] :weight Weight used to load balance this backend against others. May be any positive integer. If `auto_loadbalance` is true, the chance of this backend being selected is equal to its own weight over the sum of all weights for backends that have `auto_loadbalance` set to true.
|
|
520
520
|
# @return [Array<(BackendResponse, Integer, Hash)>] BackendResponse data, response status code and response headers
|
|
@@ -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] || {}
|
|
@@ -294,6 +297,76 @@ module Fastly
|
|
|
294
297
|
return data, status_code, headers
|
|
295
298
|
end
|
|
296
299
|
|
|
300
|
+
# Update rule
|
|
301
|
+
# Update rule.
|
|
302
|
+
# @option opts [String] :rule_id Unique ID of the rule. (required)
|
|
303
|
+
# @option opts [DdosProtectionRulePatch] :ddos_protection_rule_patch
|
|
304
|
+
# @return [DdosProtectionRule]
|
|
305
|
+
def ddos_protection_rule_patch(opts = {})
|
|
306
|
+
data, _status_code, _headers = ddos_protection_rule_patch_with_http_info(opts)
|
|
307
|
+
data
|
|
308
|
+
end
|
|
309
|
+
|
|
310
|
+
# Update rule
|
|
311
|
+
# Update rule.
|
|
312
|
+
# @option opts [String] :rule_id Unique ID of the rule. (required)
|
|
313
|
+
# @option opts [DdosProtectionRulePatch] :ddos_protection_rule_patch
|
|
314
|
+
# @return [Array<(DdosProtectionRule, Integer, Hash)>] DdosProtectionRule data, response status code and response headers
|
|
315
|
+
def ddos_protection_rule_patch_with_http_info(opts = {})
|
|
316
|
+
if @api_client.config.debugging
|
|
317
|
+
@api_client.config.logger.debug 'Calling API: DdosProtectionApi.ddos_protection_rule_patch ...'
|
|
318
|
+
end
|
|
319
|
+
# unbox the parameters from the hash
|
|
320
|
+
rule_id = opts[:'rule_id']
|
|
321
|
+
# verify the required parameter 'rule_id' is set
|
|
322
|
+
if @api_client.config.client_side_validation && rule_id.nil?
|
|
323
|
+
fail ArgumentError, "Missing the required parameter 'rule_id' when calling DdosProtectionApi.ddos_protection_rule_patch"
|
|
324
|
+
end
|
|
325
|
+
# resource path
|
|
326
|
+
local_var_path = '/ddos-protection/v1/rules/{rule_id}'.sub('{' + 'rule_id' + '}', CGI.escape(rule_id.to_s))
|
|
327
|
+
|
|
328
|
+
# query parameters
|
|
329
|
+
query_params = opts[:query_params] || {}
|
|
330
|
+
|
|
331
|
+
# header parameters
|
|
332
|
+
header_params = opts[:header_params] || {}
|
|
333
|
+
# HTTP header 'Accept' (if needed)
|
|
334
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/problem+json'])
|
|
335
|
+
# HTTP header 'Content-Type'
|
|
336
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
337
|
+
if !content_type.nil?
|
|
338
|
+
header_params['Content-Type'] = content_type
|
|
339
|
+
end
|
|
340
|
+
|
|
341
|
+
# form parameters
|
|
342
|
+
form_params = opts[:form_params] || {}
|
|
343
|
+
|
|
344
|
+
# http body (model)
|
|
345
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'ddos_protection_rule_patch'])
|
|
346
|
+
|
|
347
|
+
# return_type
|
|
348
|
+
return_type = opts[:debug_return_type] || 'DdosProtectionRule'
|
|
349
|
+
|
|
350
|
+
# auth_names
|
|
351
|
+
auth_names = opts[:debug_auth_names] || ['token']
|
|
352
|
+
|
|
353
|
+
new_options = opts.merge(
|
|
354
|
+
:operation => :"DdosProtectionApi.ddos_protection_rule_patch",
|
|
355
|
+
:header_params => header_params,
|
|
356
|
+
:query_params => query_params,
|
|
357
|
+
:form_params => form_params,
|
|
358
|
+
:body => post_body,
|
|
359
|
+
:auth_names => auth_names,
|
|
360
|
+
:return_type => return_type
|
|
361
|
+
)
|
|
362
|
+
|
|
363
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
|
|
364
|
+
if @api_client.config.debugging
|
|
365
|
+
@api_client.config.logger.debug "API called: DdosProtectionApi#ddos_protection_rule_patch\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
366
|
+
end
|
|
367
|
+
return data, status_code, headers
|
|
368
|
+
end
|
|
369
|
+
|
|
297
370
|
# Get traffic stats for a rule
|
|
298
371
|
# Get traffic stats for a rule.
|
|
299
372
|
# @option opts [String] :event_id Unique ID of the event. (required)
|