ipsourcegroups

package
v2.61.0 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2024 License: MIT Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Delete added in v2.61.0

func Delete(service *services.Service, ipGroupID int) (*http.Response, error)

Types

type IPSourceGroups

type IPSourceGroups struct {
	// A unique identifier of the source IP address group.
	ID int `json:"id"`

	// The name of the source IP address group.
	Name string `json:"name,omitempty"`

	// The description of the source IP address group.
	Description string `json:"description,omitempty"`

	// Source IP addresses added to the group.
	IPAddresses []string `json:"ipAddresses,omitempty"`

	// If set to true, the destination IP address group is non-editable. This field is applicable only to predefined IP address groups, which cannot be modified.
	IsNonEditable bool `json:"isNonEditable,omitempty"`
}

func Create added in v2.61.0

func Create(service *services.Service, ipGroupID *IPSourceGroups) (*IPSourceGroups, error)

func Get added in v2.61.0

func Get(service *services.Service, ipGroupID int) (*IPSourceGroups, error)

func GetAll added in v2.61.0

func GetAll(service *services.Service) ([]IPSourceGroups, error)

func GetByName added in v2.61.0

func GetByName(service *services.Service, ipSourceGroupsName string) (*IPSourceGroups, error)

func Update added in v2.61.0

func Update(service *services.Service, ipGroupID int, ipGroup *IPSourceGroups) (*IPSourceGroups, error)

Jump to

Keyboard shortcuts

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