fastly 9.0.0 → 10.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 +42 -19
- data/Gemfile.lock +3 -3
- data/README.md +49 -42
- data/docs/AclsInComputeApi.md +2 -2
- data/docs/AiAcceleratorResponseBodyEnable.md +12 -0
- data/docs/AiAcceleratorResponseCustomer.md +10 -0
- data/docs/AiAcceleratorResponseCustomerCustomer.md +11 -0
- data/docs/AiAcceleratorResponseLinks.md +10 -0
- data/docs/AiAcceleratorResponseLinksLinks.md +10 -0
- data/docs/AiAcceleratorResponseProduct.md +10 -0
- data/docs/AiAcceleratorResponseProductProduct.md +11 -0
- data/docs/Backend.md +1 -1
- data/docs/BackendApi.md +4 -4
- data/docs/BackendResponse.md +1 -1
- data/docs/BillingUsageMetricsApi.md +8 -8
- data/docs/BotManagementResponseBodyEnable.md +12 -0
- data/docs/BotManagementResponseLinks.md +10 -0
- data/docs/BotManagementResponseLinksLinks.md +11 -0
- data/docs/BotManagementResponseProduct.md +10 -0
- data/docs/BotManagementResponseProductProduct.md +11 -0
- data/docs/BotManagementResponseService.md +10 -0
- data/docs/{EnabledProductResponseService.md → BotManagementResponseServiceService.md} +1 -1
- data/docs/BrotliCompressionResponseBodyEnable.md +12 -0
- data/docs/BrotliCompressionResponseLinks.md +10 -0
- data/docs/BrotliCompressionResponseLinksLinks.md +11 -0
- data/docs/BrotliCompressionResponseProduct.md +10 -0
- data/docs/BrotliCompressionResponseProductProduct.md +11 -0
- data/docs/BrotliCompressionResponseService.md +10 -0
- data/docs/ComputeAclList.md +11 -0
- data/docs/{ReadOnlyServiceId.md → ComputeAclListMeta.md} +2 -1
- data/docs/ComputeAclLookup.md +1 -2
- data/docs/{ReadOnlyVersion.md → DdosProtectionRequestUpdateConfiguration.md} +2 -1
- data/docs/DdosProtectionResponseConfiguration.md +10 -0
- data/docs/{Store.md → DdosProtectionResponseConfigurationConfiguration.md} +2 -2
- data/docs/DdosProtectionResponseConfigure.md +13 -0
- data/docs/DdosProtectionResponseEnable.md +12 -0
- data/docs/DdosProtectionResponseLinks.md +10 -0
- data/docs/DdosProtectionResponseLinksLinks.md +11 -0
- data/docs/DdosProtectionResponseProduct.md +10 -0
- data/docs/DdosProtectionResponseProductProduct.md +11 -0
- data/docs/DdosProtectionResponseService.md +10 -0
- data/docs/DomainInspectorMeasurements.md +2 -0
- data/docs/DomainInspectorResponseBodyEnable.md +12 -0
- data/docs/DomainInspectorResponseLinks.md +10 -0
- data/docs/DomainInspectorResponseLinksLinks.md +11 -0
- data/docs/DomainInspectorResponseProduct.md +10 -0
- data/docs/{InlineResponse2003Meta.md → DomainInspectorResponseProductProduct.md} +3 -3
- data/docs/DomainInspectorResponseService.md +10 -0
- data/docs/FanoutResponseBodyEnable.md +12 -0
- data/docs/FanoutResponseLinks.md +10 -0
- data/docs/{EnabledProductResponseLinks.md → FanoutResponseLinksLinks.md} +1 -1
- data/docs/FanoutResponseProduct.md +10 -0
- data/docs/{EnabledProductResponseProduct.md → FanoutResponseProductProduct.md} +1 -1
- data/docs/FanoutResponseService.md +10 -0
- data/docs/ImageOptimizerResponseBodyEnable.md +12 -0
- data/docs/ImageOptimizerResponseLinks.md +10 -0
- data/docs/ImageOptimizerResponseLinksLinks.md +11 -0
- data/docs/ImageOptimizerResponseProduct.md +10 -0
- data/docs/ImageOptimizerResponseProductProduct.md +11 -0
- data/docs/ImageOptimizerResponseService.md +10 -0
- data/docs/InlineResponse2003.md +2 -2
- data/docs/InlineResponse2004.md +1 -1
- data/docs/KvStoreApi.md +30 -30
- data/docs/{Batch.md → KvStoreBatchResponse.md} +2 -2
- data/docs/{BatchErrors.md → KvStoreBatchResponseErrors.md} +4 -4
- data/docs/{StoreResponse.md → KvStoreDetails.md} +2 -2
- data/docs/KvStoreItemApi.md +55 -52
- data/docs/KvStoreRequestCreate.md +10 -0
- data/docs/KvStoreUpsertBatch.md +14 -0
- data/docs/LogExplorerInsightsResponseBodyEnable.md +12 -0
- data/docs/LogExplorerInsightsResponseLinks.md +10 -0
- data/docs/LogExplorerInsightsResponseLinksLinks.md +11 -0
- data/docs/LogExplorerInsightsResponseProduct.md +10 -0
- data/docs/LogExplorerInsightsResponseProductProduct.md +11 -0
- data/docs/LogExplorerInsightsResponseService.md +10 -0
- data/docs/{LegacyWafTag.md → NgwafRequestEnable.md} +2 -2
- data/docs/NgwafRequestUpdateConfiguration.md +11 -0
- data/docs/NgwafResponseConfiguration.md +10 -0
- data/docs/{ConfiguredProductResponseConfiguration.md → NgwafResponseConfigurationConfiguration.md} +2 -2
- data/docs/NgwafResponseConfigure.md +13 -0
- data/docs/NgwafResponseEnable.md +12 -0
- data/docs/NgwafResponseLinks.md +10 -0
- data/docs/{ConfiguredProductResponseLinks.md → NgwafResponseLinksLinks.md} +1 -1
- data/docs/{InlineResponse2004Meta.md → NgwafResponseProduct.md} +2 -3
- data/docs/{ConfiguredProductResponseProduct.md → NgwafResponseProductProduct.md} +1 -1
- data/docs/NgwafResponseService.md +10 -0
- data/docs/ObjectStorageResponseBodyEnable.md +12 -0
- data/docs/ObjectStorageResponseCustomer.md +10 -0
- data/docs/ObjectStorageResponseLinks.md +10 -0
- data/docs/ObjectStorageResponseLinksLinks.md +10 -0
- data/docs/ObjectStorageResponseProduct.md +10 -0
- data/docs/ObjectStorageResponseProductProduct.md +11 -0
- data/docs/OriginInspectorMeasurements.md +4 -0
- data/docs/OriginInspectorResponseBodyEnable.md +12 -0
- data/docs/OriginInspectorResponseLinks.md +10 -0
- data/docs/OriginInspectorResponseLinksLinks.md +11 -0
- data/docs/OriginInspectorResponseProduct.md +10 -0
- data/docs/OriginInspectorResponseProductProduct.md +11 -0
- data/docs/OriginInspectorResponseService.md +10 -0
- data/docs/OriginInspectorValues.md +4 -0
- data/docs/ProductAiAcceleratorApi.md +115 -0
- data/docs/ProductBotManagementApi.md +130 -0
- data/docs/ProductBrotliCompressionApi.md +130 -0
- data/docs/ProductDdosProtectionApi.md +208 -0
- data/docs/ProductDomainInspectorApi.md +130 -0
- data/docs/ProductFanoutApi.md +130 -0
- data/docs/ProductImageOptimizerApi.md +130 -0
- data/docs/ProductLogExplorerInsightsApi.md +130 -0
- data/docs/ProductNgwafApi.md +210 -0
- data/docs/ProductObjectStorageApi.md +115 -0
- data/docs/ProductOriginInspectorApi.md +130 -0
- data/docs/ProductWebsocketsApi.md +130 -0
- data/docs/RealtimeEntryAggregated.md +18 -3
- data/docs/RealtimeMeasurements.md +18 -3
- data/docs/Results.md +18 -3
- data/docs/SnippetApi.md +15 -15
- data/docs/Values.md +2 -0
- data/docs/WebsocketsResponseBodyEnable.md +12 -0
- data/docs/WebsocketsResponseLinks.md +10 -0
- data/docs/WebsocketsResponseLinksLinks.md +11 -0
- data/docs/WebsocketsResponseProduct.md +10 -0
- data/docs/WebsocketsResponseProductProduct.md +11 -0
- data/docs/WebsocketsResponseService.md +10 -0
- data/lib/fastly/api/acls_in_compute_api.rb +3 -3
- data/lib/fastly/api/backend_api.rb +4 -4
- data/lib/fastly/api/billing_usage_metrics_api.rb +26 -26
- data/lib/fastly/api/kv_store_api.rb +53 -45
- data/lib/fastly/api/kv_store_item_api.rb +114 -102
- data/lib/fastly/api/product_ai_accelerator_api.rb +186 -0
- data/lib/fastly/api/product_bot_management_api.rb +207 -0
- data/lib/fastly/api/product_brotli_compression_api.rb +207 -0
- data/lib/fastly/api/product_ddos_protection_api.rb +340 -0
- data/lib/fastly/api/product_domain_inspector_api.rb +207 -0
- data/lib/fastly/api/product_fanout_api.rb +207 -0
- data/lib/fastly/api/product_image_optimizer_api.rb +207 -0
- data/lib/fastly/api/product_log_explorer_insights_api.rb +207 -0
- data/lib/fastly/api/product_ngwaf_api.rb +347 -0
- data/lib/fastly/api/product_object_storage_api.rb +186 -0
- data/lib/fastly/api/product_origin_inspector_api.rb +207 -0
- data/lib/fastly/api/product_websockets_api.rb +207 -0
- data/lib/fastly/api/snippet_api.rb +35 -35
- data/lib/fastly/configuration.rb +248 -206
- data/lib/fastly/models/{legacy_waf_rule_status.rb → ai_accelerator_response_body_enable.rb} +31 -25
- data/lib/fastly/models/ai_accelerator_response_customer.rb +216 -0
- data/lib/fastly/models/ai_accelerator_response_customer_customer.rb +227 -0
- data/lib/fastly/models/ai_accelerator_response_links.rb +216 -0
- data/lib/fastly/models/ai_accelerator_response_links_links.rb +217 -0
- data/lib/fastly/models/ai_accelerator_response_product.rb +216 -0
- data/lib/fastly/models/ai_accelerator_response_product_product.rb +227 -0
- data/lib/fastly/models/backend.rb +1 -1
- data/lib/fastly/models/backend_response.rb +1 -1
- data/lib/fastly/models/bot_management_response_body_enable.rb +243 -0
- data/lib/fastly/models/bot_management_response_links.rb +216 -0
- data/lib/fastly/models/bot_management_response_links_links.rb +227 -0
- data/lib/fastly/models/bot_management_response_product.rb +216 -0
- data/lib/fastly/models/bot_management_response_product_product.rb +227 -0
- data/lib/fastly/models/bot_management_response_service.rb +216 -0
- data/lib/fastly/models/{enabled_product_response_service.rb → bot_management_response_service_service.rb} +3 -3
- data/lib/fastly/models/brotli_compression_response_body_enable.rb +243 -0
- data/lib/fastly/models/brotli_compression_response_links.rb +216 -0
- data/lib/fastly/models/brotli_compression_response_links_links.rb +227 -0
- data/lib/fastly/models/brotli_compression_response_product.rb +216 -0
- data/lib/fastly/models/brotli_compression_response_product_product.rb +227 -0
- data/lib/fastly/models/brotli_compression_response_service.rb +216 -0
- data/lib/fastly/models/{inline_response2004_meta.rb → compute_acl_list.rb} +19 -16
- data/lib/fastly/models/compute_acl_list_meta.rb +218 -0
- data/lib/fastly/models/compute_acl_lookup.rb +2 -12
- data/lib/fastly/models/{set_configuration.rb → ddos_protection_request_update_configuration.rb} +43 -24
- data/lib/fastly/models/ddos_protection_response_configuration.rb +216 -0
- data/lib/fastly/models/ddos_protection_response_configuration_configuration.rb +217 -0
- data/lib/fastly/models/ddos_protection_response_configure.rb +253 -0
- data/lib/fastly/models/ddos_protection_response_enable.rb +243 -0
- data/lib/fastly/models/ddos_protection_response_links.rb +216 -0
- data/lib/fastly/models/ddos_protection_response_links_links.rb +227 -0
- data/lib/fastly/models/ddos_protection_response_product.rb +216 -0
- data/lib/fastly/models/ddos_protection_response_product_product.rb +227 -0
- data/lib/fastly/models/ddos_protection_response_service.rb +216 -0
- data/lib/fastly/models/domain_inspector_measurements.rb +21 -1
- data/lib/fastly/models/domain_inspector_response_body_enable.rb +243 -0
- data/lib/fastly/models/domain_inspector_response_links.rb +216 -0
- data/lib/fastly/models/domain_inspector_response_links_links.rb +227 -0
- data/lib/fastly/models/domain_inspector_response_product.rb +216 -0
- data/lib/fastly/models/domain_inspector_response_product_product.rb +227 -0
- data/lib/fastly/models/domain_inspector_response_service.rb +216 -0
- data/lib/fastly/models/fanout_response_body_enable.rb +243 -0
- data/lib/fastly/models/{store.rb → fanout_response_links.rb} +10 -11
- data/lib/fastly/models/{enabled_product_response_links.rb → fanout_response_links_links.rb} +3 -3
- data/lib/fastly/models/fanout_response_product.rb +216 -0
- data/lib/fastly/models/{enabled_product_response_product.rb → fanout_response_product_product.rb} +3 -3
- data/lib/fastly/models/fanout_response_service.rb +216 -0
- data/lib/fastly/models/image_optimizer_response_body_enable.rb +243 -0
- data/lib/fastly/models/image_optimizer_response_links.rb +216 -0
- data/lib/fastly/models/image_optimizer_response_links_links.rb +227 -0
- data/lib/fastly/models/image_optimizer_response_product.rb +216 -0
- data/lib/fastly/models/image_optimizer_response_product_product.rb +227 -0
- data/lib/fastly/models/image_optimizer_response_service.rb +216 -0
- data/lib/fastly/models/inline_response2003.rb +2 -2
- data/lib/fastly/models/inline_response2004.rb +1 -1
- data/lib/fastly/models/{batch.rb → kv_store_batch_response.rb} +5 -5
- data/lib/fastly/models/{batch_errors.rb → kv_store_batch_response_errors.rb} +6 -6
- data/lib/fastly/models/{store_response.rb → kv_store_details.rb} +4 -4
- data/lib/fastly/models/{legacy_waf_configuration_set.rb → kv_store_request_create.rb} +10 -15
- data/lib/fastly/models/{legacy_waf_update_status.rb → kv_store_upsert_batch.rb} +51 -49
- data/lib/fastly/models/log_explorer_insights_response_body_enable.rb +243 -0
- data/lib/fastly/models/log_explorer_insights_response_links.rb +216 -0
- data/lib/fastly/models/log_explorer_insights_response_links_links.rb +227 -0
- data/lib/fastly/models/log_explorer_insights_response_product.rb +216 -0
- data/lib/fastly/models/log_explorer_insights_response_product_product.rb +227 -0
- data/lib/fastly/models/log_explorer_insights_response_service.rb +216 -0
- data/lib/fastly/models/{set_workspace_id.rb → ngwaf_request_enable.rb} +9 -4
- data/lib/fastly/models/ngwaf_request_update_configuration.rb +227 -0
- data/lib/fastly/models/ngwaf_response_configuration.rb +216 -0
- data/lib/fastly/models/{configured_product_response_configuration.rb → ngwaf_response_configuration_configuration.rb} +4 -4
- data/lib/fastly/models/{configured_product_response.rb → ngwaf_response_configure.rb} +17 -7
- data/lib/fastly/models/{enabled_product_response.rb → ngwaf_response_enable.rb} +15 -6
- data/lib/fastly/models/{legacy_waf_tag.rb → ngwaf_response_links.rb} +10 -11
- data/lib/fastly/models/{configured_product_response_links.rb → ngwaf_response_links_links.rb} +3 -3
- data/lib/fastly/models/{read_only_version.rb → ngwaf_response_product.rb} +14 -5
- data/lib/fastly/models/ngwaf_response_product_product.rb +227 -0
- data/lib/fastly/models/ngwaf_response_service.rb +216 -0
- data/lib/fastly/models/object_storage_response_body_enable.rb +243 -0
- data/lib/fastly/models/object_storage_response_customer.rb +216 -0
- data/lib/fastly/models/object_storage_response_links.rb +216 -0
- data/lib/fastly/models/object_storage_response_links_links.rb +217 -0
- data/lib/fastly/models/object_storage_response_product.rb +216 -0
- data/lib/fastly/models/object_storage_response_product_product.rb +227 -0
- data/lib/fastly/models/origin_inspector_measurements.rb +41 -1
- data/lib/fastly/models/origin_inspector_response_body_enable.rb +243 -0
- data/lib/fastly/models/origin_inspector_response_links.rb +216 -0
- data/lib/fastly/models/origin_inspector_response_links_links.rb +227 -0
- data/lib/fastly/models/origin_inspector_response_product.rb +216 -0
- data/lib/fastly/models/origin_inspector_response_product_product.rb +227 -0
- data/lib/fastly/models/origin_inspector_response_service.rb +216 -0
- data/lib/fastly/models/origin_inspector_values.rb +41 -1
- data/lib/fastly/models/realtime_entry_aggregated.rb +169 -19
- data/lib/fastly/models/realtime_measurements.rb +169 -19
- data/lib/fastly/models/results.rb +169 -19
- data/lib/fastly/models/schemas_snippet_response.rb +1 -0
- data/lib/fastly/models/snippet.rb +1 -0
- data/lib/fastly/models/snippet_common.rb +1 -0
- data/lib/fastly/models/snippet_response.rb +1 -0
- data/lib/fastly/models/snippet_response_post.rb +1 -0
- data/lib/fastly/models/snippet_with_dynamic_number.rb +1 -0
- data/lib/fastly/models/values.rb +21 -1
- data/lib/fastly/models/websockets_response_body_enable.rb +243 -0
- data/lib/fastly/models/{read_only_service_id.rb → websockets_response_links.rb} +14 -5
- data/lib/fastly/models/websockets_response_links_links.rb +227 -0
- data/lib/fastly/models/websockets_response_product.rb +216 -0
- data/lib/fastly/models/{configured_product_response_product.rb → websockets_response_product_product.rb} +3 -3
- data/lib/fastly/models/websockets_response_service.rb +216 -0
- data/lib/fastly/version.rb +1 -1
- data/lib/fastly.rb +102 -35
- data/sig.json +1 -1
- metadata +209 -75
- data/docs/ConfiguredProductResponse.md +0 -13
- data/docs/EnabledProductResponse.md +0 -12
- data/docs/EnabledProductsApi.md +0 -220
- data/docs/LegacyWafConfigurationSet.md +0 -11
- data/docs/LegacyWafConfigurationSetsApi.md +0 -128
- data/docs/LegacyWafFirewall.md +0 -18
- data/docs/LegacyWafFirewallApi.md +0 -355
- data/docs/LegacyWafOwasp.md +0 -38
- data/docs/LegacyWafOwaspApi.md +0 -141
- data/docs/LegacyWafRule.md +0 -14
- data/docs/LegacyWafRuleApi.md +0 -187
- data/docs/LegacyWafRuleStatus.md +0 -12
- data/docs/LegacyWafRuleStatusApi.md +0 -205
- data/docs/LegacyWafRuleset.md +0 -11
- data/docs/LegacyWafRulesetApi.md +0 -139
- data/docs/LegacyWafTagApi.md +0 -61
- data/docs/LegacyWafUpdateStatus.md +0 -15
- data/docs/LegacyWafUpdateStatusApi.md +0 -105
- data/docs/SetConfiguration.md +0 -12
- data/docs/SetWorkspaceId.md +0 -10
- data/lib/fastly/api/enabled_products_api.rb +0 -382
- data/lib/fastly/api/legacy_waf_configuration_sets_api.rb +0 -209
- data/lib/fastly/api/legacy_waf_firewall_api.rb +0 -627
- data/lib/fastly/api/legacy_waf_owasp_api.rb +0 -244
- data/lib/fastly/api/legacy_waf_rule_api.rb +0 -307
- data/lib/fastly/api/legacy_waf_rule_status_api.rb +0 -366
- data/lib/fastly/api/legacy_waf_ruleset_api.rb +0 -237
- data/lib/fastly/api/legacy_waf_tag_api.rb +0 -96
- data/lib/fastly/api/legacy_waf_update_status_api.rb +0 -184
- data/lib/fastly/models/inline_response2003_meta.rb +0 -228
- data/lib/fastly/models/legacy_waf_firewall.rb +0 -297
- data/lib/fastly/models/legacy_waf_owasp.rb +0 -527
- data/lib/fastly/models/legacy_waf_rule.rb +0 -257
- data/lib/fastly/models/legacy_waf_ruleset.rb +0 -227
@@ -0,0 +1,10 @@
|
|
1
|
+
# Fastly::OriginInspectorResponseService
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **service** | [**BotManagementResponseServiceService**](BotManagementResponseServiceService.md) | | [optional] |
|
8
|
+
|
9
|
+
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
10
|
+
|
@@ -30,6 +30,7 @@
|
|
30
30
|
| **status_503** | **Integer** | Number of responses received with status code 503 (Service Unavailable) from origin. | [optional] |
|
31
31
|
| **status_504** | **Integer** | Number of responses received with status code 504 (Gateway Timeout) from origin. | [optional] |
|
32
32
|
| **status_505** | **Integer** | Number of responses received with status code 505 (HTTP Version Not Supported) from origin. | [optional] |
|
33
|
+
| **status_530** | **Integer** | Number of responses received from origin with status code 530. | [optional] |
|
33
34
|
| **latency_0_to_1ms** | **Integer** | Number of responses from origin with latency between 0 and 1 millisecond. | [optional] |
|
34
35
|
| **latency_1_to_5ms** | **Integer** | Number of responses from origin with latency between 1 and 5 milliseconds. | [optional] |
|
35
36
|
| **latency_5_to_10ms** | **Integer** | Number of responses from origin with latency between 5 and 10 milliseconds. | [optional] |
|
@@ -68,6 +69,7 @@
|
|
68
69
|
| **waf_status_503** | **Integer** | Number of responses received with status code 503 (Service Unavailable) received for origin requests made by the Fastly WAF. | [optional] |
|
69
70
|
| **waf_status_504** | **Integer** | Number of responses received with status code 504 (Gateway Timeout) received for origin requests made by the Fastly WAF. | [optional] |
|
70
71
|
| **waf_status_505** | **Integer** | Number of responses received with status code 505 (HTTP Version Not Supported) received for origin requests made by the Fastly WAF. | [optional] |
|
72
|
+
| **waf_status_530** | **Integer** | Number of responses received with status code 530 received for origin requests made by the Fastly WAF. | [optional] |
|
71
73
|
| **waf_latency_0_to_1ms** | **Integer** | Number of responses with latency between 0 and 1 millisecond received for origin requests made by the Fastly WAF. | [optional] |
|
72
74
|
| **waf_latency_1_to_5ms** | **Integer** | Number of responses with latency between 1 and 5 milliseconds received for origin requests made by the Fastly WAF. | [optional] |
|
73
75
|
| **waf_latency_5_to_10ms** | **Integer** | Number of responses with latency between 5 and 10 milliseconds received for origin requests made by the Fastly WAF. | [optional] |
|
@@ -106,6 +108,7 @@
|
|
106
108
|
| **compute_status_503** | **Integer** | Number of responses received with status code 503 (Service Unavailable) for origin received by the Compute platform. | [optional] |
|
107
109
|
| **compute_status_504** | **Integer** | Number of responses received with status code 504 (Gateway Timeout) for origin received by the Compute platform. | [optional] |
|
108
110
|
| **compute_status_505** | **Integer** | Number of responses received with status code 505 (HTTP Version Not Supported) for origin received by the Compute platform. | [optional] |
|
111
|
+
| **compute_status_530** | **Integer** | Number of responses received with status code 530 for origin received by the Compute platform. | [optional] |
|
109
112
|
| **compute_latency_0_to_1ms** | **Integer** | Number of responses with latency between 0 and 1 millisecond for origin received by the Compute platform. | [optional] |
|
110
113
|
| **compute_latency_1_to_5ms** | **Integer** | Number of responses with latency between 1 and 5 milliseconds for origin received by the Compute platform. | [optional] |
|
111
114
|
| **compute_latency_5_to_10ms** | **Integer** | Number of responses with latency between 5 and 10 milliseconds for origin received by the Compute platform. | [optional] |
|
@@ -144,6 +147,7 @@
|
|
144
147
|
| **all_status_503** | **Integer** | Number of responses received with status code 503 (Service Unavailable) received for origin requests made by all sources. | [optional] |
|
145
148
|
| **all_status_504** | **Integer** | Number of responses received with status code 504 (Gateway Timeout) received for origin requests made by all sources. | [optional] |
|
146
149
|
| **all_status_505** | **Integer** | Number of responses received with status code 505 (HTTP Version Not Supported) received for origin requests made by all sources. | [optional] |
|
150
|
+
| **all_status_530** | **Integer** | Number of responses received with status code 530 received for origin requests made by all sources. | [optional] |
|
147
151
|
| **all_latency_0_to_1ms** | **Integer** | Number of responses with latency between 0 and 1 millisecond received for origin requests made by all sources. | [optional] |
|
148
152
|
| **all_latency_1_to_5ms** | **Integer** | Number of responses with latency between 1 and 5 milliseconds received for origin requests made by all sources. | [optional] |
|
149
153
|
| **all_latency_5_to_10ms** | **Integer** | Number of responses with latency between 5 and 10 milliseconds received for origin requests made by all sources. | [optional] |
|
@@ -0,0 +1,115 @@
|
|
1
|
+
# Fastly::ProductAiAcceleratorApi
|
2
|
+
|
3
|
+
|
4
|
+
```ruby
|
5
|
+
require 'fastly'
|
6
|
+
api_instance = Fastly::ProductAiAcceleratorApi.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_ai_accelerator**](ProductAiAcceleratorApi.md#disable_product_ai_accelerator) | **DELETE** /enabled-products/v1/ai_accelerator | Disable product
|
17
|
+
[**enable_ai_accelerator**](ProductAiAcceleratorApi.md#enable_ai_accelerator) | **PUT** /enabled-products/v1/ai_accelerator | Enable product
|
18
|
+
[**get_ai_accelerator**](ProductAiAcceleratorApi.md#get_ai_accelerator) | **GET** /enabled-products/v1/ai_accelerator | Get product enablement status
|
19
|
+
|
20
|
+
|
21
|
+
## `disable_product_ai_accelerator()`
|
22
|
+
|
23
|
+
```ruby
|
24
|
+
disable_product_ai_accelerator # Disable product
|
25
|
+
```
|
26
|
+
|
27
|
+
Disable the AI Accelerator product
|
28
|
+
|
29
|
+
### Examples
|
30
|
+
|
31
|
+
```ruby
|
32
|
+
api_instance = Fastly::ProductAiAcceleratorApi.new
|
33
|
+
|
34
|
+
begin
|
35
|
+
# Disable product
|
36
|
+
api_instance.disable_product_ai_accelerator
|
37
|
+
rescue Fastly::ApiError => e
|
38
|
+
puts "Error when calling ProductAiAcceleratorApi->disable_product_ai_accelerator: #{e}"
|
39
|
+
end
|
40
|
+
```
|
41
|
+
|
42
|
+
### Options
|
43
|
+
|
44
|
+
This endpoint does not need any parameter.
|
45
|
+
|
46
|
+
### Return type
|
47
|
+
|
48
|
+
nil (empty response body)
|
49
|
+
|
50
|
+
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
|
51
|
+
[[Back to README]](../../README.md)
|
52
|
+
## `enable_ai_accelerator()`
|
53
|
+
|
54
|
+
```ruby
|
55
|
+
enable_ai_accelerator: <AiAcceleratorResponseBodyEnable> # Enable product
|
56
|
+
```
|
57
|
+
|
58
|
+
Enable the AI Accelerator product
|
59
|
+
|
60
|
+
### Examples
|
61
|
+
|
62
|
+
```ruby
|
63
|
+
api_instance = Fastly::ProductAiAcceleratorApi.new
|
64
|
+
|
65
|
+
begin
|
66
|
+
# Enable product
|
67
|
+
result = api_instance.enable_ai_accelerator
|
68
|
+
p result
|
69
|
+
rescue Fastly::ApiError => e
|
70
|
+
puts "Error when calling ProductAiAcceleratorApi->enable_ai_accelerator: #{e}"
|
71
|
+
end
|
72
|
+
```
|
73
|
+
|
74
|
+
### Options
|
75
|
+
|
76
|
+
This endpoint does not need any parameter.
|
77
|
+
|
78
|
+
### Return type
|
79
|
+
|
80
|
+
[**AiAcceleratorResponseBodyEnable**](AiAcceleratorResponseBodyEnable.md)
|
81
|
+
|
82
|
+
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
|
83
|
+
[[Back to README]](../../README.md)
|
84
|
+
## `get_ai_accelerator()`
|
85
|
+
|
86
|
+
```ruby
|
87
|
+
get_ai_accelerator: <AiAcceleratorResponseBodyEnable> # Get product enablement status
|
88
|
+
```
|
89
|
+
|
90
|
+
Get the enablement status of the AI Accelerator product
|
91
|
+
|
92
|
+
### Examples
|
93
|
+
|
94
|
+
```ruby
|
95
|
+
api_instance = Fastly::ProductAiAcceleratorApi.new
|
96
|
+
|
97
|
+
begin
|
98
|
+
# Get product enablement status
|
99
|
+
result = api_instance.get_ai_accelerator
|
100
|
+
p result
|
101
|
+
rescue Fastly::ApiError => e
|
102
|
+
puts "Error when calling ProductAiAcceleratorApi->get_ai_accelerator: #{e}"
|
103
|
+
end
|
104
|
+
```
|
105
|
+
|
106
|
+
### Options
|
107
|
+
|
108
|
+
This endpoint does not need any parameter.
|
109
|
+
|
110
|
+
### Return type
|
111
|
+
|
112
|
+
[**AiAcceleratorResponseBodyEnable**](AiAcceleratorResponseBodyEnable.md)
|
113
|
+
|
114
|
+
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
|
115
|
+
[[Back to README]](../../README.md)
|
@@ -0,0 +1,130 @@
|
|
1
|
+
# Fastly::ProductBotManagementApi
|
2
|
+
|
3
|
+
|
4
|
+
```ruby
|
5
|
+
require 'fastly'
|
6
|
+
api_instance = Fastly::ProductBotManagementApi.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_bot_management**](ProductBotManagementApi.md#disable_product_bot_management) | **DELETE** /enabled-products/v1/bot_management/services/{service_id} | Disable product
|
17
|
+
[**enable_product_bot_management**](ProductBotManagementApi.md#enable_product_bot_management) | **PUT** /enabled-products/v1/bot_management/services/{service_id} | Enable product
|
18
|
+
[**get_product_bot_management**](ProductBotManagementApi.md#get_product_bot_management) | **GET** /enabled-products/v1/bot_management/services/{service_id} | Get product enablement status
|
19
|
+
|
20
|
+
|
21
|
+
## `disable_product_bot_management()`
|
22
|
+
|
23
|
+
```ruby
|
24
|
+
disable_product_bot_management(opts) # Disable product
|
25
|
+
```
|
26
|
+
|
27
|
+
Disable the Bot Management product on a service.
|
28
|
+
|
29
|
+
### Examples
|
30
|
+
|
31
|
+
```ruby
|
32
|
+
api_instance = Fastly::ProductBotManagementApi.new
|
33
|
+
opts = {
|
34
|
+
service_id: 'service_id_example', # String | Alphanumeric string identifying the service.
|
35
|
+
}
|
36
|
+
|
37
|
+
begin
|
38
|
+
# Disable product
|
39
|
+
api_instance.disable_product_bot_management(opts)
|
40
|
+
rescue Fastly::ApiError => e
|
41
|
+
puts "Error when calling ProductBotManagementApi->disable_product_bot_management: #{e}"
|
42
|
+
end
|
43
|
+
```
|
44
|
+
|
45
|
+
### Options
|
46
|
+
|
47
|
+
| Name | Type | Description | Notes |
|
48
|
+
| ---- | ---- | ----------- | ----- |
|
49
|
+
| **service_id** | **String** | Alphanumeric string identifying the service. | |
|
50
|
+
|
51
|
+
### Return type
|
52
|
+
|
53
|
+
nil (empty response body)
|
54
|
+
|
55
|
+
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
|
56
|
+
[[Back to README]](../../README.md)
|
57
|
+
## `enable_product_bot_management()`
|
58
|
+
|
59
|
+
```ruby
|
60
|
+
enable_product_bot_management(opts): <BotManagementResponseBodyEnable> # Enable product
|
61
|
+
```
|
62
|
+
|
63
|
+
Enable the Bot Management product on a service.
|
64
|
+
|
65
|
+
### Examples
|
66
|
+
|
67
|
+
```ruby
|
68
|
+
api_instance = Fastly::ProductBotManagementApi.new
|
69
|
+
opts = {
|
70
|
+
service_id: 'service_id_example', # String | Alphanumeric string identifying the service.
|
71
|
+
}
|
72
|
+
|
73
|
+
begin
|
74
|
+
# Enable product
|
75
|
+
result = api_instance.enable_product_bot_management(opts)
|
76
|
+
p result
|
77
|
+
rescue Fastly::ApiError => e
|
78
|
+
puts "Error when calling ProductBotManagementApi->enable_product_bot_management: #{e}"
|
79
|
+
end
|
80
|
+
```
|
81
|
+
|
82
|
+
### Options
|
83
|
+
|
84
|
+
| Name | Type | Description | Notes |
|
85
|
+
| ---- | ---- | ----------- | ----- |
|
86
|
+
| **service_id** | **String** | Alphanumeric string identifying the service. | |
|
87
|
+
|
88
|
+
### Return type
|
89
|
+
|
90
|
+
[**BotManagementResponseBodyEnable**](BotManagementResponseBodyEnable.md)
|
91
|
+
|
92
|
+
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
|
93
|
+
[[Back to README]](../../README.md)
|
94
|
+
## `get_product_bot_management()`
|
95
|
+
|
96
|
+
```ruby
|
97
|
+
get_product_bot_management(opts): <BotManagementResponseBodyEnable> # Get product enablement status
|
98
|
+
```
|
99
|
+
|
100
|
+
Get the enablement status of the Bot Management product on a service.
|
101
|
+
|
102
|
+
### Examples
|
103
|
+
|
104
|
+
```ruby
|
105
|
+
api_instance = Fastly::ProductBotManagementApi.new
|
106
|
+
opts = {
|
107
|
+
service_id: 'service_id_example', # String | Alphanumeric string identifying the service.
|
108
|
+
}
|
109
|
+
|
110
|
+
begin
|
111
|
+
# Get product enablement status
|
112
|
+
result = api_instance.get_product_bot_management(opts)
|
113
|
+
p result
|
114
|
+
rescue Fastly::ApiError => e
|
115
|
+
puts "Error when calling ProductBotManagementApi->get_product_bot_management: #{e}"
|
116
|
+
end
|
117
|
+
```
|
118
|
+
|
119
|
+
### Options
|
120
|
+
|
121
|
+
| Name | Type | Description | Notes |
|
122
|
+
| ---- | ---- | ----------- | ----- |
|
123
|
+
| **service_id** | **String** | Alphanumeric string identifying the service. | |
|
124
|
+
|
125
|
+
### Return type
|
126
|
+
|
127
|
+
[**BotManagementResponseBodyEnable**](BotManagementResponseBodyEnable.md)
|
128
|
+
|
129
|
+
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
|
130
|
+
[[Back to README]](../../README.md)
|
@@ -0,0 +1,130 @@
|
|
1
|
+
# Fastly::ProductBrotliCompressionApi
|
2
|
+
|
3
|
+
|
4
|
+
```ruby
|
5
|
+
require 'fastly'
|
6
|
+
api_instance = Fastly::ProductBrotliCompressionApi.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_brotli_compression**](ProductBrotliCompressionApi.md#disable_product_brotli_compression) | **DELETE** /enabled-products/v1/brotli_compression/services/{service_id} | Disable product
|
17
|
+
[**enable_product_brotli_compression**](ProductBrotliCompressionApi.md#enable_product_brotli_compression) | **PUT** /enabled-products/v1/brotli_compression/services/{service_id} | Enable product
|
18
|
+
[**get_product_brotli_compression**](ProductBrotliCompressionApi.md#get_product_brotli_compression) | **GET** /enabled-products/v1/brotli_compression/services/{service_id} | Get product enablement status
|
19
|
+
|
20
|
+
|
21
|
+
## `disable_product_brotli_compression()`
|
22
|
+
|
23
|
+
```ruby
|
24
|
+
disable_product_brotli_compression(opts) # Disable product
|
25
|
+
```
|
26
|
+
|
27
|
+
Disable the Brotli Compression product on a service.
|
28
|
+
|
29
|
+
### Examples
|
30
|
+
|
31
|
+
```ruby
|
32
|
+
api_instance = Fastly::ProductBrotliCompressionApi.new
|
33
|
+
opts = {
|
34
|
+
service_id: 'service_id_example', # String | Alphanumeric string identifying the service.
|
35
|
+
}
|
36
|
+
|
37
|
+
begin
|
38
|
+
# Disable product
|
39
|
+
api_instance.disable_product_brotli_compression(opts)
|
40
|
+
rescue Fastly::ApiError => e
|
41
|
+
puts "Error when calling ProductBrotliCompressionApi->disable_product_brotli_compression: #{e}"
|
42
|
+
end
|
43
|
+
```
|
44
|
+
|
45
|
+
### Options
|
46
|
+
|
47
|
+
| Name | Type | Description | Notes |
|
48
|
+
| ---- | ---- | ----------- | ----- |
|
49
|
+
| **service_id** | **String** | Alphanumeric string identifying the service. | |
|
50
|
+
|
51
|
+
### Return type
|
52
|
+
|
53
|
+
nil (empty response body)
|
54
|
+
|
55
|
+
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
|
56
|
+
[[Back to README]](../../README.md)
|
57
|
+
## `enable_product_brotli_compression()`
|
58
|
+
|
59
|
+
```ruby
|
60
|
+
enable_product_brotli_compression(opts): <BrotliCompressionResponseBodyEnable> # Enable product
|
61
|
+
```
|
62
|
+
|
63
|
+
Enable the Brotli Compression product on a service.
|
64
|
+
|
65
|
+
### Examples
|
66
|
+
|
67
|
+
```ruby
|
68
|
+
api_instance = Fastly::ProductBrotliCompressionApi.new
|
69
|
+
opts = {
|
70
|
+
service_id: 'service_id_example', # String | Alphanumeric string identifying the service.
|
71
|
+
}
|
72
|
+
|
73
|
+
begin
|
74
|
+
# Enable product
|
75
|
+
result = api_instance.enable_product_brotli_compression(opts)
|
76
|
+
p result
|
77
|
+
rescue Fastly::ApiError => e
|
78
|
+
puts "Error when calling ProductBrotliCompressionApi->enable_product_brotli_compression: #{e}"
|
79
|
+
end
|
80
|
+
```
|
81
|
+
|
82
|
+
### Options
|
83
|
+
|
84
|
+
| Name | Type | Description | Notes |
|
85
|
+
| ---- | ---- | ----------- | ----- |
|
86
|
+
| **service_id** | **String** | Alphanumeric string identifying the service. | |
|
87
|
+
|
88
|
+
### Return type
|
89
|
+
|
90
|
+
[**BrotliCompressionResponseBodyEnable**](BrotliCompressionResponseBodyEnable.md)
|
91
|
+
|
92
|
+
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
|
93
|
+
[[Back to README]](../../README.md)
|
94
|
+
## `get_product_brotli_compression()`
|
95
|
+
|
96
|
+
```ruby
|
97
|
+
get_product_brotli_compression(opts): <BrotliCompressionResponseBodyEnable> # Get product enablement status
|
98
|
+
```
|
99
|
+
|
100
|
+
Get the enablement status of the Brotli Compression product on a service.
|
101
|
+
|
102
|
+
### Examples
|
103
|
+
|
104
|
+
```ruby
|
105
|
+
api_instance = Fastly::ProductBrotliCompressionApi.new
|
106
|
+
opts = {
|
107
|
+
service_id: 'service_id_example', # String | Alphanumeric string identifying the service.
|
108
|
+
}
|
109
|
+
|
110
|
+
begin
|
111
|
+
# Get product enablement status
|
112
|
+
result = api_instance.get_product_brotli_compression(opts)
|
113
|
+
p result
|
114
|
+
rescue Fastly::ApiError => e
|
115
|
+
puts "Error when calling ProductBrotliCompressionApi->get_product_brotli_compression: #{e}"
|
116
|
+
end
|
117
|
+
```
|
118
|
+
|
119
|
+
### Options
|
120
|
+
|
121
|
+
| Name | Type | Description | Notes |
|
122
|
+
| ---- | ---- | ----------- | ----- |
|
123
|
+
| **service_id** | **String** | Alphanumeric string identifying the service. | |
|
124
|
+
|
125
|
+
### Return type
|
126
|
+
|
127
|
+
[**BrotliCompressionResponseBodyEnable**](BrotliCompressionResponseBodyEnable.md)
|
128
|
+
|
129
|
+
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
|
130
|
+
[[Back to README]](../../README.md)
|
@@ -0,0 +1,208 @@
|
|
1
|
+
# Fastly::ProductDdosProtectionApi
|
2
|
+
|
3
|
+
|
4
|
+
```ruby
|
5
|
+
require 'fastly'
|
6
|
+
api_instance = Fastly::ProductDdosProtectionApi.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_ddos_protection**](ProductDdosProtectionApi.md#disable_product_ddos_protection) | **DELETE** /enabled-products/v1/ddos_protection/services/{service_id} | Disable product
|
17
|
+
[**enable_product_ddos_protection**](ProductDdosProtectionApi.md#enable_product_ddos_protection) | **PUT** /enabled-products/v1/ddos_protection/services/{service_id} | Enable product
|
18
|
+
[**get_product_ddos_protection**](ProductDdosProtectionApi.md#get_product_ddos_protection) | **GET** /enabled-products/v1/ddos_protection/services/{service_id} | Get product enablement status
|
19
|
+
[**get_product_ddos_protection_configuration**](ProductDdosProtectionApi.md#get_product_ddos_protection_configuration) | **GET** /enabled-products/v1/ddos_protection/services/{service_id}/configuration | Get configuration
|
20
|
+
[**set_product_ddos_protection_configuration**](ProductDdosProtectionApi.md#set_product_ddos_protection_configuration) | **PATCH** /enabled-products/v1/ddos_protection/services/{service_id}/configuration | Update configuration
|
21
|
+
|
22
|
+
|
23
|
+
## `disable_product_ddos_protection()`
|
24
|
+
|
25
|
+
```ruby
|
26
|
+
disable_product_ddos_protection(opts) # Disable product
|
27
|
+
```
|
28
|
+
|
29
|
+
Disable the DDoS Protection product on a service.
|
30
|
+
|
31
|
+
### Examples
|
32
|
+
|
33
|
+
```ruby
|
34
|
+
api_instance = Fastly::ProductDdosProtectionApi.new
|
35
|
+
opts = {
|
36
|
+
service_id: 'service_id_example', # String | Alphanumeric string identifying the service.
|
37
|
+
}
|
38
|
+
|
39
|
+
begin
|
40
|
+
# Disable product
|
41
|
+
api_instance.disable_product_ddos_protection(opts)
|
42
|
+
rescue Fastly::ApiError => e
|
43
|
+
puts "Error when calling ProductDdosProtectionApi->disable_product_ddos_protection: #{e}"
|
44
|
+
end
|
45
|
+
```
|
46
|
+
|
47
|
+
### Options
|
48
|
+
|
49
|
+
| Name | Type | Description | Notes |
|
50
|
+
| ---- | ---- | ----------- | ----- |
|
51
|
+
| **service_id** | **String** | Alphanumeric string identifying the service. | |
|
52
|
+
|
53
|
+
### Return type
|
54
|
+
|
55
|
+
nil (empty response body)
|
56
|
+
|
57
|
+
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
|
58
|
+
[[Back to README]](../../README.md)
|
59
|
+
## `enable_product_ddos_protection()`
|
60
|
+
|
61
|
+
```ruby
|
62
|
+
enable_product_ddos_protection(opts): <DdosProtectionResponseEnable> # Enable product
|
63
|
+
```
|
64
|
+
|
65
|
+
Enable the DDoS Protection product on a service.
|
66
|
+
|
67
|
+
### Examples
|
68
|
+
|
69
|
+
```ruby
|
70
|
+
api_instance = Fastly::ProductDdosProtectionApi.new
|
71
|
+
opts = {
|
72
|
+
service_id: 'service_id_example', # String | Alphanumeric string identifying the service.
|
73
|
+
}
|
74
|
+
|
75
|
+
begin
|
76
|
+
# Enable product
|
77
|
+
result = api_instance.enable_product_ddos_protection(opts)
|
78
|
+
p result
|
79
|
+
rescue Fastly::ApiError => e
|
80
|
+
puts "Error when calling ProductDdosProtectionApi->enable_product_ddos_protection: #{e}"
|
81
|
+
end
|
82
|
+
```
|
83
|
+
|
84
|
+
### Options
|
85
|
+
|
86
|
+
| Name | Type | Description | Notes |
|
87
|
+
| ---- | ---- | ----------- | ----- |
|
88
|
+
| **service_id** | **String** | Alphanumeric string identifying the service. | |
|
89
|
+
|
90
|
+
### Return type
|
91
|
+
|
92
|
+
[**DdosProtectionResponseEnable**](DdosProtectionResponseEnable.md)
|
93
|
+
|
94
|
+
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
|
95
|
+
[[Back to README]](../../README.md)
|
96
|
+
## `get_product_ddos_protection()`
|
97
|
+
|
98
|
+
```ruby
|
99
|
+
get_product_ddos_protection(opts): <DdosProtectionResponseEnable> # Get product enablement status
|
100
|
+
```
|
101
|
+
|
102
|
+
Get the enablement status of the DDoS Protection product on a service.
|
103
|
+
|
104
|
+
### Examples
|
105
|
+
|
106
|
+
```ruby
|
107
|
+
api_instance = Fastly::ProductDdosProtectionApi.new
|
108
|
+
opts = {
|
109
|
+
service_id: 'service_id_example', # String | Alphanumeric string identifying the service.
|
110
|
+
}
|
111
|
+
|
112
|
+
begin
|
113
|
+
# Get product enablement status
|
114
|
+
result = api_instance.get_product_ddos_protection(opts)
|
115
|
+
p result
|
116
|
+
rescue Fastly::ApiError => e
|
117
|
+
puts "Error when calling ProductDdosProtectionApi->get_product_ddos_protection: #{e}"
|
118
|
+
end
|
119
|
+
```
|
120
|
+
|
121
|
+
### Options
|
122
|
+
|
123
|
+
| Name | Type | Description | Notes |
|
124
|
+
| ---- | ---- | ----------- | ----- |
|
125
|
+
| **service_id** | **String** | Alphanumeric string identifying the service. | |
|
126
|
+
|
127
|
+
### Return type
|
128
|
+
|
129
|
+
[**DdosProtectionResponseEnable**](DdosProtectionResponseEnable.md)
|
130
|
+
|
131
|
+
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
|
132
|
+
[[Back to README]](../../README.md)
|
133
|
+
## `get_product_ddos_protection_configuration()`
|
134
|
+
|
135
|
+
```ruby
|
136
|
+
get_product_ddos_protection_configuration(opts): <DdosProtectionResponseConfigure> # Get configuration
|
137
|
+
```
|
138
|
+
|
139
|
+
Get configuration of the DDoS Protection product on a service.
|
140
|
+
|
141
|
+
### Examples
|
142
|
+
|
143
|
+
```ruby
|
144
|
+
api_instance = Fastly::ProductDdosProtectionApi.new
|
145
|
+
opts = {
|
146
|
+
service_id: 'service_id_example', # String | Alphanumeric string identifying the service.
|
147
|
+
}
|
148
|
+
|
149
|
+
begin
|
150
|
+
# Get configuration
|
151
|
+
result = api_instance.get_product_ddos_protection_configuration(opts)
|
152
|
+
p result
|
153
|
+
rescue Fastly::ApiError => e
|
154
|
+
puts "Error when calling ProductDdosProtectionApi->get_product_ddos_protection_configuration: #{e}"
|
155
|
+
end
|
156
|
+
```
|
157
|
+
|
158
|
+
### Options
|
159
|
+
|
160
|
+
| Name | Type | Description | Notes |
|
161
|
+
| ---- | ---- | ----------- | ----- |
|
162
|
+
| **service_id** | **String** | Alphanumeric string identifying the service. | |
|
163
|
+
|
164
|
+
### Return type
|
165
|
+
|
166
|
+
[**DdosProtectionResponseConfigure**](DdosProtectionResponseConfigure.md)
|
167
|
+
|
168
|
+
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
|
169
|
+
[[Back to README]](../../README.md)
|
170
|
+
## `set_product_ddos_protection_configuration()`
|
171
|
+
|
172
|
+
```ruby
|
173
|
+
set_product_ddos_protection_configuration(opts): <DdosProtectionResponseConfigure> # Update configuration
|
174
|
+
```
|
175
|
+
|
176
|
+
Update configuration of the DDoS Protection product on a service.
|
177
|
+
|
178
|
+
### Examples
|
179
|
+
|
180
|
+
```ruby
|
181
|
+
api_instance = Fastly::ProductDdosProtectionApi.new
|
182
|
+
opts = {
|
183
|
+
service_id: 'service_id_example', # String | Alphanumeric string identifying the service.
|
184
|
+
ddos_protection_request_update_configuration: Fastly::DdosProtectionRequestUpdateConfiguration.new({mode: 'false'}), # DdosProtectionRequestUpdateConfiguration |
|
185
|
+
}
|
186
|
+
|
187
|
+
begin
|
188
|
+
# Update configuration
|
189
|
+
result = api_instance.set_product_ddos_protection_configuration(opts)
|
190
|
+
p result
|
191
|
+
rescue Fastly::ApiError => e
|
192
|
+
puts "Error when calling ProductDdosProtectionApi->set_product_ddos_protection_configuration: #{e}"
|
193
|
+
end
|
194
|
+
```
|
195
|
+
|
196
|
+
### Options
|
197
|
+
|
198
|
+
| Name | Type | Description | Notes |
|
199
|
+
| ---- | ---- | ----------- | ----- |
|
200
|
+
| **service_id** | **String** | Alphanumeric string identifying the service. | |
|
201
|
+
| **ddos_protection_request_update_configuration** | [**DdosProtectionRequestUpdateConfiguration**](DdosProtectionRequestUpdateConfiguration.md) | | [optional] |
|
202
|
+
|
203
|
+
### Return type
|
204
|
+
|
205
|
+
[**DdosProtectionResponseConfigure**](DdosProtectionResponseConfigure.md)
|
206
|
+
|
207
|
+
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
|
208
|
+
[[Back to README]](../../README.md)
|