networkservicegroups

package
v2.61.12 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2024 License: MIT Imports: 7 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteNetworkServiceGroups added in v2.61.0

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

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 added in v2.61.0

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

func GetAllNetworkServiceGroups added in v2.61.0

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

func GetNetworkServiceGroups added in v2.61.0

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

func GetNetworkServiceGroupsByName added in v2.61.0

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

func UpdateNetworkServiceGroups added in v2.61.0

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

Jump to

Keyboard shortcuts

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