Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ForwardingProfile ¶
type ForwardingProfile struct { Active string `json:"active"` ConditionType int `json:"conditionType"` DnsSearchDomains string `json:"dnsSearchDomains"` DnsServers string `json:"dnsServers"` EnableLWFDriver string `json:"enableLWFDriver"` EnableSplitVpnTN int `json:"enableSplitVpnTN"` EvaluateTrustedNetwork int `json:"evaluateTrustedNetwork"` ForwardingProfileActions []ForwardingProfileAction `json:"forwardingProfileActions"` ForwardingProfileZpaActions []ForwardingProfileZpaAction `json:"forwardingProfileZpaActions"` Hostname string `json:"hostname"` ID IntOrString `json:"id"` Name string `json:"name"` PredefinedTnAll bool `json:"predefinedTnAll"` PredefinedTrustedNetworks bool `json:"predefinedTrustedNetworks"` ResolvedIpsForHostname string `json:"resolvedIpsForHostname"` SkipTrustedCriteriaMatch int `json:"skipTrustedCriteriaMatch"` TrustedDhcpServers string `json:"trustedDhcpServers"` TrustedEgressIps string `json:"trustedEgressIps"` TrustedGateways string `json:"trustedGateways"` TrustedNetworkIds []int `json:"trustedNetworkIds"` TrustedNetworks []string `json:"trustedNetworks"` TrustedSubnets string `json:"trustedSubnets"` }
func CreateForwardingProfile ¶
func CreateForwardingProfile(ctx context.Context, service *zscaler.Service, profile *ForwardingProfile) (*ForwardingProfile, error)
type ForwardingProfileAction ¶
type ForwardingProfileAction struct { DTLSTimeout int `json:"DTLSTimeout"` TLSTimeout int `json:"TLSTimeout"` UDPTimeout int `json:"UDPTimeout"` ActionType int `json:"actionType"` AllowTLSFallback int `json:"allowTLSFallback"` BlockUnreachableDomainsTraffic int `json:"blockUnreachableDomainsTraffic"` CustomPac string `json:"customPac"` DropIpv6IncludeTrafficInT2 int `json:"dropIpv6IncludeTrafficInT2"` DropIpv6Traffic int `json:"dropIpv6Traffic"` DropIpv6TrafficInIpv6Network int `json:"dropIpv6TrafficInIpv6Network"` EnablePacketTunnel int `json:"enablePacketTunnel"` LatencyBasedZenEnablement int `json:"latencyBasedZenEnablement"` MtuForZadapter int `json:"mtuForZadapter"` NetworkType int `json:"networkType"` PathMtuDiscovery int `json:"pathMtuDiscovery"` PrimaryTransport int `json:"primaryTransport"` RedirectWebTraffic int `json:"redirectWebTraffic"` SystemProxy int `json:"systemProxy"` SystemProxyData SystemProxyData `json:"systemProxyData"` Tunnel2FallbackType int `json:"tunnel2FallbackType"` UseTunnel2ForProxiedWebTraffic int `json:"useTunnel2ForProxiedWebTraffic"` ZenProbeInterval int `json:"zenProbeInterval"` ZenProbeSampleSize int `json:"zenProbeSampleSize"` ZenThresholdLimit int `json:"zenThresholdLimit"` }
type ForwardingProfileZpaAction ¶
type ForwardingProfileZpaAction struct { DTLSTimeout int `json:"DTLSTimeout"` TLSTimeout int `json:"TLSTimeout"` ActionType int `json:"actionType"` LatencyBasedServerMTEnablement int `json:"latencyBasedServerMTEnablement"` LatencyBasedZpaServerEnablement int `json:"latencyBasedZpaServerEnablement"` LbsZpaProbeInterval int `json:"lbsZpaProbeInterval"` LbsZpaProbeSampleSize int `json:"lbsZpaProbeSampleSize"` LbsZpaThresholdLimit int `json:"lbsZpaThresholdLimit"` MtuForZadapter int `json:"mtuForZadapter"` NetworkType int `json:"networkType"` PartnerInfo PartnerInfo `json:"partnerInfo"` PrimaryTransport int `json:"primaryTransport"` SendTrustedNetworkResultToZpa int `json:"sendTrustedNetworkResultToZpa"` }
type IntOrString ¶
type IntOrString int
func (*IntOrString) UnmarshalJSON ¶
func (i *IntOrString) UnmarshalJSON(data []byte) error
type PartnerInfo ¶
type SystemProxyData ¶
type SystemProxyData struct { BypassProxyForPrivateIP int `json:"bypassProxyForPrivateIP"` EnableAutoDetect int `json:"enableAutoDetect"` EnablePAC int `json:"enablePAC"` EnableProxyServer int `json:"enableProxyServer"` PacDataPath string `json:"pacDataPath"` PacURL string `json:"pacURL"` PerformGPUpdate int `json:"performGPUpdate"` ProxyAction int `json:"proxyAction"` ProxyServerAddress string `json:"proxyServerAddress"` ProxyServerPort string `json:"proxyServerPort"` }
Click to show internal directories.
Click to hide internal directories.