networkservicegroups

package
v2.5.23 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2024 License: MIT Imports: 7 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

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"`
}

type Service

type Service struct {
	Client *zia.Client
}

func New

func New(c *zia.Client) *Service

func (*Service) CreateNetworkServiceGroups

func (service *Service) CreateNetworkServiceGroups(networkServiceGroups *NetworkServiceGroups) (*NetworkServiceGroups, error)

func (*Service) DeleteNetworkServiceGroups

func (service *Service) DeleteNetworkServiceGroups(serviceGroupID int) (*http.Response, error)

func (*Service) GetAllNetworkServiceGroups

func (service *Service) GetAllNetworkServiceGroups() ([]NetworkServiceGroups, error)

func (*Service) GetNetworkServiceGroups

func (service *Service) GetNetworkServiceGroups(serviceGroupID int) (*NetworkServiceGroups, error)

func (*Service) GetNetworkServiceGroupsByName

func (service *Service) GetNetworkServiceGroupsByName(serviceGroupsName string) (*NetworkServiceGroups, error)

func (*Service) UpdateNetworkServiceGroups

func (service *Service) UpdateNetworkServiceGroups(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"`
}

Jump to

Keyboard shortcuts

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