applications

package
v2.61.2 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAppMetrics added in v2.61.0

func GetAppMetrics(service *services.Service, appID int, filters common.GetFromToFilters) ([]common.Metric, *http.Response, error)

Gets the application's metric trend. For Web Probes, you can access Page Fetch Time, Server Response Time, DNS Time or Availability. If not specified, it defaults to Page Fetch Time (PFT). For CloudPath Probes, you can access latency metrics for End to End, Client - Egress, Egress - Application, ZIA Service Edge - Egress, and ZIA Service Edge - Application. If not specified, it defaults to End to End latency. If the time range is not specified, the endpoint defaults to the last 2 hours.

Gets the application's metric trend.

func GetAppScores added in v2.61.0

func GetAppScores(service *services.Service, appID int, filters common.GetFromToFilters) ([]common.Metric, *http.Response, error)

Gets the application's ZDX score trend. If the time range is not specified, the endpoint defaults to the last 2 hours.

Types

type Apps

type Apps struct {
	ID                 int                 `json:"id"`
	Name               string              `json:"name,omitempty"`
	Score              float32             `json:"score"`
	MostImpactedRegion *MostImpactedRegion `json:"most_impacted_region,omitempty"`
	Stats              *Stats              `json:"stats,omitempty"`
	TotalUsers         int                 `json:"total_users,omitempty"`
}

func GetAllApps added in v2.61.0

func GetAllApps(service *services.Service, filters common.GetFromToFilters) ([]Apps, *http.Response, error)

Lists all active applications configured for a tenant. The endpoint gets each application's ZDX score (default for the last 2 hours), most impacted location, and the total number of users impacted. To learn more, see About the ZDX Dashboard at https://help.zscaler.com/zdx/about-zdx-dashboard.

func GetApp added in v2.61.0

func GetApp(service *services.Service, appID string, filters common.GetFromToFilters) (*Apps, *http.Response, error)

type MostImpactedRegion added in v2.61.0

type MostImpactedRegion struct {
	ID      string `json:"id"`
	City    string `json:"city,omitempty"`
	Region  string `json:"region,omitempty"`
	Country string `json:"country,omitempty"`
	GeoType string `json:"geo_type,omitempty"`
}

type Stats

type Stats struct {
	ActiveUsers   int `json:"active_users"`
	ActiveDevices int `json:"active_devices"`
	NumPoor       int `json:"num_poor"`
	NumOkay       int `json:"num_okay"`
	NumGood       int `json:"num_good"`
}

Jump to

Keyboard shortcuts

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