applicationsegmentinspection

package
v3.0.4 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2024 License: MIT Imports: 7 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, id string) (*http.Response, error)

func Update

func Update(ctx context.Context, service *zscaler.Service, id string, appSegmentInspection *AppSegmentInspection) (*http.Response, error)

Types

type AppSegmentInspection

type AppSegmentInspection struct {
	ID                        string                    `json:"id,omitempty"`
	SegmentGroupID            string                    `json:"segmentGroupId,omitempty"`
	SegmentGroupName          string                    `json:"segmentGroupName,omitempty"`
	BypassType                string                    `json:"bypassType,omitempty"`
	BypassOnReauth            bool                      `json:"bypassOnReauth,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"`
	AdpEnabled                bool                      `json:"adpEnabled,omitempty"`
	AppRecommendationId       string                    `json:"appRecommendationId,omitempty"`
	AutoAppProtectEnabled     bool                      `json:"autoAppProtectEnabled,omitempty"`
	ICMPAccessType            string                    `json:"icmpAccessType,omitempty"`
	PassiveHealthEnabled      bool                      `json:"passiveHealthEnabled,omitempty"`
	FQDNDnsCheck              bool                      `json:"fqdnDnsCheck"`
	MatchStyle                string                    `json:"matchStyle,omitempty"`
	SelectConnectorCloseToApp bool                      `json:"selectConnectorCloseToApp"`
	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"`
	TCPKeepAlive              string                    `json:"tcpKeepAlive,omitempty"`
	IsIncompleteDRConfig      bool                      `json:"isIncompleteDRConfig"`
	UseInDrMode               bool                      `json:"useInDrMode"`
	MicroTenantID             string                    `json:"microtenantId,omitempty"`
	MicroTenantName           string                    `json:"microtenantName,omitempty"`
	TCPPortRanges             []string                  `json:"tcpPortRanges,omitempty"`
	UDPPortRanges             []string                  `json:"udpPortRanges,omitempty"`
	TCPAppPortRange           []common.NetworkPorts     `json:"tcpPortRange,omitempty"`
	UDPAppPortRange           []common.NetworkPorts     `json:"udpPortRange,omitempty"`
	TCPProtocols              []string                  `json:"tcpProtocols"`
	UDPProtocols              []string                  `json:"udpProtocols,omitempty"`
	InspectionAppDto          []InspectionAppDto        `json:"inspectionApps,omitempty"`
	CommonAppsDto             CommonAppsDto             `json:"commonAppsDto,omitempty"`
	AppServerGroups           []servergroup.ServerGroup `json:"serverGroups,omitempty"`
	SharedMicrotenantDetails  SharedMicrotenantDetails  `json:"sharedMicrotenantDetails,omitempty"`
}

func Create

func Create(ctx context.Context, service *zscaler.Service, appSegmentInspection AppSegmentInspection) (*AppSegmentInspection, *http.Response, error)

func Get

func GetAll

func GetByName

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

type AppServerGroups

type AppServerGroups struct {
	ID string `json:"id"`
}

type AppsConfig

type AppsConfig struct {
	ID                  string   `json:"id,omitempty"`
	AppID               string   `json:"appId,omitempty"`
	InspectAppID        string   `json:"inspectAppId"`
	Name                string   `json:"name,omitempty"`
	Description         string   `json:"description,omitempty"`
	Enabled             bool     `json:"enabled"`
	AdpEnabled          bool     `json:"adpEnabled"`
	AllowOptions        bool     `json:"allowOptions"`
	AppTypes            []string `json:"appTypes,omitempty"`
	ApplicationPort     string   `json:"applicationPort,omitempty"`
	ApplicationProtocol string   `json:"applicationProtocol,omitempty"`
	Protocols           []string `json:"protocols,omitempty"`
	CertificateID       string   `json:"certificateId,omitempty"`
	CertificateName     string   `json:"certificateName,omitempty"`
	Cname               string   `json:"cname,omitempty"`
	Domain              string   `json:"domain,omitempty"`
	Hidden              bool     `json:"hidden"`
	TrustUntrustedCert  bool     `json:"trustUntrustedCert"`
	LocalDomain         string   `json:"localDomain,omitempty"`
	Portal              bool     `json:"portal"`
}

type CommonAppsDto

type CommonAppsDto struct {
	AppsConfig         []AppsConfig `json:"appsConfig,omitempty"`
	DeletedInspectApps []string     `json:"deletedInspectApps,omitempty"`
}

type InspectionAppDto

type InspectionAppDto struct {
	ID                  string   `json:"id,omitempty"`
	AppID               string   `json:"appId,omitempty"`
	Name                string   `json:"name,omitempty"`
	Description         string   `json:"description,omitempty"`
	Enabled             bool     `json:"enabled"`
	ApplicationPort     string   `json:"applicationPort,omitempty"`
	ApplicationProtocol string   `json:"applicationProtocol,omitempty"`
	CertificateID       string   `json:"certificateId,omitempty"`
	CertificateName     string   `json:"certificateName,omitempty"`
	Domain              string   `json:"domain,omitempty"`
	Protocols           []string `json:"protocols,omitempty"`
	TrustUntrustedCert  bool     `json:"trustUntrustedCert"`
	MicroTenantID       string   `json:"microtenantId,omitempty"`
	MicroTenantName     string   `json:"microtenantName,omitempty"`
}

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"`
}

Jump to

Keyboard shortcuts

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