segmentgroup

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: 6 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, segmentGroupId string) (*http.Response, error)

func Update

func Update(ctx context.Context, service *zscaler.Service, segmentGroupId string, segmentGroupRequest *SegmentGroup) (*http.Response, error)

func UpdateV2 added in v3.0.5

func UpdateV2(ctx context.Context, service *zscaler.Service, segmentGroupId string, segmentGroupRequest *SegmentGroup) (*http.Response, error)

Types

type AppServerGroup

type AppServerGroup struct {
	ConfigSpace      string `json:"configSpace,omitempty"`
	CreationTime     string `json:"creationTime,omitempty"`
	Description      string `json:"description,omitempty"`
	Enabled          bool   `json:"enabled"`
	ID               string `json:"id,omitempty"`
	DynamicDiscovery bool   `json:"dynamicDiscovery"`
	ModifiedBy       string `json:"modifiedBy,omitempty"`
	ModifiedTime     string `json:"modifiedTime,omitempty"`
	Name             string `json:"name"`
}

type Application

type Application struct {
	BypassType           string           `json:"bypassType,omitempty"`
	ConfigSpace          string           `json:"configSpace,omitempty"`
	CreationTime         string           `json:"creationTime,omitempty"`
	DefaultIdleTimeout   string           `json:"defaultIdleTimeout,omitempty"`
	DefaultMaxAge        string           `json:"defaultMaxAge,omitempty"`
	Description          string           `json:"description,omitempty"`
	DomainName           string           `json:"domainName,omitempty"`
	DomainNames          []string         `json:"domainNames,omitempty"`
	DoubleEncrypt        bool             `json:"doubleEncrypt"`
	Enabled              bool             `json:"enabled"`
	HealthCheckType      string           `json:"healthCheckType,omitempty"`
	ID                   string           `json:"id,omitempty"`
	IPAnchored           bool             `json:"ipAnchored"`
	LogFeatures          []string         `json:"logFeatures,omitempty"`
	ModifiedBy           string           `json:"modifiedBy,omitempty"`
	ModifiedTime         string           `json:"modifiedTime,omitempty"`
	Name                 string           `json:"name"`
	PassiveHealthEnabled bool             `json:"passiveHealthEnabled"`
	ServerGroup          []AppServerGroup `json:"serverGroups,omitempty"`
	TCPPortRanges        interface{}      `json:"tcpPortRanges,omitempty"`
	TCPPortsIn           interface{}      `json:"tcpPortsIn,omitempty"`
	TCPPortsOut          interface{}      `json:"tcpPortsOut,omitempty"`
	UDPPortRanges        interface{}      `json:"udpPortRangesg,omitempty"`
}

type ApplicationNames added in v3.0.5

type ApplicationNames struct {
	ID   string `json:"id,omitempty"`
	Name string `json:"name"`
}

type SegmentGroup

type SegmentGroup struct {
	ID                  string             `json:"id,omitempty"`
	Name                string             `json:"name"`
	Description         string             `json:"description,omitempty"`
	Enabled             bool               `json:"enabled"`
	ConfigSpace         string             `json:"configSpace,omitempty"`
	CreationTime        string             `json:"creationTime,omitempty"`
	ModifiedBy          string             `json:"modifiedBy,omitempty"`
	ModifiedTime        string             `json:"modifiedTime,omitempty"`
	PolicyMigrated      bool               `json:"policyMigrated"`
	TcpKeepAliveEnabled string             `json:"tcpKeepAliveEnabled,omitempty"`
	MicroTenantID       string             `json:"microtenantId,omitempty"`
	MicroTenantName     string             `json:"microtenantName,omitempty"`
	AddedApps           string             `json:"addedApps,omitempty"`
	DeletedApps         string             `json:"deletedApps,omitempty"`
	Applications        []Application      `json:"applications"`
	ApplicationNames    []ApplicationNames `json:"applicationNames,omitempty"`
}

func Create

func Create(ctx context.Context, service *zscaler.Service, segmentGroup *SegmentGroup) (*SegmentGroup, *http.Response, error)

func Get

func Get(ctx context.Context, service *zscaler.Service, segmentGroupID string) (*SegmentGroup, *http.Response, error)

func GetAll

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

func GetByName

func GetByName(ctx context.Context, service *zscaler.Service, segmentName string) (*SegmentGroup, *http.Response, error)

Jump to

Keyboard shortcuts

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