Documentation ¶
Index ¶
- func Delete(ctx context.Context, service *zscaler.Service, ipGroupID int) (*http.Response, error)
- type IPSourceGroups
- func Create(ctx context.Context, service *zscaler.Service, ipGroupID *IPSourceGroups) (*IPSourceGroups, error)
- func Get(ctx context.Context, service *zscaler.Service, ipGroupID int) (*IPSourceGroups, error)
- func GetAll(ctx context.Context, service *zscaler.Service) ([]IPSourceGroups, error)
- func GetByName(ctx context.Context, service *zscaler.Service, ipSourceGroupsName string) (*IPSourceGroups, error)
- func Update(ctx context.Context, service *zscaler.Service, ipGroupID int, ...) (*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 ¶
func Create(ctx context.Context, service *zscaler.Service, ipGroupID *IPSourceGroups) (*IPSourceGroups, error)
func Update ¶
func Update(ctx context.Context, service *zscaler.Service, ipGroupID int, ipGroup *IPSourceGroups) (*IPSourceGroups, error)
Click to show internal directories.
Click to hide internal directories.