browseraccess

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 {
	ID string `json:"id"`
}

type BrowserAccess

type BrowserAccess struct {
	ID                   string                `json:"id,omitempty"`
	SegmentGroupID       string                `json:"segmentGroupId,omitempty"`
	SegmentGroupName     string                `json:"segmentGroupName,omitempty"`
	BypassType           string                `json:"bypassType,omitempty"`
	ConfigSpace          string                `json:"configSpace,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"`
	HealthCheckType      string                `json:"healthCheckType,omitempty"`
	IsCnameEnabled       bool                  `json:"isCnameEnabled"`
	IPAnchored           bool                  `json:"ipAnchored"`
	HealthReporting      string                `json:"healthReporting,omitempty"`
	CreationTime         string                `json:"creationTime,omitempty"`
	ModifiedBy           string                `json:"modifiedBy,omitempty"`
	ModifiedTime         string                `json:"modifiedTime,omitempty"`
	TCPPortRanges        []string              `json:"tcpPortRanges,omitempty"`
	UDPPortRanges        []string              `json:"udpPortRanges,omitempty"`
	TCPAppPortRange      []common.NetworkPorts `json:"tcpPortRange,omitempty"`
	UDPAppPortRange      []common.NetworkPorts `json:"udpPortRange,omitempty"`
	ClientlessApps       []ClientlessApps      `json:"clientlessApps,omitempty"`
	AppServerGroups      []AppServerGroups     `json:"serverGroups,omitempty"`
}

type ClientlessApps

type ClientlessApps struct {
	AllowOptions        bool   `json:"allowOptions"`
	AppID               string `json:"appId,omitempty"`
	ApplicationPort     string `json:"applicationPort,omitempty"`
	ApplicationProtocol string `json:"applicationProtocol,omitempty"`
	CertificateID       string `json:"certificateId,omitempty"`
	CertificateName     string `json:"certificateName,omitempty"`
	Cname               string `json:"cname,omitempty"`
	CreationTime        string `json:"creationTime,omitempty"`
	Description         string `json:"description,omitempty"`
	Domain              string `json:"domain,omitempty"`
	Enabled             bool   `json:"enabled"`
	Hidden              bool   `json:"hidden"`
	ID                  string `json:"id,omitempty"`
	LocalDomain         string `json:"localDomain,omitempty"`
	ModifiedBy          string `json:"modifiedBy,omitempty"`
	ModifiedTime        string `json:"modifiedTime,omitempty"`
	Name                string `json:"name,omitempty"`
	Path                string `json:"path,omitempty"`
	TrustUntrustedCert  bool   `json:"trustUntrustedCert"`
}

type Service

type Service struct {
	Client *client.Client
}

func New

func New(c *gozscaler.Config) *Service

func (*Service) Create

func (service *Service) Create(browserAccess BrowserAccess) (*BrowserAccess, *http.Response, error)

func (*Service) Delete

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

func (*Service) Get

func (service *Service) Get(id string) (*BrowserAccess, *http.Response, error)

func (*Service) GetByName

func (service *Service) GetByName(BaName string) (*BrowserAccess, *http.Response, error)

func (*Service) Update

func (service *Service) Update(id string, browserAccess *BrowserAccess) (*http.Response, error)

Jump to

Keyboard shortcuts

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