applicationsegment

package
v3.0.11 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2025 License: MIT Imports: 9 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, appID string) (*http.Response, error)

func Update

func Update(ctx context.Context, service *zscaler.Service, appID string, appSegmentRequest ApplicationSegmentResource) (*http.Response, error)

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"`
	ExtranetEnabled           bool                                             `json:"extranetEnabled"`
	APIProtectionEnabled      bool                                             `json:"apiProtectionEnabled"`
	AutoAppProtectEnabled     bool                                             `json:"autoAppProtectEnabled"`
	ADPEnabled                bool                                             `json:"adpEnabled"`
	PassiveHealthEnabled      bool                                             `json:"passiveHealthEnabled"`
	DoubleEncrypt             bool                                             `json:"doubleEncrypt"`
	ConfigSpace               string                                           `json:"configSpace,omitempty"`
	Applications              string                                           `json:"applications,omitempty"`
	BypassType                string                                           `json:"bypassType,omitempty"`
	BypassOnReauth            bool                                             `json:"bypassOnReauth,omitempty"`
	HealthCheckType           string                                           `json:"healthCheckType,omitempty"`
	IsCnameEnabled            bool                                             `json:"isCnameEnabled"`
	IpAnchored                bool                                             `json:"ipAnchored"`
	FQDNDnsCheck              bool                                             `json:"fqdnDnsCheck"`
	HealthReporting           string                                           `json:"healthReporting,omitempty"`
	SelectConnectorCloseToApp bool                                             `json:"selectConnectorCloseToApp"`
	IcmpAccessType            string                                           `json:"icmpAccessType,omitempty"`
	AppRecommendationId       string                                           `json:"appRecommendationId,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"`
	TCPKeepAlive              string                                           `json:"tcpKeepAlive,omitempty"`
	IsIncompleteDRConfig      bool                                             `json:"isIncompleteDRConfig"`
	UseInDrMode               bool                                             `json:"useInDrMode"`
	InspectTrafficWithZia     bool                                             `json:"inspectTrafficWithZia"`
	WeightedLoadBalancing     bool                                             `json:"weightedLoadBalancing"`
	MicroTenantID             string                                           `json:"microtenantId,omitempty"`
	MicroTenantName           string                                           `json:"microtenantName,omitempty"`
	MatchStyle                string                                           `json:"matchStyle,omitempty"`
	TCPPortRanges             []string                                         `json:"tcpPortRanges"`
	UDPPortRanges             []string                                         `json:"udpPortRanges"`
	TCPAppPortRange           []common.NetworkPorts                            `json:"tcpPortRange,omitempty"`
	UDPAppPortRange           []common.NetworkPorts                            `json:"udpPortRange,omitempty"`
	ServerGroups              []servergroup.ServerGroup                        `json:"serverGroups"`
	DefaultIdleTimeout        string                                           `json:"defaultIdleTimeout,omitempty"`
	DefaultMaxAge             string                                           `json:"defaultMaxAge,omitempty"`
	CommonAppsDto             applicationsegmentpra.CommonAppsDto              `json:"commonAppsDto,omitempty"`
	ClientlessApps            []applicationsegmentbrowseraccess.ClientlessApps `json:"clientlessApps,omitempty"`
	ShareToMicrotenants       []string                                         `json:"shareToMicrotenants"`
	SharedMicrotenantDetails  SharedMicrotenantDetails                         `json:"sharedMicrotenantDetails,omitempty"`
	ZPNERID                   ZPNERID                                          `json:"zpnErId"`
}

func Get

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

func GetByName

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

type SharedFromMicrotenant

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

type SharedMicrotenantDetails

type SharedMicrotenantDetails struct {
	SharedFromMicrotenant SharedFromMicrotenant `json:"sharedFromMicrotenant,omitempty"`
	SharedToMicrotenants  []SharedToMicrotenant `json:"sharedToMicrotenants,omitempty"`
}

type SharedToMicrotenant

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

type ZPNERID added in v3.0.2

type ZPNERID struct {
	ID              string `json:"id,omitempty"`
	CreationTime    string `json:"creationTime,omitempty"`
	ModifiedBy      string `json:"modifiedBy,omitempty"`
	ModifiedTime    string `json:"modifiedTime,omitempty"`
	ZIACloud        string `json:"ziaCloud,omitempty"`
	ZIAErID         string `json:"ziaErId,omitempty"`
	ZIAErName       string `json:"ziaErName,omitempty"`
	ZIAModifiedTime string `json:"ziaModifiedTime,omitempty"`
	ZIAOrgID        string `json:"ziaOrgId,omitempty"`
}

Jump to

Keyboard shortcuts

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