Documentation
¶
Index ¶
- func Delete(service *services.Service, ipGroupID int) (*http.Response, error)
- type IPSourceGroups
- func Create(service *services.Service, ipGroupID *IPSourceGroups) (*IPSourceGroups, error)
- func Get(service *services.Service, ipGroupID int) (*IPSourceGroups, error)
- func GetAll(service *services.Service) ([]IPSourceGroups, error)
- func GetByName(service *services.Service, ipSourceGroupsName string) (*IPSourceGroups, error)
- func Update(service *services.Service, ipGroupID int, ipGroup *IPSourceGroups) (*IPSourceGroups, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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 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)
Click to show internal directories.
Click to hide internal directories.