Documentation ¶
Index ¶
- func Delete(service *services.Service, segmentGroupId string) (*http.Response, error)
- func Update(service *services.Service, segmentGroupId string, ...) (*http.Response, error)
- func UpdateV2(service *services.Service, segmentGroupId string, ...) (*http.Response, error)
- type AppServerGroup
- type Application
- type ApplicationNames
- type SegmentGroup
- func Create(service *services.Service, segmentGroup *SegmentGroup) (*SegmentGroup, *http.Response, error)
- func Get(service *services.Service, segmentGroupID string) (*SegmentGroup, *http.Response, error)
- func GetAll(service *services.Service) ([]SegmentGroup, *http.Response, error)
- func GetByName(service *services.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 v2.71.1
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 ¶ added in v2.61.0
func Create(service *services.Service, segmentGroup *SegmentGroup) (*SegmentGroup, *http.Response, error)
Click to show internal directories.
Click to hide internal directories.