Documentation ¶
Index ¶
- func DeleteNetworkServiceGroups(ctx context.Context, service *zscaler.Service, serviceGroupID int) (*http.Response, error)
- type NetworkServiceGroups
- func CreateNetworkServiceGroups(ctx context.Context, service *zscaler.Service, ...) (*NetworkServiceGroups, error)
- func GetAllNetworkServiceGroups(ctx context.Context, service *zscaler.Service) ([]NetworkServiceGroups, error)
- func GetNetworkServiceGroups(ctx context.Context, service *zscaler.Service, serviceGroupID int) (*NetworkServiceGroups, error)
- func GetNetworkServiceGroupsByName(ctx context.Context, service *zscaler.Service, serviceGroupsName string) (*NetworkServiceGroups, error)
- func UpdateNetworkServiceGroups(ctx context.Context, service *zscaler.Service, serviceGroupID int, ...) (*NetworkServiceGroups, *http.Response, error)
- type Services
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type NetworkServiceGroups ¶
type NetworkServiceGroups struct { ID int `json:"id"` Name string `json:"name,omitempty"` Services []Services `json:"services,omitempty"` Description string `json:"description,omitempty"` }
func CreateNetworkServiceGroups ¶
func CreateNetworkServiceGroups(ctx context.Context, service *zscaler.Service, networkServiceGroups *NetworkServiceGroups) (*NetworkServiceGroups, error)
func GetNetworkServiceGroups ¶
func UpdateNetworkServiceGroups ¶
func UpdateNetworkServiceGroups(ctx context.Context, service *zscaler.Service, serviceGroupID int, networkServiceGroups *NetworkServiceGroups) (*NetworkServiceGroups, *http.Response, error)
type Services ¶
type Services struct { ID int `json:"id"` Name string `json:"name,omitempty"` Tag string `json:"tag,omitempty"` SrcTCPPorts []networkservices.NetworkPorts `json:"srcTcpPorts,omitempty"` DestTCPPorts []networkservices.NetworkPorts `json:"destTcpPorts,omitempty"` SrcUDPPorts []networkservices.NetworkPorts `json:"srcUdpPorts,omitempty"` DestUDPPorts []networkservices.NetworkPorts `json:"destUdpPorts,omitempty"` Type string `json:"type,omitempty"` Description string `json:"description,omitempty"` IsNameL10nTag bool `json:"isNameL10nTag,omitempty"` }
Click to show internal directories.
Click to hide internal directories.