applicationsegment

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 18, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppServerGroups

type AppServerGroups 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 ApplicationSegmentResource

type ApplicationSegmentResource struct {
	ID                   string                `json:"id,omitempty"`
	DomainNames          []string              `json:"domainNames,omitempty"`
	Name                 string                `json:"name,omitempty"`
	Description          string                `json:"description,omitempty"`
	Enabled              bool                  `json:"enabled"`
	PassiveHealthEnabled bool                  `json:"passiveHealthEnabled"`
	DoubleEncrypt        bool                  `json:"doubleEncrypt"`
	ConfigSpace          string                `json:"configSpace,omitempty"`
	Applications         string                `json:"applications,omitempty"`
	BypassType           string                `json:"bypassType,omitempty"`
	HealthCheckType      string                `json:"healthCheckType,omitempty"`
	IsCnameEnabled       bool                  `json:"isCnameEnabled"`
	IpAnchored           bool                  `json:"ipAnchored"`
	HealthReporting      string                `json:"healthReporting,omitempty"`
	IcmpAccessType       string                `json:"icmpAccessType,omitempty"`
	SegmentGroupID       string                `json:"segmentGroupId"`
	SegmentGroupName     string                `json:"segmentGroupName,omitempty"`
	CreationTime         string                `json:"creationTime,omitempty"`
	ModifiedBy           string                `json:"modifiedBy,omitempty"`
	ModifiedTime         string                `json:"modifiedTime,omitempty"`
	TCPAppPortRange      []common.NetworkPorts `json:"tcpPortRange,omitempty"`
	UDPAppPortRange      []common.NetworkPorts `json:"udpPortRange,omitempty"`
	ServerGroups         []AppServerGroups     `json:"serverGroups,omitempty"`
	DefaultIdleTimeout   string                `json:"defaultIdleTimeout,omitempty"`
	DefaultMaxAge        string                `json:"defaultMaxAge,omitempty"`
}

type Service

type Service struct {
	Client *client.Client
}

func New

func New(c *gozscaler.Config) *Service

func (*Service) Create

func (*Service) Delete

func (service *Service) Delete(applicationId string) (*http.Response, error)

func (*Service) Get

func (service *Service) Get(applicationID string) (*ApplicationSegmentResource, *http.Response, error)

func (*Service) GetByName

func (service *Service) GetByName(appName string) (*ApplicationSegmentResource, *http.Response, error)

func (*Service) Update

func (service *Service) Update(applicationId string, appSegmentRequest ApplicationSegmentResource) (*http.Response, error)

Jump to

Keyboard shortcuts

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