fastly 6.0.2 → 7.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +19 -0
- data/Gemfile.lock +1 -1
- data/README.md +1 -1
- 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/{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/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/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_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/request_settings_api.rb +15 -15
- 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_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/{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 +47 -57
- data/sig.json +1 -1
- metadata +96 -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_newrelic.rb +0 -351
- 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] :token The token to use for authentication ([https://devcenter.heroku.com/articles/add-on-partner-log-integration](https://devcenter.heroku.com/articles/add-on-partner-log-integration)).
|
30
30
|
# @option opts [String] :url The URL to stream logs to.
|
31
31
|
# @return [LoggingHerokuResponse]
|
@@ -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 [String] :token The token to use for authentication ([https://devcenter.heroku.com/articles/add-on-partner-log-integration](https://devcenter.heroku.com/articles/add-on-partner-log-integration)).
|
47
47
|
# @option opts [String] :url The URL to stream logs to.
|
48
48
|
# @return [Array<(LoggingHerokuResponse, Integer, Hash)>] LoggingHerokuResponse 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['token'] = opts[:'token'] if !opts[:'token'].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_heroku_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 [String] :token The token to use for authentication ([https://devcenter.heroku.com/articles/add-on-partner-log-integration](https://devcenter.heroku.com/articles/add-on-partner-log-integration)).
|
359
359
|
# @option opts [String] :url The URL to stream logs to.
|
360
360
|
# @return [LoggingHerokuResponse]
|
@@ -370,9 +370,9 @@ module Fastly
|
|
370
370
|
# @option opts [String] :logging_heroku_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 [String] :token The token to use for authentication ([https://devcenter.heroku.com/articles/add-on-partner-log-integration](https://devcenter.heroku.com/articles/add-on-partner-log-integration)).
|
377
377
|
# @option opts [String] :url The URL to stream logs to.
|
378
378
|
# @return [Array<(LoggingHerokuResponse, Integer, Hash)>] LoggingHerokuResponse 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['token'] = opts[:'token'] if !opts[:'token'].nil?
|
431
431
|
form_params['url'] = opts[:'url'] if !opts[:'url'].nil?
|
432
432
|
|
@@ -23,12 +23,12 @@ 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). Must produce valid JSON that Honeycomb can ingest.
|
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] :dataset The Honeycomb Dataset you want to log to.
|
30
30
|
# @option opts [String] :token The Write Key from the Account page of your Honeycomb account.
|
31
|
-
# @return [
|
31
|
+
# @return [LoggingHoneycombResponse]
|
32
32
|
def create_log_honeycomb(opts = {})
|
33
33
|
data, _status_code, _headers = create_log_honeycomb_with_http_info(opts)
|
34
34
|
data
|
@@ -40,12 +40,12 @@ 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). Must produce valid JSON that Honeycomb can ingest.
|
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 [String] :dataset The Honeycomb Dataset you want to log to.
|
47
47
|
# @option opts [String] :token The Write Key from the Account page of your Honeycomb account.
|
48
|
-
# @return [Array<(
|
48
|
+
# @return [Array<(LoggingHoneycombResponse, Integer, Hash)>] LoggingHoneycombResponse data, response status code and response headers
|
49
49
|
def create_log_honeycomb_with_http_info(opts = {})
|
50
50
|
if @api_client.config.debugging
|
51
51
|
@api_client.config.logger.debug 'Calling API: LoggingHoneycombApi.create_log_honeycomb ...'
|
@@ -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['dataset'] = opts[:'dataset'] if !opts[:'dataset'].nil?
|
96
96
|
form_params['token'] = opts[:'token'] if !opts[:'token'].nil?
|
97
97
|
|
@@ -99,7 +99,7 @@ module Fastly
|
|
99
99
|
post_body = opts[:debug_body]
|
100
100
|
|
101
101
|
# return_type
|
102
|
-
return_type = opts[:debug_return_type] || '
|
102
|
+
return_type = opts[:debug_return_type] || 'LoggingHoneycombResponse'
|
103
103
|
|
104
104
|
# auth_names
|
105
105
|
auth_names = opts[:debug_auth_names] || ['token']
|
@@ -203,7 +203,7 @@ module Fastly
|
|
203
203
|
# @option opts [String] :service_id Alphanumeric string identifying the service. (required)
|
204
204
|
# @option opts [Integer] :version_id Integer identifying a service version. (required)
|
205
205
|
# @option opts [String] :logging_honeycomb_name The name for the real-time logging configuration. (required)
|
206
|
-
# @return [
|
206
|
+
# @return [LoggingHoneycombResponse]
|
207
207
|
def get_log_honeycomb(opts = {})
|
208
208
|
data, _status_code, _headers = get_log_honeycomb_with_http_info(opts)
|
209
209
|
data
|
@@ -214,7 +214,7 @@ module Fastly
|
|
214
214
|
# @option opts [String] :service_id Alphanumeric string identifying the service. (required)
|
215
215
|
# @option opts [Integer] :version_id Integer identifying a service version. (required)
|
216
216
|
# @option opts [String] :logging_honeycomb_name The name for the real-time logging configuration. (required)
|
217
|
-
# @return [Array<(
|
217
|
+
# @return [Array<(LoggingHoneycombResponse, Integer, Hash)>] LoggingHoneycombResponse data, response status code and response headers
|
218
218
|
def get_log_honeycomb_with_http_info(opts = {})
|
219
219
|
if @api_client.config.debugging
|
220
220
|
@api_client.config.logger.debug 'Calling API: LoggingHoneycombApi.get_log_honeycomb ...'
|
@@ -253,7 +253,7 @@ module Fastly
|
|
253
253
|
post_body = opts[:debug_body]
|
254
254
|
|
255
255
|
# return_type
|
256
|
-
return_type = opts[:debug_return_type] || '
|
256
|
+
return_type = opts[:debug_return_type] || 'LoggingHoneycombResponse'
|
257
257
|
|
258
258
|
# auth_names
|
259
259
|
auth_names = opts[:debug_auth_names] || ['token']
|
@@ -352,9 +352,9 @@ module Fastly
|
|
352
352
|
# @option opts [String] :logging_honeycomb_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). Must produce valid JSON that Honeycomb can ingest.
|
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 [String] :dataset The Honeycomb Dataset you want to log to.
|
359
359
|
# @option opts [String] :token The Write Key from the Account page of your Honeycomb account.
|
360
360
|
# @return [LoggingHoneycombResponse]
|
@@ -370,9 +370,9 @@ module Fastly
|
|
370
370
|
# @option opts [String] :logging_honeycomb_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). Must produce valid JSON that Honeycomb can ingest.
|
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 [String] :dataset The Honeycomb Dataset you want to log to.
|
377
377
|
# @option opts [String] :token The Write Key from the Account page of your Honeycomb account.
|
378
378
|
# @return [Array<(LoggingHoneycombResponse, Integer, Hash)>] LoggingHoneycombResponse 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['dataset'] = opts[:'dataset'] if !opts[:'dataset'].nil?
|
431
431
|
form_params['token'] = opts[:'token'] if !opts[:'token'].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')
|
@@ -51,9 +51,9 @@ module Fastly
|
|
51
51
|
# @option opts [Integer] :version_id Integer identifying a service version. (required)
|
52
52
|
# @option opts [String] :name The name for the real-time logging configuration.
|
53
53
|
# @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`.
|
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
54
|
# @option opts [String] :response_condition The name of an existing condition in the configured endpoint, or leave blank to always execute.
|
56
55
|
# @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')
|
56
|
+
# @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)
|
57
57
|
# @option opts [String] :tls_ca_cert A secure certificate to authenticate a server with. Must be in PEM format. (default to 'null')
|
58
58
|
# @option opts [String] :tls_client_cert The client certificate used to make authenticated requests. Must be in PEM format. (default to 'null')
|
59
59
|
# @option opts [String] :tls_client_key The client private key used to make authenticated requests. Must be in PEM format. (default to 'null')
|
@@ -119,9 +119,9 @@ module Fastly
|
|
119
119
|
form_params = opts[:form_params] || {}
|
120
120
|
form_params['name'] = opts[:'name'] if !opts[:'name'].nil?
|
121
121
|
form_params['placement'] = opts[:'placement'] if !opts[:'placement'].nil?
|
122
|
-
form_params['format_version'] = opts[:'format_version'] if !opts[:'format_version'].nil?
|
123
122
|
form_params['response_condition'] = opts[:'response_condition'] if !opts[:'response_condition'].nil?
|
124
123
|
form_params['format'] = opts[:'format'] if !opts[:'format'].nil?
|
124
|
+
form_params['format_version'] = opts[:'format_version'] if !opts[:'format_version'].nil?
|
125
125
|
form_params['tls_ca_cert'] = opts[:'tls_ca_cert'] if !opts[:'tls_ca_cert'].nil?
|
126
126
|
form_params['tls_client_cert'] = opts[:'tls_client_cert'] if !opts[:'tls_client_cert'].nil?
|
127
127
|
form_params['tls_client_key'] = opts[:'tls_client_key'] if !opts[:'tls_client_key'].nil?
|
@@ -393,9 +393,9 @@ module Fastly
|
|
393
393
|
# @option opts [String] :logging_https_name The name for the real-time logging configuration. (required)
|
394
394
|
# @option opts [String] :name The name for the real-time logging configuration.
|
395
395
|
# @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`.
|
396
|
-
# @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)
|
397
396
|
# @option opts [String] :response_condition The name of an existing condition in the configured endpoint, or leave blank to always execute.
|
398
397
|
# @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')
|
398
|
+
# @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)
|
399
399
|
# @option opts [String] :tls_ca_cert A secure certificate to authenticate a server with. Must be in PEM format. (default to 'null')
|
400
400
|
# @option opts [String] :tls_client_cert The client certificate used to make authenticated requests. Must be in PEM format. (default to 'null')
|
401
401
|
# @option opts [String] :tls_client_key The client private key used to make authenticated requests. Must be in PEM format. (default to 'null')
|
@@ -422,9 +422,9 @@ module Fastly
|
|
422
422
|
# @option opts [String] :logging_https_name The name for the real-time logging configuration. (required)
|
423
423
|
# @option opts [String] :name The name for the real-time logging configuration.
|
424
424
|
# @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`.
|
425
|
-
# @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)
|
426
425
|
# @option opts [String] :response_condition The name of an existing condition in the configured endpoint, or leave blank to always execute.
|
427
426
|
# @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')
|
427
|
+
# @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)
|
428
428
|
# @option opts [String] :tls_ca_cert A secure certificate to authenticate a server with. Must be in PEM format. (default to 'null')
|
429
429
|
# @option opts [String] :tls_client_cert The client certificate used to make authenticated requests. Must be in PEM format. (default to 'null')
|
430
430
|
# @option opts [String] :tls_client_key The client private key used to make authenticated requests. Must be in PEM format. (default to 'null')
|
@@ -495,9 +495,9 @@ module Fastly
|
|
495
495
|
form_params = opts[:form_params] || {}
|
496
496
|
form_params['name'] = opts[:'name'] if !opts[:'name'].nil?
|
497
497
|
form_params['placement'] = opts[:'placement'] if !opts[:'placement'].nil?
|
498
|
-
form_params['format_version'] = opts[:'format_version'] if !opts[:'format_version'].nil?
|
499
498
|
form_params['response_condition'] = opts[:'response_condition'] if !opts[:'response_condition'].nil?
|
500
499
|
form_params['format'] = opts[:'format'] if !opts[:'format'].nil?
|
500
|
+
form_params['format_version'] = opts[:'format_version'] if !opts[:'format_version'].nil?
|
501
501
|
form_params['tls_ca_cert'] = opts[:'tls_ca_cert'] if !opts[:'tls_ca_cert'].nil?
|
502
502
|
form_params['tls_client_cert'] = opts[:'tls_client_cert'] if !opts[:'tls_client_cert'].nil?
|
503
503
|
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 [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')
|
@@ -40,7 +40,7 @@ module Fastly
|
|
40
40
|
# @option opts [String] :user SASL user.
|
41
41
|
# @option opts [String] :password SASL password.
|
42
42
|
# @option opts [LoggingUseTls] :use_tls (default to 0)
|
43
|
-
# @return [
|
43
|
+
# @return [LoggingKafkaResponsePost]
|
44
44
|
def create_log_kafka(opts = {})
|
45
45
|
data, _status_code, _headers = create_log_kafka_with_http_info(opts)
|
46
46
|
data
|
@@ -52,9 +52,9 @@ module Fastly
|
|
52
52
|
# @option opts [Integer] :version_id Integer identifying a service version. (required)
|
53
53
|
# @option opts [String] :name The name for the real-time logging configuration.
|
54
54
|
# @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`.
|
55
|
-
# @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)
|
56
55
|
# @option opts [String] :response_condition The name of an existing condition in the configured endpoint, or leave blank to always execute.
|
57
56
|
# @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')
|
57
|
+
# @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)
|
58
58
|
# @option opts [String] :tls_ca_cert A secure certificate to authenticate a server with. Must be in PEM format. (default to 'null')
|
59
59
|
# @option opts [String] :tls_client_cert The client certificate used to make authenticated requests. Must be in PEM format. (default to 'null')
|
60
60
|
# @option opts [String] :tls_client_key The client private key used to make authenticated requests. Must be in PEM format. (default to 'null')
|
@@ -69,7 +69,7 @@ module Fastly
|
|
69
69
|
# @option opts [String] :user SASL user.
|
70
70
|
# @option opts [String] :password SASL password.
|
71
71
|
# @option opts [LoggingUseTls] :use_tls (default to 0)
|
72
|
-
# @return [Array<(
|
72
|
+
# @return [Array<(LoggingKafkaResponsePost, Integer, Hash)>] LoggingKafkaResponsePost data, response status code and response headers
|
73
73
|
def create_log_kafka_with_http_info(opts = {})
|
74
74
|
if @api_client.config.debugging
|
75
75
|
@api_client.config.logger.debug 'Calling API: LoggingKafkaApi.create_log_kafka ...'
|
@@ -125,9 +125,9 @@ module Fastly
|
|
125
125
|
form_params = opts[:form_params] || {}
|
126
126
|
form_params['name'] = opts[:'name'] if !opts[:'name'].nil?
|
127
127
|
form_params['placement'] = opts[:'placement'] if !opts[:'placement'].nil?
|
128
|
-
form_params['format_version'] = opts[:'format_version'] if !opts[:'format_version'].nil?
|
129
128
|
form_params['response_condition'] = opts[:'response_condition'] if !opts[:'response_condition'].nil?
|
130
129
|
form_params['format'] = opts[:'format'] if !opts[:'format'].nil?
|
130
|
+
form_params['format_version'] = opts[:'format_version'] if !opts[:'format_version'].nil?
|
131
131
|
form_params['tls_ca_cert'] = opts[:'tls_ca_cert'] if !opts[:'tls_ca_cert'].nil?
|
132
132
|
form_params['tls_client_cert'] = opts[:'tls_client_cert'] if !opts[:'tls_client_cert'].nil?
|
133
133
|
form_params['tls_client_key'] = opts[:'tls_client_key'] if !opts[:'tls_client_key'].nil?
|
@@ -147,7 +147,7 @@ module Fastly
|
|
147
147
|
post_body = opts[:debug_body]
|
148
148
|
|
149
149
|
# return_type
|
150
|
-
return_type = opts[:debug_return_type] || '
|
150
|
+
return_type = opts[:debug_return_type] || 'LoggingKafkaResponsePost'
|
151
151
|
|
152
152
|
# auth_names
|
153
153
|
auth_names = opts[:debug_auth_names] || ['token']
|
@@ -23,13 +23,13 @@ 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 [LoggingPlacement] :placement
|
26
|
-
# @option opts [LoggingFormatVersion] :format_version (default to 2)
|
27
26
|
# @option opts [String] :format A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). Must produce valid JSON that Kinesis can ingest. (default to '{\"timestamp\":\"%{begin:%Y-%m-%dT%H:%M:%S}t\",\"time_elapsed\":\"%{time.elapsed.usec}V\",\"is_tls\":\"%{if(req.is_ssl, \\\"true\\\", \\\"false\\\")}V\",\"client_ip\":\"%{req.http.Fastly-Client-IP}V\",\"geo_city\":\"%{client.geo.city}V\",\"geo_country_code\":\"%{client.geo.country_code}V\",\"request\":\"%{req.request}V\",\"host\":\"%{req.http.Fastly-Orig-Host}V\",\"url\":\"%{json.escape(req.url)}V\",\"request_referer\":\"%{json.escape(req.http.Referer)}V\",\"request_user_agent\":\"%{json.escape(req.http.User-Agent)}V\",\"request_accept_language\":\"%{json.escape(req.http.Accept-Language)}V\",\"request_accept_charset\":\"%{json.escape(req.http.Accept-Charset)}V\",\"cache_status\":\"%{regsub(fastly_info.state, \\\"^(HIT-(SYNTH)|(HITPASS|HIT|MISS|PASS|ERROR|PIPE)).*\\\", \\\"\\\\2\\\\3\\\") }V\"}')
|
28
27
|
# @option opts [String] :topic The Amazon Kinesis stream to send logs to. Required.
|
29
28
|
# @option opts [AwsRegion] :region
|
30
29
|
# @option opts [String] :secret_key The secret key associated with the target Amazon Kinesis stream. Not required if `iam_role` is specified.
|
31
30
|
# @option opts [String] :access_key The access key associated with the target Amazon Kinesis stream. Not required if `iam_role` is specified.
|
32
31
|
# @option opts [String] :iam_role The ARN for an IAM role granting Fastly access to the target Amazon Kinesis stream. Not required if `access_key` and `secret_key` are provided.
|
32
|
+
# @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)
|
33
33
|
# @return [LoggingKinesisResponse]
|
34
34
|
def create_log_kinesis(opts = {})
|
35
35
|
data, _status_code, _headers = create_log_kinesis_with_http_info(opts)
|
@@ -42,13 +42,13 @@ module Fastly
|
|
42
42
|
# @option opts [Integer] :version_id Integer identifying a service version. (required)
|
43
43
|
# @option opts [String] :name The name for the real-time logging configuration.
|
44
44
|
# @option opts [LoggingPlacement] :placement
|
45
|
-
# @option opts [LoggingFormatVersion] :format_version (default to 2)
|
46
45
|
# @option opts [String] :format A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). Must produce valid JSON that Kinesis can ingest. (default to '{\"timestamp\":\"%{begin:%Y-%m-%dT%H:%M:%S}t\",\"time_elapsed\":\"%{time.elapsed.usec}V\",\"is_tls\":\"%{if(req.is_ssl, \\\"true\\\", \\\"false\\\")}V\",\"client_ip\":\"%{req.http.Fastly-Client-IP}V\",\"geo_city\":\"%{client.geo.city}V\",\"geo_country_code\":\"%{client.geo.country_code}V\",\"request\":\"%{req.request}V\",\"host\":\"%{req.http.Fastly-Orig-Host}V\",\"url\":\"%{json.escape(req.url)}V\",\"request_referer\":\"%{json.escape(req.http.Referer)}V\",\"request_user_agent\":\"%{json.escape(req.http.User-Agent)}V\",\"request_accept_language\":\"%{json.escape(req.http.Accept-Language)}V\",\"request_accept_charset\":\"%{json.escape(req.http.Accept-Charset)}V\",\"cache_status\":\"%{regsub(fastly_info.state, \\\"^(HIT-(SYNTH)|(HITPASS|HIT|MISS|PASS|ERROR|PIPE)).*\\\", \\\"\\\\2\\\\3\\\") }V\"}')
|
47
46
|
# @option opts [String] :topic The Amazon Kinesis stream to send logs to. Required.
|
48
47
|
# @option opts [AwsRegion] :region
|
49
48
|
# @option opts [String] :secret_key The secret key associated with the target Amazon Kinesis stream. Not required if `iam_role` is specified.
|
50
49
|
# @option opts [String] :access_key The access key associated with the target Amazon Kinesis stream. Not required if `iam_role` is specified.
|
51
50
|
# @option opts [String] :iam_role The ARN for an IAM role granting Fastly access to the target Amazon Kinesis stream. Not required if `access_key` and `secret_key` are provided.
|
51
|
+
# @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)
|
52
52
|
# @return [Array<(LoggingKinesisResponse, Integer, Hash)>] LoggingKinesisResponse data, response status code and response headers
|
53
53
|
def create_log_kinesis_with_http_info(opts = {})
|
54
54
|
if @api_client.config.debugging
|
@@ -65,6 +65,10 @@ module Fastly
|
|
65
65
|
if @api_client.config.client_side_validation && version_id.nil?
|
66
66
|
fail ArgumentError, "Missing the required parameter 'version_id' when calling LoggingKinesisApi.create_log_kinesis"
|
67
67
|
end
|
68
|
+
allowable_values = [1, 2]
|
69
|
+
if @api_client.config.client_side_validation && opts[:'format_version'] && !allowable_values.include?(opts[:'format_version'])
|
70
|
+
fail ArgumentError, "invalid value for \"format_version\", must be one of #{allowable_values}"
|
71
|
+
end
|
68
72
|
# resource path
|
69
73
|
local_var_path = '/service/{service_id}/version/{version_id}/logging/kinesis'.sub('{' + 'service_id' + '}', CGI.escape(service_id.to_s)).sub('{' + 'version_id' + '}', CGI.escape(version_id.to_s))
|
70
74
|
|
@@ -85,13 +89,13 @@ module Fastly
|
|
85
89
|
form_params = opts[:form_params] || {}
|
86
90
|
form_params['name'] = opts[:'name'] if !opts[:'name'].nil?
|
87
91
|
form_params['placement'] = opts[:'placement'] if !opts[:'placement'].nil?
|
88
|
-
form_params['format_version'] = opts[:'format_version'] if !opts[:'format_version'].nil?
|
89
92
|
form_params['format'] = opts[:'format'] if !opts[:'format'].nil?
|
90
93
|
form_params['topic'] = opts[:'topic'] if !opts[:'topic'].nil?
|
91
94
|
form_params['region'] = opts[:'region'] if !opts[:'region'].nil?
|
92
95
|
form_params['secret_key'] = opts[:'secret_key'] if !opts[:'secret_key'].nil?
|
93
96
|
form_params['access_key'] = opts[:'access_key'] if !opts[:'access_key'].nil?
|
94
97
|
form_params['iam_role'] = opts[:'iam_role'] if !opts[:'iam_role'].nil?
|
98
|
+
form_params['format_version'] = opts[:'format_version'] if !opts[:'format_version'].nil?
|
95
99
|
|
96
100
|
# http body (model)
|
97
101
|
post_body = opts[:debug_body]
|
@@ -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 [Integer] :port The port number. (default to 20000)
|
30
30
|
# @option opts [String] :token Use token based authentication ([https://logentries.com/doc/input-token/](https://logentries.com/doc/input-token/)).
|
31
31
|
# @option opts [LoggingUseTls] :use_tls (default to LoggingUseTls::no_tls)
|
@@ -42,9 +42,9 @@ module Fastly
|
|
42
42
|
# @option opts [Integer] :version_id Integer identifying a service version. (required)
|
43
43
|
# @option opts [String] :name The name for the real-time logging configuration.
|
44
44
|
# @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`.
|
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
45
|
# @option opts [String] :response_condition The name of an existing condition in the configured endpoint, or leave blank to always execute.
|
47
46
|
# @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')
|
47
|
+
# @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)
|
48
48
|
# @option opts [Integer] :port The port number. (default to 20000)
|
49
49
|
# @option opts [String] :token Use token based authentication ([https://logentries.com/doc/input-token/](https://logentries.com/doc/input-token/)).
|
50
50
|
# @option opts [LoggingUseTls] :use_tls (default to LoggingUseTls::no_tls)
|
@@ -97,9 +97,9 @@ module Fastly
|
|
97
97
|
form_params = opts[:form_params] || {}
|
98
98
|
form_params['name'] = opts[:'name'] if !opts[:'name'].nil?
|
99
99
|
form_params['placement'] = opts[:'placement'] if !opts[:'placement'].nil?
|
100
|
-
form_params['format_version'] = opts[:'format_version'] if !opts[:'format_version'].nil?
|
101
100
|
form_params['response_condition'] = opts[:'response_condition'] if !opts[:'response_condition'].nil?
|
102
101
|
form_params['format'] = opts[:'format'] if !opts[:'format'].nil?
|
102
|
+
form_params['format_version'] = opts[:'format_version'] if !opts[:'format_version'].nil?
|
103
103
|
form_params['port'] = opts[:'port'] if !opts[:'port'].nil?
|
104
104
|
form_params['token'] = opts[:'token'] if !opts[:'token'].nil?
|
105
105
|
form_params['use_tls'] = opts[:'use_tls'] if !opts[:'use_tls'].nil?
|
@@ -362,9 +362,9 @@ module Fastly
|
|
362
362
|
# @option opts [String] :logging_logentries_name The name for the real-time logging configuration. (required)
|
363
363
|
# @option opts [String] :name The name for the real-time logging configuration.
|
364
364
|
# @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`.
|
365
|
-
# @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)
|
366
365
|
# @option opts [String] :response_condition The name of an existing condition in the configured endpoint, or leave blank to always execute.
|
367
366
|
# @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')
|
367
|
+
# @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)
|
368
368
|
# @option opts [Integer] :port The port number. (default to 20000)
|
369
369
|
# @option opts [String] :token Use token based authentication ([https://logentries.com/doc/input-token/](https://logentries.com/doc/input-token/)).
|
370
370
|
# @option opts [LoggingUseTls] :use_tls (default to LoggingUseTls::no_tls)
|
@@ -382,9 +382,9 @@ module Fastly
|
|
382
382
|
# @option opts [String] :logging_logentries_name The name for the real-time logging configuration. (required)
|
383
383
|
# @option opts [String] :name The name for the real-time logging configuration.
|
384
384
|
# @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`.
|
385
|
-
# @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)
|
386
385
|
# @option opts [String] :response_condition The name of an existing condition in the configured endpoint, or leave blank to always execute.
|
387
386
|
# @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')
|
387
|
+
# @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)
|
388
388
|
# @option opts [Integer] :port The port number. (default to 20000)
|
389
389
|
# @option opts [String] :token Use token based authentication ([https://logentries.com/doc/input-token/](https://logentries.com/doc/input-token/)).
|
390
390
|
# @option opts [LoggingUseTls] :use_tls (default to LoggingUseTls::no_tls)
|
@@ -442,9 +442,9 @@ module Fastly
|
|
442
442
|
form_params = opts[:form_params] || {}
|
443
443
|
form_params['name'] = opts[:'name'] if !opts[:'name'].nil?
|
444
444
|
form_params['placement'] = opts[:'placement'] if !opts[:'placement'].nil?
|
445
|
-
form_params['format_version'] = opts[:'format_version'] if !opts[:'format_version'].nil?
|
446
445
|
form_params['response_condition'] = opts[:'response_condition'] if !opts[:'response_condition'].nil?
|
447
446
|
form_params['format'] = opts[:'format'] if !opts[:'format'].nil?
|
447
|
+
form_params['format_version'] = opts[:'format_version'] if !opts[:'format_version'].nil?
|
448
448
|
form_params['port'] = opts[:'port'] if !opts[:'port'].nil?
|
449
449
|
form_params['token'] = opts[:'token'] if !opts[:'token'].nil?
|
450
450
|
form_params['use_tls'] = opts[:'use_tls'] if !opts[:'use_tls'].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 [String] :token The token to use for authentication ([https://www.loggly.com/docs/customer-token-authentication-token/](https://www.loggly.com/docs/customer-token-authentication-token/)).
|
30
30
|
# @return [LoggingLogglyResponse]
|
31
31
|
def create_log_loggly(opts = {})
|
@@ -39,9 +39,9 @@ module Fastly
|
|
39
39
|
# @option opts [Integer] :version_id Integer identifying a service version. (required)
|
40
40
|
# @option opts [String] :name The name for the real-time logging configuration.
|
41
41
|
# @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`.
|
42
|
-
# @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)
|
43
42
|
# @option opts [String] :response_condition The name of an existing condition in the configured endpoint, or leave blank to always execute.
|
44
43
|
# @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')
|
44
|
+
# @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)
|
45
45
|
# @option opts [String] :token The token to use for authentication ([https://www.loggly.com/docs/customer-token-authentication-token/](https://www.loggly.com/docs/customer-token-authentication-token/)).
|
46
46
|
# @return [Array<(LoggingLogglyResponse, Integer, Hash)>] LoggingLogglyResponse data, response status code and response headers
|
47
47
|
def create_log_loggly_with_http_info(opts = {})
|
@@ -87,9 +87,9 @@ module Fastly
|
|
87
87
|
form_params = opts[:form_params] || {}
|
88
88
|
form_params['name'] = opts[:'name'] if !opts[:'name'].nil?
|
89
89
|
form_params['placement'] = opts[:'placement'] if !opts[:'placement'].nil?
|
90
|
-
form_params['format_version'] = opts[:'format_version'] if !opts[:'format_version'].nil?
|
91
90
|
form_params['response_condition'] = opts[:'response_condition'] if !opts[:'response_condition'].nil?
|
92
91
|
form_params['format'] = opts[:'format'] if !opts[:'format'].nil?
|
92
|
+
form_params['format_version'] = opts[:'format_version'] if !opts[:'format_version'].nil?
|
93
93
|
form_params['token'] = opts[:'token'] if !opts[:'token'].nil?
|
94
94
|
|
95
95
|
# http body (model)
|
@@ -349,9 +349,9 @@ module Fastly
|
|
349
349
|
# @option opts [String] :logging_loggly_name The name for the real-time logging configuration. (required)
|
350
350
|
# @option opts [String] :name The name for the real-time logging configuration.
|
351
351
|
# @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`.
|
352
|
-
# @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)
|
353
352
|
# @option opts [String] :response_condition The name of an existing condition in the configured endpoint, or leave blank to always execute.
|
354
353
|
# @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')
|
354
|
+
# @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)
|
355
355
|
# @option opts [String] :token The token to use for authentication ([https://www.loggly.com/docs/customer-token-authentication-token/](https://www.loggly.com/docs/customer-token-authentication-token/)).
|
356
356
|
# @return [LoggingLogglyResponse]
|
357
357
|
def update_log_loggly(opts = {})
|
@@ -366,9 +366,9 @@ module Fastly
|
|
366
366
|
# @option opts [String] :logging_loggly_name The name for the real-time logging configuration. (required)
|
367
367
|
# @option opts [String] :name The name for the real-time logging configuration.
|
368
368
|
# @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`.
|
369
|
-
# @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)
|
370
369
|
# @option opts [String] :response_condition The name of an existing condition in the configured endpoint, or leave blank to always execute.
|
371
370
|
# @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')
|
371
|
+
# @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)
|
372
372
|
# @option opts [String] :token The token to use for authentication ([https://www.loggly.com/docs/customer-token-authentication-token/](https://www.loggly.com/docs/customer-token-authentication-token/)).
|
373
373
|
# @return [Array<(LoggingLogglyResponse, Integer, Hash)>] LoggingLogglyResponse data, response status code and response headers
|
374
374
|
def update_log_loggly_with_http_info(opts = {})
|
@@ -419,9 +419,9 @@ module Fastly
|
|
419
419
|
form_params = opts[:form_params] || {}
|
420
420
|
form_params['name'] = opts[:'name'] if !opts[:'name'].nil?
|
421
421
|
form_params['placement'] = opts[:'placement'] if !opts[:'placement'].nil?
|
422
|
-
form_params['format_version'] = opts[:'format_version'] if !opts[:'format_version'].nil?
|
423
422
|
form_params['response_condition'] = opts[:'response_condition'] if !opts[:'response_condition'].nil?
|
424
423
|
form_params['format'] = opts[:'format'] if !opts[:'format'].nil?
|
424
|
+
form_params['format_version'] = opts[:'format_version'] if !opts[:'format_version'].nil?
|
425
425
|
form_params['token'] = opts[:'token'] if !opts[:'token'].nil?
|
426
426
|
|
427
427
|
# http body (model)
|