Class: Fastly::Syslog

Inherits:
BelongsToServiceAndVersion show all
Defined in:
lib/fastly/syslog.rb

Overview

An endpoint to stream syslogs to

Instance Attribute Summary collapse

Attributes inherited from BelongsToServiceAndVersion

#version

Attributes inherited from Base

#fetcher

Class Method Summary collapse

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

#commentObject

Returns the value of attribute comment.



4
5
6
# File 'lib/fastly/syslog.rb', line 4

def comment
  @comment
end

#formatObject

Returns the value of attribute format.



4
5
6
# File 'lib/fastly/syslog.rb', line 4

def format
  @format
end

#format_versionObject

Returns the value of attribute format_version.



4
5
6
# File 'lib/fastly/syslog.rb', line 4

def format_version
  @format_version
end

#hostnameObject

Returns the value of attribute hostname.



4
5
6
# File 'lib/fastly/syslog.rb', line 4

def hostname
  @hostname
end

#ipv4Object

Returns the value of attribute ipv4.



4
5
6
# File 'lib/fastly/syslog.rb', line 4

def ipv4
  @ipv4
end

#ipv6Object

Returns the value of attribute ipv6.



4
5
6
# File 'lib/fastly/syslog.rb', line 4

def ipv6
  @ipv6
end

#message_typeObject

Returns the value of attribute message_type.



4
5
6
# File 'lib/fastly/syslog.rb', line 4

def message_type
  @message_type
end

#nameObject

Returns the value of attribute name.



4
5
6
# File 'lib/fastly/syslog.rb', line 4

def name
  @name
end

#placementObject

Returns the value of attribute placement.



4
5
6
# File 'lib/fastly/syslog.rb', line 4

def placement
  @placement
end

#portObject

Returns the value of attribute port.



4
5
6
# File 'lib/fastly/syslog.rb', line 4

def port
  @port
end

#response_conditionObject

Returns the value of attribute response_condition.



4
5
6
# File 'lib/fastly/syslog.rb', line 4

def response_condition
  @response_condition
end

#service_idObject

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_certObject

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_hostnameObject

Returns the value of attribute tls_hostname.



4
5
6
# File 'lib/fastly/syslog.rb', line 4

def tls_hostname
  @tls_hostname
end

#tokenObject

Returns the value of attribute token.



4
5
6
# File 'lib/fastly/syslog.rb', line 4

def token
  @token
end

#use_tlsObject

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

.pathObject

: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