fastly 8.10.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 +51 -2
- data/Gemfile.lock +3 -3
- data/README.md +63 -45
- data/docs/AccessKey.md +12 -0
- data/docs/AccessKeyResponse.md +15 -0
- data/docs/AclsInComputeApi.md +4 -4
- 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 +17 -23
- 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/{LegacyWafTag.md → ComputeAclListMeta.md} +2 -2
- data/docs/ComputeAclLookup.md +1 -2
- data/docs/{InlineResponse2004Meta.md → ComputeAclUpdate.md} +2 -3
- data/docs/DdosProtectionRequestUpdateConfiguration.md +10 -0
- data/docs/DdosProtectionResponseConfiguration.md +10 -0
- data/docs/DdosProtectionResponseConfigurationConfiguration.md +10 -0
- 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/DimensionAttributesCountryStats.md +12 -0
- data/docs/DimensionAttributesRate.md +10 -0
- data/docs/DimensionBrowser.md +10 -0
- data/docs/DimensionContentType.md +10 -0
- data/docs/DimensionCountry.md +10 -0
- data/docs/DimensionDevice.md +10 -0
- data/docs/DimensionOs.md +10 -0
- data/docs/DimensionResponse.md +10 -0
- data/docs/DimensionStatusCode.md +10 -0
- data/docs/DimensionUrl.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/FilterFieldItem.md +12 -0
- data/docs/GetLogInsightsResponse.md +11 -0
- data/docs/GetLogRecordsResponse.md +11 -0
- data/docs/GetLogRecordsResponseMeta.md +10 -0
- data/docs/GetLogRecordsResponseMetaFilters.md +16 -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/InsightsApi.md +69 -0
- 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 -50
- data/docs/KvStoreRequestCreate.md +10 -0
- data/docs/KvStoreUpsertBatch.md +14 -0
- data/docs/LogExplorerApi.md +65 -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/LogInsights.md +12 -0
- data/docs/LogInsightsDimensionAttributes.md +49 -0
- data/docs/LogInsightsDimensions.md +61 -0
- data/docs/LogInsightsMeta.md +10 -0
- data/docs/LogInsightsMetaFilter.md +14 -0
- data/docs/LogInsightsValues.md +65 -0
- data/docs/{ReadOnlyServiceId.md → LogPropertyServiceId.md} +1 -1
- data/docs/LogRecord.md +37 -0
- data/docs/LoggingGrafanacloudlogsAdditional.md +14 -0
- data/docs/LoggingGrafanacloudlogsApi.md +259 -0
- data/docs/LoggingGrafanacloudlogsResponse.md +23 -0
- data/docs/{ReadOnlyVersion.md → NgwafRequestEnable.md} +2 -1
- 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/NgwafResponseProduct.md +10 -0
- data/docs/{ConfiguredProductResponseProduct.md → NgwafResponseProductProduct.md} +1 -1
- data/docs/NgwafResponseService.md +10 -0
- data/docs/ObjectStorageAccessKeysApi.md +163 -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 -7
- data/docs/RealtimeMeasurements.md +18 -7
- data/docs/Results.md +18 -7
- data/docs/SnippetApi.md +15 -15
- data/docs/Usagemetric.md +18 -0
- data/docs/{Store.md → Usagemetrics.md} +2 -2
- data/docs/ValueField.md +59 -0
- data/docs/Values.md +2 -0
- data/docs/Values503Responses.md +12 -0
- data/docs/ValuesBandwidth.md +11 -0
- data/docs/ValuesBrowser.md +11 -0
- data/docs/ValuesCacheHitRatio.md +10 -0
- data/docs/ValuesCountryStats.md +12 -0
- data/docs/ValuesDuration.md +12 -0
- data/docs/ValuesMisses.md +10 -0
- data/docs/ValuesRate.md +10 -0
- data/docs/ValuesRequests.md +10 -0
- data/docs/ValuesStatusCodes.md +12 -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 +6 -6
- data/lib/fastly/api/backend_api.rb +4 -4
- data/lib/fastly/api/billing_usage_metrics_api.rb +46 -73
- data/lib/fastly/api/insights_api.rb +125 -0
- data/lib/fastly/api/kv_store_api.rb +53 -45
- data/lib/fastly/api/kv_store_item_api.rb +114 -99
- data/lib/fastly/api/log_explorer_api.rb +109 -0
- data/lib/fastly/api/logging_grafanacloudlogs_api.rb +471 -0
- data/lib/fastly/api/object_storage_access_keys_api.rb +263 -0
- 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 +308 -200
- data/lib/fastly/models/access_key.rb +248 -0
- data/lib/fastly/models/{legacy_waf_update_status.rb → access_key_response.rb} +48 -46
- data/lib/fastly/models/ai_accelerator_response_body_enable.rb +243 -0
- 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/compute_acl_list.rb +228 -0
- data/lib/fastly/models/compute_acl_list_entries.rb +1 -1
- data/lib/fastly/models/compute_acl_list_meta.rb +218 -0
- data/lib/fastly/models/compute_acl_lookup.rb +3 -13
- data/lib/fastly/models/compute_acl_update.rb +219 -0
- data/lib/fastly/models/compute_acl_update_entry.rb +1 -1
- data/lib/fastly/models/ddos_protection_request_update_configuration.rb +256 -0
- 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/dimension_attributes_country_stats.rb +237 -0
- data/lib/fastly/models/dimension_attributes_rate.rb +217 -0
- data/lib/fastly/models/dimension_browser.rb +217 -0
- data/lib/fastly/models/dimension_content_type.rb +217 -0
- data/lib/fastly/models/dimension_country.rb +217 -0
- data/lib/fastly/models/dimension_device.rb +217 -0
- data/lib/fastly/models/{store.rb → dimension_os.rb} +11 -11
- data/lib/fastly/models/{read_only_service_id.rb → dimension_response.rb} +15 -5
- data/lib/fastly/models/dimension_status_code.rb +217 -0
- data/lib/fastly/models/{legacy_waf_tag.rb → dimension_url.rb} +11 -11
- 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/fanout_response_links.rb +216 -0
- 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/filter_field_item.rb +271 -0
- data/lib/fastly/models/{inline_response2004_meta.rb → get_log_insights_response.rb} +18 -16
- data/lib/fastly/models/get_log_records_response.rb +227 -0
- data/lib/fastly/models/get_log_records_response_meta.rb +216 -0
- data/lib/fastly/models/{legacy_waf_firewall.rb → get_log_records_response_meta_filters.rb} +80 -70
- 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/kv_store_upsert_batch.rb +269 -0
- 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/log_insights.rb +234 -0
- data/lib/fastly/models/log_insights_dimension_attributes.rb +103 -0
- data/lib/fastly/models/log_insights_dimensions.rb +109 -0
- data/lib/fastly/models/log_insights_meta.rb +217 -0
- data/lib/fastly/models/{inline_response2003_meta.rb → log_insights_meta_filter.rb} +69 -13
- data/lib/fastly/models/log_insights_values.rb +111 -0
- data/lib/fastly/models/{read_only_version.rb → log_property_service_id.rb} +4 -3
- data/lib/fastly/models/log_record.rb +486 -0
- data/lib/fastly/models/logging_grafanacloudlogs_additional.rb +257 -0
- data/lib/fastly/models/logging_grafanacloudlogs_response.rb +408 -0
- data/lib/fastly/models/{set_workspace_id.rb → ngwaf_request_enable.rb} +9 -4
- data/lib/fastly/models/{set_configuration.rb → ngwaf_request_update_configuration.rb} +5 -5
- 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/ngwaf_response_links.rb +216 -0
- data/lib/fastly/models/{configured_product_response_links.rb → ngwaf_response_links_links.rb} +3 -3
- data/lib/fastly/models/ngwaf_response_product.rb +216 -0
- 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 +184 -74
- data/lib/fastly/models/realtime_measurements.rb +184 -74
- data/lib/fastly/models/results.rb +181 -71
- 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/usagemetric.rb +297 -0
- data/lib/fastly/models/usagemetrics.rb +218 -0
- data/lib/fastly/models/value_field.rb +108 -0
- data/lib/fastly/models/values.rb +21 -1
- data/lib/fastly/models/{legacy_waf_rule_status.rb → values503_responses.rb} +25 -25
- data/lib/fastly/models/values_bandwidth.rb +227 -0
- data/lib/fastly/models/values_browser.rb +227 -0
- data/lib/fastly/models/values_cache_hit_ratio.rb +217 -0
- data/lib/fastly/models/values_country_stats.rb +237 -0
- data/lib/fastly/models/{legacy_waf_rule.rb → values_duration.rb} +25 -45
- data/lib/fastly/models/values_misses.rb +217 -0
- data/lib/fastly/models/values_rate.rb +217 -0
- data/lib/fastly/models/values_requests.rb +217 -0
- data/lib/fastly/models/values_status_codes.rb +237 -0
- data/lib/fastly/models/websockets_response_body_enable.rb +243 -0
- data/lib/fastly/models/websockets_response_links.rb +216 -0
- 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 +147 -35
- data/sig.json +1 -1
- metadata +299 -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 -11
- 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/legacy_waf_owasp.rb +0 -527
- data/lib/fastly/models/legacy_waf_ruleset.rb +0 -227
@@ -0,0 +1,130 @@
|
|
1
|
+
# Fastly::ProductOriginInspectorApi
|
2
|
+
|
3
|
+
|
4
|
+
```ruby
|
5
|
+
require 'fastly'
|
6
|
+
api_instance = Fastly::ProductOriginInspectorApi.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_origin_inspector**](ProductOriginInspectorApi.md#disable_product_origin_inspector) | **DELETE** /enabled-products/v1/origin_inspector/services/{service_id} | Disable product
|
17
|
+
[**enable_product_origin_inspector**](ProductOriginInspectorApi.md#enable_product_origin_inspector) | **PUT** /enabled-products/v1/origin_inspector/services/{service_id} | Enable product
|
18
|
+
[**get_product_origin_inspector**](ProductOriginInspectorApi.md#get_product_origin_inspector) | **GET** /enabled-products/v1/origin_inspector/services/{service_id} | Get product enablement status
|
19
|
+
|
20
|
+
|
21
|
+
## `disable_product_origin_inspector()`
|
22
|
+
|
23
|
+
```ruby
|
24
|
+
disable_product_origin_inspector(opts) # Disable product
|
25
|
+
```
|
26
|
+
|
27
|
+
Disable the Origin Inspector product on a service.
|
28
|
+
|
29
|
+
### Examples
|
30
|
+
|
31
|
+
```ruby
|
32
|
+
api_instance = Fastly::ProductOriginInspectorApi.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_origin_inspector(opts)
|
40
|
+
rescue Fastly::ApiError => e
|
41
|
+
puts "Error when calling ProductOriginInspectorApi->disable_product_origin_inspector: #{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_origin_inspector()`
|
58
|
+
|
59
|
+
```ruby
|
60
|
+
enable_product_origin_inspector(opts): <OriginInspectorResponseBodyEnable> # Enable product
|
61
|
+
```
|
62
|
+
|
63
|
+
Enable the Origin Inspector product on a service.
|
64
|
+
|
65
|
+
### Examples
|
66
|
+
|
67
|
+
```ruby
|
68
|
+
api_instance = Fastly::ProductOriginInspectorApi.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_origin_inspector(opts)
|
76
|
+
p result
|
77
|
+
rescue Fastly::ApiError => e
|
78
|
+
puts "Error when calling ProductOriginInspectorApi->enable_product_origin_inspector: #{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
|
+
[**OriginInspectorResponseBodyEnable**](OriginInspectorResponseBodyEnable.md)
|
91
|
+
|
92
|
+
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
|
93
|
+
[[Back to README]](../../README.md)
|
94
|
+
## `get_product_origin_inspector()`
|
95
|
+
|
96
|
+
```ruby
|
97
|
+
get_product_origin_inspector(opts): <OriginInspectorResponseBodyEnable> # Get product enablement status
|
98
|
+
```
|
99
|
+
|
100
|
+
Get the enablement status of the Origin Inspector product on a service.
|
101
|
+
|
102
|
+
### Examples
|
103
|
+
|
104
|
+
```ruby
|
105
|
+
api_instance = Fastly::ProductOriginInspectorApi.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_origin_inspector(opts)
|
113
|
+
p result
|
114
|
+
rescue Fastly::ApiError => e
|
115
|
+
puts "Error when calling ProductOriginInspectorApi->get_product_origin_inspector: #{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
|
+
[**OriginInspectorResponseBodyEnable**](OriginInspectorResponseBodyEnable.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::ProductWebsocketsApi
|
2
|
+
|
3
|
+
|
4
|
+
```ruby
|
5
|
+
require 'fastly'
|
6
|
+
api_instance = Fastly::ProductWebsocketsApi.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_websockets**](ProductWebsocketsApi.md#disable_product_websockets) | **DELETE** /enabled-products/v1/websockets/services/{service_id} | Disable product
|
17
|
+
[**enable_product_websockets**](ProductWebsocketsApi.md#enable_product_websockets) | **PUT** /enabled-products/v1/websockets/services/{service_id} | Enable product
|
18
|
+
[**get_product_websockets**](ProductWebsocketsApi.md#get_product_websockets) | **GET** /enabled-products/v1/websockets/services/{service_id} | Get product enablement status
|
19
|
+
|
20
|
+
|
21
|
+
## `disable_product_websockets()`
|
22
|
+
|
23
|
+
```ruby
|
24
|
+
disable_product_websockets(opts) # Disable product
|
25
|
+
```
|
26
|
+
|
27
|
+
Disable the Websockets product on a service.
|
28
|
+
|
29
|
+
### Examples
|
30
|
+
|
31
|
+
```ruby
|
32
|
+
api_instance = Fastly::ProductWebsocketsApi.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_websockets(opts)
|
40
|
+
rescue Fastly::ApiError => e
|
41
|
+
puts "Error when calling ProductWebsocketsApi->disable_product_websockets: #{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_websockets()`
|
58
|
+
|
59
|
+
```ruby
|
60
|
+
enable_product_websockets(opts): <WebsocketsResponseBodyEnable> # Enable product
|
61
|
+
```
|
62
|
+
|
63
|
+
Enable the WebSockets product on a service.
|
64
|
+
|
65
|
+
### Examples
|
66
|
+
|
67
|
+
```ruby
|
68
|
+
api_instance = Fastly::ProductWebsocketsApi.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_websockets(opts)
|
76
|
+
p result
|
77
|
+
rescue Fastly::ApiError => e
|
78
|
+
puts "Error when calling ProductWebsocketsApi->enable_product_websockets: #{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
|
+
[**WebsocketsResponseBodyEnable**](WebsocketsResponseBodyEnable.md)
|
91
|
+
|
92
|
+
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
|
93
|
+
[[Back to README]](../../README.md)
|
94
|
+
## `get_product_websockets()`
|
95
|
+
|
96
|
+
```ruby
|
97
|
+
get_product_websockets(opts): <WebsocketsResponseBodyEnable> # Get product enablement status
|
98
|
+
```
|
99
|
+
|
100
|
+
Get the enablement status of the WebSockets product on a service.
|
101
|
+
|
102
|
+
### Examples
|
103
|
+
|
104
|
+
```ruby
|
105
|
+
api_instance = Fastly::ProductWebsocketsApi.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_websockets(opts)
|
113
|
+
p result
|
114
|
+
rescue Fastly::ApiError => e
|
115
|
+
puts "Error when calling ProductWebsocketsApi->get_product_websockets: #{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
|
+
[**WebsocketsResponseBodyEnable**](WebsocketsResponseBodyEnable.md)
|
128
|
+
|
129
|
+
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
|
130
|
+
[[Back to README]](../../README.md)
|
@@ -89,6 +89,7 @@
|
|
89
89
|
| **status_503** | **Integer** | Number of responses sent with status code 503 (Service Unavailable). | [optional] |
|
90
90
|
| **status_504** | **Integer** | Number of responses sent with status code 504 (Gateway Timeout). | [optional] |
|
91
91
|
| **status_505** | **Integer** | Number of responses sent with status code 505 (HTTP Version Not Supported). | [optional] |
|
92
|
+
| **status_530** | **Integer** | Number of responses sent with status code 530. | [optional] |
|
92
93
|
| **uncacheable** | **Integer** | Number of requests that were designated uncachable. | [optional] |
|
93
94
|
| **pass_time** | **Float** | Total amount of time spent processing cache passes (in seconds). | [optional] |
|
94
95
|
| **tls** | **Integer** | Number of requests that were received over TLS. | [optional] |
|
@@ -233,13 +234,6 @@
|
|
233
234
|
| **bot_challenge_complete_tokens_issued** | **Integer** | The number of challenge-complete tokens issued. For example, issuing a challenge-complete token after a series of CAPTCHA challenges ending in success. | [optional] |
|
234
235
|
| **ddos_action_downgrade** | **Integer** | The number of times the downgrade action was taken. The downgrade action restricts the client to http1. | [optional] |
|
235
236
|
| **ddos_action_downgraded_connections** | **Integer** | The number of connections the downgrade action was applied to. The downgrade action restricts the connection to http1. | [optional] |
|
236
|
-
| **vcl_on_compute_hit_requests** | **Integer** | Number of cache hits for a VCL service running on Compute. | [optional] |
|
237
|
-
| **vcl_on_compute_miss_requests** | **Integer** | Number of cache misses for a VCL service running on Compute. | [optional] |
|
238
|
-
| **vcl_on_compute_pass_requests** | **Integer** | Number of requests that passed through the CDN without being cached for a VCL service running on Compute. | [optional] |
|
239
|
-
| **vcl_on_compute_error_requests** | **Integer** | Number of cache errors for a VCL service running on Compute. | [optional] |
|
240
|
-
| **vcl_on_compute_synth_requests** | **Integer** | Number of requests that returned a synthetic response (i.e., response objects created with the `synthetic` VCL statement) for a VCL service running on Compute. | [optional] |
|
241
|
-
| **vcl_on_compute_edge_hit_requests** | **Integer** | Number of requests sent by end users to Fastly that resulted in a hit at the edge for a VCL service running on Compute. | [optional] |
|
242
|
-
| **vcl_on_compute_edge_miss_requests** | **Integer** | Number of requests sent by end users to Fastly that resulted in a miss at the edge for a VCL service running on Compute. | [optional] |
|
243
237
|
| **all_hit_requests** | **Integer** | Number of cache hits for a VCL service. | [optional] |
|
244
238
|
| **all_miss_requests** | **Integer** | Number of cache misses for a VCL service. | [optional] |
|
245
239
|
| **all_pass_requests** | **Integer** | Number of requests that passed through the CDN without being cached for a VCL service. | [optional] |
|
@@ -254,6 +248,23 @@
|
|
254
248
|
| **all_status_5xx** | **Integer** | Number of \"Server Error\" codes delivered for all sources. | [optional] |
|
255
249
|
| **origin_offload** | **Float** | Origin Offload measures the ratio of bytes served to end users that were cached by Fastly, over the bytes served to end users, between 0 and 1. ((`edge_resp_body_bytes` + `edge_resp_header_bytes`) - (`origin_fetch_resp_body_bytes` + `origin_fetch_resp_header_bytes`)) / (`edge_resp_body_bytes` + `edge_resp_header_bytes`). | [optional] |
|
256
250
|
| **request_denied_get_head_body** | **Integer** | Number of requests where Fastly responded with 400 due to the request being a GET or HEAD request containing a body. | [optional] |
|
251
|
+
| **ddos_protection_requests_detect_count** | **Integer** | Number of requests classified as a DDoS attack against a customer origin or service. | [optional] |
|
252
|
+
| **ddos_protection_requests_mitigate_count** | **Integer** | Number of requests classified as a DDoS attack against a customer origin or service that were mitigated by the Fastly platform. | [optional] |
|
253
|
+
| **ddos_protection_requests_allow_count** | **Integer** | Number of requests analyzed for DDoS attacks against a customer origin or service, but with no DDoS detected. | [optional] |
|
254
|
+
| **object_storage_class_a_operations_count** | **Integer** | A count of the number of Class A Object Storage operations. | [optional] |
|
255
|
+
| **object_storage_class_b_operations_count** | **Integer** | A count of the number of Class B Object Storage operations. | [optional] |
|
256
|
+
| **aia_requests** | **Integer** | Number of requests received by AI Accelerator. | [optional] |
|
257
|
+
| **aia_status_1xx** | **Integer** | Number of \"Informational\" category status codes received from AI provider. | [optional] |
|
258
|
+
| **aia_status_2xx** | **Integer** | Number of \"Success\" status codes received from AI provider. | [optional] |
|
259
|
+
| **aia_status_3xx** | **Integer** | Number of \"Redirection\" received from AI provider. | [optional] |
|
260
|
+
| **aia_status_4xx** | **Integer** | Number of \"Client Error\" received from AI provider. | [optional] |
|
261
|
+
| **aia_status_5xx** | **Integer** | Number of \"Server Error\" received from AI provider. | [optional] |
|
262
|
+
| **aia_response_usage_tokens** | **Integer** | The usage tokens associated with the response returned from the AI Accelerator cache. | [optional] |
|
263
|
+
| **aia_origin_usage_tokens** | **Integer** | The number of usage tokens reported by the request to the origin from AI Accelerator. | [optional] |
|
264
|
+
| **aia_estimated_time_saved_ms** | **Integer** | The estimated amount of time saved by responses served from the AI Accelerator semantic cache. | [optional] |
|
265
|
+
| **request_collapse_usable_count** | **Integer** | Number of requests that were collapsed and satisfied by a usable cache object. | [optional] |
|
266
|
+
| **request_collapse_unusable_count** | **Integer** | Number of requests that were collapsed and unable to be satisfied by the resulting cache object. | [optional] |
|
267
|
+
| **compute_cache_operations_count** | **Integer** | Number of cache operations executed by the Compute platform. | [optional] |
|
257
268
|
|
258
269
|
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
259
270
|
|
@@ -89,6 +89,7 @@
|
|
89
89
|
| **status_503** | **Integer** | Number of responses sent with status code 503 (Service Unavailable). | [optional] |
|
90
90
|
| **status_504** | **Integer** | Number of responses sent with status code 504 (Gateway Timeout). | [optional] |
|
91
91
|
| **status_505** | **Integer** | Number of responses sent with status code 505 (HTTP Version Not Supported). | [optional] |
|
92
|
+
| **status_530** | **Integer** | Number of responses sent with status code 530. | [optional] |
|
92
93
|
| **uncacheable** | **Integer** | Number of requests that were designated uncachable. | [optional] |
|
93
94
|
| **pass_time** | **Float** | Total amount of time spent processing cache passes (in seconds). | [optional] |
|
94
95
|
| **tls** | **Integer** | Number of requests that were received over TLS. | [optional] |
|
@@ -233,13 +234,6 @@
|
|
233
234
|
| **bot_challenge_complete_tokens_issued** | **Integer** | The number of challenge-complete tokens issued. For example, issuing a challenge-complete token after a series of CAPTCHA challenges ending in success. | [optional] |
|
234
235
|
| **ddos_action_downgrade** | **Integer** | The number of times the downgrade action was taken. The downgrade action restricts the client to http1. | [optional] |
|
235
236
|
| **ddos_action_downgraded_connections** | **Integer** | The number of connections the downgrade action was applied to. The downgrade action restricts the connection to http1. | [optional] |
|
236
|
-
| **vcl_on_compute_hit_requests** | **Integer** | Number of cache hits for a VCL service running on Compute. | [optional] |
|
237
|
-
| **vcl_on_compute_miss_requests** | **Integer** | Number of cache misses for a VCL service running on Compute. | [optional] |
|
238
|
-
| **vcl_on_compute_pass_requests** | **Integer** | Number of requests that passed through the CDN without being cached for a VCL service running on Compute. | [optional] |
|
239
|
-
| **vcl_on_compute_error_requests** | **Integer** | Number of cache errors for a VCL service running on Compute. | [optional] |
|
240
|
-
| **vcl_on_compute_synth_requests** | **Integer** | Number of requests that returned a synthetic response (i.e., response objects created with the `synthetic` VCL statement) for a VCL service running on Compute. | [optional] |
|
241
|
-
| **vcl_on_compute_edge_hit_requests** | **Integer** | Number of requests sent by end users to Fastly that resulted in a hit at the edge for a VCL service running on Compute. | [optional] |
|
242
|
-
| **vcl_on_compute_edge_miss_requests** | **Integer** | Number of requests sent by end users to Fastly that resulted in a miss at the edge for a VCL service running on Compute. | [optional] |
|
243
237
|
| **all_hit_requests** | **Integer** | Number of cache hits for a VCL service. | [optional] |
|
244
238
|
| **all_miss_requests** | **Integer** | Number of cache misses for a VCL service. | [optional] |
|
245
239
|
| **all_pass_requests** | **Integer** | Number of requests that passed through the CDN without being cached for a VCL service. | [optional] |
|
@@ -254,6 +248,23 @@
|
|
254
248
|
| **all_status_5xx** | **Integer** | Number of \"Server Error\" codes delivered for all sources. | [optional] |
|
255
249
|
| **origin_offload** | **Float** | Origin Offload measures the ratio of bytes served to end users that were cached by Fastly, over the bytes served to end users, between 0 and 1. ((`edge_resp_body_bytes` + `edge_resp_header_bytes`) - (`origin_fetch_resp_body_bytes` + `origin_fetch_resp_header_bytes`)) / (`edge_resp_body_bytes` + `edge_resp_header_bytes`). | [optional] |
|
256
250
|
| **request_denied_get_head_body** | **Integer** | Number of requests where Fastly responded with 400 due to the request being a GET or HEAD request containing a body. | [optional] |
|
251
|
+
| **ddos_protection_requests_detect_count** | **Integer** | Number of requests classified as a DDoS attack against a customer origin or service. | [optional] |
|
252
|
+
| **ddos_protection_requests_mitigate_count** | **Integer** | Number of requests classified as a DDoS attack against a customer origin or service that were mitigated by the Fastly platform. | [optional] |
|
253
|
+
| **ddos_protection_requests_allow_count** | **Integer** | Number of requests analyzed for DDoS attacks against a customer origin or service, but with no DDoS detected. | [optional] |
|
254
|
+
| **object_storage_class_a_operations_count** | **Integer** | A count of the number of Class A Object Storage operations. | [optional] |
|
255
|
+
| **object_storage_class_b_operations_count** | **Integer** | A count of the number of Class B Object Storage operations. | [optional] |
|
256
|
+
| **aia_requests** | **Integer** | Number of requests received by AI Accelerator. | [optional] |
|
257
|
+
| **aia_status_1xx** | **Integer** | Number of \"Informational\" category status codes received from AI provider. | [optional] |
|
258
|
+
| **aia_status_2xx** | **Integer** | Number of \"Success\" status codes received from AI provider. | [optional] |
|
259
|
+
| **aia_status_3xx** | **Integer** | Number of \"Redirection\" received from AI provider. | [optional] |
|
260
|
+
| **aia_status_4xx** | **Integer** | Number of \"Client Error\" received from AI provider. | [optional] |
|
261
|
+
| **aia_status_5xx** | **Integer** | Number of \"Server Error\" received from AI provider. | [optional] |
|
262
|
+
| **aia_response_usage_tokens** | **Integer** | The usage tokens associated with the response returned from the AI Accelerator cache. | [optional] |
|
263
|
+
| **aia_origin_usage_tokens** | **Integer** | The number of usage tokens reported by the request to the origin from AI Accelerator. | [optional] |
|
264
|
+
| **aia_estimated_time_saved_ms** | **Integer** | The estimated amount of time saved by responses served from the AI Accelerator semantic cache. | [optional] |
|
265
|
+
| **request_collapse_usable_count** | **Integer** | Number of requests that were collapsed and satisfied by a usable cache object. | [optional] |
|
266
|
+
| **request_collapse_unusable_count** | **Integer** | Number of requests that were collapsed and unable to be satisfied by the resulting cache object. | [optional] |
|
267
|
+
| **compute_cache_operations_count** | **Integer** | Number of cache operations executed by the Compute platform. | [optional] |
|
257
268
|
|
258
269
|
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
259
270
|
|
data/docs/Results.md
CHANGED
@@ -114,6 +114,7 @@
|
|
114
114
|
| **status_503** | **Integer** | Number of responses sent with status code 503 (Service Unavailable). | [optional] |
|
115
115
|
| **status_504** | **Integer** | Number of responses sent with status code 504 (Gateway Timeout). | [optional] |
|
116
116
|
| **status_505** | **Integer** | Number of responses sent with status code 505 (HTTP Version Not Supported). | [optional] |
|
117
|
+
| **status_530** | **Integer** | Number of responses sent with status code 530. | [optional] |
|
117
118
|
| **status_1xx** | **Integer** | Number of \"Informational\" category status codes delivered. | [optional] |
|
118
119
|
| **status_2xx** | **Integer** | Number of \"Success\" status codes delivered. | [optional] |
|
119
120
|
| **status_3xx** | **Integer** | Number of \"Redirection\" codes delivered. | [optional] |
|
@@ -233,13 +234,6 @@
|
|
233
234
|
| **bot_challenges_failed** | **Integer** | The number of failed challenge solutions processed. For example, an incorrect CAPTCHA solution. | [optional] |
|
234
235
|
| **ddos_action_downgrade** | **Integer** | The number of times the downgrade action was taken. The downgrade action restricts the client to http1. | [optional] |
|
235
236
|
| **ddos_action_downgraded_connections** | **Integer** | The number of connections the downgrade action was applied to. The downgrade action restricts the connection to http1. | [optional] |
|
236
|
-
| **vcl_on_compute_hit_requests** | **Integer** | Number of cache hits for a VCL service running on Compute. | [optional] |
|
237
|
-
| **vcl_on_compute_miss_requests** | **Integer** | Number of cache misses for a VCL service running on Compute. | [optional] |
|
238
|
-
| **vcl_on_compute_pass_requests** | **Integer** | Number of requests that passed through the CDN without being cached for a VCL service running on Compute. | [optional] |
|
239
|
-
| **vcl_on_compute_error_requests** | **Integer** | Number of cache errors for a VCL service running on Compute. | [optional] |
|
240
|
-
| **vcl_on_compute_synth_requests** | **Integer** | Number of requests that returned a synthetic response (i.e., response objects created with the `synthetic` VCL statement) for a VCL service running on Compute. | [optional] |
|
241
|
-
| **vcl_on_compute_edge_hit_requests** | **Integer** | Number of requests sent by end users to Fastly that resulted in a hit at the edge for a VCL service running on Compute. | [optional] |
|
242
|
-
| **vcl_on_compute_edge_miss_requests** | **Integer** | Number of requests sent by end users to Fastly that resulted in a miss at the edge for a VCL service running on Compute. | [optional] |
|
243
237
|
| **all_hit_requests** | **Integer** | Number of cache hits for a VCL service. | [optional] |
|
244
238
|
| **all_miss_requests** | **Integer** | Number of cache misses for a VCL service. | [optional] |
|
245
239
|
| **all_pass_requests** | **Integer** | Number of requests that passed through the CDN without being cached for a VCL service. | [optional] |
|
@@ -254,6 +248,23 @@
|
|
254
248
|
| **all_status_5xx** | **Integer** | Number of \"Server Error\" codes delivered for all sources. | [optional] |
|
255
249
|
| **origin_offload** | **Float** | Origin Offload measures the ratio of bytes served to end users that were cached by Fastly, over the bytes served to end users, between 0 and 1. ((`edge_resp_body_bytes` + `edge_resp_header_bytes`) - (`origin_fetch_resp_body_bytes` + `origin_fetch_resp_header_bytes`)) / (`edge_resp_body_bytes` + `edge_resp_header_bytes`). | [optional] |
|
256
250
|
| **request_denied_get_head_body** | **Integer** | Number of requests where Fastly responded with 400 due to the request being a GET or HEAD request containing a body. | [optional] |
|
251
|
+
| **ddos_protection_requests_detect_count** | **Integer** | Number of requests classified as a DDoS attack against a customer origin or service. | [optional] |
|
252
|
+
| **ddos_protection_requests_mitigate_count** | **Integer** | Number of requests classified as a DDoS attack against a customer origin or service that were mitigated by the Fastly platform. | [optional] |
|
253
|
+
| **ddos_protection_requests_allow_count** | **Integer** | Number of requests analyzed for DDoS attacks against a customer origin or service, but with no DDoS detected. | [optional] |
|
254
|
+
| **object_storage_class_a_operations_count** | **Integer** | A count of the number of Class A Object Storage operations. | [optional] |
|
255
|
+
| **object_storage_class_b_operations_count** | **Integer** | A count of the number of Class B Object Storage operations. | [optional] |
|
256
|
+
| **aia_requests** | **Integer** | Number of requests received by AI Accelerator. | [optional] |
|
257
|
+
| **aia_status_1xx** | **Integer** | Number of \"Informational\" category status codes received from AI provider. | [optional] |
|
258
|
+
| **aia_status_2xx** | **Integer** | Number of \"Success\" status codes received from AI provider. | [optional] |
|
259
|
+
| **aia_status_3xx** | **Integer** | Number of \"Redirection\" received from AI provider. | [optional] |
|
260
|
+
| **aia_status_4xx** | **Integer** | Number of \"Client Error\" received from AI provider. | [optional] |
|
261
|
+
| **aia_status_5xx** | **Integer** | Number of \"Server Error\" received from AI provider. | [optional] |
|
262
|
+
| **aia_response_usage_tokens** | **Integer** | The usage tokens associated with the response returned from the AI Accelerator cache. | [optional] |
|
263
|
+
| **aia_origin_usage_tokens** | **Integer** | The number of usage tokens reported by the request to the origin from AI Accelerator. | [optional] |
|
264
|
+
| **aia_estimated_time_saved_ms** | **Integer** | The estimated amount of time saved by responses served from the AI Accelerator semantic cache. | [optional] |
|
265
|
+
| **request_collapse_usable_count** | **Integer** | Number of requests that were collapsed and satisfied by a usable cache object. | [optional] |
|
266
|
+
| **request_collapse_unusable_count** | **Integer** | Number of requests that were collapsed and unable to be satisfied by the resulting cache object. | [optional] |
|
267
|
+
| **compute_cache_operations_count** | **Integer** | Number of cache operations executed by the Compute platform. | [optional] |
|
257
268
|
| **service_id** | **String** | | [optional][readonly] |
|
258
269
|
| **start_time** | **Integer** | Timestamp for the start of the time period being reported | [optional] |
|
259
270
|
|
data/docs/SnippetApi.md
CHANGED
@@ -14,12 +14,12 @@ api_instance = Fastly::SnippetApi.new
|
|
14
14
|
Method | HTTP request | Description
|
15
15
|
------ | ------------ | -----------
|
16
16
|
[**create_snippet**](SnippetApi.md#create_snippet) | **POST** /service/{service_id}/version/{version_id}/snippet | Create a snippet
|
17
|
-
[**delete_snippet**](SnippetApi.md#delete_snippet) | **DELETE** /service/{service_id}/version/{version_id}/snippet/{
|
18
|
-
[**get_snippet**](SnippetApi.md#get_snippet) | **GET** /service/{service_id}/version/{version_id}/snippet/{
|
19
|
-
[**get_snippet_dynamic**](SnippetApi.md#get_snippet_dynamic) | **GET** /service/{service_id}/snippet/{
|
17
|
+
[**delete_snippet**](SnippetApi.md#delete_snippet) | **DELETE** /service/{service_id}/version/{version_id}/snippet/{name} | Delete a snippet
|
18
|
+
[**get_snippet**](SnippetApi.md#get_snippet) | **GET** /service/{service_id}/version/{version_id}/snippet/{name} | Get a versioned snippet
|
19
|
+
[**get_snippet_dynamic**](SnippetApi.md#get_snippet_dynamic) | **GET** /service/{service_id}/snippet/{id} | Get a dynamic snippet
|
20
20
|
[**list_snippets**](SnippetApi.md#list_snippets) | **GET** /service/{service_id}/version/{version_id}/snippet | List snippets
|
21
|
-
[**update_snippet**](SnippetApi.md#update_snippet) | **PUT** /service/{service_id}/version/{version_id}/snippet/{
|
22
|
-
[**update_snippet_dynamic**](SnippetApi.md#update_snippet_dynamic) | **PUT** /service/{service_id}/snippet/{
|
21
|
+
[**update_snippet**](SnippetApi.md#update_snippet) | **PUT** /service/{service_id}/version/{version_id}/snippet/{name} | Update a versioned snippet
|
22
|
+
[**update_snippet_dynamic**](SnippetApi.md#update_snippet_dynamic) | **PUT** /service/{service_id}/snippet/{id} | Update a dynamic snippet
|
23
23
|
|
24
24
|
|
25
25
|
## `create_snippet()`
|
@@ -86,7 +86,7 @@ api_instance = Fastly::SnippetApi.new
|
|
86
86
|
opts = {
|
87
87
|
service_id: 'service_id_example', # String | Alphanumeric string identifying the service.
|
88
88
|
version_id: 56, # Integer | Integer identifying a service version.
|
89
|
-
|
89
|
+
name: 'name_example', # String | The name for the snippet.
|
90
90
|
}
|
91
91
|
|
92
92
|
begin
|
@@ -104,7 +104,7 @@ end
|
|
104
104
|
| ---- | ---- | ----------- | ----- |
|
105
105
|
| **service_id** | **String** | Alphanumeric string identifying the service. | |
|
106
106
|
| **version_id** | **Integer** | Integer identifying a service version. | |
|
107
|
-
| **
|
107
|
+
| **name** | **String** | The name for the snippet. | |
|
108
108
|
|
109
109
|
### Return type
|
110
110
|
|
@@ -127,7 +127,7 @@ api_instance = Fastly::SnippetApi.new
|
|
127
127
|
opts = {
|
128
128
|
service_id: 'service_id_example', # String | Alphanumeric string identifying the service.
|
129
129
|
version_id: 56, # Integer | Integer identifying a service version.
|
130
|
-
|
130
|
+
name: 'name_example', # String | The name for the snippet.
|
131
131
|
}
|
132
132
|
|
133
133
|
begin
|
@@ -145,7 +145,7 @@ end
|
|
145
145
|
| ---- | ---- | ----------- | ----- |
|
146
146
|
| **service_id** | **String** | Alphanumeric string identifying the service. | |
|
147
147
|
| **version_id** | **Integer** | Integer identifying a service version. | |
|
148
|
-
| **
|
148
|
+
| **name** | **String** | The name for the snippet. | |
|
149
149
|
|
150
150
|
### Return type
|
151
151
|
|
@@ -167,7 +167,7 @@ Get a single dynamic snippet for a particular service.
|
|
167
167
|
api_instance = Fastly::SnippetApi.new
|
168
168
|
opts = {
|
169
169
|
service_id: 'service_id_example', # String | Alphanumeric string identifying the service.
|
170
|
-
|
170
|
+
id: 'id_example', # String | Alphanumeric string identifying a VCL Snippet.
|
171
171
|
}
|
172
172
|
|
173
173
|
begin
|
@@ -184,7 +184,7 @@ end
|
|
184
184
|
| Name | Type | Description | Notes |
|
185
185
|
| ---- | ---- | ----------- | ----- |
|
186
186
|
| **service_id** | **String** | Alphanumeric string identifying the service. | |
|
187
|
-
| **
|
187
|
+
| **id** | **String** | Alphanumeric string identifying a VCL Snippet. | |
|
188
188
|
|
189
189
|
### Return type
|
190
190
|
|
@@ -246,7 +246,7 @@ api_instance = Fastly::SnippetApi.new
|
|
246
246
|
opts = {
|
247
247
|
service_id: 'service_id_example', # String | Alphanumeric string identifying the service.
|
248
248
|
version_id: 56, # Integer | Integer identifying a service version.
|
249
|
-
|
249
|
+
name: 'name_example', # String | The name for the snippet.
|
250
250
|
}
|
251
251
|
|
252
252
|
begin
|
@@ -264,7 +264,7 @@ end
|
|
264
264
|
| ---- | ---- | ----------- | ----- |
|
265
265
|
| **service_id** | **String** | Alphanumeric string identifying the service. | |
|
266
266
|
| **version_id** | **Integer** | Integer identifying a service version. | |
|
267
|
-
| **
|
267
|
+
| **name** | **String** | The name for the snippet. | |
|
268
268
|
|
269
269
|
### Return type
|
270
270
|
|
@@ -286,7 +286,7 @@ Update a dynamic snippet for a particular service.
|
|
286
286
|
api_instance = Fastly::SnippetApi.new
|
287
287
|
opts = {
|
288
288
|
service_id: 'service_id_example', # String | Alphanumeric string identifying the service.
|
289
|
-
|
289
|
+
id: 'id_example', # String | Alphanumeric string identifying a VCL Snippet.
|
290
290
|
name: 'name_example', # String | The name for the snippet.
|
291
291
|
type: 'init', # String | The location in generated VCL where the snippet should be placed.
|
292
292
|
content: 'content_example', # String | The VCL code that specifies exactly what the snippet does.
|
@@ -308,7 +308,7 @@ end
|
|
308
308
|
| Name | Type | Description | Notes |
|
309
309
|
| ---- | ---- | ----------- | ----- |
|
310
310
|
| **service_id** | **String** | Alphanumeric string identifying the service. | |
|
311
|
-
| **
|
311
|
+
| **id** | **String** | Alphanumeric string identifying a VCL Snippet. | |
|
312
312
|
| **name** | **String** | The name for the snippet. | [optional] |
|
313
313
|
| **type** | **String** | The location in generated VCL where the snippet should be placed. | [optional] |
|
314
314
|
| **content** | **String** | The VCL code that specifies exactly what the snippet does. | [optional] |
|
data/docs/Usagemetric.md
ADDED
@@ -0,0 +1,18 @@
|
|
1
|
+
# Fastly::Usagemetric
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **month** | **String** | The year and month of the usage element. | [optional] |
|
8
|
+
| **usage_type** | **String** | The usage type identifier for the usage. This is a single, billable metric for the product. | [optional] |
|
9
|
+
| **name** | **String** | Full name of the product usage type as it might appear on a customer's invoice. | [optional] |
|
10
|
+
| **region** | **String** | The geographical area applicable for regionally based products. | [optional] |
|
11
|
+
| **unit** | **String** | The unit for the usage as shown on an invoice. If there is no explicit unit, this field will be \"unit\" (e.g., a request with `product_id` of 'cdn_usage' and `usage_type` of 'North America Requests' has no unit, and will return \"unit\"). | [optional] |
|
12
|
+
| **quantity** | **Float** | The quantity of the usage for the product. | [optional] |
|
13
|
+
| **raw_quantity** | **Float** | The raw units measured for the product. | [optional] |
|
14
|
+
| **product_id** | **String** | The product identifier associated with the usage type. This corresponds to a Fastly product offering. | [optional] |
|
15
|
+
| **last_updated_at** | **String** | The date when the usage metric was last updated. | [optional] |
|
16
|
+
|
17
|
+
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
18
|
+
|
@@ -1,10 +1,10 @@
|
|
1
|
-
# Fastly::
|
1
|
+
# Fastly::Usagemetrics
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **
|
7
|
+
| **data** | [**Array<Usagemetric>**](Usagemetric.md) | | [optional] |
|
8
8
|
|
9
9
|
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
10
10
|
|
data/docs/ValueField.md
ADDED
@@ -0,0 +1,59 @@
|
|
1
|
+
# Fastly::ValueField
|
2
|
+
|
3
|
+
## Class instance methods
|
4
|
+
|
5
|
+
### `fastly_one_of`
|
6
|
+
|
7
|
+
Returns the list of classes defined in oneOf.
|
8
|
+
|
9
|
+
#### Example
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'fastly'
|
13
|
+
|
14
|
+
Fastly::ValueField.fastly_one_of
|
15
|
+
# =>
|
16
|
+
# [
|
17
|
+
# :'Array<Float>',
|
18
|
+
# :'Array<Integer>',
|
19
|
+
# :'Array<String>',
|
20
|
+
# :'Boolean',
|
21
|
+
# :'Float',
|
22
|
+
# :'Integer',
|
23
|
+
# :'String'
|
24
|
+
# ]
|
25
|
+
```
|
26
|
+
|
27
|
+
### build
|
28
|
+
|
29
|
+
Find the appropriate object from the `fastly_one_of` list and casts the data into it.
|
30
|
+
|
31
|
+
#### Example
|
32
|
+
|
33
|
+
```ruby
|
34
|
+
require 'fastly'
|
35
|
+
|
36
|
+
Fastly::ValueField.build(data)
|
37
|
+
# => #<Array<Float>:0x00007fdd4aab02a0>
|
38
|
+
|
39
|
+
Fastly::ValueField.build(data_that_doesnt_match)
|
40
|
+
# => nil
|
41
|
+
```
|
42
|
+
|
43
|
+
#### Parameters
|
44
|
+
|
45
|
+
| Name | Type | Description |
|
46
|
+
| ---- | ---- | ----------- |
|
47
|
+
| **data** | **Mixed** | data to be matched against the list of oneOf items |
|
48
|
+
|
49
|
+
#### Return type
|
50
|
+
|
51
|
+
- `Array<Float>`
|
52
|
+
- `Array<Integer>`
|
53
|
+
- `Array<String>`
|
54
|
+
- `Boolean`
|
55
|
+
- `Float`
|
56
|
+
- `Integer`
|
57
|
+
- `String`
|
58
|
+
- `nil` (if no type matches)
|
59
|
+
|
data/docs/Values.md
CHANGED
@@ -30,6 +30,7 @@
|
|
30
30
|
| **status_503** | **Integer** | Number of responses delivered with status code 503 (Service Unavailable). | [optional] |
|
31
31
|
| **status_504** | **Integer** | Number of responses delivered with status code 504 (Gateway Timeout). | [optional] |
|
32
32
|
| **status_505** | **Integer** | Number of responses delivered with status code 505 (HTTP Version Not Supported). | [optional] |
|
33
|
+
| **status_530** | **Integer** | Number of responses delivered with status code 530. | [optional] |
|
33
34
|
| **requests** | **Integer** | Number of requests processed. | [optional] |
|
34
35
|
| **resp_header_bytes** | **Integer** | Total header bytes delivered. | [optional] |
|
35
36
|
| **resp_body_bytes** | **Integer** | Total body bytes delivered. | [optional] |
|
@@ -61,6 +62,7 @@
|
|
61
62
|
| **origin_status_503** | **Integer** | Number of responses received from origin with status code 503 (Service Unavailable). | [optional] |
|
62
63
|
| **origin_status_504** | **Integer** | Number of responses received from origin with status code 504 (Gateway Timeout). | [optional] |
|
63
64
|
| **origin_status_505** | **Integer** | Number of responses received from origin with status code 505 (HTTP Version Not Supported). | [optional] |
|
65
|
+
| **origin_status_530** | **Integer** | Number of responses received from origin with status code 530. | [optional] |
|
64
66
|
| **origin_status_1xx** | **Integer** | Number of \"Informational\" category status codes received from origin. | [optional] |
|
65
67
|
| **origin_status_2xx** | **Integer** | Number of \"Success\" status codes received from origin. | [optional] |
|
66
68
|
| **origin_status_3xx** | **Integer** | Number of \"Redirection\" codes received from origin. | [optional] |
|
@@ -0,0 +1,12 @@
|
|
1
|
+
# Fastly::Values503Responses
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **url** | **String** | The HTTP request path. | [optional] |
|
8
|
+
| **rate_per_url** | **Float** | The rate at which the reason in this dimension occurs among responses to this URL with a 503 status code. | [optional] |
|
9
|
+
| **_503_rate_per_url** | **Float** | The rate at which 503 status codes are returned for this URL. | [optional] |
|
10
|
+
|
11
|
+
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
12
|
+
|
@@ -0,0 +1,11 @@
|
|
1
|
+
# Fastly::ValuesBandwidth
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **average_bandwidth_bytes** | **Float** | The average bandwidth in bytes for responses to requests to the URL in the current dimension. | [optional] |
|
8
|
+
| **bandwidth_percentage** | **Float** | The total bandwidth percentage for all responses to requests to the URL in the current dimension. | [optional] |
|
9
|
+
|
10
|
+
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
11
|
+
|