telemetry

package
v0.10.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 16, 2023 License: ISC Imports: 4 Imported by: 2

Documentation

Overview

Package telemetry is the firewall.Device.Telemetry namespace.

Normalized object: Config

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config added in v0.7.0

type Config struct {
	ApplicationReports             bool
	ThreatPreventionReports        bool
	UrlReports                     bool
	FileTypeIdentificationReports  bool
	ThreatPreventionData           bool
	ThreatPreventionPacketCaptures bool
	ProductUsageStats              bool
	PassiveDnsMonitoring           bool
}

Config is a normalized, version independent representation of telemetry sharing configuration.

func (*Config) Copy added in v0.7.0

func (o *Config) Copy(s Config)

Copy copies the information from source Settings `s` to this object.

func (Config) Specify added in v0.7.0

func (o Config) Specify(v version.Number) (string, interface{})

type Firewall added in v0.7.0

type Firewall struct {
	// contains filtered or unexported fields
}

Firewall is the client.Device.Telemetry namespace.

func FirewallNamespace added in v0.7.0

func FirewallNamespace(client util.XapiClient) *Firewall

FirewallNamespace returns an initialized namespace.

func (*Firewall) Delete added in v0.7.0

func (c *Firewall) Delete() error

Delete performs DELETE to remove the config.

func (*Firewall) Edit added in v0.7.0

func (c *Firewall) Edit(e Config) error

Edit performs EDIT to configure the specified object.

func (*Firewall) FromPanosConfig added in v0.7.0

func (c *Firewall) FromPanosConfig() (Config, error)

FromPanosConfig retrieves the object stored in the retrieved config.

func (*Firewall) Get added in v0.7.0

func (c *Firewall) Get() (Config, error)

Get performs GET to retrieve configuration for the given object.

func (*Firewall) Set added in v0.7.0

func (c *Firewall) Set(e Config) error

Set performs SET to configure the specified objects.

func (*Firewall) Show added in v0.7.0

func (c *Firewall) Show() (Config, error)

Show performs SHOW to retrieve configuration for the given object.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL