fastly 6.0.2 → 7.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 +32 -0
- data/Gemfile.lock +1 -1
- data/README.md +7 -2
- data/docs/Backend.md +1 -0
- data/docs/BackendApi.md +4 -0
- data/docs/BackendResponse.md +1 -0
- data/docs/CacheSetting.md +2 -2
- data/docs/CacheSettingResponse.md +3 -3
- data/docs/CacheSettingsApi.md +8 -8
- data/docs/DomainApi.md +2 -2
- data/docs/GzipResponse.md +1 -1
- data/docs/Header.md +0 -2
- data/docs/HeaderApi.md +8 -8
- data/docs/HeaderResponse.md +3 -3
- data/docs/HeaderResponseAdditional.md +11 -0
- data/docs/{LoggingAzureblobAllOf.md → LoggingAzureblobAdditional.md} +1 -1
- data/docs/LoggingAzureblobApi.md +8 -8
- data/docs/LoggingAzureblobResponse.md +8 -8
- data/docs/{LoggingBigqueryAllOf.md → LoggingBigqueryAdditional.md} +1 -1
- data/docs/LoggingBigqueryApi.md +4 -4
- data/docs/LoggingBigqueryResponse.md +2 -2
- data/docs/{LoggingCloudfilesAllOf.md → LoggingCloudfilesAdditional.md} +1 -1
- data/docs/LoggingCloudfilesApi.md +8 -8
- data/docs/LoggingCloudfilesResponse.md +8 -8
- data/docs/LoggingCommon.md +0 -1
- data/docs/{LoggingPapertrail.md → LoggingCommonResponse.md} +2 -4
- data/docs/{LoggingLogshuttle.md → LoggingCommonResponseAllOf.md} +1 -4
- data/docs/LoggingCommonResponseAllOf1.md +10 -0
- data/docs/{LoggingDatadogAllOf.md → LoggingDatadogAdditional.md} +1 -1
- data/docs/LoggingDatadogApi.md +4 -4
- data/docs/LoggingDatadogResponse.md +2 -2
- data/docs/{LoggingDigitaloceanAllOf.md → LoggingDigitaloceanAdditional.md} +1 -1
- data/docs/LoggingDigitaloceanApi.md +8 -8
- data/docs/LoggingDigitaloceanResponse.md +8 -8
- data/docs/{LoggingElasticsearchAllOf.md → LoggingElasticsearchAdditional.md} +1 -1
- data/docs/LoggingElasticsearchApi.md +4 -4
- data/docs/LoggingElasticsearchResponse.md +2 -2
- data/docs/LoggingFormatVersionInteger.md +10 -0
- data/docs/LoggingFormatVersionString.md +10 -0
- data/docs/{LoggingFtpAllOf.md → LoggingFtpAdditional.md} +1 -2
- data/docs/LoggingFtpApi.md +12 -12
- data/docs/LoggingFtpResponse.md +9 -9
- data/docs/{LoggingFormatVersion.md → LoggingFtpResponseAllOf.md} +2 -1
- data/docs/{LoggingGcsAllOf.md → LoggingGcsAdditional.md} +1 -1
- data/docs/LoggingGcsApi.md +8 -8
- data/docs/LoggingGcsResponse.md +8 -8
- data/docs/LoggingGenericCommon.md +0 -2
- data/docs/LoggingGenericCommonResponse.md +14 -0
- data/docs/LoggingGenericCommonResponseAllOf.md +12 -0
- data/docs/LoggingGenericCommonResponseAllOf1.md +11 -0
- data/docs/{LoggingGooglePubsubAllOf.md → LoggingGooglePubsubAdditional.md} +1 -1
- data/docs/LoggingGooglePubsubResponse.md +2 -2
- data/docs/{LoggingHerokuAllOf.md → LoggingHerokuAdditional.md} +1 -1
- data/docs/LoggingHerokuApi.md +4 -4
- data/docs/LoggingHerokuResponse.md +2 -2
- data/docs/{LoggingHoneycombAllOf.md → LoggingHoneycombAdditional.md} +1 -1
- data/docs/LoggingHoneycombApi.md +8 -8
- data/docs/LoggingHoneycombResponse.md +2 -2
- data/docs/{LoggingHttpsAllOf.md → LoggingHttpsAdditional.md} +1 -1
- data/docs/LoggingHttpsApi.md +4 -4
- data/docs/LoggingHttpsResponse.md +2 -2
- data/docs/{LoggingKafkaAllOf.md → LoggingKafkaAdditional.md} +1 -1
- data/docs/LoggingKafkaApi.md +4 -4
- data/docs/LoggingKafkaResponse.md +6 -6
- data/docs/{LoggingKafka.md → LoggingKafkaResponsePost.md} +7 -2
- data/docs/{LoggingKinesis.md → LoggingKinesisAdditional.md} +1 -2
- data/docs/LoggingKinesisApi.md +2 -2
- data/docs/LoggingKinesisResponse.md +2 -2
- data/docs/{LoggingLogentriesAllOf.md → LoggingLogentriesAdditional.md} +1 -1
- data/docs/LoggingLogentriesApi.md +4 -4
- data/docs/LoggingLogentriesResponse.md +2 -2
- data/docs/{LoggingLogglyAllOf.md → LoggingLogglyAdditional.md} +1 -1
- data/docs/LoggingLogglyApi.md +4 -4
- data/docs/LoggingLogglyResponse.md +2 -2
- data/docs/{LoggingLogshuttleAllOf.md → LoggingLogshuttleAdditional.md} +1 -1
- data/docs/LoggingLogshuttleApi.md +4 -4
- data/docs/LoggingLogshuttleResponse.md +2 -2
- data/docs/{LoggingNewrelicAllOf.md → LoggingNewrelicAdditional.md} +1 -1
- data/docs/LoggingNewrelicApi.md +4 -4
- data/docs/LoggingNewrelicResponse.md +2 -2
- data/docs/LoggingNewrelicotlpAdditional.md +13 -0
- data/docs/LoggingNewrelicotlpApi.md +252 -0
- data/docs/LoggingNewrelicotlpResponse.md +22 -0
- data/docs/{LoggingOpenstackAllOf.md → LoggingOpenstackAdditional.md} +1 -1
- data/docs/LoggingOpenstackApi.md +8 -8
- data/docs/LoggingOpenstackResponse.md +8 -8
- data/docs/LoggingPapertrailApi.md +4 -4
- data/docs/LoggingPapertrailResponse.md +2 -2
- data/docs/LoggingPubsubApi.md +4 -4
- data/docs/{LoggingS3AllOf.md → LoggingS3Additional.md} +1 -1
- data/docs/LoggingS3Api.md +8 -8
- data/docs/LoggingS3Response.md +8 -8
- data/docs/{LoggingScalyrAllOf.md → LoggingScalyrAdditional.md} +1 -1
- data/docs/LoggingScalyrApi.md +4 -4
- data/docs/LoggingScalyrResponse.md +2 -2
- data/docs/{LoggingSftpAllOf.md → LoggingSftpAdditional.md} +1 -2
- data/docs/LoggingSftpApi.md +8 -8
- data/docs/LoggingSftpResponse.md +10 -10
- data/docs/LoggingSftpResponseAllOf.md +13 -0
- data/docs/{LoggingSplunkAllOf.md → LoggingSplunkAdditional.md} +1 -1
- data/docs/LoggingSplunkApi.md +4 -4
- data/docs/LoggingSplunkResponse.md +2 -2
- data/docs/{LoggingSumologicAllOf.md → LoggingSumologicAdditional.md} +1 -1
- data/docs/LoggingSumologicApi.md +4 -4
- data/docs/LoggingSumologicResponse.md +2 -2
- data/docs/{LoggingSyslogAllOf.md → LoggingSyslogAdditional.md} +1 -1
- data/docs/LoggingSyslogApi.md +4 -4
- data/docs/LoggingSyslogResponse.md +2 -2
- data/docs/{PoolAllOf.md → PoolAdditional.md} +1 -6
- data/docs/PoolApi.md +46 -22
- data/docs/PoolResponse.md +12 -11
- data/docs/PoolResponseAllOf.md +1 -1
- data/docs/PoolResponseCommon.md +15 -0
- data/docs/{Pool.md → PoolResponsePost.md} +14 -7
- data/docs/PoolResponsePostAllOf.md +10 -0
- data/docs/RequestSettingsAdditional.md +15 -0
- data/docs/RequestSettingsApi.md +10 -10
- data/docs/RequestSettingsResponse.md +11 -11
- data/docs/RequestSettingsResponseAllOf.md +15 -0
- data/docs/ResponseObject.md +1 -1
- data/docs/ResponseObjectResponse.md +2 -2
- data/docs/SecretStoreApi.md +3 -3
- data/docs/ServiceIdAndVersionString.md +11 -0
- data/docs/TlsCommonResponse.md +14 -0
- data/docs/{TlsCommon.md → TlsCommonResponseAllOf.md} +1 -2
- data/docs/TlsCommonResponseAllOf1.md +10 -0
- data/docs/TlsDomainsApi.md +2 -2
- data/docs/TlsSubscriptionsApi.md +4 -4
- data/lib/fastly/api/backend_api.rb +16 -0
- data/lib/fastly/api/cache_settings_api.rb +8 -8
- data/lib/fastly/api/domain_api.rb +3 -3
- data/lib/fastly/api/header_api.rb +12 -12
- data/lib/fastly/api/logging_azureblob_api.rb +12 -12
- data/lib/fastly/api/logging_bigquery_api.rb +6 -6
- data/lib/fastly/api/logging_cloudfiles_api.rb +12 -12
- data/lib/fastly/api/logging_datadog_api.rb +6 -6
- data/lib/fastly/api/logging_digitalocean_api.rb +12 -12
- data/lib/fastly/api/logging_elasticsearch_api.rb +6 -6
- data/lib/fastly/api/logging_ftp_api.rb +18 -18
- data/lib/fastly/api/logging_gcs_api.rb +12 -12
- data/lib/fastly/api/logging_heroku_api.rb +6 -6
- data/lib/fastly/api/logging_honeycomb_api.rb +12 -12
- data/lib/fastly/api/logging_https_api.rb +6 -6
- data/lib/fastly/api/logging_kafka_api.rb +6 -6
- data/lib/fastly/api/logging_kinesis_api.rb +7 -3
- data/lib/fastly/api/logging_logentries_api.rb +6 -6
- data/lib/fastly/api/logging_loggly_api.rb +6 -6
- data/lib/fastly/api/logging_logshuttle_api.rb +6 -6
- data/lib/fastly/api/logging_newrelic_api.rb +6 -6
- data/lib/fastly/api/logging_newrelicotlp_api.rb +473 -0
- data/lib/fastly/api/logging_openstack_api.rb +12 -12
- data/lib/fastly/api/logging_papertrail_api.rb +6 -6
- data/lib/fastly/api/logging_pubsub_api.rb +6 -6
- data/lib/fastly/api/logging_s3_api.rb +12 -12
- data/lib/fastly/api/logging_scalyr_api.rb +6 -6
- data/lib/fastly/api/logging_sftp_api.rb +12 -12
- data/lib/fastly/api/logging_splunk_api.rb +6 -6
- data/lib/fastly/api/logging_sumologic_api.rb +6 -6
- data/lib/fastly/api/logging_syslog_api.rb +6 -6
- data/lib/fastly/api/pool_api.rb +77 -41
- data/lib/fastly/api/rate_limiter_api.rb +2 -2
- data/lib/fastly/api/request_settings_api.rb +15 -15
- data/lib/fastly/api/secret_store_api.rb +2 -2
- data/lib/fastly/api/tls_domains_api.rb +2 -2
- data/lib/fastly/api/tls_subscriptions_api.rb +4 -4
- data/lib/fastly/configuration.rb +30 -0
- data/lib/fastly/models/backend.rb +29 -1
- data/lib/fastly/models/backend_response.rb +29 -1
- data/lib/fastly/models/cache_setting.rb +2 -2
- data/lib/fastly/models/cache_setting_response.rb +4 -4
- data/lib/fastly/models/gzip_response.rb +2 -2
- data/lib/fastly/models/header.rb +1 -23
- data/lib/fastly/models/header_response.rb +26 -25
- data/lib/fastly/models/header_response_additional.rb +229 -0
- data/lib/fastly/models/{logging_azureblob_all_of.rb → logging_azureblob_additional.rb} +3 -3
- data/lib/fastly/models/logging_azureblob_response.rb +82 -80
- data/lib/fastly/models/{logging_bigquery_all_of.rb → logging_bigquery_additional.rb} +3 -3
- data/lib/fastly/models/logging_bigquery_response.rb +20 -18
- data/lib/fastly/models/{logging_cloudfiles_all_of.rb → logging_cloudfiles_additional.rb} +3 -3
- data/lib/fastly/models/logging_cloudfiles_response.rb +83 -81
- data/lib/fastly/models/logging_common.rb +1 -25
- data/lib/fastly/models/{logging_loggly.rb → logging_common_response.rb} +17 -27
- data/lib/fastly/models/{logging_logshuttle.rb → logging_common_response_all_of.rb} +7 -60
- data/lib/fastly/models/logging_common_response_all_of1.rb +253 -0
- data/lib/fastly/models/{logging_datadog_all_of.rb → logging_datadog_additional.rb} +3 -3
- data/lib/fastly/models/logging_datadog_response.rb +19 -18
- data/lib/fastly/models/{logging_digitalocean_all_of.rb → logging_digitalocean_additional.rb} +3 -3
- data/lib/fastly/models/logging_digitalocean_response.rb +82 -80
- data/lib/fastly/models/{logging_elasticsearch_all_of.rb → logging_elasticsearch_additional.rb} +3 -3
- data/lib/fastly/models/logging_elasticsearch_response.rb +21 -18
- data/lib/fastly/models/logging_format_version_integer.rb +253 -0
- data/lib/fastly/models/logging_format_version_string.rb +253 -0
- data/lib/fastly/models/{logging_ftp_all_of.rb → logging_ftp_additional.rb} +4 -16
- data/lib/fastly/models/logging_ftp_response.rb +88 -85
- data/lib/fastly/models/logging_ftp_response_all_of.rb +219 -0
- data/lib/fastly/models/{logging_gcs_all_of.rb → logging_gcs_additional.rb} +3 -3
- data/lib/fastly/models/logging_gcs_response.rb +80 -77
- data/lib/fastly/models/logging_generic_common.rb +1 -25
- data/lib/fastly/models/{logging_sumologic.rb → logging_generic_common_response.rb} +60 -80
- data/lib/fastly/models/logging_generic_common_response_all_of.rb +286 -0
- data/lib/fastly/models/logging_generic_common_response_all_of1.rb +231 -0
- data/lib/fastly/models/{logging_google_pubsub_all_of.rb → logging_google_pubsub_additional.rb} +3 -3
- data/lib/fastly/models/logging_google_pubsub_response.rb +20 -18
- data/lib/fastly/models/{logging_heroku_all_of.rb → logging_heroku_additional.rb} +3 -3
- data/lib/fastly/models/logging_heroku_response.rb +19 -18
- data/lib/fastly/models/{logging_honeycomb_all_of.rb → logging_honeycomb_additional.rb} +3 -3
- data/lib/fastly/models/logging_honeycomb_response.rb +19 -18
- data/lib/fastly/models/{logging_https_all_of.rb → logging_https_additional.rb} +3 -3
- data/lib/fastly/models/logging_https_response.rb +21 -18
- data/lib/fastly/models/{logging_kafka_all_of.rb → logging_kafka_additional.rb} +3 -3
- data/lib/fastly/models/logging_kafka_response.rb +71 -69
- data/lib/fastly/models/{logging_kafka.rb → logging_kafka_response_post.rb} +72 -18
- data/lib/fastly/models/{logging_kinesis.rb → logging_kinesis_additional.rb} +4 -15
- data/lib/fastly/models/logging_kinesis_response.rb +51 -15
- data/lib/fastly/models/{logging_logentries_all_of.rb → logging_logentries_additional.rb} +3 -3
- data/lib/fastly/models/logging_logentries_response.rb +19 -18
- data/lib/fastly/models/{logging_loggly_all_of.rb → logging_loggly_additional.rb} +3 -3
- data/lib/fastly/models/logging_loggly_response.rb +19 -18
- data/lib/fastly/models/{logging_logshuttle_all_of.rb → logging_logshuttle_additional.rb} +3 -3
- data/lib/fastly/models/logging_logshuttle_response.rb +19 -18
- data/lib/fastly/models/{logging_newrelic_all_of.rb → logging_newrelic_additional.rb} +3 -3
- data/lib/fastly/models/logging_newrelic_response.rb +19 -18
- data/lib/fastly/models/logging_newrelicotlp_additional.rb +288 -0
- data/lib/fastly/models/{logging_newrelic.rb → logging_newrelicotlp_response.rb} +90 -24
- data/lib/fastly/models/{logging_openstack_all_of.rb → logging_openstack_additional.rb} +3 -3
- data/lib/fastly/models/logging_openstack_response.rb +82 -80
- data/lib/fastly/models/logging_papertrail_response.rb +19 -18
- data/lib/fastly/models/{logging_s3_all_of.rb → logging_s3_additional.rb} +3 -3
- data/lib/fastly/models/logging_s3_response.rb +84 -82
- data/lib/fastly/models/{logging_scalyr_all_of.rb → logging_scalyr_additional.rb} +3 -3
- data/lib/fastly/models/logging_scalyr_response.rb +19 -18
- data/lib/fastly/models/{logging_sftp_all_of.rb → logging_sftp_additional.rb} +4 -16
- data/lib/fastly/models/logging_sftp_response.rb +97 -94
- data/lib/fastly/models/{domain_check_item.rb → logging_sftp_response_all_of.rb} +44 -40
- data/lib/fastly/models/{logging_splunk_all_of.rb → logging_splunk_additional.rb} +3 -3
- data/lib/fastly/models/logging_splunk_response.rb +21 -18
- data/lib/fastly/models/{logging_sumologic_all_of.rb → logging_sumologic_additional.rb} +3 -3
- data/lib/fastly/models/logging_sumologic_response.rb +19 -18
- data/lib/fastly/models/{logging_syslog_all_of.rb → logging_syslog_additional.rb} +3 -3
- data/lib/fastly/models/logging_syslog_response.rb +21 -18
- data/lib/fastly/models/{pool_all_of.rb → pool_additional.rb} +4 -83
- data/lib/fastly/models/pool_response.rb +113 -125
- data/lib/fastly/models/pool_response_all_of.rb +10 -7
- data/lib/fastly/models/pool_response_common.rb +269 -0
- data/lib/fastly/models/{pool.rb → pool_response_post.rb} +142 -92
- data/lib/fastly/models/pool_response_post_all_of.rb +219 -0
- data/lib/fastly/models/rate_limiter.rb +2 -2
- data/lib/fastly/models/rate_limiter_response.rb +2 -2
- data/lib/fastly/models/{request_settings.rb → request_settings_additional.rb} +4 -64
- data/lib/fastly/models/request_settings_response.rb +96 -95
- data/lib/fastly/models/request_settings_response_all_of.rb +267 -0
- data/lib/fastly/models/response_object.rb +2 -2
- data/lib/fastly/models/response_object_response.rb +4 -4
- data/lib/fastly/models/{tls_subscription_response_data_all_of.rb → service_id_and_version_string.rb} +16 -16
- data/lib/fastly/models/{tls_common.rb → tls_common_response.rb} +15 -7
- data/lib/fastly/models/tls_common_response_all_of.rb +259 -0
- data/lib/fastly/models/tls_common_response_all_of1.rb +253 -0
- data/lib/fastly/models/tls_subscription_response_data.rb +0 -7
- data/lib/fastly/version.rb +1 -1
- data/lib/fastly.rb +50 -57
- data/sig.json +1 -1
- metadata +102 -116
- data/docs/DomainCheckItem.md +0 -11
- data/docs/LoggingAzureblob.md +0 -25
- data/docs/LoggingBigquery.md +0 -21
- data/docs/LoggingCloudfiles.md +0 -25
- data/docs/LoggingDatadog.md +0 -16
- data/docs/LoggingDigitalocean.md +0 -25
- data/docs/LoggingElasticsearch.md +0 -25
- data/docs/LoggingFtp.md +0 -27
- data/docs/LoggingGcs.md +0 -26
- data/docs/LoggingGooglePubsub.md +0 -19
- data/docs/LoggingHeroku.md +0 -16
- data/docs/LoggingHoneycomb.md +0 -16
- data/docs/LoggingHttps.md +0 -27
- data/docs/LoggingLogentries.md +0 -18
- data/docs/LoggingLoggly.md +0 -15
- data/docs/LoggingNewrelic.md +0 -16
- data/docs/LoggingOpenstack.md +0 -25
- data/docs/LoggingS3.md +0 -30
- data/docs/LoggingScalyr.md +0 -17
- data/docs/LoggingSftp.md +0 -27
- data/docs/LoggingSplunk.md +0 -23
- data/docs/LoggingSumologic.md +0 -16
- data/docs/LoggingSyslog.md +0 -25
- data/docs/RequestSettings.md +0 -21
- data/docs/TlsSubscriptionResponseDataAllOf.md +0 -11
- data/lib/fastly/models/logging_azureblob.rb +0 -480
- data/lib/fastly/models/logging_bigquery.rb +0 -387
- data/lib/fastly/models/logging_cloudfiles.rb +0 -478
- data/lib/fastly/models/logging_datadog.rb +0 -351
- data/lib/fastly/models/logging_digitalocean.rb +0 -467
- data/lib/fastly/models/logging_elasticsearch.rb +0 -446
- data/lib/fastly/models/logging_format_version.rb +0 -35
- data/lib/fastly/models/logging_ftp.rb +0 -484
- data/lib/fastly/models/logging_gcs.rb +0 -474
- data/lib/fastly/models/logging_google_pubsub.rb +0 -368
- data/lib/fastly/models/logging_heroku.rb +0 -337
- data/lib/fastly/models/logging_honeycomb.rb +0 -335
- data/lib/fastly/models/logging_https.rb +0 -501
- data/lib/fastly/models/logging_logentries.rb +0 -372
- data/lib/fastly/models/logging_openstack.rb +0 -465
- data/lib/fastly/models/logging_papertrail.rb +0 -339
- data/lib/fastly/models/logging_s3.rb +0 -527
- data/lib/fastly/models/logging_scalyr.rb +0 -363
- data/lib/fastly/models/logging_sftp.rb +0 -491
- data/lib/fastly/models/logging_splunk.rb +0 -426
- data/lib/fastly/models/logging_syslog.rb +0 -449
@@ -23,9 +23,9 @@ module Fastly
|
|
23
23
|
# @option opts [Integer] :version_id Integer identifying a service version. (required)
|
24
24
|
# @option opts [String] :name The name for the real-time logging configuration.
|
25
25
|
# @option opts [String] :placement Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
|
26
|
-
# @option opts [Integer] :format_version The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`. (default to FORMAT_VERSION::v2)
|
27
26
|
# @option opts [String] :response_condition The name of an existing condition in the configured endpoint, or leave blank to always execute.
|
28
27
|
# @option opts [String] :format A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). (default to '%h %l %u %t \"%r\" %>s %b')
|
28
|
+
# @option opts [Integer] :format_version The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`. (default to FORMAT_VERSION::v2)
|
29
29
|
# @option opts [String] :tls_ca_cert A secure certificate to authenticate a server with. Must be in PEM format. (default to 'null')
|
30
30
|
# @option opts [String] :tls_client_cert The client certificate used to make authenticated requests. Must be in PEM format. (default to 'null')
|
31
31
|
# @option opts [String] :tls_client_key The client private key used to make authenticated requests. Must be in PEM format. (default to 'null')
|
@@ -47,9 +47,9 @@ module Fastly
|
|
47
47
|
# @option opts [Integer] :version_id Integer identifying a service version. (required)
|
48
48
|
# @option opts [String] :name The name for the real-time logging configuration.
|
49
49
|
# @option opts [String] :placement Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
|
50
|
-
# @option opts [Integer] :format_version The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`. (default to FORMAT_VERSION::v2)
|
51
50
|
# @option opts [String] :response_condition The name of an existing condition in the configured endpoint, or leave blank to always execute.
|
52
51
|
# @option opts [String] :format A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). (default to '%h %l %u %t \"%r\" %>s %b')
|
52
|
+
# @option opts [Integer] :format_version The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`. (default to FORMAT_VERSION::v2)
|
53
53
|
# @option opts [String] :tls_ca_cert A secure certificate to authenticate a server with. Must be in PEM format. (default to 'null')
|
54
54
|
# @option opts [String] :tls_client_cert The client certificate used to make authenticated requests. Must be in PEM format. (default to 'null')
|
55
55
|
# @option opts [String] :tls_client_key The client private key used to make authenticated requests. Must be in PEM format. (default to 'null')
|
@@ -103,9 +103,9 @@ module Fastly
|
|
103
103
|
form_params = opts[:form_params] || {}
|
104
104
|
form_params['name'] = opts[:'name'] if !opts[:'name'].nil?
|
105
105
|
form_params['placement'] = opts[:'placement'] if !opts[:'placement'].nil?
|
106
|
-
form_params['format_version'] = opts[:'format_version'] if !opts[:'format_version'].nil?
|
107
106
|
form_params['response_condition'] = opts[:'response_condition'] if !opts[:'response_condition'].nil?
|
108
107
|
form_params['format'] = opts[:'format'] if !opts[:'format'].nil?
|
108
|
+
form_params['format_version'] = opts[:'format_version'] if !opts[:'format_version'].nil?
|
109
109
|
form_params['tls_ca_cert'] = opts[:'tls_ca_cert'] if !opts[:'tls_ca_cert'].nil?
|
110
110
|
form_params['tls_client_cert'] = opts[:'tls_client_cert'] if !opts[:'tls_client_cert'].nil?
|
111
111
|
form_params['tls_client_key'] = opts[:'tls_client_key'] if !opts[:'tls_client_key'].nil?
|
@@ -373,9 +373,9 @@ module Fastly
|
|
373
373
|
# @option opts [String] :logging_splunk_name The name for the real-time logging configuration. (required)
|
374
374
|
# @option opts [String] :name The name for the real-time logging configuration.
|
375
375
|
# @option opts [String] :placement Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
|
376
|
-
# @option opts [Integer] :format_version The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`. (default to FORMAT_VERSION::v2)
|
377
376
|
# @option opts [String] :response_condition The name of an existing condition in the configured endpoint, or leave blank to always execute.
|
378
377
|
# @option opts [String] :format A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). (default to '%h %l %u %t \"%r\" %>s %b')
|
378
|
+
# @option opts [Integer] :format_version The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`. (default to FORMAT_VERSION::v2)
|
379
379
|
# @option opts [String] :tls_ca_cert A secure certificate to authenticate a server with. Must be in PEM format. (default to 'null')
|
380
380
|
# @option opts [String] :tls_client_cert The client certificate used to make authenticated requests. Must be in PEM format. (default to 'null')
|
381
381
|
# @option opts [String] :tls_client_key The client private key used to make authenticated requests. Must be in PEM format. (default to 'null')
|
@@ -398,9 +398,9 @@ module Fastly
|
|
398
398
|
# @option opts [String] :logging_splunk_name The name for the real-time logging configuration. (required)
|
399
399
|
# @option opts [String] :name The name for the real-time logging configuration.
|
400
400
|
# @option opts [String] :placement Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
|
401
|
-
# @option opts [Integer] :format_version The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`. (default to FORMAT_VERSION::v2)
|
402
401
|
# @option opts [String] :response_condition The name of an existing condition in the configured endpoint, or leave blank to always execute.
|
403
402
|
# @option opts [String] :format A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). (default to '%h %l %u %t \"%r\" %>s %b')
|
403
|
+
# @option opts [Integer] :format_version The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`. (default to FORMAT_VERSION::v2)
|
404
404
|
# @option opts [String] :tls_ca_cert A secure certificate to authenticate a server with. Must be in PEM format. (default to 'null')
|
405
405
|
# @option opts [String] :tls_client_cert The client certificate used to make authenticated requests. Must be in PEM format. (default to 'null')
|
406
406
|
# @option opts [String] :tls_client_key The client private key used to make authenticated requests. Must be in PEM format. (default to 'null')
|
@@ -459,9 +459,9 @@ module Fastly
|
|
459
459
|
form_params = opts[:form_params] || {}
|
460
460
|
form_params['name'] = opts[:'name'] if !opts[:'name'].nil?
|
461
461
|
form_params['placement'] = opts[:'placement'] if !opts[:'placement'].nil?
|
462
|
-
form_params['format_version'] = opts[:'format_version'] if !opts[:'format_version'].nil?
|
463
462
|
form_params['response_condition'] = opts[:'response_condition'] if !opts[:'response_condition'].nil?
|
464
463
|
form_params['format'] = opts[:'format'] if !opts[:'format'].nil?
|
464
|
+
form_params['format_version'] = opts[:'format_version'] if !opts[:'format_version'].nil?
|
465
465
|
form_params['tls_ca_cert'] = opts[:'tls_ca_cert'] if !opts[:'tls_ca_cert'].nil?
|
466
466
|
form_params['tls_client_cert'] = opts[:'tls_client_cert'] if !opts[:'tls_client_cert'].nil?
|
467
467
|
form_params['tls_client_key'] = opts[:'tls_client_key'] if !opts[:'tls_client_key'].nil?
|
@@ -23,9 +23,9 @@ module Fastly
|
|
23
23
|
# @option opts [Integer] :version_id Integer identifying a service version. (required)
|
24
24
|
# @option opts [String] :name The name for the real-time logging configuration.
|
25
25
|
# @option opts [String] :placement Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
|
26
|
-
# @option opts [Integer] :format_version The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`. (default to FORMAT_VERSION::v2)
|
27
26
|
# @option opts [String] :response_condition The name of an existing condition in the configured endpoint, or leave blank to always execute.
|
28
27
|
# @option opts [String] :format A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). (default to '%h %l %u %t \"%r\" %>s %b')
|
28
|
+
# @option opts [Integer] :format_version The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`. (default to FORMAT_VERSION::v2)
|
29
29
|
# @option opts [LoggingMessageType] :message_type (default to 'classic')
|
30
30
|
# @option opts [String] :url The URL to post logs to.
|
31
31
|
# @return [LoggingSumologicResponse]
|
@@ -40,9 +40,9 @@ module Fastly
|
|
40
40
|
# @option opts [Integer] :version_id Integer identifying a service version. (required)
|
41
41
|
# @option opts [String] :name The name for the real-time logging configuration.
|
42
42
|
# @option opts [String] :placement Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
|
43
|
-
# @option opts [Integer] :format_version The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`. (default to FORMAT_VERSION::v2)
|
44
43
|
# @option opts [String] :response_condition The name of an existing condition in the configured endpoint, or leave blank to always execute.
|
45
44
|
# @option opts [String] :format A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). (default to '%h %l %u %t \"%r\" %>s %b')
|
45
|
+
# @option opts [Integer] :format_version The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`. (default to FORMAT_VERSION::v2)
|
46
46
|
# @option opts [LoggingMessageType] :message_type (default to 'classic')
|
47
47
|
# @option opts [String] :url The URL to post logs to.
|
48
48
|
# @return [Array<(LoggingSumologicResponse, Integer, Hash)>] LoggingSumologicResponse data, response status code and response headers
|
@@ -89,9 +89,9 @@ module Fastly
|
|
89
89
|
form_params = opts[:form_params] || {}
|
90
90
|
form_params['name'] = opts[:'name'] if !opts[:'name'].nil?
|
91
91
|
form_params['placement'] = opts[:'placement'] if !opts[:'placement'].nil?
|
92
|
-
form_params['format_version'] = opts[:'format_version'] if !opts[:'format_version'].nil?
|
93
92
|
form_params['response_condition'] = opts[:'response_condition'] if !opts[:'response_condition'].nil?
|
94
93
|
form_params['format'] = opts[:'format'] if !opts[:'format'].nil?
|
94
|
+
form_params['format_version'] = opts[:'format_version'] if !opts[:'format_version'].nil?
|
95
95
|
form_params['message_type'] = opts[:'message_type'] if !opts[:'message_type'].nil?
|
96
96
|
form_params['url'] = opts[:'url'] if !opts[:'url'].nil?
|
97
97
|
|
@@ -352,9 +352,9 @@ module Fastly
|
|
352
352
|
# @option opts [String] :logging_sumologic_name The name for the real-time logging configuration. (required)
|
353
353
|
# @option opts [String] :name The name for the real-time logging configuration.
|
354
354
|
# @option opts [String] :placement Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
|
355
|
-
# @option opts [Integer] :format_version The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`. (default to FORMAT_VERSION::v2)
|
356
355
|
# @option opts [String] :response_condition The name of an existing condition in the configured endpoint, or leave blank to always execute.
|
357
356
|
# @option opts [String] :format A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). (default to '%h %l %u %t \"%r\" %>s %b')
|
357
|
+
# @option opts [Integer] :format_version The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`. (default to FORMAT_VERSION::v2)
|
358
358
|
# @option opts [LoggingMessageType] :message_type (default to 'classic')
|
359
359
|
# @option opts [String] :url The URL to post logs to.
|
360
360
|
# @return [LoggingSumologicResponse]
|
@@ -370,9 +370,9 @@ module Fastly
|
|
370
370
|
# @option opts [String] :logging_sumologic_name The name for the real-time logging configuration. (required)
|
371
371
|
# @option opts [String] :name The name for the real-time logging configuration.
|
372
372
|
# @option opts [String] :placement Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
|
373
|
-
# @option opts [Integer] :format_version The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`. (default to FORMAT_VERSION::v2)
|
374
373
|
# @option opts [String] :response_condition The name of an existing condition in the configured endpoint, or leave blank to always execute.
|
375
374
|
# @option opts [String] :format A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). (default to '%h %l %u %t \"%r\" %>s %b')
|
375
|
+
# @option opts [Integer] :format_version The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`. (default to FORMAT_VERSION::v2)
|
376
376
|
# @option opts [LoggingMessageType] :message_type (default to 'classic')
|
377
377
|
# @option opts [String] :url The URL to post logs to.
|
378
378
|
# @return [Array<(LoggingSumologicResponse, Integer, Hash)>] LoggingSumologicResponse data, response status code and response headers
|
@@ -424,9 +424,9 @@ module Fastly
|
|
424
424
|
form_params = opts[:form_params] || {}
|
425
425
|
form_params['name'] = opts[:'name'] if !opts[:'name'].nil?
|
426
426
|
form_params['placement'] = opts[:'placement'] if !opts[:'placement'].nil?
|
427
|
-
form_params['format_version'] = opts[:'format_version'] if !opts[:'format_version'].nil?
|
428
427
|
form_params['response_condition'] = opts[:'response_condition'] if !opts[:'response_condition'].nil?
|
429
428
|
form_params['format'] = opts[:'format'] if !opts[:'format'].nil?
|
429
|
+
form_params['format_version'] = opts[:'format_version'] if !opts[:'format_version'].nil?
|
430
430
|
form_params['message_type'] = opts[:'message_type'] if !opts[:'message_type'].nil?
|
431
431
|
form_params['url'] = opts[:'url'] if !opts[:'url'].nil?
|
432
432
|
|
@@ -23,9 +23,9 @@ module Fastly
|
|
23
23
|
# @option opts [Integer] :version_id Integer identifying a service version. (required)
|
24
24
|
# @option opts [String] :name The name for the real-time logging configuration.
|
25
25
|
# @option opts [String] :placement Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
|
26
|
-
# @option opts [Integer] :format_version The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`. (default to FORMAT_VERSION::v2)
|
27
26
|
# @option opts [String] :response_condition The name of an existing condition in the configured endpoint, or leave blank to always execute.
|
28
27
|
# @option opts [String] :format A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). (default to '%h %l %u %t \"%r\" %>s %b')
|
28
|
+
# @option opts [Integer] :format_version The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`. (default to FORMAT_VERSION::v2)
|
29
29
|
# @option opts [String] :tls_ca_cert A secure certificate to authenticate a server with. Must be in PEM format. (default to 'null')
|
30
30
|
# @option opts [String] :tls_client_cert The client certificate used to make authenticated requests. Must be in PEM format. (default to 'null')
|
31
31
|
# @option opts [String] :tls_client_key The client private key used to make authenticated requests. Must be in PEM format. (default to 'null')
|
@@ -49,9 +49,9 @@ module Fastly
|
|
49
49
|
# @option opts [Integer] :version_id Integer identifying a service version. (required)
|
50
50
|
# @option opts [String] :name The name for the real-time logging configuration.
|
51
51
|
# @option opts [String] :placement Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
|
52
|
-
# @option opts [Integer] :format_version The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`. (default to FORMAT_VERSION::v2)
|
53
52
|
# @option opts [String] :response_condition The name of an existing condition in the configured endpoint, or leave blank to always execute.
|
54
53
|
# @option opts [String] :format A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). (default to '%h %l %u %t \"%r\" %>s %b')
|
54
|
+
# @option opts [Integer] :format_version The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`. (default to FORMAT_VERSION::v2)
|
55
55
|
# @option opts [String] :tls_ca_cert A secure certificate to authenticate a server with. Must be in PEM format. (default to 'null')
|
56
56
|
# @option opts [String] :tls_client_cert The client certificate used to make authenticated requests. Must be in PEM format. (default to 'null')
|
57
57
|
# @option opts [String] :tls_client_key The client private key used to make authenticated requests. Must be in PEM format. (default to 'null')
|
@@ -107,9 +107,9 @@ module Fastly
|
|
107
107
|
form_params = opts[:form_params] || {}
|
108
108
|
form_params['name'] = opts[:'name'] if !opts[:'name'].nil?
|
109
109
|
form_params['placement'] = opts[:'placement'] if !opts[:'placement'].nil?
|
110
|
-
form_params['format_version'] = opts[:'format_version'] if !opts[:'format_version'].nil?
|
111
110
|
form_params['response_condition'] = opts[:'response_condition'] if !opts[:'response_condition'].nil?
|
112
111
|
form_params['format'] = opts[:'format'] if !opts[:'format'].nil?
|
112
|
+
form_params['format_version'] = opts[:'format_version'] if !opts[:'format_version'].nil?
|
113
113
|
form_params['tls_ca_cert'] = opts[:'tls_ca_cert'] if !opts[:'tls_ca_cert'].nil?
|
114
114
|
form_params['tls_client_cert'] = opts[:'tls_client_cert'] if !opts[:'tls_client_cert'].nil?
|
115
115
|
form_params['tls_client_key'] = opts[:'tls_client_key'] if !opts[:'tls_client_key'].nil?
|
@@ -379,9 +379,9 @@ module Fastly
|
|
379
379
|
# @option opts [String] :logging_syslog_name The name for the real-time logging configuration. (required)
|
380
380
|
# @option opts [String] :name The name for the real-time logging configuration.
|
381
381
|
# @option opts [String] :placement Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
|
382
|
-
# @option opts [Integer] :format_version The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`. (default to FORMAT_VERSION::v2)
|
383
382
|
# @option opts [String] :response_condition The name of an existing condition in the configured endpoint, or leave blank to always execute.
|
384
383
|
# @option opts [String] :format A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). (default to '%h %l %u %t \"%r\" %>s %b')
|
384
|
+
# @option opts [Integer] :format_version The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`. (default to FORMAT_VERSION::v2)
|
385
385
|
# @option opts [String] :tls_ca_cert A secure certificate to authenticate a server with. Must be in PEM format. (default to 'null')
|
386
386
|
# @option opts [String] :tls_client_cert The client certificate used to make authenticated requests. Must be in PEM format. (default to 'null')
|
387
387
|
# @option opts [String] :tls_client_key The client private key used to make authenticated requests. Must be in PEM format. (default to 'null')
|
@@ -406,9 +406,9 @@ module Fastly
|
|
406
406
|
# @option opts [String] :logging_syslog_name The name for the real-time logging configuration. (required)
|
407
407
|
# @option opts [String] :name The name for the real-time logging configuration.
|
408
408
|
# @option opts [String] :placement Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
|
409
|
-
# @option opts [Integer] :format_version The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`. (default to FORMAT_VERSION::v2)
|
410
409
|
# @option opts [String] :response_condition The name of an existing condition in the configured endpoint, or leave blank to always execute.
|
411
410
|
# @option opts [String] :format A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). (default to '%h %l %u %t \"%r\" %>s %b')
|
411
|
+
# @option opts [Integer] :format_version The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`. (default to FORMAT_VERSION::v2)
|
412
412
|
# @option opts [String] :tls_ca_cert A secure certificate to authenticate a server with. Must be in PEM format. (default to 'null')
|
413
413
|
# @option opts [String] :tls_client_cert The client certificate used to make authenticated requests. Must be in PEM format. (default to 'null')
|
414
414
|
# @option opts [String] :tls_client_key The client private key used to make authenticated requests. Must be in PEM format. (default to 'null')
|
@@ -469,9 +469,9 @@ module Fastly
|
|
469
469
|
form_params = opts[:form_params] || {}
|
470
470
|
form_params['name'] = opts[:'name'] if !opts[:'name'].nil?
|
471
471
|
form_params['placement'] = opts[:'placement'] if !opts[:'placement'].nil?
|
472
|
-
form_params['format_version'] = opts[:'format_version'] if !opts[:'format_version'].nil?
|
473
472
|
form_params['response_condition'] = opts[:'response_condition'] if !opts[:'response_condition'].nil?
|
474
473
|
form_params['format'] = opts[:'format'] if !opts[:'format'].nil?
|
474
|
+
form_params['format_version'] = opts[:'format_version'] if !opts[:'format_version'].nil?
|
475
475
|
form_params['tls_ca_cert'] = opts[:'tls_ca_cert'] if !opts[:'tls_ca_cert'].nil?
|
476
476
|
form_params['tls_client_cert'] = opts[:'tls_client_cert'] if !opts[:'tls_client_cert'].nil?
|
477
477
|
form_params['tls_client_key'] = opts[:'tls_client_key'] if !opts[:'tls_client_key'].nil?
|
data/lib/fastly/api/pool_api.rb
CHANGED
@@ -26,23 +26,29 @@ module Fastly
|
|
26
26
|
# @option opts [String] :tls_client_key The client private key used to make authenticated requests. Must be in PEM format. (default to 'null')
|
27
27
|
# @option opts [String] :tls_cert_hostname The hostname used to verify a server's certificate. It can either be the Common Name (CN) or a Subject Alternative Name (SAN). (default to 'null')
|
28
28
|
# @option opts [Integer] :use_tls Whether to use TLS. (default to 0)
|
29
|
+
# @option opts [Time] :created_at Date and time in ISO 8601 format.
|
30
|
+
# @option opts [Time] :deleted_at Date and time in ISO 8601 format.
|
31
|
+
# @option opts [Time] :updated_at Date and time in ISO 8601 format.
|
32
|
+
# @option opts [String] :service_id
|
33
|
+
# @option opts [String] :version
|
29
34
|
# @option opts [String] :name Name for the Pool.
|
30
35
|
# @option opts [String] :shield Selected POP to serve as a shield for the servers. Defaults to `null` meaning no origin shielding if not set. Refer to the [POPs API endpoint](/reference/api/utils/pops/) to get a list of available POPs used for shielding. (default to 'null')
|
31
36
|
# @option opts [String] :request_condition Condition which, if met, will select this configuration during a request. Optional.
|
32
|
-
# @option opts [Integer] :max_conn_default Maximum number of connections. Optional. (default to 200)
|
33
|
-
# @option opts [Integer] :connect_timeout How long to wait for a timeout in milliseconds. Optional.
|
34
|
-
# @option opts [Integer] :first_byte_timeout How long to wait for the first byte in milliseconds. Optional.
|
35
|
-
# @option opts [Integer] :quorum Percentage of capacity (`0-100`) that needs to be operationally available for a pool to be considered up. (default to 75)
|
36
37
|
# @option opts [String] :tls_ciphers List of OpenSSL ciphers (see the [openssl.org manpages](https://www.openssl.org/docs/man1.1.1/man1/ciphers.html) for details). Optional.
|
37
38
|
# @option opts [String] :tls_sni_hostname SNI hostname. Optional.
|
38
|
-
# @option opts [Integer] :tls_check_cert Be strict on checking TLS certs. Optional.
|
39
39
|
# @option opts [Integer] :min_tls_version Minimum allowed TLS version on connections to this server. Optional.
|
40
40
|
# @option opts [Integer] :max_tls_version Maximum allowed TLS version on connections to this server. Optional.
|
41
41
|
# @option opts [String] :healthcheck Name of the healthcheck to use with this pool. Can be empty and could be reused across multiple backend and pools.
|
42
42
|
# @option opts [String] :comment A freeform descriptive note.
|
43
43
|
# @option opts [String] :type What type of load balance group to use.
|
44
44
|
# @option opts [String] :override_host The hostname to [override the Host header](https://docs.fastly.com/en/guides/specifying-an-override-host). Defaults to `null` meaning no override of the Host header will occur. This setting can also be added to a Server definition. If the field is set on a Server definition it will override the Pool setting. (default to 'null')
|
45
|
-
# @
|
45
|
+
# @option opts [Integer] :between_bytes_timeout Maximum duration in milliseconds that Fastly will wait while receiving no data on a download from a backend. If exceeded, the response received so far will be considered complete and the fetch will end. May be set at runtime using `bereq.between_bytes_timeout`. (default to 10000)
|
46
|
+
# @option opts [Integer] :connect_timeout How long to wait for a timeout in milliseconds. Optional.
|
47
|
+
# @option opts [Integer] :first_byte_timeout How long to wait for the first byte in milliseconds. Optional.
|
48
|
+
# @option opts [Integer] :max_conn_default Maximum number of connections. Optional. (default to 200)
|
49
|
+
# @option opts [Integer] :quorum Percentage of capacity (`0-100`) that needs to be operationally available for a pool to be considered up. (default to 75)
|
50
|
+
# @option opts [Integer] :tls_check_cert Be strict on checking TLS certs. Optional.
|
51
|
+
# @return [PoolResponsePost]
|
46
52
|
def create_server_pool(opts = {})
|
47
53
|
data, _status_code, _headers = create_server_pool_with_http_info(opts)
|
48
54
|
data
|
@@ -57,23 +63,29 @@ module Fastly
|
|
57
63
|
# @option opts [String] :tls_client_key The client private key used to make authenticated requests. Must be in PEM format. (default to 'null')
|
58
64
|
# @option opts [String] :tls_cert_hostname The hostname used to verify a server's certificate. It can either be the Common Name (CN) or a Subject Alternative Name (SAN). (default to 'null')
|
59
65
|
# @option opts [Integer] :use_tls Whether to use TLS. (default to 0)
|
66
|
+
# @option opts [Time] :created_at Date and time in ISO 8601 format.
|
67
|
+
# @option opts [Time] :deleted_at Date and time in ISO 8601 format.
|
68
|
+
# @option opts [Time] :updated_at Date and time in ISO 8601 format.
|
69
|
+
# @option opts [String] :service_id
|
70
|
+
# @option opts [String] :version
|
60
71
|
# @option opts [String] :name Name for the Pool.
|
61
72
|
# @option opts [String] :shield Selected POP to serve as a shield for the servers. Defaults to `null` meaning no origin shielding if not set. Refer to the [POPs API endpoint](/reference/api/utils/pops/) to get a list of available POPs used for shielding. (default to 'null')
|
62
73
|
# @option opts [String] :request_condition Condition which, if met, will select this configuration during a request. Optional.
|
63
|
-
# @option opts [Integer] :max_conn_default Maximum number of connections. Optional. (default to 200)
|
64
|
-
# @option opts [Integer] :connect_timeout How long to wait for a timeout in milliseconds. Optional.
|
65
|
-
# @option opts [Integer] :first_byte_timeout How long to wait for the first byte in milliseconds. Optional.
|
66
|
-
# @option opts [Integer] :quorum Percentage of capacity (`0-100`) that needs to be operationally available for a pool to be considered up. (default to 75)
|
67
74
|
# @option opts [String] :tls_ciphers List of OpenSSL ciphers (see the [openssl.org manpages](https://www.openssl.org/docs/man1.1.1/man1/ciphers.html) for details). Optional.
|
68
75
|
# @option opts [String] :tls_sni_hostname SNI hostname. Optional.
|
69
|
-
# @option opts [Integer] :tls_check_cert Be strict on checking TLS certs. Optional.
|
70
76
|
# @option opts [Integer] :min_tls_version Minimum allowed TLS version on connections to this server. Optional.
|
71
77
|
# @option opts [Integer] :max_tls_version Maximum allowed TLS version on connections to this server. Optional.
|
72
78
|
# @option opts [String] :healthcheck Name of the healthcheck to use with this pool. Can be empty and could be reused across multiple backend and pools.
|
73
79
|
# @option opts [String] :comment A freeform descriptive note.
|
74
80
|
# @option opts [String] :type What type of load balance group to use.
|
75
81
|
# @option opts [String] :override_host The hostname to [override the Host header](https://docs.fastly.com/en/guides/specifying-an-override-host). Defaults to `null` meaning no override of the Host header will occur. This setting can also be added to a Server definition. If the field is set on a Server definition it will override the Pool setting. (default to 'null')
|
76
|
-
# @
|
82
|
+
# @option opts [Integer] :between_bytes_timeout Maximum duration in milliseconds that Fastly will wait while receiving no data on a download from a backend. If exceeded, the response received so far will be considered complete and the fetch will end. May be set at runtime using `bereq.between_bytes_timeout`. (default to 10000)
|
83
|
+
# @option opts [Integer] :connect_timeout How long to wait for a timeout in milliseconds. Optional.
|
84
|
+
# @option opts [Integer] :first_byte_timeout How long to wait for the first byte in milliseconds. Optional.
|
85
|
+
# @option opts [Integer] :max_conn_default Maximum number of connections. Optional. (default to 200)
|
86
|
+
# @option opts [Integer] :quorum Percentage of capacity (`0-100`) that needs to be operationally available for a pool to be considered up. (default to 75)
|
87
|
+
# @option opts [Integer] :tls_check_cert Be strict on checking TLS certs. Optional.
|
88
|
+
# @return [Array<(PoolResponsePost, Integer, Hash)>] PoolResponsePost data, response status code and response headers
|
77
89
|
def create_server_pool_with_http_info(opts = {})
|
78
90
|
if @api_client.config.debugging
|
79
91
|
@api_client.config.logger.debug 'Calling API: PoolApi.create_server_pool ...'
|
@@ -93,6 +105,10 @@ module Fastly
|
|
93
105
|
if @api_client.config.client_side_validation && opts[:'use_tls'] && !allowable_values.include?(opts[:'use_tls'])
|
94
106
|
fail ArgumentError, "invalid value for \"use_tls\", must be one of #{allowable_values}"
|
95
107
|
end
|
108
|
+
allowable_values = ["random", "hash", "client"]
|
109
|
+
if @api_client.config.client_side_validation && opts[:'type'] && !allowable_values.include?(opts[:'type'])
|
110
|
+
fail ArgumentError, "invalid value for \"type\", must be one of #{allowable_values}"
|
111
|
+
end
|
96
112
|
if @api_client.config.client_side_validation && !opts[:'quorum'].nil? && opts[:'quorum'] > 100
|
97
113
|
fail ArgumentError, 'invalid value for "opts[:"quorum"]" when calling PoolApi.create_server_pool, must be smaller than or equal to 100.'
|
98
114
|
end
|
@@ -101,10 +117,6 @@ module Fastly
|
|
101
117
|
fail ArgumentError, 'invalid value for "opts[:"quorum"]" when calling PoolApi.create_server_pool, must be greater than or equal to 0.'
|
102
118
|
end
|
103
119
|
|
104
|
-
allowable_values = ["random", "hash", "client"]
|
105
|
-
if @api_client.config.client_side_validation && opts[:'type'] && !allowable_values.include?(opts[:'type'])
|
106
|
-
fail ArgumentError, "invalid value for \"type\", must be one of #{allowable_values}"
|
107
|
-
end
|
108
120
|
# resource path
|
109
121
|
local_var_path = '/service/{service_id}/version/{version_id}/pool'.sub('{' + 'service_id' + '}', CGI.escape(service_id.to_s)).sub('{' + 'version_id' + '}', CGI.escape(version_id.to_s))
|
110
122
|
|
@@ -128,28 +140,34 @@ module Fastly
|
|
128
140
|
form_params['tls_client_key'] = opts[:'tls_client_key'] if !opts[:'tls_client_key'].nil?
|
129
141
|
form_params['tls_cert_hostname'] = opts[:'tls_cert_hostname'] if !opts[:'tls_cert_hostname'].nil?
|
130
142
|
form_params['use_tls'] = opts[:'use_tls'] if !opts[:'use_tls'].nil?
|
143
|
+
form_params['created_at'] = opts[:'created_at'] if !opts[:'created_at'].nil?
|
144
|
+
form_params['deleted_at'] = opts[:'deleted_at'] if !opts[:'deleted_at'].nil?
|
145
|
+
form_params['updated_at'] = opts[:'updated_at'] if !opts[:'updated_at'].nil?
|
146
|
+
form_params['service_id'] = opts[:'service_id'] if !opts[:'service_id'].nil?
|
147
|
+
form_params['version'] = opts[:'version'] if !opts[:'version'].nil?
|
131
148
|
form_params['name'] = opts[:'name'] if !opts[:'name'].nil?
|
132
149
|
form_params['shield'] = opts[:'shield'] if !opts[:'shield'].nil?
|
133
150
|
form_params['request_condition'] = opts[:'request_condition'] if !opts[:'request_condition'].nil?
|
134
|
-
form_params['max_conn_default'] = opts[:'max_conn_default'] if !opts[:'max_conn_default'].nil?
|
135
|
-
form_params['connect_timeout'] = opts[:'connect_timeout'] if !opts[:'connect_timeout'].nil?
|
136
|
-
form_params['first_byte_timeout'] = opts[:'first_byte_timeout'] if !opts[:'first_byte_timeout'].nil?
|
137
|
-
form_params['quorum'] = opts[:'quorum'] if !opts[:'quorum'].nil?
|
138
151
|
form_params['tls_ciphers'] = opts[:'tls_ciphers'] if !opts[:'tls_ciphers'].nil?
|
139
152
|
form_params['tls_sni_hostname'] = opts[:'tls_sni_hostname'] if !opts[:'tls_sni_hostname'].nil?
|
140
|
-
form_params['tls_check_cert'] = opts[:'tls_check_cert'] if !opts[:'tls_check_cert'].nil?
|
141
153
|
form_params['min_tls_version'] = opts[:'min_tls_version'] if !opts[:'min_tls_version'].nil?
|
142
154
|
form_params['max_tls_version'] = opts[:'max_tls_version'] if !opts[:'max_tls_version'].nil?
|
143
155
|
form_params['healthcheck'] = opts[:'healthcheck'] if !opts[:'healthcheck'].nil?
|
144
156
|
form_params['comment'] = opts[:'comment'] if !opts[:'comment'].nil?
|
145
157
|
form_params['type'] = opts[:'type'] if !opts[:'type'].nil?
|
146
158
|
form_params['override_host'] = opts[:'override_host'] if !opts[:'override_host'].nil?
|
159
|
+
form_params['between_bytes_timeout'] = opts[:'between_bytes_timeout'] if !opts[:'between_bytes_timeout'].nil?
|
160
|
+
form_params['connect_timeout'] = opts[:'connect_timeout'] if !opts[:'connect_timeout'].nil?
|
161
|
+
form_params['first_byte_timeout'] = opts[:'first_byte_timeout'] if !opts[:'first_byte_timeout'].nil?
|
162
|
+
form_params['max_conn_default'] = opts[:'max_conn_default'] if !opts[:'max_conn_default'].nil?
|
163
|
+
form_params['quorum'] = opts[:'quorum'] if !opts[:'quorum'].nil?
|
164
|
+
form_params['tls_check_cert'] = opts[:'tls_check_cert'] if !opts[:'tls_check_cert'].nil?
|
147
165
|
|
148
166
|
# http body (model)
|
149
167
|
post_body = opts[:debug_body]
|
150
168
|
|
151
169
|
# return_type
|
152
|
-
return_type = opts[:debug_return_type] || '
|
170
|
+
return_type = opts[:debug_return_type] || 'PoolResponsePost'
|
153
171
|
|
154
172
|
# auth_names
|
155
173
|
auth_names = opts[:debug_auth_names] || ['token']
|
@@ -405,22 +423,28 @@ module Fastly
|
|
405
423
|
# @option opts [String] :tls_client_key The client private key used to make authenticated requests. Must be in PEM format. (default to 'null')
|
406
424
|
# @option opts [String] :tls_cert_hostname The hostname used to verify a server's certificate. It can either be the Common Name (CN) or a Subject Alternative Name (SAN). (default to 'null')
|
407
425
|
# @option opts [Integer] :use_tls Whether to use TLS. (default to USE_TLS::no_tls)
|
426
|
+
# @option opts [Time] :created_at Date and time in ISO 8601 format.
|
427
|
+
# @option opts [Time] :deleted_at Date and time in ISO 8601 format.
|
428
|
+
# @option opts [Time] :updated_at Date and time in ISO 8601 format.
|
429
|
+
# @option opts [String] :service_id
|
430
|
+
# @option opts [String] :version
|
408
431
|
# @option opts [String] :name Name for the Pool.
|
409
432
|
# @option opts [String] :shield Selected POP to serve as a shield for the servers. Defaults to `null` meaning no origin shielding if not set. Refer to the [POPs API endpoint](/reference/api/utils/pops/) to get a list of available POPs used for shielding. (default to 'null')
|
410
433
|
# @option opts [String] :request_condition Condition which, if met, will select this configuration during a request. Optional.
|
411
|
-
# @option opts [Integer] :max_conn_default Maximum number of connections. Optional. (default to 200)
|
412
|
-
# @option opts [Integer] :connect_timeout How long to wait for a timeout in milliseconds. Optional.
|
413
|
-
# @option opts [Integer] :first_byte_timeout How long to wait for the first byte in milliseconds. Optional.
|
414
|
-
# @option opts [Integer] :quorum Percentage of capacity (`0-100`) that needs to be operationally available for a pool to be considered up. (default to 75)
|
415
434
|
# @option opts [String] :tls_ciphers List of OpenSSL ciphers (see the [openssl.org manpages](https://www.openssl.org/docs/man1.1.1/man1/ciphers.html) for details). Optional.
|
416
435
|
# @option opts [String] :tls_sni_hostname SNI hostname. Optional.
|
417
|
-
# @option opts [Integer] :tls_check_cert Be strict on checking TLS certs. Optional.
|
418
436
|
# @option opts [Integer] :min_tls_version Minimum allowed TLS version on connections to this server. Optional.
|
419
437
|
# @option opts [Integer] :max_tls_version Maximum allowed TLS version on connections to this server. Optional.
|
420
438
|
# @option opts [String] :healthcheck Name of the healthcheck to use with this pool. Can be empty and could be reused across multiple backend and pools.
|
421
439
|
# @option opts [String] :comment A freeform descriptive note.
|
422
440
|
# @option opts [String] :type What type of load balance group to use.
|
423
441
|
# @option opts [String] :override_host The hostname to [override the Host header](https://docs.fastly.com/en/guides/specifying-an-override-host). Defaults to `null` meaning no override of the Host header will occur. This setting can also be added to a Server definition. If the field is set on a Server definition it will override the Pool setting. (default to 'null')
|
442
|
+
# @option opts [Integer] :between_bytes_timeout Maximum duration in milliseconds that Fastly will wait while receiving no data on a download from a backend. If exceeded, the response received so far will be considered complete and the fetch will end. May be set at runtime using `bereq.between_bytes_timeout`. (default to 10000)
|
443
|
+
# @option opts [Integer] :connect_timeout How long to wait for a timeout in milliseconds. Optional.
|
444
|
+
# @option opts [Integer] :first_byte_timeout How long to wait for the first byte in milliseconds. Optional.
|
445
|
+
# @option opts [Integer] :max_conn_default Maximum number of connections. Optional. (default to 200)
|
446
|
+
# @option opts [Integer] :quorum Percentage of capacity (`0-100`) that needs to be operationally available for a pool to be considered up. (default to 75)
|
447
|
+
# @option opts [Integer] :tls_check_cert Be strict on checking TLS certs. Optional.
|
424
448
|
# @return [PoolResponse]
|
425
449
|
def update_server_pool(opts = {})
|
426
450
|
data, _status_code, _headers = update_server_pool_with_http_info(opts)
|
@@ -437,22 +461,28 @@ module Fastly
|
|
437
461
|
# @option opts [String] :tls_client_key The client private key used to make authenticated requests. Must be in PEM format. (default to 'null')
|
438
462
|
# @option opts [String] :tls_cert_hostname The hostname used to verify a server's certificate. It can either be the Common Name (CN) or a Subject Alternative Name (SAN). (default to 'null')
|
439
463
|
# @option opts [Integer] :use_tls Whether to use TLS. (default to USE_TLS::no_tls)
|
464
|
+
# @option opts [Time] :created_at Date and time in ISO 8601 format.
|
465
|
+
# @option opts [Time] :deleted_at Date and time in ISO 8601 format.
|
466
|
+
# @option opts [Time] :updated_at Date and time in ISO 8601 format.
|
467
|
+
# @option opts [String] :service_id
|
468
|
+
# @option opts [String] :version
|
440
469
|
# @option opts [String] :name Name for the Pool.
|
441
470
|
# @option opts [String] :shield Selected POP to serve as a shield for the servers. Defaults to `null` meaning no origin shielding if not set. Refer to the [POPs API endpoint](/reference/api/utils/pops/) to get a list of available POPs used for shielding. (default to 'null')
|
442
471
|
# @option opts [String] :request_condition Condition which, if met, will select this configuration during a request. Optional.
|
443
|
-
# @option opts [Integer] :max_conn_default Maximum number of connections. Optional. (default to 200)
|
444
|
-
# @option opts [Integer] :connect_timeout How long to wait for a timeout in milliseconds. Optional.
|
445
|
-
# @option opts [Integer] :first_byte_timeout How long to wait for the first byte in milliseconds. Optional.
|
446
|
-
# @option opts [Integer] :quorum Percentage of capacity (`0-100`) that needs to be operationally available for a pool to be considered up. (default to 75)
|
447
472
|
# @option opts [String] :tls_ciphers List of OpenSSL ciphers (see the [openssl.org manpages](https://www.openssl.org/docs/man1.1.1/man1/ciphers.html) for details). Optional.
|
448
473
|
# @option opts [String] :tls_sni_hostname SNI hostname. Optional.
|
449
|
-
# @option opts [Integer] :tls_check_cert Be strict on checking TLS certs. Optional.
|
450
474
|
# @option opts [Integer] :min_tls_version Minimum allowed TLS version on connections to this server. Optional.
|
451
475
|
# @option opts [Integer] :max_tls_version Maximum allowed TLS version on connections to this server. Optional.
|
452
476
|
# @option opts [String] :healthcheck Name of the healthcheck to use with this pool. Can be empty and could be reused across multiple backend and pools.
|
453
477
|
# @option opts [String] :comment A freeform descriptive note.
|
454
478
|
# @option opts [String] :type What type of load balance group to use.
|
455
479
|
# @option opts [String] :override_host The hostname to [override the Host header](https://docs.fastly.com/en/guides/specifying-an-override-host). Defaults to `null` meaning no override of the Host header will occur. This setting can also be added to a Server definition. If the field is set on a Server definition it will override the Pool setting. (default to 'null')
|
480
|
+
# @option opts [Integer] :between_bytes_timeout Maximum duration in milliseconds that Fastly will wait while receiving no data on a download from a backend. If exceeded, the response received so far will be considered complete and the fetch will end. May be set at runtime using `bereq.between_bytes_timeout`. (default to 10000)
|
481
|
+
# @option opts [Integer] :connect_timeout How long to wait for a timeout in milliseconds. Optional.
|
482
|
+
# @option opts [Integer] :first_byte_timeout How long to wait for the first byte in milliseconds. Optional.
|
483
|
+
# @option opts [Integer] :max_conn_default Maximum number of connections. Optional. (default to 200)
|
484
|
+
# @option opts [Integer] :quorum Percentage of capacity (`0-100`) that needs to be operationally available for a pool to be considered up. (default to 75)
|
485
|
+
# @option opts [Integer] :tls_check_cert Be strict on checking TLS certs. Optional.
|
456
486
|
# @return [Array<(PoolResponse, Integer, Hash)>] PoolResponse data, response status code and response headers
|
457
487
|
def update_server_pool_with_http_info(opts = {})
|
458
488
|
if @api_client.config.debugging
|
@@ -478,6 +508,10 @@ module Fastly
|
|
478
508
|
if @api_client.config.client_side_validation && opts[:'use_tls'] && !allowable_values.include?(opts[:'use_tls'])
|
479
509
|
fail ArgumentError, "invalid value for \"use_tls\", must be one of #{allowable_values}"
|
480
510
|
end
|
511
|
+
allowable_values = ["random", "hash", "client"]
|
512
|
+
if @api_client.config.client_side_validation && opts[:'type'] && !allowable_values.include?(opts[:'type'])
|
513
|
+
fail ArgumentError, "invalid value for \"type\", must be one of #{allowable_values}"
|
514
|
+
end
|
481
515
|
if @api_client.config.client_side_validation && !opts[:'quorum'].nil? && opts[:'quorum'] > 100
|
482
516
|
fail ArgumentError, 'invalid value for "opts[:"quorum"]" when calling PoolApi.update_server_pool, must be smaller than or equal to 100.'
|
483
517
|
end
|
@@ -486,10 +520,6 @@ module Fastly
|
|
486
520
|
fail ArgumentError, 'invalid value for "opts[:"quorum"]" when calling PoolApi.update_server_pool, must be greater than or equal to 0.'
|
487
521
|
end
|
488
522
|
|
489
|
-
allowable_values = ["random", "hash", "client"]
|
490
|
-
if @api_client.config.client_side_validation && opts[:'type'] && !allowable_values.include?(opts[:'type'])
|
491
|
-
fail ArgumentError, "invalid value for \"type\", must be one of #{allowable_values}"
|
492
|
-
end
|
493
523
|
# resource path
|
494
524
|
local_var_path = '/service/{service_id}/version/{version_id}/pool/{pool_name}'.sub('{' + 'service_id' + '}', CGI.escape(service_id.to_s)).sub('{' + 'version_id' + '}', CGI.escape(version_id.to_s)).sub('{' + 'pool_name' + '}', CGI.escape(pool_name.to_s))
|
495
525
|
|
@@ -513,22 +543,28 @@ module Fastly
|
|
513
543
|
form_params['tls_client_key'] = opts[:'tls_client_key'] if !opts[:'tls_client_key'].nil?
|
514
544
|
form_params['tls_cert_hostname'] = opts[:'tls_cert_hostname'] if !opts[:'tls_cert_hostname'].nil?
|
515
545
|
form_params['use_tls'] = opts[:'use_tls'] if !opts[:'use_tls'].nil?
|
546
|
+
form_params['created_at'] = opts[:'created_at'] if !opts[:'created_at'].nil?
|
547
|
+
form_params['deleted_at'] = opts[:'deleted_at'] if !opts[:'deleted_at'].nil?
|
548
|
+
form_params['updated_at'] = opts[:'updated_at'] if !opts[:'updated_at'].nil?
|
549
|
+
form_params['service_id'] = opts[:'service_id'] if !opts[:'service_id'].nil?
|
550
|
+
form_params['version'] = opts[:'version'] if !opts[:'version'].nil?
|
516
551
|
form_params['name'] = opts[:'name'] if !opts[:'name'].nil?
|
517
552
|
form_params['shield'] = opts[:'shield'] if !opts[:'shield'].nil?
|
518
553
|
form_params['request_condition'] = opts[:'request_condition'] if !opts[:'request_condition'].nil?
|
519
|
-
form_params['max_conn_default'] = opts[:'max_conn_default'] if !opts[:'max_conn_default'].nil?
|
520
|
-
form_params['connect_timeout'] = opts[:'connect_timeout'] if !opts[:'connect_timeout'].nil?
|
521
|
-
form_params['first_byte_timeout'] = opts[:'first_byte_timeout'] if !opts[:'first_byte_timeout'].nil?
|
522
|
-
form_params['quorum'] = opts[:'quorum'] if !opts[:'quorum'].nil?
|
523
554
|
form_params['tls_ciphers'] = opts[:'tls_ciphers'] if !opts[:'tls_ciphers'].nil?
|
524
555
|
form_params['tls_sni_hostname'] = opts[:'tls_sni_hostname'] if !opts[:'tls_sni_hostname'].nil?
|
525
|
-
form_params['tls_check_cert'] = opts[:'tls_check_cert'] if !opts[:'tls_check_cert'].nil?
|
526
556
|
form_params['min_tls_version'] = opts[:'min_tls_version'] if !opts[:'min_tls_version'].nil?
|
527
557
|
form_params['max_tls_version'] = opts[:'max_tls_version'] if !opts[:'max_tls_version'].nil?
|
528
558
|
form_params['healthcheck'] = opts[:'healthcheck'] if !opts[:'healthcheck'].nil?
|
529
559
|
form_params['comment'] = opts[:'comment'] if !opts[:'comment'].nil?
|
530
560
|
form_params['type'] = opts[:'type'] if !opts[:'type'].nil?
|
531
561
|
form_params['override_host'] = opts[:'override_host'] if !opts[:'override_host'].nil?
|
562
|
+
form_params['between_bytes_timeout'] = opts[:'between_bytes_timeout'] if !opts[:'between_bytes_timeout'].nil?
|
563
|
+
form_params['connect_timeout'] = opts[:'connect_timeout'] if !opts[:'connect_timeout'].nil?
|
564
|
+
form_params['first_byte_timeout'] = opts[:'first_byte_timeout'] if !opts[:'first_byte_timeout'].nil?
|
565
|
+
form_params['max_conn_default'] = opts[:'max_conn_default'] if !opts[:'max_conn_default'].nil?
|
566
|
+
form_params['quorum'] = opts[:'quorum'] if !opts[:'quorum'].nil?
|
567
|
+
form_params['tls_check_cert'] = opts[:'tls_check_cert'] if !opts[:'tls_check_cert'].nil?
|
532
568
|
|
533
569
|
# http body (model)
|
534
570
|
post_body = opts[:debug_body]
|
@@ -133,7 +133,7 @@ module Fastly
|
|
133
133
|
fail ArgumentError, 'invalid value for "opts[:"response_object_name"]" when calling RateLimiterApi.create_rate_limiter, the character length must be great than or equal to 1.'
|
134
134
|
end
|
135
135
|
|
136
|
-
allowable_values = ["azureblob", "bigquery", "cloudfiles", "datadog", "digitalocean", "elasticsearch", "ftp", "gcs", "googleanalytics", "heroku", "honeycomb", "http", "https", "kafka", "kinesis", "logentries", "loggly", "logshuttle", "newrelic", "openstack", "papertrail", "pubsub", "s3", "scalyr", "sftp", "splunk", "stackdriver", "sumologic", "syslog"]
|
136
|
+
allowable_values = ["azureblob", "bigquery", "cloudfiles", "datadog", "digitalocean", "elasticsearch", "ftp", "gcs", "googleanalytics", "heroku", "honeycomb", "http", "https", "kafka", "kinesis", "logentries", "loggly", "logshuttle", "newrelic", "newrelicotlp", "openstack", "papertrail", "pubsub", "s3", "scalyr", "sftp", "splunk", "stackdriver", "sumologic", "syslog"]
|
137
137
|
if @api_client.config.client_side_validation && opts[:'logger_type'] && !allowable_values.include?(opts[:'logger_type'])
|
138
138
|
fail ArgumentError, "invalid value for \"logger_type\", must be one of #{allowable_values}"
|
139
139
|
end
|
@@ -498,7 +498,7 @@ module Fastly
|
|
498
498
|
fail ArgumentError, 'invalid value for "opts[:"response_object_name"]" when calling RateLimiterApi.update_rate_limiter, the character length must be great than or equal to 1.'
|
499
499
|
end
|
500
500
|
|
501
|
-
allowable_values = ["azureblob", "bigquery", "cloudfiles", "datadog", "digitalocean", "elasticsearch", "ftp", "gcs", "googleanalytics", "heroku", "honeycomb", "http", "https", "kafka", "kinesis", "logentries", "loggly", "logshuttle", "newrelic", "openstack", "papertrail", "pubsub", "s3", "scalyr", "sftp", "splunk", "stackdriver", "sumologic", "syslog"]
|
501
|
+
allowable_values = ["azureblob", "bigquery", "cloudfiles", "datadog", "digitalocean", "elasticsearch", "ftp", "gcs", "googleanalytics", "heroku", "honeycomb", "http", "https", "kafka", "kinesis", "logentries", "loggly", "logshuttle", "newrelic", "newrelicotlp", "openstack", "papertrail", "pubsub", "s3", "scalyr", "sftp", "splunk", "stackdriver", "sumologic", "syslog"]
|
502
502
|
if @api_client.config.client_side_validation && opts[:'logger_type'] && !allowable_values.include?(opts[:'logger_type'])
|
503
503
|
fail ArgumentError, "invalid value for \"logger_type\", must be one of #{allowable_values}"
|
504
504
|
end
|
@@ -322,17 +322,17 @@ module Fastly
|
|
322
322
|
# @option opts [Integer] :version_id Integer identifying a service version. (required)
|
323
323
|
# @option opts [String] :request_settings_name Name for the request settings. (required)
|
324
324
|
# @option opts [String] :action Allows you to terminate request handling and immediately perform an action.
|
325
|
-
# @option opts [Integer] :bypass_busy_wait Disable collapsed forwarding, so you don't wait for other objects to origin.
|
326
325
|
# @option opts [String] :default_host Sets the host header.
|
326
|
+
# @option opts [String] :hash_keys Comma separated list of varnish request object fields that should be in the hash key.
|
327
|
+
# @option opts [String] :name Name for the request settings.
|
328
|
+
# @option opts [String] :request_condition Condition which, if met, will select this configuration during a request. Optional.
|
329
|
+
# @option opts [String] :xff Short for X-Forwarded-For.
|
330
|
+
# @option opts [Integer] :bypass_busy_wait Disable collapsed forwarding, so you don't wait for other objects to origin.
|
327
331
|
# @option opts [Integer] :force_miss Allows you to force a cache miss for the request. Replaces the item in the cache if the content is cacheable.
|
328
332
|
# @option opts [Integer] :force_ssl Forces the request use SSL (redirects a non-SSL to SSL).
|
329
333
|
# @option opts [Integer] :geo_headers Injects Fastly-Geo-Country, Fastly-Geo-City, and Fastly-Geo-Region into the request headers.
|
330
|
-
# @option opts [String] :hash_keys Comma separated list of varnish request object fields that should be in the hash key.
|
331
334
|
# @option opts [Integer] :max_stale_age How old an object is allowed to be to serve stale-if-error or stale-while-revalidate.
|
332
|
-
# @option opts [String] :name Name for the request settings.
|
333
|
-
# @option opts [String] :request_condition Condition which, if met, will select this configuration during a request. Optional.
|
334
335
|
# @option opts [Integer] :timer_support Injects the X-Timer info into the request for viewing origin fetch durations.
|
335
|
-
# @option opts [String] :xff Short for X-Forwarded-For.
|
336
336
|
# @return [RequestSettingsResponse]
|
337
337
|
def update_request_settings(opts = {})
|
338
338
|
data, _status_code, _headers = update_request_settings_with_http_info(opts)
|
@@ -345,17 +345,17 @@ module Fastly
|
|
345
345
|
# @option opts [Integer] :version_id Integer identifying a service version. (required)
|
346
346
|
# @option opts [String] :request_settings_name Name for the request settings. (required)
|
347
347
|
# @option opts [String] :action Allows you to terminate request handling and immediately perform an action.
|
348
|
-
# @option opts [Integer] :bypass_busy_wait Disable collapsed forwarding, so you don't wait for other objects to origin.
|
349
348
|
# @option opts [String] :default_host Sets the host header.
|
349
|
+
# @option opts [String] :hash_keys Comma separated list of varnish request object fields that should be in the hash key.
|
350
|
+
# @option opts [String] :name Name for the request settings.
|
351
|
+
# @option opts [String] :request_condition Condition which, if met, will select this configuration during a request. Optional.
|
352
|
+
# @option opts [String] :xff Short for X-Forwarded-For.
|
353
|
+
# @option opts [Integer] :bypass_busy_wait Disable collapsed forwarding, so you don't wait for other objects to origin.
|
350
354
|
# @option opts [Integer] :force_miss Allows you to force a cache miss for the request. Replaces the item in the cache if the content is cacheable.
|
351
355
|
# @option opts [Integer] :force_ssl Forces the request use SSL (redirects a non-SSL to SSL).
|
352
356
|
# @option opts [Integer] :geo_headers Injects Fastly-Geo-Country, Fastly-Geo-City, and Fastly-Geo-Region into the request headers.
|
353
|
-
# @option opts [String] :hash_keys Comma separated list of varnish request object fields that should be in the hash key.
|
354
357
|
# @option opts [Integer] :max_stale_age How old an object is allowed to be to serve stale-if-error or stale-while-revalidate.
|
355
|
-
# @option opts [String] :name Name for the request settings.
|
356
|
-
# @option opts [String] :request_condition Condition which, if met, will select this configuration during a request. Optional.
|
357
358
|
# @option opts [Integer] :timer_support Injects the X-Timer info into the request for viewing origin fetch durations.
|
358
|
-
# @option opts [String] :xff Short for X-Forwarded-For.
|
359
359
|
# @return [Array<(RequestSettingsResponse, Integer, Hash)>] RequestSettingsResponse data, response status code and response headers
|
360
360
|
def update_request_settings_with_http_info(opts = {})
|
361
361
|
if @api_client.config.debugging
|
@@ -404,17 +404,17 @@ module Fastly
|
|
404
404
|
# form parameters
|
405
405
|
form_params = opts[:form_params] || {}
|
406
406
|
form_params['action'] = opts[:'action'] if !opts[:'action'].nil?
|
407
|
-
form_params['bypass_busy_wait'] = opts[:'bypass_busy_wait'] if !opts[:'bypass_busy_wait'].nil?
|
408
407
|
form_params['default_host'] = opts[:'default_host'] if !opts[:'default_host'].nil?
|
408
|
+
form_params['hash_keys'] = opts[:'hash_keys'] if !opts[:'hash_keys'].nil?
|
409
|
+
form_params['name'] = opts[:'name'] if !opts[:'name'].nil?
|
410
|
+
form_params['request_condition'] = opts[:'request_condition'] if !opts[:'request_condition'].nil?
|
411
|
+
form_params['xff'] = opts[:'xff'] if !opts[:'xff'].nil?
|
412
|
+
form_params['bypass_busy_wait'] = opts[:'bypass_busy_wait'] if !opts[:'bypass_busy_wait'].nil?
|
409
413
|
form_params['force_miss'] = opts[:'force_miss'] if !opts[:'force_miss'].nil?
|
410
414
|
form_params['force_ssl'] = opts[:'force_ssl'] if !opts[:'force_ssl'].nil?
|
411
415
|
form_params['geo_headers'] = opts[:'geo_headers'] if !opts[:'geo_headers'].nil?
|
412
|
-
form_params['hash_keys'] = opts[:'hash_keys'] if !opts[:'hash_keys'].nil?
|
413
416
|
form_params['max_stale_age'] = opts[:'max_stale_age'] if !opts[:'max_stale_age'].nil?
|
414
|
-
form_params['name'] = opts[:'name'] if !opts[:'name'].nil?
|
415
|
-
form_params['request_condition'] = opts[:'request_condition'] if !opts[:'request_condition'].nil?
|
416
417
|
form_params['timer_support'] = opts[:'timer_support'] if !opts[:'timer_support'].nil?
|
417
|
-
form_params['xff'] = opts[:'xff'] if !opts[:'xff'].nil?
|
418
418
|
|
419
419
|
# http body (model)
|
420
420
|
post_body = opts[:debug_body]
|
@@ -197,7 +197,7 @@ module Fastly
|
|
197
197
|
return data, status_code, headers
|
198
198
|
end
|
199
199
|
|
200
|
-
#
|
200
|
+
# Get secret store by ID
|
201
201
|
# Get a secret store by ID.
|
202
202
|
# @option opts [String] :store_id (required)
|
203
203
|
# @return [SecretStoreResponse]
|
@@ -206,7 +206,7 @@ module Fastly
|
|
206
206
|
data
|
207
207
|
end
|
208
208
|
|
209
|
-
#
|
209
|
+
# Get secret store by ID
|
210
210
|
# Get a secret store by ID.
|
211
211
|
# @option opts [String] :store_id (required)
|
212
212
|
# @return [Array<(SecretStoreResponse, Integer, Hash)>] SecretStoreResponse data, response status code and response headers
|