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
data/docs/Billing.md
DELETED
@@ -1,16 +0,0 @@
|
|
1
|
-
# Fastly::Billing
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
| Name | Type | Description | Notes |
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **end_time** | **Time** | Date and time in ISO 8601 format. | [optional][readonly] |
|
8
|
-
| **start_time** | **Time** | Date and time in ISO 8601 format. | [optional][readonly] |
|
9
|
-
| **customer_id** | **String** | | [optional][readonly] |
|
10
|
-
| **vendor_state** | **String** | The current state of our third-party billing vendor. One of `up` or `down`. | [optional][readonly] |
|
11
|
-
| **status** | [**BillingStatus**](BillingStatus.md) | | [optional] |
|
12
|
-
| **total** | [**BillingTotal**](BillingTotal.md) | | [optional] |
|
13
|
-
| **regions** | [**Hash<String, BillingRegions>**](BillingRegions.md) | Breakdown of regional data for products that are region based. | [optional] |
|
14
|
-
|
15
|
-
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
16
|
-
|
data/docs/BillingApi.md
DELETED
@@ -1,139 +0,0 @@
|
|
1
|
-
# Fastly::BillingApi
|
2
|
-
|
3
|
-
|
4
|
-
```ruby
|
5
|
-
require 'fastly'
|
6
|
-
api_instance = Fastly::BillingApi.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
|
-
[**get_invoice**](BillingApi.md#get_invoice) | **GET** /billing/v2/year/{year}/month/{month} | Get an invoice
|
17
|
-
[**get_invoice_by_id**](BillingApi.md#get_invoice_by_id) | **GET** /billing/v2/account_customers/{customer_id}/invoices/{invoice_id} | Get an invoice
|
18
|
-
[**get_invoice_mtd**](BillingApi.md#get_invoice_mtd) | **GET** /billing/v2/account_customers/{customer_id}/mtd_invoice | Get month-to-date billing estimate
|
19
|
-
|
20
|
-
|
21
|
-
## `get_invoice()`
|
22
|
-
|
23
|
-
```ruby
|
24
|
-
get_invoice(opts): <BillingResponse> # Get an invoice
|
25
|
-
```
|
26
|
-
|
27
|
-
Get the invoice for a given year and month. Can be any month from when the Customer was created to the current month.
|
28
|
-
|
29
|
-
### Examples
|
30
|
-
|
31
|
-
```ruby
|
32
|
-
api_instance = Fastly::BillingApi.new
|
33
|
-
opts = {
|
34
|
-
month: '05', # String | 2-digit month.
|
35
|
-
year: '2020', # String | 4-digit year.
|
36
|
-
}
|
37
|
-
|
38
|
-
begin
|
39
|
-
# Get an invoice
|
40
|
-
result = api_instance.get_invoice(opts)
|
41
|
-
p result
|
42
|
-
rescue Fastly::ApiError => e
|
43
|
-
puts "Error when calling BillingApi->get_invoice: #{e}"
|
44
|
-
end
|
45
|
-
```
|
46
|
-
|
47
|
-
### Options
|
48
|
-
|
49
|
-
| Name | Type | Description | Notes |
|
50
|
-
| ---- | ---- | ----------- | ----- |
|
51
|
-
| **month** | **String** | 2-digit month. | |
|
52
|
-
| **year** | **String** | 4-digit year. | |
|
53
|
-
|
54
|
-
### Return type
|
55
|
-
|
56
|
-
[**BillingResponse**](BillingResponse.md)
|
57
|
-
|
58
|
-
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
|
59
|
-
[[Back to README]](../../README.md)
|
60
|
-
## `get_invoice_by_id()`
|
61
|
-
|
62
|
-
```ruby
|
63
|
-
get_invoice_by_id(opts): <BillingResponse> # Get an invoice
|
64
|
-
```
|
65
|
-
|
66
|
-
Get the invoice for the given invoice_id.
|
67
|
-
|
68
|
-
### Examples
|
69
|
-
|
70
|
-
```ruby
|
71
|
-
api_instance = Fastly::BillingApi.new
|
72
|
-
opts = {
|
73
|
-
customer_id: 'customer_id_example', # String | Alphanumeric string identifying the customer.
|
74
|
-
invoice_id: 4183280, # Integer |
|
75
|
-
}
|
76
|
-
|
77
|
-
begin
|
78
|
-
# Get an invoice
|
79
|
-
result = api_instance.get_invoice_by_id(opts)
|
80
|
-
p result
|
81
|
-
rescue Fastly::ApiError => e
|
82
|
-
puts "Error when calling BillingApi->get_invoice_by_id: #{e}"
|
83
|
-
end
|
84
|
-
```
|
85
|
-
|
86
|
-
### Options
|
87
|
-
|
88
|
-
| Name | Type | Description | Notes |
|
89
|
-
| ---- | ---- | ----------- | ----- |
|
90
|
-
| **customer_id** | **String** | Alphanumeric string identifying the customer. | |
|
91
|
-
| **invoice_id** | **Integer** | | |
|
92
|
-
|
93
|
-
### Return type
|
94
|
-
|
95
|
-
[**BillingResponse**](BillingResponse.md)
|
96
|
-
|
97
|
-
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
|
98
|
-
[[Back to README]](../../README.md)
|
99
|
-
## `get_invoice_mtd()`
|
100
|
-
|
101
|
-
```ruby
|
102
|
-
get_invoice_mtd(opts): <BillingEstimateResponse> # Get month-to-date billing estimate
|
103
|
-
```
|
104
|
-
|
105
|
-
Get the current month-to-date estimate. This endpoint has two different responses. Under normal circumstances, it generally takes less than 5 seconds to generate but in certain cases can take up to 60 seconds. Once generated the month-to-date estimate is cached for 4 hours, and is available the next request will return the JSON representation of the month-to-date estimate. While a report is being generated in the background, this endpoint will return a `202 Accepted` response. The full format of which can be found in detail in our [billing calculation guide](https://docs.fastly.com/en/guides/how-we-calculate-your-bill). There are certain accounts for which we are unable to generate a month-to-date estimate. For example, accounts who have parent-pay are unable to generate an MTD estimate. The parent accounts are able to generate a month-to-date estimate but that estimate will not include the child accounts amounts at this time.
|
106
|
-
|
107
|
-
### Examples
|
108
|
-
|
109
|
-
```ruby
|
110
|
-
api_instance = Fastly::BillingApi.new
|
111
|
-
opts = {
|
112
|
-
customer_id: 'customer_id_example', # String | Alphanumeric string identifying the customer.
|
113
|
-
month: '05', # String | 2-digit month.
|
114
|
-
year: '2020', # String | 4-digit year.
|
115
|
-
}
|
116
|
-
|
117
|
-
begin
|
118
|
-
# Get month-to-date billing estimate
|
119
|
-
result = api_instance.get_invoice_mtd(opts)
|
120
|
-
p result
|
121
|
-
rescue Fastly::ApiError => e
|
122
|
-
puts "Error when calling BillingApi->get_invoice_mtd: #{e}"
|
123
|
-
end
|
124
|
-
```
|
125
|
-
|
126
|
-
### Options
|
127
|
-
|
128
|
-
| Name | Type | Description | Notes |
|
129
|
-
| ---- | ---- | ----------- | ----- |
|
130
|
-
| **customer_id** | **String** | Alphanumeric string identifying the customer. | |
|
131
|
-
| **month** | **String** | 2-digit month. | [optional] |
|
132
|
-
| **year** | **String** | 4-digit year. | [optional] |
|
133
|
-
|
134
|
-
### Return type
|
135
|
-
|
136
|
-
[**BillingEstimateResponse**](BillingEstimateResponse.md)
|
137
|
-
|
138
|
-
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
|
139
|
-
[[Back to README]](../../README.md)
|
@@ -1,14 +0,0 @@
|
|
1
|
-
# Fastly::BillingBandwidthTiers
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
| Name | Type | Description | Notes |
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **name** | **String** | | [optional] |
|
8
|
-
| **units** | **Float** | | [optional] |
|
9
|
-
| **price** | **Float** | | [optional] |
|
10
|
-
| **discounted_price** | **Float** | | [optional] |
|
11
|
-
| **total** | **Float** | | [optional] |
|
12
|
-
|
13
|
-
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
14
|
-
|
@@ -1,18 +0,0 @@
|
|
1
|
-
# Fastly::BillingEstimateLinesLineItems
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
| Name | Type | Description | Notes |
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **plan_no** | **Integer** | | [optional] |
|
8
|
-
| **description** | **String** | | [optional] |
|
9
|
-
| **units** | **Float** | | [optional] |
|
10
|
-
| **per_unit_cost** | **Float** | | [optional] |
|
11
|
-
| **service_no** | **Float** | | [optional] |
|
12
|
-
| **service_type** | **String** | | [optional] |
|
13
|
-
| **amount** | **Float** | | [optional] |
|
14
|
-
| **client_service_id** | **String** | | [optional] |
|
15
|
-
| **client_plan_id** | **String** | | [optional] |
|
16
|
-
|
17
|
-
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
18
|
-
|
@@ -1,18 +0,0 @@
|
|
1
|
-
# Fastly::BillingEstimateResponse
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
| Name | Type | Description | Notes |
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **end_time** | **Time** | Date and time in ISO 8601 format. | [optional][readonly] |
|
8
|
-
| **start_time** | **Time** | Date and time in ISO 8601 format. | [optional][readonly] |
|
9
|
-
| **customer_id** | **String** | | [optional][readonly] |
|
10
|
-
| **vendor_state** | **String** | The current state of our third-party billing vendor. One of `up` or `down`. | [optional][readonly] |
|
11
|
-
| **status** | [**BillingStatus**](BillingStatus.md) | | [optional] |
|
12
|
-
| **total** | [**BillingTotal**](BillingTotal.md) | | [optional] |
|
13
|
-
| **regions** | [**Hash<String, BillingRegions>**](BillingRegions.md) | Breakdown of regional data for products that are region based. | [optional] |
|
14
|
-
| **invoice_id** | **String** | | [optional][readonly] |
|
15
|
-
| **line_items** | [**Array<BillingEstimateLinesLineItems>**](BillingEstimateLinesLineItems.md) | | [optional] |
|
16
|
-
|
17
|
-
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
18
|
-
|
data/docs/BillingRegions.md
DELETED
@@ -1,13 +0,0 @@
|
|
1
|
-
# Fastly::BillingRegions
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
| Name | Type | Description | Notes |
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **cost** | **Float** | | [optional] |
|
8
|
-
| **bandwidth** | [**BillingBandwidth**](BillingBandwidth.md) | | [optional] |
|
9
|
-
| **percentile** | [**BillingBandwidth**](BillingBandwidth.md) | | [optional] |
|
10
|
-
| **requests** | [**BillingBandwidth**](BillingBandwidth.md) | | [optional] |
|
11
|
-
|
12
|
-
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
13
|
-
|
data/docs/BillingResponse.md
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
# Fastly::BillingResponse
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
| Name | Type | Description | Notes |
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **end_time** | **Time** | Date and time in ISO 8601 format. | [optional][readonly] |
|
8
|
-
| **start_time** | **Time** | Date and time in ISO 8601 format. | [optional][readonly] |
|
9
|
-
| **customer_id** | **String** | | [optional][readonly] |
|
10
|
-
| **vendor_state** | **String** | The current state of our third-party billing vendor. One of `up` or `down`. | [optional][readonly] |
|
11
|
-
| **status** | [**BillingStatus**](BillingStatus.md) | | [optional] |
|
12
|
-
| **total** | [**BillingTotal**](BillingTotal.md) | | [optional] |
|
13
|
-
| **regions** | [**Hash<String, BillingRegions>**](BillingRegions.md) | Breakdown of regional data for products that are region based. | [optional] |
|
14
|
-
| **invoice_id** | **Integer** | | [optional][readonly] |
|
15
|
-
| **line_items** | [**Array<BillingResponseLineItem>**](BillingResponseLineItem.md) | | [optional] |
|
16
|
-
|
17
|
-
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
18
|
-
|
@@ -1,29 +0,0 @@
|
|
1
|
-
# Fastly::BillingResponseLineItem
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
| Name | Type | Description | Notes |
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **created_at** | **Time** | Date and time in ISO 8601 format. | [optional][readonly] |
|
8
|
-
| **deleted_at** | **Time** | Date and time in ISO 8601 format. | [optional][readonly] |
|
9
|
-
| **updated_at** | **Time** | Date and time in ISO 8601 format. | [optional][readonly] |
|
10
|
-
| **amount** | **Float** | | [optional] |
|
11
|
-
| **aria_invoice_id** | **String** | An alphanumeric string identifying the invoice. | [optional][readonly] |
|
12
|
-
| **client_service_id** | **String** | | [optional] |
|
13
|
-
| **credit_coupon_code** | **String** | | [optional] |
|
14
|
-
| **description** | **String** | | [optional] |
|
15
|
-
| **id** | **String** | | [optional] |
|
16
|
-
| **line_number** | **Integer** | | [optional] |
|
17
|
-
| **plan_name** | **String** | | [optional] |
|
18
|
-
| **plan_no** | **Float** | | [optional] |
|
19
|
-
| **rate_per_unit** | **Float** | | [optional] |
|
20
|
-
| **rate_schedule_no** | **Float** | | [optional] |
|
21
|
-
| **rate_schedule_tier_no** | **Float** | | [optional] |
|
22
|
-
| **service_name** | **String** | | [optional] |
|
23
|
-
| **service_no** | **Float** | | [optional] |
|
24
|
-
| **units** | **Float** | | [optional] |
|
25
|
-
| **usage_type_cd** | **String** | | [optional] |
|
26
|
-
| **usage_type_no** | **Float** | | [optional] |
|
27
|
-
|
28
|
-
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
29
|
-
|
data/docs/BillingStatus.md
DELETED
@@ -1,11 +0,0 @@
|
|
1
|
-
# Fastly::BillingStatus
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
| Name | Type | Description | Notes |
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **status** | **String** | What the current status of this invoice can be. | [optional] |
|
8
|
-
| **sent_at** | **Time** | Date and time in ISO 8601 format. | [optional][readonly] |
|
9
|
-
|
10
|
-
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
11
|
-
|
data/docs/BillingTotal.md
DELETED
@@ -1,25 +0,0 @@
|
|
1
|
-
# Fastly::BillingTotal
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
| Name | Type | Description | Notes |
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **bandwidth** | **Float** | The total amount of bandwidth used this month (See bandwidth_units for measurement). | [optional] |
|
8
|
-
| **bandwidth_cost** | **Float** | The cost of the bandwidth used this month in USD. | [optional] |
|
9
|
-
| **bandwidth_units** | **String** | Bandwidth measurement units based on billing plan. | [optional] |
|
10
|
-
| **cost** | **Float** | The final amount to be paid. | [optional] |
|
11
|
-
| **cost_before_discount** | **Float** | Total incurred cost plus extras cost. | [optional] |
|
12
|
-
| **discount** | **Float** | Calculated discount rate. | [optional] |
|
13
|
-
| **extras** | [**Array<BillingTotalExtras>**](BillingTotalExtras.md) | A list of any extras for this invoice. | [optional] |
|
14
|
-
| **extras_cost** | **Float** | Total cost of all extras. | [optional] |
|
15
|
-
| **incurred_cost** | **Float** | The total cost of bandwidth and requests used this month. | [optional] |
|
16
|
-
| **overage** | **Float** | How much over the plan minimum has been incurred. | [optional] |
|
17
|
-
| **plan_code** | **String** | The short code the plan this invoice was generated under. | [optional] |
|
18
|
-
| **plan_minimum** | **Float** | The minimum cost of this plan. | [optional] |
|
19
|
-
| **plan_name** | **String** | The name of the plan this invoice was generated under. | [optional] |
|
20
|
-
| **requests** | **Float** | The total number of requests used this month. | [optional] |
|
21
|
-
| **requests_cost** | **Float** | The cost of the requests used this month. | [optional] |
|
22
|
-
| **terms** | **String** | Payment terms. Almost always Net15. | [optional] |
|
23
|
-
|
24
|
-
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
25
|
-
|
data/docs/BillingTotalExtras.md
DELETED
@@ -1,12 +0,0 @@
|
|
1
|
-
# Fastly::BillingTotalExtras
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
| Name | Type | Description | Notes |
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **name** | **String** | The name of this extra cost. | [optional] |
|
8
|
-
| **recurring** | **Float** | Recurring monthly cost in USD. Not present if $0.0. | [optional] |
|
9
|
-
| **setup** | **Float** | Initial set up cost in USD. Not present if $0.0 or this is not the month the extra was added. | [optional] |
|
10
|
-
|
11
|
-
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
12
|
-
|
@@ -1,13 +0,0 @@
|
|
1
|
-
# Fastly::ConfiguredProductResponse
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
| Name | Type | Description | Notes |
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **product** | [**ConfiguredProductResponseProduct**](ConfiguredProductResponseProduct.md) | | [optional] |
|
8
|
-
| **service** | [**EnabledProductResponseService**](EnabledProductResponseService.md) | | [optional] |
|
9
|
-
| **configuration** | [**ConfiguredProductResponseConfiguration**](ConfiguredProductResponseConfiguration.md) | | [optional] |
|
10
|
-
| **_links** | [**ConfiguredProductResponseLinks**](ConfiguredProductResponseLinks.md) | | [optional] |
|
11
|
-
|
12
|
-
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
13
|
-
|
@@ -1,12 +0,0 @@
|
|
1
|
-
# Fastly::EnabledProductResponse
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
| Name | Type | Description | Notes |
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **product** | [**EnabledProductResponseProduct**](EnabledProductResponseProduct.md) | | [optional] |
|
8
|
-
| **service** | [**EnabledProductResponseService**](EnabledProductResponseService.md) | | [optional] |
|
9
|
-
| **_links** | [**EnabledProductResponseLinks**](EnabledProductResponseLinks.md) | | [optional] |
|
10
|
-
|
11
|
-
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
12
|
-
|
data/docs/EnabledProductsApi.md
DELETED
@@ -1,220 +0,0 @@
|
|
1
|
-
# Fastly::EnabledProductsApi
|
2
|
-
|
3
|
-
|
4
|
-
```ruby
|
5
|
-
require 'fastly'
|
6
|
-
api_instance = Fastly::EnabledProductsApi.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**](EnabledProductsApi.md#disable_product) | **DELETE** /enabled-products/v1/{product_id}/services/{service_id} | Disable a product
|
17
|
-
[**enable_product**](EnabledProductsApi.md#enable_product) | **PUT** /enabled-products/v1/{product_id}/services/{service_id} | Enable a product
|
18
|
-
[**get_enabled_product**](EnabledProductsApi.md#get_enabled_product) | **GET** /enabled-products/v1/{product_id}/services/{service_id} | Get enabled product
|
19
|
-
[**get_product_configuration**](EnabledProductsApi.md#get_product_configuration) | **GET** /enabled-products/v1/{product_id}/services/{service_id}/configuration | Get configuration for a product
|
20
|
-
[**set_product_configuration**](EnabledProductsApi.md#set_product_configuration) | **PATCH** /enabled-products/v1/{product_id}/services/{service_id}/configuration | Update configuration for a product
|
21
|
-
|
22
|
-
|
23
|
-
## `disable_product()`
|
24
|
-
|
25
|
-
```ruby
|
26
|
-
disable_product(opts) # Disable a product
|
27
|
-
```
|
28
|
-
|
29
|
-
Disable a product on a service. Supported product IDs: `brotli_compression`,`domain_inspector`,`fanout`,`image_optimizer`,`origin_inspector`, `websockets`, `bot_management`, `ngwaf`, `ddos_protection`, and `log_explorer_insights`.
|
30
|
-
|
31
|
-
### Examples
|
32
|
-
|
33
|
-
```ruby
|
34
|
-
api_instance = Fastly::EnabledProductsApi.new
|
35
|
-
opts = {
|
36
|
-
product_id: 'ngwaf', # String |
|
37
|
-
service_id: 'service_id_example', # String | Alphanumeric string identifying the service.
|
38
|
-
}
|
39
|
-
|
40
|
-
begin
|
41
|
-
# Disable a product
|
42
|
-
api_instance.disable_product(opts)
|
43
|
-
rescue Fastly::ApiError => e
|
44
|
-
puts "Error when calling EnabledProductsApi->disable_product: #{e}"
|
45
|
-
end
|
46
|
-
```
|
47
|
-
|
48
|
-
### Options
|
49
|
-
|
50
|
-
| Name | Type | Description | Notes |
|
51
|
-
| ---- | ---- | ----------- | ----- |
|
52
|
-
| **product_id** | **String** | | |
|
53
|
-
| **service_id** | **String** | Alphanumeric string identifying the service. | |
|
54
|
-
|
55
|
-
### Return type
|
56
|
-
|
57
|
-
nil (empty response body)
|
58
|
-
|
59
|
-
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
|
60
|
-
[[Back to README]](../../README.md)
|
61
|
-
## `enable_product()`
|
62
|
-
|
63
|
-
```ruby
|
64
|
-
enable_product(opts): <EnabledProductResponse> # Enable a product
|
65
|
-
```
|
66
|
-
|
67
|
-
Enable a product on a service. Supported product IDs: `brotli_compression`,`domain_inspector`,`fanout`,`image_optimizer`,`origin_inspector`, `websockets`, `bot_management`, `ngwaf`, `ddos_protection`, and `log_explorer_insights`.
|
68
|
-
|
69
|
-
### Examples
|
70
|
-
|
71
|
-
```ruby
|
72
|
-
api_instance = Fastly::EnabledProductsApi.new
|
73
|
-
opts = {
|
74
|
-
product_id: 'ngwaf', # String |
|
75
|
-
service_id: 'service_id_example', # String | Alphanumeric string identifying the service.
|
76
|
-
set_workspace_id: Fastly::SetWorkspaceId.new, # SetWorkspaceId |
|
77
|
-
}
|
78
|
-
|
79
|
-
begin
|
80
|
-
# Enable a product
|
81
|
-
result = api_instance.enable_product(opts)
|
82
|
-
p result
|
83
|
-
rescue Fastly::ApiError => e
|
84
|
-
puts "Error when calling EnabledProductsApi->enable_product: #{e}"
|
85
|
-
end
|
86
|
-
```
|
87
|
-
|
88
|
-
### Options
|
89
|
-
|
90
|
-
| Name | Type | Description | Notes |
|
91
|
-
| ---- | ---- | ----------- | ----- |
|
92
|
-
| **product_id** | **String** | | |
|
93
|
-
| **service_id** | **String** | Alphanumeric string identifying the service. | |
|
94
|
-
| **set_workspace_id** | [**SetWorkspaceId**](SetWorkspaceId.md) | | [optional] |
|
95
|
-
|
96
|
-
### Return type
|
97
|
-
|
98
|
-
[**EnabledProductResponse**](EnabledProductResponse.md)
|
99
|
-
|
100
|
-
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
|
101
|
-
[[Back to README]](../../README.md)
|
102
|
-
## `get_enabled_product()`
|
103
|
-
|
104
|
-
```ruby
|
105
|
-
get_enabled_product(opts): <EnabledProductResponse> # Get enabled product
|
106
|
-
```
|
107
|
-
|
108
|
-
Get enabled product on a service. Supported product IDs: `brotli_compression`,`domain_inspector`,`fanout`,`image_optimizer`,`origin_inspector`, `websockets`, `bot_management`, `ngwaf`, `ddos_protection`, and `log_explorer_insights`.
|
109
|
-
|
110
|
-
### Examples
|
111
|
-
|
112
|
-
```ruby
|
113
|
-
api_instance = Fastly::EnabledProductsApi.new
|
114
|
-
opts = {
|
115
|
-
product_id: 'ngwaf', # String |
|
116
|
-
service_id: 'service_id_example', # String | Alphanumeric string identifying the service.
|
117
|
-
}
|
118
|
-
|
119
|
-
begin
|
120
|
-
# Get enabled product
|
121
|
-
result = api_instance.get_enabled_product(opts)
|
122
|
-
p result
|
123
|
-
rescue Fastly::ApiError => e
|
124
|
-
puts "Error when calling EnabledProductsApi->get_enabled_product: #{e}"
|
125
|
-
end
|
126
|
-
```
|
127
|
-
|
128
|
-
### Options
|
129
|
-
|
130
|
-
| Name | Type | Description | Notes |
|
131
|
-
| ---- | ---- | ----------- | ----- |
|
132
|
-
| **product_id** | **String** | | |
|
133
|
-
| **service_id** | **String** | Alphanumeric string identifying the service. | |
|
134
|
-
|
135
|
-
### Return type
|
136
|
-
|
137
|
-
[**EnabledProductResponse**](EnabledProductResponse.md)
|
138
|
-
|
139
|
-
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
|
140
|
-
[[Back to README]](../../README.md)
|
141
|
-
## `get_product_configuration()`
|
142
|
-
|
143
|
-
```ruby
|
144
|
-
get_product_configuration(opts): <ConfiguredProductResponse> # Get configuration for a product
|
145
|
-
```
|
146
|
-
|
147
|
-
Get configuration for an enabled product on a service. Supported product IDs: `ngwaf` and `ddos_protection`.
|
148
|
-
|
149
|
-
### Examples
|
150
|
-
|
151
|
-
```ruby
|
152
|
-
api_instance = Fastly::EnabledProductsApi.new
|
153
|
-
opts = {
|
154
|
-
product_id: 'ngwaf', # String |
|
155
|
-
service_id: 'service_id_example', # String | Alphanumeric string identifying the service.
|
156
|
-
}
|
157
|
-
|
158
|
-
begin
|
159
|
-
# Get configuration for a product
|
160
|
-
result = api_instance.get_product_configuration(opts)
|
161
|
-
p result
|
162
|
-
rescue Fastly::ApiError => e
|
163
|
-
puts "Error when calling EnabledProductsApi->get_product_configuration: #{e}"
|
164
|
-
end
|
165
|
-
```
|
166
|
-
|
167
|
-
### Options
|
168
|
-
|
169
|
-
| Name | Type | Description | Notes |
|
170
|
-
| ---- | ---- | ----------- | ----- |
|
171
|
-
| **product_id** | **String** | | |
|
172
|
-
| **service_id** | **String** | Alphanumeric string identifying the service. | |
|
173
|
-
|
174
|
-
### Return type
|
175
|
-
|
176
|
-
[**ConfiguredProductResponse**](ConfiguredProductResponse.md)
|
177
|
-
|
178
|
-
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
|
179
|
-
[[Back to README]](../../README.md)
|
180
|
-
## `set_product_configuration()`
|
181
|
-
|
182
|
-
```ruby
|
183
|
-
set_product_configuration(opts): <ConfiguredProductResponse> # Update configuration for a product
|
184
|
-
```
|
185
|
-
|
186
|
-
Update configuration for an enabled product on a service. Supported product IDs: `ngwaf` and `ddos_protection`.
|
187
|
-
|
188
|
-
### Examples
|
189
|
-
|
190
|
-
```ruby
|
191
|
-
api_instance = Fastly::EnabledProductsApi.new
|
192
|
-
opts = {
|
193
|
-
product_id: 'ngwaf', # String |
|
194
|
-
service_id: 'service_id_example', # String | Alphanumeric string identifying the service.
|
195
|
-
set_configuration: Fastly::SetConfiguration.new, # SetConfiguration |
|
196
|
-
}
|
197
|
-
|
198
|
-
begin
|
199
|
-
# Update configuration for a product
|
200
|
-
result = api_instance.set_product_configuration(opts)
|
201
|
-
p result
|
202
|
-
rescue Fastly::ApiError => e
|
203
|
-
puts "Error when calling EnabledProductsApi->set_product_configuration: #{e}"
|
204
|
-
end
|
205
|
-
```
|
206
|
-
|
207
|
-
### Options
|
208
|
-
|
209
|
-
| Name | Type | Description | Notes |
|
210
|
-
| ---- | ---- | ----------- | ----- |
|
211
|
-
| **product_id** | **String** | | |
|
212
|
-
| **service_id** | **String** | Alphanumeric string identifying the service. | |
|
213
|
-
| **set_configuration** | [**SetConfiguration**](SetConfiguration.md) | | [optional] |
|
214
|
-
|
215
|
-
### Return type
|
216
|
-
|
217
|
-
[**ConfiguredProductResponse**](ConfiguredProductResponse.md)
|
218
|
-
|
219
|
-
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
|
220
|
-
[[Back to README]](../../README.md)
|
@@ -1,11 +0,0 @@
|
|
1
|
-
# Fastly::HeaderResponseAdditional
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
| Name | Type | Description | Notes |
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **ignore_if_set** | **String** | Don't add the header if it is added already. Only applies to 'set' action. Numerical value (\"0\" = false, \"1\" = true) | [optional] |
|
8
|
-
| **priority** | **String** | Priority determines execution order. Lower numbers execute first. | [optional][default to '100'] |
|
9
|
-
|
10
|
-
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
11
|
-
|
@@ -1,11 +0,0 @@
|
|
1
|
-
# Fastly::InlineResponse2003Meta
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
| Name | Type | Description | Notes |
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **next_cursor** | **String** | Cursor for the next page. | [optional] |
|
8
|
-
| **limit** | **Integer** | Entries returned. | [optional] |
|
9
|
-
|
10
|
-
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
11
|
-
|
@@ -1,11 +0,0 @@
|
|
1
|
-
# Fastly::LegacyWafConfigurationSet
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
| Name | Type | Description | Notes |
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **active** | **Boolean** | The active configuration set is the default configuration set when creating a new WAF. When Fastly adds configuration sets, the new versions become the default (active). | [optional] |
|
8
|
-
| **name** | **String** | The name of the configuration set. | [optional] |
|
9
|
-
|
10
|
-
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
11
|
-
|