fastly 9.0.0 → 11.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 +66 -19
- data/Gemfile.lock +3 -3
- data/README.md +50 -46
- 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/AutomationToken.md +1 -1
- data/docs/AutomationTokenCreateRequestAttributes.md +1 -1
- data/docs/AutomationTokenCreateResponse.md +4 -6
- data/docs/AutomationTokenCreateResponseAllOf.md +3 -3
- data/docs/AutomationTokenResponse.md +4 -6
- data/docs/AutomationTokenResponseAllOf.md +4 -4
- data/docs/Backend.md +1 -1
- data/docs/BackendApi.md +4 -4
- data/docs/BackendResponse.md +1 -1
- data/docs/BillingUsageMetricsApi.md +15 -13
- 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/ComputeAclListEntriesMeta.md +1 -1
- data/docs/{LegacyWafTag.md → ComputeAclListMeta.md} +2 -2
- data/docs/ComputeAclLookup.md +1 -2
- data/docs/{BillingEstimateInvoiceId.md → DdosProtectionRequestUpdateConfiguration.md} +2 -2
- data/docs/DdosProtectionResponseConfiguration.md +10 -0
- data/docs/{ReadOnlyServiceId.md → DdosProtectionResponseConfigurationConfiguration.md} +2 -1
- data/docs/DdosProtectionResponseConfigure.md +13 -0
- data/docs/DdosProtectionResponseEnable.md +12 -0
- data/docs/{BillingResponseItemItemsData.md → DdosProtectionResponseLinks.md} +2 -2
- 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/DomainInspectorResponseProductProduct.md +11 -0
- 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/Header.md +2 -0
- data/docs/HeaderApi.md +8 -8
- 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 +53 -50
- 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/{BillingBandwidth.md → LogExplorerInsightsResponseProduct.md} +2 -3
- data/docs/LogExplorerInsightsResponseProductProduct.md +11 -0
- data/docs/LogExplorerInsightsResponseService.md +10 -0
- data/docs/LoggingAzureblobAdditional.md +1 -1
- data/docs/LoggingAzureblobApi.md +4 -4
- data/docs/LoggingAzureblobResponse.md +1 -1
- data/docs/{BillingInvoiceId.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 +25 -3
- data/docs/SnippetApi.md +17 -17
- data/docs/{SnippetResponseCommonAllOf.md → SnippetResponseAllOf.md} +1 -1
- data/docs/TlsBulkCertificatesApi.md +4 -0
- 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/{BillingEstimateLines.md → WebsocketsResponseService.md} +2 -2
- data/lib/fastly/api/acls_in_compute_api.rb +3 -3
- data/lib/fastly/api/automation_tokens_api.rb +6 -6
- data/lib/fastly/api/backend_api.rb +4 -4
- data/lib/fastly/api/billing_usage_metrics_api.rb +33 -30
- data/lib/fastly/api/header_api.rb +8 -8
- data/lib/fastly/api/kv_store_api.rb +53 -45
- data/lib/fastly/api/kv_store_item_api.rb +112 -100
- data/lib/fastly/api/logging_azureblob_api.rb +4 -4
- 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 +38 -38
- data/lib/fastly/api/tls_bulk_certificates_api.rb +6 -0
- data/lib/fastly/configuration.rb +248 -224
- data/lib/fastly/models/{billing_regions.rb → ai_accelerator_response_body_enable.rb} +31 -31
- 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/{billing_estimate_invoice_id.rb → ai_accelerator_response_links.rb} +10 -10
- data/lib/fastly/models/ai_accelerator_response_links_links.rb +217 -0
- data/lib/fastly/models/{billing_response_item_items_data.rb → ai_accelerator_response_product.rb} +10 -12
- data/lib/fastly/models/ai_accelerator_response_product_product.rb +227 -0
- data/lib/fastly/models/automation_token.rb +1 -1
- data/lib/fastly/models/automation_token_create_request_attributes.rb +1 -1
- data/lib/fastly/models/automation_token_create_response.rb +21 -43
- data/lib/fastly/models/automation_token_create_response_all_of.rb +13 -12
- data/lib/fastly/models/automation_token_response.rb +24 -46
- data/lib/fastly/models/automation_token_response_all_of.rb +11 -10
- 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/{billing_bandwidth.rb → compute_acl_list.rb} +19 -18
- data/lib/fastly/models/compute_acl_list_entries_meta.rb +1 -1
- 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/{snippet_all_of.rb → ddos_protection_request_update_configuration.rb} +24 -19
- 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/header.rb +26 -4
- data/lib/fastly/models/header_response.rb +0 -1
- 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/{snippet_common.rb → kv_store_upsert_batch.rb} +55 -69
- 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/logging_azureblob_additional.rb +1 -1
- data/lib/fastly/models/logging_azureblob_response.rb +1 -1
- 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/{billing_invoice_id.rb → ngwaf_response_product.rb} +10 -10
- data/lib/fastly/models/ngwaf_response_product_product.rb +227 -0
- data/lib/fastly/models/{billing_estimate_lines.rb → ngwaf_response_service.rb} +10 -12
- data/lib/fastly/models/{billing_total_extras.rb → object_storage_response_body_enable.rb} +31 -25
- 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 +239 -19
- data/lib/fastly/models/schemas_snippet_response.rb +4 -2
- data/lib/fastly/models/snippet.rb +1 -8
- data/lib/fastly/models/snippet_response.rb +3 -1
- data/lib/fastly/models/{snippet_response_common_all_of.rb → snippet_response_all_of.rb} +3 -3
- data/lib/fastly/models/values.rb +21 -1
- 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 +103 -61
- data/sig.json +1 -1
- metadata +211 -127
- data/docs/Billing.md +0 -16
- data/docs/BillingApi.md +0 -139
- data/docs/BillingBandwidthTiers.md +0 -14
- data/docs/BillingEstimateLinesLineItems.md +0 -18
- data/docs/BillingEstimateResponse.md +0 -18
- data/docs/BillingRegions.md +0 -13
- data/docs/BillingResponse.md +0 -18
- data/docs/BillingResponseLineItem.md +0 -29
- data/docs/BillingStatus.md +0 -11
- data/docs/BillingTotal.md +0 -25
- data/docs/BillingTotalExtras.md +0 -12
- data/docs/ConfiguredProductResponse.md +0 -13
- data/docs/EnabledProductResponse.md +0 -12
- data/docs/EnabledProductsApi.md +0 -220
- data/docs/HeaderResponseAdditional.md +0 -11
- data/docs/InlineResponse2003Meta.md +0 -11
- 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/LineItemData.md +0 -26
- data/docs/ReadOnlyVersion.md +0 -9
- data/docs/SchemasSnippetResponseCommon.md +0 -15
- data/docs/SetConfiguration.md +0 -12
- data/docs/SetWorkspaceId.md +0 -10
- data/docs/SnippetAllOf.md +0 -10
- data/docs/SnippetCommon.md +0 -13
- data/docs/SnippetResponseCommon.md +0 -15
- data/docs/SnippetResponsePost.md +0 -20
- data/docs/SnippetWithDynamicNumber.md +0 -14
- data/docs/SnippetWithDynamicNumberAllOf.md +0 -10
- data/docs/Store.md +0 -10
- data/lib/fastly/api/billing_api.rb +0 -229
- 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/billing.rb +0 -278
- data/lib/fastly/models/billing_bandwidth_tiers.rb +0 -252
- data/lib/fastly/models/billing_estimate_lines_line_items.rb +0 -288
- data/lib/fastly/models/billing_estimate_response.rb +0 -307
- data/lib/fastly/models/billing_response.rb +0 -307
- data/lib/fastly/models/billing_response_line_item.rb +0 -418
- data/lib/fastly/models/billing_status.rb +0 -262
- data/lib/fastly/models/billing_total.rb +0 -371
- data/lib/fastly/models/header_response_additional.rb +0 -229
- data/lib/fastly/models/inline_response2003_meta.rb +0 -228
- data/lib/fastly/models/inline_response2004_meta.rb +0 -225
- 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_rule_status.rb +0 -237
- data/lib/fastly/models/legacy_waf_ruleset.rb +0 -227
- data/lib/fastly/models/legacy_waf_update_status.rb +0 -267
- data/lib/fastly/models/line_item_data.rb +0 -377
- data/lib/fastly/models/read_only_service_id.rb +0 -207
- data/lib/fastly/models/read_only_version.rb +0 -207
- data/lib/fastly/models/schemas_snippet_response_common.rb +0 -276
- data/lib/fastly/models/set_configuration.rb +0 -237
- data/lib/fastly/models/snippet_response_common.rb +0 -276
- data/lib/fastly/models/snippet_response_post.rb +0 -374
- data/lib/fastly/models/snippet_with_dynamic_number.rb +0 -313
- data/lib/fastly/models/snippet_with_dynamic_number_all_of.rb +0 -251
@@ -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] |
|
@@ -247,9 +248,23 @@
|
|
247
248
|
| **all_status_5xx** | **Integer** | Number of \"Server Error\" codes delivered for all sources. | [optional] |
|
248
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] |
|
249
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] |
|
250
|
-
| **
|
251
|
-
| **
|
252
|
-
| **
|
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] |
|
253
268
|
|
254
269
|
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
255
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] |
|
@@ -247,9 +248,23 @@
|
|
247
248
|
| **all_status_5xx** | **Integer** | Number of \"Server Error\" codes delivered for all sources. | [optional] |
|
248
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] |
|
249
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] |
|
250
|
-
| **
|
251
|
-
| **
|
252
|
-
| **
|
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] |
|
253
268
|
|
254
269
|
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
255
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] |
|
@@ -247,9 +248,30 @@
|
|
247
248
|
| **all_status_5xx** | **Integer** | Number of \"Server Error\" codes delivered for all sources. | [optional] |
|
248
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] |
|
249
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] |
|
250
|
-
| **
|
251
|
-
| **
|
252
|
-
| **
|
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] |
|
268
|
+
| **ngwaf_requests_total_count** | **Integer** | Total number of Next-Gen WAF (Edge WAF & Core WAF) requests. | [optional] |
|
269
|
+
| **ngwaf_requests_unknown_count** | **Integer** | Count of Edge WAF requests with an unknown outcome. | [optional] |
|
270
|
+
| **ngwaf_requests_allowed_count** | **Integer** | Count of Edge WAF requests allowed. | [optional] |
|
271
|
+
| **ngwaf_requests_logged_count** | **Integer** | Count of Edge WAF requests logged. | [optional] |
|
272
|
+
| **ngwaf_requests_blocked_count** | **Integer** | Count of Edge WAF requests blocked. | [optional] |
|
273
|
+
| **ngwaf_requests_timeout_count** | **Integer** | Count of Edge WAF requests timed outcome. | [optional] |
|
274
|
+
| **ngwaf_requests_challenged_count** | **Integer** | Count of Edge WAF requests challenged. | [optional] |
|
253
275
|
| **service_id** | **String** | | [optional][readonly] |
|
254
276
|
| **start_time** | **Integer** | Timestamp for the start of the time period being reported | [optional] |
|
255
277
|
|
data/docs/SnippetApi.md
CHANGED
@@ -14,18 +14,18 @@ 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()`
|
26
26
|
|
27
27
|
```ruby
|
28
|
-
create_snippet(opts): <
|
28
|
+
create_snippet(opts): <SnippetResponse> # Create a snippet
|
29
29
|
```
|
30
30
|
|
31
31
|
Create a snippet for a particular service and version.
|
@@ -67,7 +67,7 @@ end
|
|
67
67
|
|
68
68
|
### Return type
|
69
69
|
|
70
|
-
[**
|
70
|
+
[**SnippetResponse**](SnippetResponse.md)
|
71
71
|
|
72
72
|
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
|
73
73
|
[[Back to README]](../../README.md)
|
@@ -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] |
|
@@ -107,6 +107,8 @@ List all certificates.
|
|
107
107
|
api_instance = Fastly::TlsBulkCertificatesApi.new
|
108
108
|
opts = {
|
109
109
|
filter_tls_domain_id: 'filter_tls_domain_id_example', # String | Filter certificates by their matching, fully-qualified domain name.
|
110
|
+
filter_not_before: 'filter_not_before_example', # String | Filter the returned certificates by not_before date in UTC. Accepts parameters: lt, lte, gt, gte (e.g., filter[not_before][gte]=2020-05-05).
|
111
|
+
filter_not_after: 'filter_not_after_example', # String | Filter the returned certificates by expiry date in UTC. Accepts parameters: lt, lte, gt, gte (e.g., filter[not_after][lte]=2020-05-05).
|
110
112
|
page_number: 1, # Integer | Current page.
|
111
113
|
page_size: 20, # Integer | Number of records per page.
|
112
114
|
sort: 'created_at', # String | The order in which to list the results by creation date.
|
@@ -126,6 +128,8 @@ end
|
|
126
128
|
| Name | Type | Description | Notes |
|
127
129
|
| ---- | ---- | ----------- | ----- |
|
128
130
|
| **filter_tls_domain_id** | **String** | Filter certificates by their matching, fully-qualified domain name. | [optional] |
|
131
|
+
| **filter_not_before** | **String** | Filter the returned certificates by not_before date in UTC. Accepts parameters: lt, lte, gt, gte (e.g., filter[not_before][gte]=2020-05-05). | [optional] |
|
132
|
+
| **filter_not_after** | **String** | Filter the returned certificates by expiry date in UTC. Accepts parameters: lt, lte, gt, gte (e.g., filter[not_after][lte]=2020-05-05). | [optional] |
|
129
133
|
| **page_number** | **Integer** | Current page. | [optional] |
|
130
134
|
| **page_size** | **Integer** | Number of records per page. | [optional][default to 20] |
|
131
135
|
| **sort** | **String** | The order in which to list the results by creation date. | [optional][default to 'created_at'] |
|
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::WebsocketsResponseBodyEnable
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **product** | [**WebsocketsResponseProductProduct**](WebsocketsResponseProductProduct.md) | | [optional] |
|
8
|
+
| **service** | [**BotManagementResponseServiceService**](BotManagementResponseServiceService.md) | | [optional] |
|
9
|
+
| **_links** | [**WebsocketsResponseLinksLinks**](WebsocketsResponseLinksLinks.md) | | [optional] |
|
10
|
+
|
11
|
+
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
12
|
+
|
@@ -0,0 +1,10 @@
|
|
1
|
+
# Fastly::WebsocketsResponseLinks
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **_links** | [**WebsocketsResponseLinksLinks**](WebsocketsResponseLinksLinks.md) | | [optional] |
|
8
|
+
|
9
|
+
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
10
|
+
|
@@ -0,0 +1,11 @@
|
|
1
|
+
# Fastly::WebsocketsResponseLinksLinks
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **_self** | **String** | Location of resource | [optional] |
|
8
|
+
| **service** | **String** | Location of the service resource | [optional] |
|
9
|
+
|
10
|
+
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
11
|
+
|
@@ -0,0 +1,10 @@
|
|
1
|
+
# Fastly::WebsocketsResponseProduct
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **product** | [**WebsocketsResponseProductProduct**](WebsocketsResponseProductProduct.md) | | [optional] |
|
8
|
+
|
9
|
+
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
10
|
+
|
@@ -0,0 +1,11 @@
|
|
1
|
+
# Fastly::WebsocketsResponseProductProduct
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **id** | **String** | Product identifier | [optional] |
|
8
|
+
| **object** | **String** | Name of the object | [optional] |
|
9
|
+
|
10
|
+
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
11
|
+
|
@@ -1,10 +1,10 @@
|
|
1
|
-
# Fastly::
|
1
|
+
# Fastly::WebsocketsResponseService
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **
|
7
|
+
| **service** | [**BotManagementResponseServiceService**](BotManagementResponseServiceService.md) | | [optional] |
|
8
8
|
|
9
9
|
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
10
10
|
|
@@ -212,7 +212,7 @@ module Fastly
|
|
212
212
|
|
213
213
|
# List ACLs
|
214
214
|
# List all ACLs.
|
215
|
-
# @return [
|
215
|
+
# @return [ComputeAclList]
|
216
216
|
def compute_acl_list_acls(opts = {})
|
217
217
|
data, _status_code, _headers = compute_acl_list_acls_with_http_info(opts)
|
218
218
|
data
|
@@ -220,7 +220,7 @@ module Fastly
|
|
220
220
|
|
221
221
|
# List ACLs
|
222
222
|
# List all ACLs.
|
223
|
-
# @return [Array<(
|
223
|
+
# @return [Array<(ComputeAclList, Integer, Hash)>] ComputeAclList data, response status code and response headers
|
224
224
|
def compute_acl_list_acls_with_http_info(opts = {})
|
225
225
|
if @api_client.config.debugging
|
226
226
|
@api_client.config.logger.debug 'Calling API: AclsInComputeApi.compute_acl_list_acls ...'
|
@@ -244,7 +244,7 @@ module Fastly
|
|
244
244
|
post_body = opts[:debug_body]
|
245
245
|
|
246
246
|
# return_type
|
247
|
-
return_type = opts[:debug_return_type] || '
|
247
|
+
return_type = opts[:debug_return_type] || 'ComputeAclList'
|
248
248
|
|
249
249
|
# auth_names
|
250
250
|
auth_names = opts[:debug_auth_names] || ['token']
|
@@ -44,9 +44,9 @@ module Fastly
|
|
44
44
|
# header parameters
|
45
45
|
header_params = opts[:header_params] || {}
|
46
46
|
# HTTP header 'Accept' (if needed)
|
47
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/
|
47
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
48
48
|
# HTTP header 'Content-Type'
|
49
|
-
content_type = @api_client.select_header_content_type(['application/
|
49
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
50
50
|
if !content_type.nil?
|
51
51
|
header_params['Content-Type'] = content_type
|
52
52
|
end
|
@@ -112,7 +112,7 @@ module Fastly
|
|
112
112
|
# header parameters
|
113
113
|
header_params = opts[:header_params] || {}
|
114
114
|
# HTTP header 'Accept' (if needed)
|
115
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/
|
115
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/problem+json'])
|
116
116
|
|
117
117
|
# form parameters
|
118
118
|
form_params = opts[:form_params] || {}
|
@@ -181,7 +181,7 @@ module Fastly
|
|
181
181
|
# header parameters
|
182
182
|
header_params = opts[:header_params] || {}
|
183
183
|
# HTTP header 'Accept' (if needed)
|
184
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/
|
184
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/problem+json'])
|
185
185
|
|
186
186
|
# form parameters
|
187
187
|
form_params = opts[:form_params] || {}
|
@@ -243,7 +243,7 @@ module Fastly
|
|
243
243
|
# header parameters
|
244
244
|
header_params = opts[:header_params] || {}
|
245
245
|
# HTTP header 'Accept' (if needed)
|
246
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/
|
246
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/problem+json'])
|
247
247
|
|
248
248
|
# form parameters
|
249
249
|
form_params = opts[:form_params] || {}
|
@@ -306,7 +306,7 @@ module Fastly
|
|
306
306
|
# header parameters
|
307
307
|
header_params = opts[:header_params] || {}
|
308
308
|
# HTTP header 'Accept' (if needed)
|
309
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/
|
309
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/problem+json'])
|
310
310
|
|
311
311
|
# form parameters
|
312
312
|
form_params = opts[:form_params] || {}
|
@@ -32,7 +32,7 @@ module Fastly
|
|
32
32
|
# @option opts [String] :hostname The hostname of the backend. May be used as an alternative to `address` to set the backend location.
|
33
33
|
# @option opts [String] :ipv4 IPv4 address of the backend. May be used as an alternative to `address` to set the backend location.
|
34
34
|
# @option opts [String] :ipv6 IPv6 address of the backend. May be used as an alternative to `address` to set the backend location.
|
35
|
-
# @option opts [Integer] :keepalive_time How long in seconds to keep a persistent connection to the backend between requests.
|
35
|
+
# @option opts [Integer] :keepalive_time How long in seconds to keep a persistent connection to the backend between requests. By default, Varnish keeps connections open as long as it can.
|
36
36
|
# @option opts [Integer] :max_conn Maximum number of concurrent connections this backend will accept.
|
37
37
|
# @option opts [String] :max_tls_version Maximum allowed TLS version on SSL connections to this backend. If your backend server is not able to negotiate a connection meeting this constraint, a synthetic `503` error response will be generated.
|
38
38
|
# @option opts [String] :min_tls_version Minimum allowed TLS version on SSL connections to this backend. If your backend server is not able to negotiate a connection meeting this constraint, a synthetic `503` error response will be generated.
|
@@ -77,7 +77,7 @@ module Fastly
|
|
77
77
|
# @option opts [String] :hostname The hostname of the backend. May be used as an alternative to `address` to set the backend location.
|
78
78
|
# @option opts [String] :ipv4 IPv4 address of the backend. May be used as an alternative to `address` to set the backend location.
|
79
79
|
# @option opts [String] :ipv6 IPv6 address of the backend. May be used as an alternative to `address` to set the backend location.
|
80
|
-
# @option opts [Integer] :keepalive_time How long in seconds to keep a persistent connection to the backend between requests.
|
80
|
+
# @option opts [Integer] :keepalive_time How long in seconds to keep a persistent connection to the backend between requests. By default, Varnish keeps connections open as long as it can.
|
81
81
|
# @option opts [Integer] :max_conn Maximum number of concurrent connections this backend will accept.
|
82
82
|
# @option opts [String] :max_tls_version Maximum allowed TLS version on SSL connections to this backend. If your backend server is not able to negotiate a connection meeting this constraint, a synthetic `503` error response will be generated.
|
83
83
|
# @option opts [String] :min_tls_version Minimum allowed TLS version on SSL connections to this backend. If your backend server is not able to negotiate a connection meeting this constraint, a synthetic `503` error response will be generated.
|
@@ -442,7 +442,7 @@ module Fastly
|
|
442
442
|
# @option opts [String] :hostname The hostname of the backend. May be used as an alternative to `address` to set the backend location.
|
443
443
|
# @option opts [String] :ipv4 IPv4 address of the backend. May be used as an alternative to `address` to set the backend location.
|
444
444
|
# @option opts [String] :ipv6 IPv6 address of the backend. May be used as an alternative to `address` to set the backend location.
|
445
|
-
# @option opts [Integer] :keepalive_time How long in seconds to keep a persistent connection to the backend between requests.
|
445
|
+
# @option opts [Integer] :keepalive_time How long in seconds to keep a persistent connection to the backend between requests. By default, Varnish keeps connections open as long as it can.
|
446
446
|
# @option opts [Integer] :max_conn Maximum number of concurrent connections this backend will accept.
|
447
447
|
# @option opts [String] :max_tls_version Maximum allowed TLS version on SSL connections to this backend. If your backend server is not able to negotiate a connection meeting this constraint, a synthetic `503` error response will be generated.
|
448
448
|
# @option opts [String] :min_tls_version Minimum allowed TLS version on SSL connections to this backend. If your backend server is not able to negotiate a connection meeting this constraint, a synthetic `503` error response will be generated.
|
@@ -488,7 +488,7 @@ module Fastly
|
|
488
488
|
# @option opts [String] :hostname The hostname of the backend. May be used as an alternative to `address` to set the backend location.
|
489
489
|
# @option opts [String] :ipv4 IPv4 address of the backend. May be used as an alternative to `address` to set the backend location.
|
490
490
|
# @option opts [String] :ipv6 IPv6 address of the backend. May be used as an alternative to `address` to set the backend location.
|
491
|
-
# @option opts [Integer] :keepalive_time How long in seconds to keep a persistent connection to the backend between requests.
|
491
|
+
# @option opts [Integer] :keepalive_time How long in seconds to keep a persistent connection to the backend between requests. By default, Varnish keeps connections open as long as it can.
|
492
492
|
# @option opts [Integer] :max_conn Maximum number of concurrent connections this backend will accept.
|
493
493
|
# @option opts [String] :max_tls_version Maximum allowed TLS version on SSL connections to this backend. If your backend server is not able to negotiate a connection meeting this constraint, a synthetic `503` error response will be generated.
|
494
494
|
# @option opts [String] :min_tls_version Minimum allowed TLS version on SSL connections to this backend. If your backend server is not able to negotiate a connection meeting this constraint, a synthetic `503` error response will be generated.
|