Documentation
¶
Overview ¶
Package email is the client.Object.EmailServerProfile 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 FwEmail
- func (c *FwEmail) Delete(vsys string, e ...interface{}) error
- func (c *FwEmail) Edit(vsys string, e Entry) error
- func (c *FwEmail) Get(vsys, name string) (Entry, error)
- func (c *FwEmail) GetList(vsys string) ([]string, error)
- func (c *FwEmail) Initialize(con util.XapiClient)
- func (c *FwEmail) Set(vsys string, e ...Entry) error
- func (c *FwEmail) SetWithoutSubconfig(vsys string, e Entry) error
- func (c *FwEmail) Show(vsys, name string) (Entry, error)
- func (c *FwEmail) ShowList(vsys string) ([]string, error)
- type PanoEmail
- func (c *PanoEmail) Delete(tmpl, ts, vsys, dg string, e ...interface{}) error
- func (c *PanoEmail) Edit(tmpl, ts, vsys, dg string, e Entry) error
- func (c *PanoEmail) Get(tmpl, ts, vsys, dg, name string) (Entry, error)
- func (c *PanoEmail) GetList(tmpl, ts, vsys, dg string) ([]string, error)
- func (c *PanoEmail) Initialize(con util.XapiClient)
- func (c *PanoEmail) Set(tmpl, ts, vsys, dg string, e ...Entry) error
- func (c *PanoEmail) SetWithoutSubconfig(tmpl, ts, vsys, dg string, e Entry) error
- func (c *PanoEmail) Show(tmpl, ts, vsys, dg, name string) (Entry, error)
- func (c *PanoEmail) 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 email profile.
PAN-OS 7.1+.
type FwEmail ¶
type FwEmail struct {
// contains filtered or unexported fields
}
FwEmail is the client.Network.EmailServerProfile namespace.
func (*FwEmail) Delete ¶
Delete removes the given objects.
Objects can be a string or an Entry object.
func (*FwEmail) Initialize ¶
func (c *FwEmail) Initialize(con util.XapiClient)
Initialize is invoked by client.Initialize().
func (*FwEmail) SetWithoutSubconfig ¶ added in v0.3.9
SetWithoutSubconfig performs a DELETE to remove any subconfig before performing a SET to create an object.
type PanoEmail ¶
type PanoEmail struct {
// contains filtered or unexported fields
}
PanoEmail is the client.Network.EmailServerProfile namespace.
func (*PanoEmail) Delete ¶
Delete removes the given objects.
Objects can be a string or an Entry object.
func (*PanoEmail) Initialize ¶
func (c *PanoEmail) Initialize(con util.XapiClient)
Initialize is invoked by client.Initialize().
func (*PanoEmail) SetWithoutSubconfig ¶ added in v0.3.9
SetWithoutSubconfig performs a DELETE to remove any subconfig before performing a SET to create an object.