Class: Fastly::Syslog
- Inherits:
-
BelongsToServiceAndVersion
- Object
- Base
- BelongsToServiceAndVersion
- Fastly::Syslog
- Defined in:
- lib/fastly/syslog.rb
Overview
An endpoint to stream syslogs to
Instance Attribute Summary collapse
-
#comment ⇒ Object
Returns the value of attribute comment.
-
#format ⇒ Object
Returns the value of attribute format.
-
#format_version ⇒ Object
Returns the value of attribute format_version.
-
#hostname ⇒ Object
Returns the value of attribute hostname.
-
#ipv4 ⇒ Object
Returns the value of attribute ipv4.
-
#ipv6 ⇒ Object
Returns the value of attribute ipv6.
-
#message_type ⇒ Object
Returns the value of attribute message_type.
-
#name ⇒ Object
Returns the value of attribute name.
-
#placement ⇒ Object
Returns the value of attribute placement.
-
#port ⇒ Object
Returns the value of attribute port.
-
#response_condition ⇒ Object
Returns the value of attribute response_condition.
-
#service_id ⇒ Object
Returns the value of attribute service_id.
-
#tls_ca_cert ⇒ Object
Returns the value of attribute tls_ca_cert.
-
#tls_hostname ⇒ Object
Returns the value of attribute tls_hostname.
-
#token ⇒ Object
Returns the value of attribute token.
-
#use_tls ⇒ Object
Returns the value of attribute use_tls.
Attributes inherited from BelongsToServiceAndVersion
Attributes inherited from Base
Class Method Summary collapse
-
.path ⇒ Object
:attr: tls_ca_cert.
Methods inherited from BelongsToServiceAndVersion
#as_hash, delete_path, get_path, path_escape, post_path, put_path, #service, #version_number
Methods inherited from Base
#as_hash, #delete!, delete_path, get_path, #initialize, list_path, post_path, put_path, #require_api_key!, #save!
Constructor Details
This class inherits a constructor from Fastly::Base
Instance Attribute Details
#comment ⇒ Object
Returns the value of attribute comment.
4 5 6 |
# File 'lib/fastly/syslog.rb', line 4 def comment @comment end |
#format ⇒ Object
Returns the value of attribute format.
4 5 6 |
# File 'lib/fastly/syslog.rb', line 4 def format @format end |
#format_version ⇒ Object
Returns the value of attribute format_version.
4 5 6 |
# File 'lib/fastly/syslog.rb', line 4 def format_version @format_version end |
#hostname ⇒ Object
Returns the value of attribute hostname.
4 5 6 |
# File 'lib/fastly/syslog.rb', line 4 def hostname @hostname end |
#ipv4 ⇒ Object
Returns the value of attribute ipv4.
4 5 6 |
# File 'lib/fastly/syslog.rb', line 4 def ipv4 @ipv4 end |
#ipv6 ⇒ Object
Returns the value of attribute ipv6.
4 5 6 |
# File 'lib/fastly/syslog.rb', line 4 def ipv6 @ipv6 end |
#message_type ⇒ Object
Returns the value of attribute message_type.
4 5 6 |
# File 'lib/fastly/syslog.rb', line 4 def @message_type end |
#name ⇒ Object
Returns the value of attribute name.
4 5 6 |
# File 'lib/fastly/syslog.rb', line 4 def name @name end |
#placement ⇒ Object
Returns the value of attribute placement.
4 5 6 |
# File 'lib/fastly/syslog.rb', line 4 def placement @placement end |
#port ⇒ Object
Returns the value of attribute port.
4 5 6 |
# File 'lib/fastly/syslog.rb', line 4 def port @port end |
#response_condition ⇒ Object
Returns the value of attribute response_condition.
4 5 6 |
# File 'lib/fastly/syslog.rb', line 4 def response_condition @response_condition end |
#service_id ⇒ Object
Returns the value of attribute service_id.
4 5 6 |
# File 'lib/fastly/syslog.rb', line 4 def service_id @service_id end |
#tls_ca_cert ⇒ Object
Returns the value of attribute tls_ca_cert.
4 5 6 |
# File 'lib/fastly/syslog.rb', line 4 def tls_ca_cert @tls_ca_cert end |
#tls_hostname ⇒ Object
Returns the value of attribute tls_hostname.
4 5 6 |
# File 'lib/fastly/syslog.rb', line 4 def tls_hostname @tls_hostname end |
#token ⇒ Object
Returns the value of attribute token.
4 5 6 |
# File 'lib/fastly/syslog.rb', line 4 def token @token end |
#use_tls ⇒ Object
Returns the value of attribute use_tls.
4 5 6 |
# File 'lib/fastly/syslog.rb', line 4 def use_tls @use_tls end |
Class Method Details
.path ⇒ Object
:attr: tls_ca_cert
Use this pem formatted certificate as the CA cert to verify the syslog server’s certificate
107 108 109 |
# File 'lib/fastly/syslog.rb', line 107 def self.path 'logging/syslog' end |