entitlements

package
v3.1.11 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeviceGroup

type DeviceGroup struct {
	Active     int    `json:"active"`
	AuthType   string `json:"authType"`
	GroupID    int    `json:"groupId"`
	GroupName  string `json:"groupName"`
	UpmEnabled int    `json:"upmEnabled"`
}

type DeviceGroupItem

type DeviceGroupItem struct {
	Active     int    `json:"active"`
	AuthType   string `json:"authType"`
	GroupID    int    `json:"groupId"`
	GroupName  string `json:"groupName"`
	ZpaEnabled int    `json:"zpaEnabled"`
}

type GroupListItem

type GroupListItem struct {
	Active     int    `json:"active"`
	AuthType   string `json:"authType"`
	GroupID    int    `json:"groupId"`
	GroupName  string `json:"groupName"`
	ZpaEnabled int    `json:"zpaEnabled"`
}

type ZdxGroupEntitlements

type ZdxGroupEntitlements struct {
	CollectZdxLocation        int           `json:"collectZdxLocation"`
	ComputeDeviceGroupsForZDX int           `json:"computeDeviceGroupsForZDX"`
	LogoutZCCForZDXService    int           `json:"logoutZCCForZDXService"`
	TotalCount                int           `json:"totalCount"`
	UpmDeviceGroupList        []DeviceGroup `json:"upmDeviceGroupList"`
	UpmEnableForAll           int           `json:"upmEnableForAll"`
	UpmGroupList              []DeviceGroup `json:"upmGroupList"`
}

func GetZdxGroupEntitlements

func GetZdxGroupEntitlements(ctx context.Context, service *zscaler.Service, search string, pageSize int) ([]ZdxGroupEntitlements, error)

func UpdateZdxGroupEntitlements

func UpdateZdxGroupEntitlements(ctx context.Context, service *zscaler.Service, updateZdxGroup *ZdxGroupEntitlements) (*ZdxGroupEntitlements, error)

type ZpaGroupEntitlements

type ZpaGroupEntitlements struct {
	ComputeDeviceGroupsForZPA int               `json:"computeDeviceGroupsForZPA"`
	DeviceGroupList           []DeviceGroupItem `json:"deviceGroupList"`
	GroupList                 []GroupListItem   `json:"groupList"`
	MachineTunEnabledForAll   int               `json:"machineTunEnabledForAll"`
	TotalCount                int               `json:"totalCount"`
	ZpaEnableForAll           int               `json:"zpaEnableForAll"`
}

func GetZpaGroupEntitlements

func GetZpaGroupEntitlements(ctx context.Context, service *zscaler.Service, search string, pageSize int) ([]ZpaGroupEntitlements, error)

func UpdateZpaGroupEntitlements

func UpdateZpaGroupEntitlements(ctx context.Context, service *zscaler.Service, updateZpaGroup *ZpaGroupEntitlements) (*ZpaGroupEntitlements, error)

Jump to

Keyboard shortcuts

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