Documentation ¶
Index ¶
- type Apps
- type GetAppsFilters
- type MostImpactedGeo
- type Service
- func (service *Service) GetAllApps(filters GetAppsFilters) (*Apps, *http.Response, error)
- func (service *Service) GetApp(appID string, filters GetAppsFilters) (*Apps, *http.Response, error)
- func (service *Service) GetAppMetrics(appID string, filters GetAppsFilters) (*common.Metric, *http.Response, error)
- func (service *Service) GetAppScores(appID string, filters GetAppsFilters) (*common.Metric, *http.Response, error)
- type Stats
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Apps ¶
type Apps struct { ID int `json:"id"` Name string `json:"name,omitempty"` Score int `json:"score,omitempty"` MostImpactedGeo *MostImpactedGeo `json:"most_impacted_geo,omitempty"` Stats *Stats `json:"stats,omitempty"` }
type GetAppsFilters ¶
type GetAppsFilters struct { common.GetFromToFilters // The Zscaler location (ID). You can add multiple location IDs. Loc []int `json:"loc,omitempty" url:"loc,omitempty"` // The department (ID). You can add multiple department IDs. Dept []int `json:"dept,omitempty" url:"dept,omitempty"` // The active geolocation (ID). You can add multiple active geolocation IDs. Geo []string `json:"geo,omitempty" url:"geo,omitempty"` }
type MostImpactedGeo ¶
type Service ¶
func (*Service) GetAllApps ¶
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 (*Service) GetApp ¶
Gets the application’s ZDX score (for the last 2 hours), most impacted locations, and the total number of users impacted. To learn more, see About the ZDX Score at https://help.zscaler.com/zdx/about-zdx-score#user.
func (*Service) GetAppMetrics ¶
func (service *Service) GetAppMetrics(appID string, filters GetAppsFilters) (*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.
func (*Service) GetAppScores ¶
func (service *Service) GetAppScores(appID string, filters GetAppsFilters) (*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.