fastly 16.1.0 → 17.1.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 +77 -0
- data/Gemfile.lock +1 -1
- data/README.md +102 -58
- data/docs/Action.md +11 -0
- data/docs/ActionType.md +9 -0
- data/docs/AgentKey.md +14 -0
- data/docs/AgentKeyMeta.md +10 -0
- data/docs/Backend.md +3 -1
- data/docs/BackendApi.md +12 -4
- data/docs/BackendResponse.md +3 -1
- data/docs/BotManagementRequestUpdateConfiguration.md +10 -0
- data/docs/BotManagementResponseConfiguration.md +10 -0
- data/docs/BotManagementResponseConfigurationConfiguration.md +10 -0
- data/docs/BotManagementResponseConfigure.md +13 -0
- data/docs/ClientSideProtectionApi.md +821 -0
- data/docs/ConditionOperator.md +9 -0
- data/docs/ConditionType.md +9 -0
- data/docs/DdosProtectionApi.md +4 -4
- data/docs/Directive.md +11 -0
- data/docs/DmDomainsApi.md +2 -2
- data/docs/DmRoutingConfigsApi.md +912 -0
- data/docs/DomainInspectorMeasurements.md +6 -0
- data/docs/DomainOwnershipsApi.md +2 -2
- data/docs/DomainResearchApi.md +2 -2
- data/docs/DraftDiff.md +12 -0
- data/docs/DraftUpdate.md +10 -0
- data/docs/ErrorResponse.md +13 -0
- data/docs/ErrorResponseErrors.md +12 -0
- data/docs/EventsResponse.md +1 -1
- data/docs/HeaderEvent.md +14 -0
- data/docs/InitialVersion.md +12 -0
- data/docs/InitialVersionPath.md +11 -0
- data/docs/InlineResponse20010.md +2 -2
- data/docs/InlineResponse20011.md +2 -2
- data/docs/InlineResponse20012.md +1 -1
- data/docs/InlineResponse20013.md +2 -2
- data/docs/InlineResponse20014.md +2 -1
- data/docs/InlineResponse20015.md +10 -0
- data/docs/InlineResponse20016.md +10 -0
- data/docs/InlineResponse20017.md +11 -0
- data/docs/InlineResponse20018.md +11 -0
- data/docs/InlineResponse20019.md +11 -0
- data/docs/InlineResponse20020.md +11 -0
- data/docs/InlineResponse20021.md +11 -0
- data/docs/InlineResponse20022.md +10 -0
- data/docs/InlineResponse2005.md +2 -2
- data/docs/InlineResponse2006.md +2 -2
- data/docs/InlineResponse2007.md +2 -2
- data/docs/InlineResponse2008.md +2 -1
- data/docs/InlineResponse2009.md +2 -1
- data/docs/InvitationsResponse.md +1 -1
- data/docs/KvStoreApi.md +2 -2
- data/docs/KvStoreItemApi.md +2 -2
- data/docs/KvStoreResponseBodyEnable.md +12 -0
- data/docs/KvStoreResponseCustomer.md +10 -0
- data/docs/KvStoreResponseLinks.md +10 -0
- data/docs/KvStoreResponseLinksLinks.md +10 -0
- data/docs/KvStoreResponseProduct.md +10 -0
- data/docs/KvStoreResponseProductProduct.md +11 -0
- data/docs/LogError.md +15 -0
- data/docs/LogErrorBatch.md +11 -0
- data/docs/LoggingAzureblobApi.md +4 -4
- data/docs/LoggingAzureblobResponse.md +1 -1
- data/docs/LoggingCloudfilesApi.md +4 -4
- data/docs/LoggingCloudfilesResponse.md +1 -1
- data/docs/LoggingDigitaloceanApi.md +4 -4
- data/docs/LoggingDigitaloceanResponse.md +1 -1
- data/docs/LoggingEndpointErrorsApi.md +61 -0
- data/docs/LoggingFtpApi.md +4 -4
- data/docs/LoggingFtpResponse.md +1 -1
- data/docs/LoggingGcsApi.md +4 -4
- data/docs/LoggingGcsResponse.md +1 -1
- data/docs/LoggingGenericCommon.md +1 -1
- data/docs/LoggingGenericCommonResponse.md +1 -1
- data/docs/LoggingGenericCommonResponseAllOf.md +1 -1
- data/docs/LoggingHttpsAdditional.md +1 -1
- data/docs/LoggingHttpsApi.md +4 -4
- data/docs/LoggingHttpsResponse.md +1 -1
- data/docs/LoggingOpenstackApi.md +4 -4
- data/docs/LoggingOpenstackResponse.md +1 -1
- data/docs/LoggingS3Api.md +4 -4
- data/docs/LoggingS3Response.md +1 -1
- data/docs/LoggingSftpApi.md +4 -4
- data/docs/LoggingSftpResponse.md +1 -1
- data/docs/LoggingSumologicAdditional.md +1 -1
- data/docs/LoggingSumologicApi.md +4 -4
- data/docs/LoggingSumologicResponse.md +1 -1
- data/docs/LoggingSyslogAdditional.md +1 -1
- data/docs/LoggingSyslogApi.md +4 -4
- data/docs/LoggingSyslogResponse.md +1 -1
- data/docs/MutualAuthenticationsResponse.md +1 -1
- data/docs/NgwafAgentKeysApi.md +55 -0
- data/docs/NgwafSimulateApi.md +61 -0
- data/docs/Notification.md +11 -0
- data/docs/NotificationConfig.md +10 -0
- data/docs/Page.md +17 -0
- data/docs/PageCreate.md +14 -0
- data/docs/PageUpdate.md +14 -0
- data/docs/Pagination.md +1 -1
- data/docs/PaginationMeta.md +4 -4
- data/docs/PaginationMeta1.md +13 -0
- data/docs/PathChange.md +15 -0
- data/docs/PathCreate.md +10 -0
- data/docs/PathResponse.md +14 -0
- data/docs/PathResponseAllOf.md +12 -0
- data/docs/PathUpdate.md +10 -0
- data/docs/PathWithRules.md +11 -0
- data/docs/PathsResponse.md +11 -0
- data/docs/Policy.md +17 -0
- data/docs/PolicyCreate.md +13 -0
- data/docs/PolicyUpdate.md +13 -0
- data/docs/Position.md +11 -0
- data/docs/ProductBotManagementApi.md +78 -0
- data/docs/ProductKvStoreApi.md +115 -0
- data/docs/RealtimeEntry.md +1 -1
- data/docs/RealtimeEntryAggregated.md +36 -3
- data/docs/RealtimeEntryDatacenter.md +347 -0
- data/docs/RealtimeMeasurements.md +36 -3
- data/docs/Report.md +15 -0
- data/docs/RequestBodyForCreate.md +1 -0
- data/docs/RequestBodyForUpdate.md +1 -0
- data/docs/Results.md +36 -3
- data/docs/RoutingConfig.md +11 -0
- data/docs/RoutingConfigCondition.md +13 -0
- data/docs/RoutingConfigResponse.md +16 -0
- data/docs/RoutingConfigResponseAllOf.md +14 -0
- data/docs/RoutingConfigState.md +9 -0
- data/docs/RoutingConfigVersionResponse.md +13 -0
- data/docs/RoutingConfigsResponse.md +11 -0
- data/docs/RuleChange.md +12 -0
- data/docs/RuleCreate.md +12 -0
- data/docs/RuleResponse.md +15 -0
- data/docs/RuleResponseAllOf.md +13 -0
- data/docs/RuleUpdate.md +12 -0
- data/docs/RulesResponse.md +11 -0
- data/docs/Script.md +20 -0
- data/docs/ScriptUpdate.md +12 -0
- data/docs/SecretStoreApi.md +2 -2
- data/docs/SecretStoreItemApi.md +2 -2
- data/docs/SecurityHeader.md +12 -0
- data/docs/ServiceAuthorizationsApi.md +2 -2
- data/docs/ServiceAuthorizationsResponse.md +1 -1
- data/docs/SuccessfulResponseAsObject.md +1 -0
- data/docs/SuccessfulResponseAsObjectAllOf.md +1 -0
- data/docs/TlsActivationsResponse.md +1 -1
- data/docs/TlsBulkCertificatesResponse.md +1 -1
- data/docs/TlsCertificatesResponse.md +1 -1
- data/docs/TlsConfigurationsResponse.md +1 -1
- data/docs/TlsDomainsResponse.md +1 -1
- data/docs/TlsPrivateKeysResponse.md +1 -1
- data/docs/TlsSubscriptionsResponse.md +1 -1
- data/docs/Values.md +6 -0
- data/docs/VersionsResponse.md +11 -0
- data/docs/WafSimulateRequest.md +11 -0
- data/docs/WafSimulateResponse.md +11 -0
- data/docs/WafSimulateSignal.md +16 -0
- data/docs/Website.md +14 -0
- data/docs/WebsiteCreate.md +10 -0
- data/docs/WebsiteUpdate.md +10 -0
- data/lib/fastly/api/backend_api.rb +16 -4
- data/lib/fastly/api/client_side_protection_api.rb +1465 -0
- data/lib/fastly/api/ddos_protection_api.rb +6 -6
- data/lib/fastly/api/dm_domains_api.rb +3 -3
- data/lib/fastly/api/dm_routing_configs_api.rb +1596 -0
- data/lib/fastly/api/domain_ownerships_api.rb +3 -3
- data/lib/fastly/api/domain_research_api.rb +3 -3
- data/lib/fastly/api/kv_store_api.rb +3 -3
- data/lib/fastly/api/kv_store_item_api.rb +3 -3
- data/lib/fastly/api/logging_azureblob_api.rb +6 -6
- data/lib/fastly/api/logging_cloudfiles_api.rb +6 -6
- data/lib/fastly/api/logging_digitalocean_api.rb +6 -6
- data/lib/fastly/api/logging_endpoint_errors_api.rb +92 -0
- data/lib/fastly/api/logging_ftp_api.rb +6 -6
- data/lib/fastly/api/logging_gcs_api.rb +6 -6
- data/lib/fastly/api/logging_https_api.rb +4 -4
- data/lib/fastly/api/logging_openstack_api.rb +6 -6
- data/lib/fastly/api/logging_s3_api.rb +6 -6
- data/lib/fastly/api/logging_sftp_api.rb +6 -6
- data/lib/fastly/api/logging_sumologic_api.rb +4 -4
- data/lib/fastly/api/logging_syslog_api.rb +4 -4
- data/lib/fastly/api/ngwaf_agent_keys_api.rb +83 -0
- data/lib/fastly/api/ngwaf_simulate_api.rb +95 -0
- data/lib/fastly/api/product_bot_management_api.rb +133 -0
- data/lib/fastly/api/product_kv_store_api.rb +186 -0
- data/lib/fastly/api/secret_store_api.rb +3 -3
- data/lib/fastly/api/secret_store_item_api.rb +3 -3
- data/lib/fastly/api/service_authorizations_api.rb +3 -3
- data/lib/fastly/configuration.rb +300 -0
- data/lib/fastly/models/action.rb +237 -0
- data/lib/fastly/models/action_type.rb +34 -0
- data/lib/fastly/models/agent_key.rb +283 -0
- data/lib/fastly/models/agent_key_meta.rb +223 -0
- data/lib/fastly/models/backend.rb +24 -2
- data/lib/fastly/models/backend_response.rb +24 -2
- data/lib/fastly/models/bot_management_request_update_configuration.rb +256 -0
- data/lib/fastly/models/bot_management_response_configuration.rb +216 -0
- data/lib/fastly/models/bot_management_response_configuration_configuration.rb +217 -0
- data/lib/fastly/models/bot_management_response_configure.rb +253 -0
- data/lib/fastly/models/condition_operator.rb +37 -0
- data/lib/fastly/models/condition_type.rb +34 -0
- data/lib/fastly/models/directive.rb +229 -0
- data/lib/fastly/models/domain_inspector_measurements.rb +64 -4
- data/lib/fastly/models/draft_diff.rb +244 -0
- data/lib/fastly/models/draft_update.rb +218 -0
- data/lib/fastly/models/error_response.rb +248 -0
- data/lib/fastly/models/error_response_errors.rb +234 -0
- data/lib/fastly/models/events_response.rb +1 -1
- data/lib/fastly/models/header_event.rb +252 -0
- data/lib/fastly/models/initial_version.rb +242 -0
- data/lib/fastly/models/initial_version_path.rb +254 -0
- data/lib/fastly/models/inline_response20010.rb +2 -2
- data/lib/fastly/models/inline_response20011.rb +2 -2
- data/lib/fastly/models/inline_response20012.rb +1 -1
- data/lib/fastly/models/inline_response20013.rb +11 -1
- data/lib/fastly/models/inline_response20014.rb +15 -4
- data/lib/fastly/models/inline_response20015.rb +217 -0
- data/lib/fastly/models/inline_response20016.rb +218 -0
- data/lib/fastly/models/inline_response20017.rb +227 -0
- data/lib/fastly/models/inline_response20018.rb +227 -0
- data/lib/fastly/models/inline_response20019.rb +228 -0
- data/lib/fastly/models/inline_response20020.rb +227 -0
- data/lib/fastly/models/inline_response20021.rb +227 -0
- data/lib/fastly/models/inline_response20022.rb +218 -0
- data/lib/fastly/models/inline_response2005.rb +2 -2
- data/lib/fastly/models/inline_response2006.rb +2 -12
- data/lib/fastly/models/inline_response2007.rb +2 -4
- data/lib/fastly/models/inline_response2008.rb +18 -8
- data/lib/fastly/models/inline_response2009.rb +17 -8
- data/lib/fastly/models/invitations_response.rb +1 -1
- data/lib/fastly/models/kv_store_response_body_enable.rb +243 -0
- data/lib/fastly/models/kv_store_response_customer.rb +216 -0
- data/lib/fastly/models/kv_store_response_links.rb +216 -0
- data/lib/fastly/models/kv_store_response_links_links.rb +217 -0
- data/lib/fastly/models/kv_store_response_product.rb +216 -0
- data/lib/fastly/models/kv_store_response_product_product.rb +227 -0
- data/lib/fastly/models/log_error.rb +267 -0
- data/lib/fastly/models/log_error_batch.rb +228 -0
- data/lib/fastly/models/logging_azureblob_response.rb +3 -3
- data/lib/fastly/models/logging_cloudfiles_response.rb +3 -3
- data/lib/fastly/models/logging_digitalocean_response.rb +3 -3
- data/lib/fastly/models/logging_ftp_response.rb +3 -3
- data/lib/fastly/models/logging_gcs_response.rb +3 -3
- data/lib/fastly/models/logging_generic_common.rb +3 -3
- data/lib/fastly/models/logging_generic_common_response.rb +3 -3
- data/lib/fastly/models/logging_generic_common_response_all_of.rb +3 -3
- data/lib/fastly/models/logging_https_additional.rb +1 -1
- data/lib/fastly/models/logging_https_response.rb +1 -1
- data/lib/fastly/models/logging_message_type.rb +1 -1
- data/lib/fastly/models/logging_openstack_response.rb +3 -3
- data/lib/fastly/models/logging_s3_response.rb +3 -3
- data/lib/fastly/models/logging_sftp_response.rb +3 -3
- data/lib/fastly/models/logging_sumologic_additional.rb +1 -1
- data/lib/fastly/models/logging_sumologic_response.rb +1 -1
- data/lib/fastly/models/logging_syslog_additional.rb +1 -1
- data/lib/fastly/models/logging_syslog_response.rb +1 -1
- data/lib/fastly/models/mutual_authentications_response.rb +1 -1
- data/lib/fastly/models/notification.rb +270 -0
- data/lib/fastly/models/notification_config.rb +218 -0
- data/lib/fastly/models/page.rb +289 -0
- data/lib/fastly/models/page_create.rb +266 -0
- data/lib/fastly/models/page_update.rb +256 -0
- data/lib/fastly/models/pagination.rb +1 -1
- data/lib/fastly/models/pagination_meta.rb +30 -55
- data/lib/fastly/models/pagination_meta1.rb +273 -0
- data/lib/fastly/models/path_change.rb +274 -0
- data/lib/fastly/models/path_create.rb +242 -0
- data/lib/fastly/models/path_response.rb +285 -0
- data/lib/fastly/models/path_response_all_of.rb +254 -0
- data/lib/fastly/models/path_update.rb +233 -0
- data/lib/fastly/models/path_with_rules.rb +228 -0
- data/lib/fastly/models/paths_response.rb +228 -0
- data/lib/fastly/models/policy.rb +315 -0
- data/lib/fastly/models/policy_create.rb +289 -0
- data/lib/fastly/models/policy_update.rb +279 -0
- data/lib/fastly/models/position.rb +228 -0
- data/lib/fastly/models/realtime_entry.rb +2 -5
- data/lib/fastly/models/realtime_entry_aggregated.rb +364 -34
- data/lib/fastly/models/realtime_entry_datacenter.rb +3597 -0
- data/lib/fastly/models/realtime_measurements.rb +364 -34
- data/lib/fastly/models/report.rb +261 -0
- data/lib/fastly/models/request_body_for_create.rb +12 -1
- data/lib/fastly/models/request_body_for_update.rb +12 -1
- data/lib/fastly/models/results.rb +361 -31
- data/lib/fastly/models/routing_config.rb +251 -0
- data/lib/fastly/models/routing_config_condition.rb +261 -0
- data/lib/fastly/models/routing_config_response.rb +305 -0
- data/lib/fastly/models/routing_config_response_all_of.rb +274 -0
- data/lib/fastly/models/routing_config_state.rb +36 -0
- data/lib/fastly/models/routing_config_version_response.rb +250 -0
- data/lib/fastly/models/routing_configs_response.rb +228 -0
- data/lib/fastly/models/rule_change.rb +236 -0
- data/lib/fastly/models/rule_create.rb +267 -0
- data/lib/fastly/models/rule_response.rb +279 -0
- data/lib/fastly/models/rule_response_all_of.rb +248 -0
- data/lib/fastly/models/rule_update.rb +252 -0
- data/lib/fastly/models/rules_response.rb +228 -0
- data/lib/fastly/models/script.rb +350 -0
- data/lib/fastly/models/script_update.rb +271 -0
- data/lib/fastly/models/security_header.rb +234 -0
- data/lib/fastly/models/service_authorizations_response.rb +1 -1
- data/lib/fastly/models/successful_response_as_object.rb +12 -1
- data/lib/fastly/models/successful_response_as_object_all_of.rb +12 -1
- data/lib/fastly/models/tls_activations_response.rb +1 -1
- data/lib/fastly/models/tls_bulk_certificates_response.rb +1 -1
- data/lib/fastly/models/tls_certificates_response.rb +1 -1
- data/lib/fastly/models/tls_configurations_response.rb +1 -1
- data/lib/fastly/models/tls_domains_response.rb +1 -1
- data/lib/fastly/models/tls_private_keys_response.rb +1 -1
- data/lib/fastly/models/tls_subscriptions_response.rb +1 -1
- data/lib/fastly/models/values.rb +64 -4
- data/lib/fastly/models/versions_response.rb +228 -0
- data/lib/fastly/models/waf_simulate_request.rb +233 -0
- data/lib/fastly/models/waf_simulate_response.rb +240 -0
- data/lib/fastly/models/waf_simulate_signal.rb +344 -0
- data/lib/fastly/models/website.rb +257 -0
- data/lib/fastly/models/website_create.rb +222 -0
- data/lib/fastly/models/website_update.rb +217 -0
- data/lib/fastly/version.rb +1 -1
- data/lib/fastly.rb +82 -0
- data/sig.json +1 -1
- metadata +166 -2
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
# Fastly::NgwafAgentKeysApi
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
```ruby
|
|
5
|
+
require 'fastly'
|
|
6
|
+
api_instance = Fastly::NgwafAgentKeysApi.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
|
+
[**ngwaf_list_agent_keys**](NgwafAgentKeysApi.md#ngwaf_list_agent_keys) | **GET** /ngwaf/v1/workspaces/{workspace_id}/agent-keys | List agent keys for a workspace
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
## `ngwaf_list_agent_keys()`
|
|
20
|
+
|
|
21
|
+
```ruby
|
|
22
|
+
ngwaf_list_agent_keys(opts): <InlineResponse20019> # List agent keys for a workspace
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
List agent keys for a workspace.
|
|
26
|
+
|
|
27
|
+
### Examples
|
|
28
|
+
|
|
29
|
+
```ruby
|
|
30
|
+
api_instance = Fastly::NgwafAgentKeysApi.new
|
|
31
|
+
opts = {
|
|
32
|
+
workspace_id: 'SU1Z0isxPaozGVKXdv0eY', # String | The ID of the workspace.
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
begin
|
|
36
|
+
# List agent keys for a workspace
|
|
37
|
+
result = api_instance.ngwaf_list_agent_keys(opts)
|
|
38
|
+
p result
|
|
39
|
+
rescue Fastly::ApiError => e
|
|
40
|
+
puts "Error when calling NgwafAgentKeysApi->ngwaf_list_agent_keys: #{e}"
|
|
41
|
+
end
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
### Options
|
|
45
|
+
|
|
46
|
+
| Name | Type | Description | Notes |
|
|
47
|
+
| ---- | ---- | ----------- | ----- |
|
|
48
|
+
| **workspace_id** | **String** | The ID of the workspace. | |
|
|
49
|
+
|
|
50
|
+
### Return type
|
|
51
|
+
|
|
52
|
+
[**InlineResponse20019**](InlineResponse20019.md)
|
|
53
|
+
|
|
54
|
+
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
|
|
55
|
+
[[Back to README]](../../README.md)
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
# Fastly::NgwafSimulateApi
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
```ruby
|
|
5
|
+
require 'fastly'
|
|
6
|
+
api_instance = Fastly::NgwafSimulateApi.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
|
+
[**ngwaf_simulate_waf_request**](NgwafSimulateApi.md#ngwaf_simulate_waf_request) | **POST** /ngwaf/v1/workspaces/{workspace_id}/simulate | Simulate a WAF request
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
## `ngwaf_simulate_waf_request()`
|
|
20
|
+
|
|
21
|
+
```ruby
|
|
22
|
+
ngwaf_simulate_waf_request(opts): <WafSimulateResponse> # Simulate a WAF request
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
Simulates a request through the workspace's WAF configuration and returns the WAF response code and any signals that would be detected. The operation is stateless — no simulation data is persisted.
|
|
26
|
+
|
|
27
|
+
### Examples
|
|
28
|
+
|
|
29
|
+
```ruby
|
|
30
|
+
api_instance = Fastly::NgwafSimulateApi.new
|
|
31
|
+
opts = {
|
|
32
|
+
workspace_id: 'SU1Z0isxPaozGVKXdv0eY', # String | The ID of the workspace.
|
|
33
|
+
waf_simulate_request: Fastly::WafSimulateRequest.new({request: 'POST /login HTTP/1.1
|
|
34
|
+
Host: example.com
|
|
35
|
+
Content-Type: application/x-www-form-urlencoded
|
|
36
|
+
|
|
37
|
+
username=admin&password=1' OR '1'='1'}), # WafSimulateRequest |
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
begin
|
|
41
|
+
# Simulate a WAF request
|
|
42
|
+
result = api_instance.ngwaf_simulate_waf_request(opts)
|
|
43
|
+
p result
|
|
44
|
+
rescue Fastly::ApiError => e
|
|
45
|
+
puts "Error when calling NgwafSimulateApi->ngwaf_simulate_waf_request: #{e}"
|
|
46
|
+
end
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
### Options
|
|
50
|
+
|
|
51
|
+
| Name | Type | Description | Notes |
|
|
52
|
+
| ---- | ---- | ----------- | ----- |
|
|
53
|
+
| **workspace_id** | **String** | The ID of the workspace. | |
|
|
54
|
+
| **waf_simulate_request** | [**WafSimulateRequest**](WafSimulateRequest.md) | | |
|
|
55
|
+
|
|
56
|
+
### Return type
|
|
57
|
+
|
|
58
|
+
[**WafSimulateResponse**](WafSimulateResponse.md)
|
|
59
|
+
|
|
60
|
+
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
|
|
61
|
+
[[Back to README]](../../README.md)
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# Fastly::Notification
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **type** | **String** | Notification type | |
|
|
8
|
+
| **config** | [**NotificationConfig**](NotificationConfig.md) | | |
|
|
9
|
+
|
|
10
|
+
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
|
11
|
+
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# Fastly::NotificationConfig
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **address** | **String** | Email address for mailinglist notifications | [optional] |
|
|
8
|
+
|
|
9
|
+
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
|
10
|
+
|
data/docs/Page.md
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# Fastly::Page
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **id** | **String** | Unique page identifier | [optional] |
|
|
8
|
+
| **website_id** | **String** | Parent website ID | [optional] |
|
|
9
|
+
| **name** | **String** | Page name | [optional] |
|
|
10
|
+
| **description** | **String** | Page description | [optional] |
|
|
11
|
+
| **notifications** | [**Array<Notification>**](Notification.md) | Notification configurations for this page | [optional] |
|
|
12
|
+
| **paths** | **Array<String>** | URL paths to monitor | [optional] |
|
|
13
|
+
| **created_at** | **Time** | | [optional] |
|
|
14
|
+
| **updated_at** | **Time** | | [optional] |
|
|
15
|
+
|
|
16
|
+
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
|
17
|
+
|
data/docs/PageCreate.md
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# Fastly::PageCreate
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **website_id** | **String** | | |
|
|
8
|
+
| **name** | **String** | | |
|
|
9
|
+
| **description** | **String** | | [optional] |
|
|
10
|
+
| **notifications** | [**Array<Notification>**](Notification.md) | | [optional] |
|
|
11
|
+
| **paths** | **Array<String>** | | [optional] |
|
|
12
|
+
|
|
13
|
+
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
|
14
|
+
|
data/docs/PageUpdate.md
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# Fastly::PageUpdate
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **website_id** | **String** | | [optional] |
|
|
8
|
+
| **name** | **String** | | [optional] |
|
|
9
|
+
| **description** | **String** | | [optional] |
|
|
10
|
+
| **notifications** | [**Array<Notification>**](Notification.md) | | [optional] |
|
|
11
|
+
| **paths** | **Array<String>** | | [optional] |
|
|
12
|
+
|
|
13
|
+
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
|
14
|
+
|
data/docs/Pagination.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **links** | [**PaginationLinks**](PaginationLinks.md) | | [optional] |
|
|
8
|
-
| **meta** | [**
|
|
8
|
+
| **meta** | [**PaginationMeta1**](PaginationMeta1.md) | | [optional] |
|
|
9
9
|
|
|
10
10
|
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
|
11
11
|
|
data/docs/PaginationMeta.md
CHANGED
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **
|
|
8
|
-
| **
|
|
9
|
-
| **
|
|
10
|
-
| **
|
|
7
|
+
| **limit** | **Integer** | The number of records returned per page. | [optional] |
|
|
8
|
+
| **next_cursor** | **String** | Cursor value used to retrieve the next page of results. Empty if there are no more results. | [optional] |
|
|
9
|
+
| **previous_cursor** | **String** | Cursor value used to retrieve the previous page of results. Empty if there is no previous page. | [optional] |
|
|
10
|
+
| **sort** | **String** | The sort order applied to the results. | [optional] |
|
|
11
11
|
|
|
12
12
|
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
|
13
13
|
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# Fastly::PaginationMeta1
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **current_page** | **Integer** | Current page. | [optional] |
|
|
8
|
+
| **per_page** | **Integer** | Number of records per page. | [optional][default to 20] |
|
|
9
|
+
| **record_count** | **Integer** | Total records in result set. | [optional] |
|
|
10
|
+
| **total_pages** | **Integer** | Total pages in result set. | [optional] |
|
|
11
|
+
|
|
12
|
+
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
|
13
|
+
|
data/docs/PathChange.md
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# Fastly::PathChange
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **path_id** | **String** | Alphanumeric string identifying the path. Stable across versions of the routing config. | [optional][readonly] |
|
|
8
|
+
| **path** | **String** | The current path pattern. | [optional] |
|
|
9
|
+
| **old_path** | **String** | The previous path pattern, if it changed. | [optional] |
|
|
10
|
+
| **rules_added** | [**Array<RuleResponse>**](RuleResponse.md) | Rules that were added to this path. | [optional] |
|
|
11
|
+
| **rules_changed** | [**Array<RuleChange>**](RuleChange.md) | Rules that were modified on this path. | [optional] |
|
|
12
|
+
| **rules_deleted** | [**Array<RuleResponse>**](RuleResponse.md) | Rules that were removed from this path. | [optional] |
|
|
13
|
+
|
|
14
|
+
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
|
15
|
+
|
data/docs/PathCreate.md
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# Fastly::PathCreate
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **path** | **String** | The URL path pattern, beginning with `/`. Maximum 2048 characters. | |
|
|
8
|
+
|
|
9
|
+
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
|
10
|
+
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# Fastly::PathResponse
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **created_at** | **Time** | Date and time in ISO 8601 format. | [optional][readonly] |
|
|
8
|
+
| **updated_at** | **Time** | Date and time in ISO 8601 format. | [optional][readonly] |
|
|
9
|
+
| **id** | **String** | Alphanumeric string identifying the path. Stable across versions of the routing config. | [optional][readonly] |
|
|
10
|
+
| **path** | **String** | The URL path pattern, beginning with `/`. Maximum 2048 characters. | [optional] |
|
|
11
|
+
| **links** | **Hash<String, String>** | HATEOAS links to related resources. | [optional][readonly] |
|
|
12
|
+
|
|
13
|
+
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
|
14
|
+
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# Fastly::PathResponseAllOf
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **id** | **String** | Alphanumeric string identifying the path. Stable across versions of the routing config. | [optional][readonly] |
|
|
8
|
+
| **path** | **String** | The URL path pattern, beginning with `/`. Maximum 2048 characters. | [optional] |
|
|
9
|
+
| **links** | **Hash<String, String>** | HATEOAS links to related resources. | [optional][readonly] |
|
|
10
|
+
|
|
11
|
+
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
|
12
|
+
|
data/docs/PathUpdate.md
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# Fastly::PathUpdate
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **path** | **String** | The URL path pattern, beginning with `/`. Maximum 2048 characters. | [optional] |
|
|
8
|
+
|
|
9
|
+
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
|
10
|
+
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# Fastly::PathWithRules
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **path** | [**PathResponse**](PathResponse.md) | | [optional] |
|
|
8
|
+
| **rules** | [**Array<RuleResponse>**](RuleResponse.md) | | [optional] |
|
|
9
|
+
|
|
10
|
+
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
|
11
|
+
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# Fastly::PathsResponse
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **data** | [**Array<PathResponse>**](PathResponse.md) | | [optional] |
|
|
8
|
+
| **meta** | [**PaginationMeta**](PaginationMeta.md) | | [optional] |
|
|
9
|
+
|
|
10
|
+
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
|
11
|
+
|
data/docs/Policy.md
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# Fastly::Policy
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **id** | **String** | | [optional] |
|
|
8
|
+
| **page_id** | **String** | | [optional] |
|
|
9
|
+
| **name** | **String** | | [optional] |
|
|
10
|
+
| **description** | **String** | | [optional] |
|
|
11
|
+
| **mode** | **String** | | [optional] |
|
|
12
|
+
| **directives** | [**Array<Directive>**](Directive.md) | | [optional] |
|
|
13
|
+
| **created_at** | **Time** | | [optional] |
|
|
14
|
+
| **updated_at** | **Time** | | [optional] |
|
|
15
|
+
|
|
16
|
+
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
|
17
|
+
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# Fastly::PolicyCreate
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **name** | **String** | | |
|
|
8
|
+
| **mode** | **String** | | |
|
|
9
|
+
| **description** | **String** | | [optional] |
|
|
10
|
+
| **directives** | [**Array<Directive>**](Directive.md) | | [optional] |
|
|
11
|
+
|
|
12
|
+
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
|
13
|
+
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# Fastly::PolicyUpdate
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **name** | **String** | | [optional] |
|
|
8
|
+
| **description** | **String** | | [optional] |
|
|
9
|
+
| **mode** | **String** | | [optional] |
|
|
10
|
+
| **directives** | [**Array<Directive>**](Directive.md) | | [optional] |
|
|
11
|
+
|
|
12
|
+
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
|
13
|
+
|
data/docs/Position.md
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# Fastly::Position
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **before** | **String** | The id of the rule that this rule should be placed before. | [optional] |
|
|
8
|
+
| **after** | **String** | The id of the rule that this rule should be placed after. | [optional] |
|
|
9
|
+
|
|
10
|
+
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
|
11
|
+
|
|
@@ -16,7 +16,9 @@ Method | HTTP request | Description
|
|
|
16
16
|
[**disable_product_bot_management**](ProductBotManagementApi.md#disable_product_bot_management) | **DELETE** /enabled-products/v1/bot_management/services/{service_id} | Disable product
|
|
17
17
|
[**enable_product_bot_management**](ProductBotManagementApi.md#enable_product_bot_management) | **PUT** /enabled-products/v1/bot_management/services/{service_id} | Enable product
|
|
18
18
|
[**get_product_bot_management**](ProductBotManagementApi.md#get_product_bot_management) | **GET** /enabled-products/v1/bot_management/services/{service_id} | Get product enablement status
|
|
19
|
+
[**get_product_bot_management_configuration**](ProductBotManagementApi.md#get_product_bot_management_configuration) | **GET** /enabled-products/v1/bot_management/services/{service_id}/configuration | Get configuration
|
|
19
20
|
[**get_services_product_bot_management**](ProductBotManagementApi.md#get_services_product_bot_management) | **GET** /enabled-products/v1/bot_management/services | Get services with product enabled
|
|
21
|
+
[**set_product_bot_management_configuration**](ProductBotManagementApi.md#set_product_bot_management_configuration) | **PATCH** /enabled-products/v1/bot_management/services/{service_id}/configuration | Update configuration
|
|
20
22
|
|
|
21
23
|
|
|
22
24
|
## `disable_product_bot_management()`
|
|
@@ -127,6 +129,43 @@ end
|
|
|
127
129
|
|
|
128
130
|
[**BotManagementResponseBodyEnable**](BotManagementResponseBodyEnable.md)
|
|
129
131
|
|
|
132
|
+
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
|
|
133
|
+
[[Back to README]](../../README.md)
|
|
134
|
+
## `get_product_bot_management_configuration()`
|
|
135
|
+
|
|
136
|
+
```ruby
|
|
137
|
+
get_product_bot_management_configuration(opts): <BotManagementResponseConfigure> # Get configuration
|
|
138
|
+
```
|
|
139
|
+
|
|
140
|
+
Get the configuration of the Bot Management product on a service.
|
|
141
|
+
|
|
142
|
+
### Examples
|
|
143
|
+
|
|
144
|
+
```ruby
|
|
145
|
+
api_instance = Fastly::ProductBotManagementApi.new
|
|
146
|
+
opts = {
|
|
147
|
+
service_id: 'service_id_example', # String | Alphanumeric string identifying the service.
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
begin
|
|
151
|
+
# Get configuration
|
|
152
|
+
result = api_instance.get_product_bot_management_configuration(opts)
|
|
153
|
+
p result
|
|
154
|
+
rescue Fastly::ApiError => e
|
|
155
|
+
puts "Error when calling ProductBotManagementApi->get_product_bot_management_configuration: #{e}"
|
|
156
|
+
end
|
|
157
|
+
```
|
|
158
|
+
|
|
159
|
+
### Options
|
|
160
|
+
|
|
161
|
+
| Name | Type | Description | Notes |
|
|
162
|
+
| ---- | ---- | ----------- | ----- |
|
|
163
|
+
| **service_id** | **String** | Alphanumeric string identifying the service. | |
|
|
164
|
+
|
|
165
|
+
### Return type
|
|
166
|
+
|
|
167
|
+
[**BotManagementResponseConfigure**](BotManagementResponseConfigure.md)
|
|
168
|
+
|
|
130
169
|
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
|
|
131
170
|
[[Back to README]](../../README.md)
|
|
132
171
|
## `get_services_product_bot_management()`
|
|
@@ -161,3 +200,42 @@ This endpoint does not need any parameter.
|
|
|
161
200
|
|
|
162
201
|
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
|
|
163
202
|
[[Back to README]](../../README.md)
|
|
203
|
+
## `set_product_bot_management_configuration()`
|
|
204
|
+
|
|
205
|
+
```ruby
|
|
206
|
+
set_product_bot_management_configuration(opts): <BotManagementResponseConfigure> # Update configuration
|
|
207
|
+
```
|
|
208
|
+
|
|
209
|
+
Update the configuration of the Bot Management product on a service.
|
|
210
|
+
|
|
211
|
+
### Examples
|
|
212
|
+
|
|
213
|
+
```ruby
|
|
214
|
+
api_instance = Fastly::ProductBotManagementApi.new
|
|
215
|
+
opts = {
|
|
216
|
+
service_id: 'service_id_example', # String | Alphanumeric string identifying the service.
|
|
217
|
+
bot_management_request_update_configuration: Fastly::BotManagementRequestUpdateConfiguration.new({contentguard: 'false'}), # BotManagementRequestUpdateConfiguration |
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
begin
|
|
221
|
+
# Update configuration
|
|
222
|
+
result = api_instance.set_product_bot_management_configuration(opts)
|
|
223
|
+
p result
|
|
224
|
+
rescue Fastly::ApiError => e
|
|
225
|
+
puts "Error when calling ProductBotManagementApi->set_product_bot_management_configuration: #{e}"
|
|
226
|
+
end
|
|
227
|
+
```
|
|
228
|
+
|
|
229
|
+
### Options
|
|
230
|
+
|
|
231
|
+
| Name | Type | Description | Notes |
|
|
232
|
+
| ---- | ---- | ----------- | ----- |
|
|
233
|
+
| **service_id** | **String** | Alphanumeric string identifying the service. | |
|
|
234
|
+
| **bot_management_request_update_configuration** | [**BotManagementRequestUpdateConfiguration**](BotManagementRequestUpdateConfiguration.md) | | [optional] |
|
|
235
|
+
|
|
236
|
+
### Return type
|
|
237
|
+
|
|
238
|
+
[**BotManagementResponseConfigure**](BotManagementResponseConfigure.md)
|
|
239
|
+
|
|
240
|
+
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
|
|
241
|
+
[[Back to README]](../../README.md)
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
# Fastly::ProductKvStoreApi
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
```ruby
|
|
5
|
+
require 'fastly'
|
|
6
|
+
api_instance = Fastly::ProductKvStoreApi.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_kv_store**](ProductKvStoreApi.md#disable_product_kv_store) | **DELETE** /enabled-products/v1/kv_store | Disable product
|
|
17
|
+
[**enable_kv_store**](ProductKvStoreApi.md#enable_kv_store) | **PUT** /enabled-products/v1/kv_store | Enable product
|
|
18
|
+
[**get_kv_store**](ProductKvStoreApi.md#get_kv_store) | **GET** /enabled-products/v1/kv_store | Get product enablement status
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
## `disable_product_kv_store()`
|
|
22
|
+
|
|
23
|
+
```ruby
|
|
24
|
+
disable_product_kv_store # Disable product
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
Disable the KV Store product
|
|
28
|
+
|
|
29
|
+
### Examples
|
|
30
|
+
|
|
31
|
+
```ruby
|
|
32
|
+
api_instance = Fastly::ProductKvStoreApi.new
|
|
33
|
+
|
|
34
|
+
begin
|
|
35
|
+
# Disable product
|
|
36
|
+
api_instance.disable_product_kv_store
|
|
37
|
+
rescue Fastly::ApiError => e
|
|
38
|
+
puts "Error when calling ProductKvStoreApi->disable_product_kv_store: #{e}"
|
|
39
|
+
end
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
### Options
|
|
43
|
+
|
|
44
|
+
This endpoint does not need any parameter.
|
|
45
|
+
|
|
46
|
+
### Return type
|
|
47
|
+
|
|
48
|
+
nil (empty response body)
|
|
49
|
+
|
|
50
|
+
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
|
|
51
|
+
[[Back to README]](../../README.md)
|
|
52
|
+
## `enable_kv_store()`
|
|
53
|
+
|
|
54
|
+
```ruby
|
|
55
|
+
enable_kv_store: <KvStoreResponseBodyEnable> # Enable product
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
Enable the KV Store product
|
|
59
|
+
|
|
60
|
+
### Examples
|
|
61
|
+
|
|
62
|
+
```ruby
|
|
63
|
+
api_instance = Fastly::ProductKvStoreApi.new
|
|
64
|
+
|
|
65
|
+
begin
|
|
66
|
+
# Enable product
|
|
67
|
+
result = api_instance.enable_kv_store
|
|
68
|
+
p result
|
|
69
|
+
rescue Fastly::ApiError => e
|
|
70
|
+
puts "Error when calling ProductKvStoreApi->enable_kv_store: #{e}"
|
|
71
|
+
end
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
### Options
|
|
75
|
+
|
|
76
|
+
This endpoint does not need any parameter.
|
|
77
|
+
|
|
78
|
+
### Return type
|
|
79
|
+
|
|
80
|
+
[**KvStoreResponseBodyEnable**](KvStoreResponseBodyEnable.md)
|
|
81
|
+
|
|
82
|
+
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
|
|
83
|
+
[[Back to README]](../../README.md)
|
|
84
|
+
## `get_kv_store()`
|
|
85
|
+
|
|
86
|
+
```ruby
|
|
87
|
+
get_kv_store: <KvStoreResponseBodyEnable> # Get product enablement status
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
Get the enablement status of the KV Store product
|
|
91
|
+
|
|
92
|
+
### Examples
|
|
93
|
+
|
|
94
|
+
```ruby
|
|
95
|
+
api_instance = Fastly::ProductKvStoreApi.new
|
|
96
|
+
|
|
97
|
+
begin
|
|
98
|
+
# Get product enablement status
|
|
99
|
+
result = api_instance.get_kv_store
|
|
100
|
+
p result
|
|
101
|
+
rescue Fastly::ApiError => e
|
|
102
|
+
puts "Error when calling ProductKvStoreApi->get_kv_store: #{e}"
|
|
103
|
+
end
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
### Options
|
|
107
|
+
|
|
108
|
+
This endpoint does not need any parameter.
|
|
109
|
+
|
|
110
|
+
### Return type
|
|
111
|
+
|
|
112
|
+
[**KvStoreResponseBodyEnable**](KvStoreResponseBodyEnable.md)
|
|
113
|
+
|
|
114
|
+
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
|
|
115
|
+
[[Back to README]](../../README.md)
|
data/docs/RealtimeEntry.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **recorded** | [**RealtimeEntryRecorded**](RealtimeEntryRecorded.md) | | [optional] |
|
|
8
8
|
| **aggregated** | [**RealtimeEntryAggregated**](RealtimeEntryAggregated.md) | | [optional] |
|
|
9
|
-
| **datacenter** | [**
|
|
9
|
+
| **datacenter** | [**RealtimeEntryDatacenter**](RealtimeEntryDatacenter.md) | | [optional] |
|
|
10
10
|
|
|
11
11
|
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
|
12
12
|
|