Documentation ¶
Overview ¶
Package syslog is the client.Object.SyslogServerProfile namespace.
For Panorama, there are two possibilities: managing this object on Panorama itself or inside of a Template.
To manage objects save on Panorama, leave "tmpl" and "ts" params empty and set "dg" to "shared" (which is also the default).
To manage objects in a template, specify the template name and the vsys (if unspecified, defaults to "shared").
Normalized object: Entry
Index ¶
- type Entry
- type FwSyslog
- func (c *FwSyslog) Delete(vsys string, e ...interface{}) error
- func (c *FwSyslog) Edit(vsys string, e Entry) error
- func (c *FwSyslog) Get(vsys, name string) (Entry, error)
- func (c *FwSyslog) GetList(vsys string) ([]string, error)
- func (c *FwSyslog) Initialize(con util.XapiClient)
- func (c *FwSyslog) Set(vsys string, e ...Entry) error
- func (c *FwSyslog) SetWithoutSubconfig(vsys string, e Entry) error
- func (c *FwSyslog) Show(vsys, name string) (Entry, error)
- func (c *FwSyslog) ShowList(vsys string) ([]string, error)
- type PanoSyslog
- func (c *PanoSyslog) Delete(tmpl, ts, vsys, dg string, e ...interface{}) error
- func (c *PanoSyslog) Edit(tmpl, ts, vsys, dg string, e Entry) error
- func (c *PanoSyslog) Get(tmpl, ts, vsys, dg, name string) (Entry, error)
- func (c *PanoSyslog) GetList(tmpl, ts, vsys, dg string) ([]string, error)
- func (c *PanoSyslog) Initialize(con util.XapiClient)
- func (c *PanoSyslog) Set(tmpl, ts, vsys, dg string, e ...Entry) error
- func (c *PanoSyslog) SetWithoutSubconfig(tmpl, ts, vsys, dg string, e Entry) error
- func (c *PanoSyslog) Show(tmpl, ts, vsys, dg, name string) (Entry, error)
- func (c *PanoSyslog) ShowList(tmpl, ts, vsys, dg string) ([]string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Entry ¶
type Entry struct { Name string Config string System string Threat string Traffic string HipMatch string Url string // 8.0+ Data string // 8.0+ Wildfire string // 8.0+ Tunnel string // 8.0+ UserId string // 8.0+ Gtp string // 8.0+ Auth string // 8.0+ Sctp string // 8.1+ Iptag string // 9.0+ EscapedCharacters string EscapeCharacter string // contains filtered or unexported fields }
Entry is a normalized, version independent representation of an syslog profile.
PAN-OS 7.1+.
type FwSyslog ¶
type FwSyslog struct {
// contains filtered or unexported fields
}
FwSyslog is the client.Network.SyslogServerProfile namespace.
func (*FwSyslog) Delete ¶
Delete removes the given objects.
Objects can be a string or an Entry object.
func (*FwSyslog) Initialize ¶
func (c *FwSyslog) Initialize(con util.XapiClient)
Initialize is invoked by client.Initialize().
func (*FwSyslog) SetWithoutSubconfig ¶ added in v0.3.9
SetWithoutSubconfig performs a DELETE to remove any subconfig before performing a SET to create an object.
type PanoSyslog ¶
type PanoSyslog struct {
// contains filtered or unexported fields
}
PanoSyslog is the client.Network.SyslogServerProfile namespace.
func (*PanoSyslog) Delete ¶
func (c *PanoSyslog) Delete(tmpl, ts, vsys, dg string, e ...interface{}) error
Delete removes the given objects.
Objects can be a string or an Entry object.
func (*PanoSyslog) Edit ¶
func (c *PanoSyslog) Edit(tmpl, ts, vsys, dg string, e Entry) error
Edit performs EDIT to create / update one object.
func (*PanoSyslog) Get ¶
func (c *PanoSyslog) Get(tmpl, ts, vsys, dg, name string) (Entry, error)
Get performs GET to retrieve information for the given uid.
func (*PanoSyslog) GetList ¶
func (c *PanoSyslog) GetList(tmpl, ts, vsys, dg string) ([]string, error)
GetList performs GET to retrieve a list of values.
func (*PanoSyslog) Initialize ¶
func (c *PanoSyslog) Initialize(con util.XapiClient)
Initialize is invoked by client.Initialize().
func (*PanoSyslog) Set ¶
func (c *PanoSyslog) Set(tmpl, ts, vsys, dg string, e ...Entry) error
Set performs SET to create / update one or more objects.
func (*PanoSyslog) SetWithoutSubconfig ¶ added in v0.3.9
func (c *PanoSyslog) SetWithoutSubconfig(tmpl, ts, vsys, dg string, e Entry) error
SetWithoutSubconfig performs a DELETE to remove any subconfig before performing a SET to create an object.