ipdestinationgroups

package
v3.0.7 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Delete

func Delete(ctx context.Context, service *zscaler.Service, ipGroupID int) (*http.Response, error)

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

func Create(ctx context.Context, service *zscaler.Service, ipGroupID *IPDestinationGroups) (*IPDestinationGroups, error)

func Get

func Get(ctx context.Context, service *zscaler.Service, ipGroupID int) (*IPDestinationGroups, error)

func GetAll

func GetAll(ctx context.Context, service *zscaler.Service) ([]IPDestinationGroups, error)

func GetByName

func GetByName(ctx context.Context, service *zscaler.Service, ipDestinationGroupsName string) (*IPDestinationGroups, error)

func Update

func Update(ctx context.Context, service *zscaler.Service, ipGroupID int, ipGroup *IPDestinationGroups) (*IPDestinationGroups, *http.Response, error)

Jump to

Keyboard shortcuts

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