trusted_network

package
v3.0.12 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteTrustedNetwork

func DeleteTrustedNetwork(ctx context.Context, service *zscaler.Service, networkID int) (*http.Response, error)

Types

type TrustedNetwork

type TrustedNetwork struct {
	ID                     string `json:"id"`
	Active                 bool   `json:"active"`
	CompanyID              string `json:"companyId"`
	ConditionType          int    `json:"conditionType"`
	CreatedBy              string `json:"createdBy"`
	DnsSearchDomains       string `json:"dnsSearchDomains"`
	DnsServers             string `json:"dnsServers"`
	EditedBy               string `json:"editedBy"`
	Guid                   string `json:"guid"`
	Hostnames              string `json:"hostnames"`
	NetworkName            string `json:"networkName"`
	ResolvedIpsForHostname string `json:"resolvedIpsForHostname"`
	Ssids                  string `json:"ssids"`
	TrustedDhcpServers     string `json:"trustedDhcpServers"`
	TrustedEgressIps       string `json:"trustedEgressIps"`
	TrustedGateways        string `json:"trustedGateways"`
	TrustedSubnets         string `json:"trustedSubnets"`
}

func CreateTrustedNetwork

func CreateTrustedNetwork(ctx context.Context, service *zscaler.Service, network *TrustedNetwork) (*TrustedNetwork, error)

func UpdateTrustedNetwork

func UpdateTrustedNetwork(ctx context.Context, service *zscaler.Service, network *TrustedNetwork) (*TrustedNetwork, error)

type TrustedNetworksResponse

type TrustedNetworksResponse struct {
	TotalCount              int              `json:"totalCount"`
	TrustedNetworkContracts []TrustedNetwork `json:"trustedNetworkContracts"`
}

func GetMultipleTrustedNetworks

func GetMultipleTrustedNetworks(ctx context.Context, service *zscaler.Service, search, searchType string, page, pageSize *int) (*TrustedNetworksResponse, error)

Jump to

Keyboard shortcuts

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