Documentation ¶
Index ¶
- func Delete(ctx context.Context, service *zscaler.Service, segmentGroupId string) (*http.Response, error)
- func Update(ctx context.Context, service *zscaler.Service, segmentGroupId string, ...) (*http.Response, error)
- func UpdateV2(ctx context.Context, service *zscaler.Service, segmentGroupId string, ...) (*http.Response, error)
- type AppServerGroup
- type Application
- type ApplicationNames
- type SegmentGroup
- func Create(ctx context.Context, service *zscaler.Service, segmentGroup *SegmentGroup) (*SegmentGroup, *http.Response, error)
- func Get(ctx context.Context, service *zscaler.Service, segmentGroupID string) (*SegmentGroup, *http.Response, error)
- func GetAll(ctx context.Context, service *zscaler.Service) ([]SegmentGroup, *http.Response, error)
- func GetByName(ctx context.Context, service *zscaler.Service, segmentName string) (*SegmentGroup, *http.Response, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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 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)
Click to show internal directories.
Click to hide internal directories.