lib/fastly/api/logging_splunk_api.rb in fastly-8.4.0 vs lib/fastly/api/logging_splunk_api.rb in fastly-8.5.0
- old
+ new
@@ -32,11 +32,11 @@
# @option opts [String] :tls_hostname The hostname to verify the server's certificate. This should be one of the Subject Alternative Name (SAN) fields for the certificate. Common Names (CN) are not supported. (default to 'null')
# @option opts [Integer] :request_max_entries The maximum number of logs sent in one request. Defaults `0` for unbounded. (default to 0)
# @option opts [Integer] :request_max_bytes The maximum number of bytes sent in one request. Defaults `0` for unbounded. (default to 0)
# @option opts [String] :url The URL to post logs to.
# @option opts [String] :token A Splunk token for use in posting logs over HTTP to your collector.
- # @option opts [LoggingUseTls] :use_tls (default to LoggingUseTls::no_tls)
+ # @option opts [LoggingUseTlsString] :use_tls (default to '0')
# @return [LoggingSplunkResponse]
def create_log_splunk(opts = {})
data, _status_code, _headers = create_log_splunk_with_http_info(opts)
data
end
@@ -56,11 +56,11 @@
# @option opts [String] :tls_hostname The hostname to verify the server's certificate. This should be one of the Subject Alternative Name (SAN) fields for the certificate. Common Names (CN) are not supported. (default to 'null')
# @option opts [Integer] :request_max_entries The maximum number of logs sent in one request. Defaults `0` for unbounded. (default to 0)
# @option opts [Integer] :request_max_bytes The maximum number of bytes sent in one request. Defaults `0` for unbounded. (default to 0)
# @option opts [String] :url The URL to post logs to.
# @option opts [String] :token A Splunk token for use in posting logs over HTTP to your collector.
- # @option opts [LoggingUseTls] :use_tls (default to LoggingUseTls::no_tls)
+ # @option opts [LoggingUseTlsString] :use_tls (default to '0')
# @return [Array<(LoggingSplunkResponse, Integer, Hash)>] LoggingSplunkResponse data, response status code and response headers
def create_log_splunk_with_http_info(opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: LoggingSplunkApi.create_log_splunk ...'
end
@@ -382,11 +382,11 @@
# @option opts [String] :tls_hostname The hostname to verify the server's certificate. This should be one of the Subject Alternative Name (SAN) fields for the certificate. Common Names (CN) are not supported. (default to 'null')
# @option opts [Integer] :request_max_entries The maximum number of logs sent in one request. Defaults `0` for unbounded. (default to 0)
# @option opts [Integer] :request_max_bytes The maximum number of bytes sent in one request. Defaults `0` for unbounded. (default to 0)
# @option opts [String] :url The URL to post logs to.
# @option opts [String] :token A Splunk token for use in posting logs over HTTP to your collector.
- # @option opts [LoggingUseTls] :use_tls (default to LoggingUseTls::no_tls)
+ # @option opts [LoggingUseTlsString] :use_tls (default to '0')
# @return [LoggingSplunkResponse]
def update_log_splunk(opts = {})
data, _status_code, _headers = update_log_splunk_with_http_info(opts)
data
end
@@ -407,10 +407,10 @@
# @option opts [String] :tls_hostname The hostname to verify the server's certificate. This should be one of the Subject Alternative Name (SAN) fields for the certificate. Common Names (CN) are not supported. (default to 'null')
# @option opts [Integer] :request_max_entries The maximum number of logs sent in one request. Defaults `0` for unbounded. (default to 0)
# @option opts [Integer] :request_max_bytes The maximum number of bytes sent in one request. Defaults `0` for unbounded. (default to 0)
# @option opts [String] :url The URL to post logs to.
# @option opts [String] :token A Splunk token for use in posting logs over HTTP to your collector.
- # @option opts [LoggingUseTls] :use_tls (default to LoggingUseTls::no_tls)
+ # @option opts [LoggingUseTlsString] :use_tls (default to '0')
# @return [Array<(LoggingSplunkResponse, Integer, Hash)>] LoggingSplunkResponse data, response status code and response headers
def update_log_splunk_with_http_info(opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: LoggingSplunkApi.update_log_splunk ...'
end