Documentation ¶
Index ¶
- func Delete(service *services.Service, ipGroupID int) (*http.Response, error)
- type IPDestinationGroups
- func Create(service *services.Service, ipGroupID *IPDestinationGroups) (*IPDestinationGroups, error)
- func Get(service *services.Service, ipGroupID int) (*IPDestinationGroups, error)
- func GetAll(service *services.Service) ([]IPDestinationGroups, error)
- func GetByName(service *services.Service, ipDestinationGroupsName string) (*IPDestinationGroups, error)
- func Update(service *services.Service, ipGroupID int, ipGroup *IPDestinationGroups) (*IPDestinationGroups, *http.Response, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type IPDestinationGroups ¶
type IPDestinationGroups struct { // Unique identifer for the destination IP group ID int `json:"id"` // Destination IP group name Name string `json:"name,omitempty"` // Additional information about the destination IP group Description string `json:"description,omitempty"` // Destination IP group type (i.e., the group can contain destination IP addresses or FQDNs) Type string `json:"type,omitempty"` // Destination IP addresses, FQDNs, or wildcard FQDNs added to the group. Addresses []string `json:"addresses,omitempty"` // Destination IP address URL categories. You can identify destinations based on the URL category of the domain. IPCategories []string `json:"ipCategories,omitempty"` // Destination IP address countries. You can identify destinations based on the location of a server. Countries []string `json:"countries,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 *IPDestinationGroups) (*IPDestinationGroups, error)
func Get ¶ added in v2.61.0
func Get(service *services.Service, ipGroupID int) (*IPDestinationGroups, error)
func GetAll ¶ added in v2.61.0
func GetAll(service *services.Service) ([]IPDestinationGroups, error)
func GetByName ¶ added in v2.61.0
func GetByName(service *services.Service, ipDestinationGroupsName string) (*IPDestinationGroups, error)
func Update ¶ added in v2.61.0
func Update(service *services.Service, ipGroupID int, ipGroup *IPDestinationGroups) (*IPDestinationGroups, *http.Response, error)
Click to show internal directories.
Click to hide internal directories.