applicationsegmentpra

package
v2.5.0 Latest Latest
Warning

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

Go to latest
Published: May 7, 2024 License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppSegmentPRA

type AppSegmentPRA 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"`
	PassiveHealthEnabled      bool                     `json:"passiveHealthEnabled"`
	SelectConnectorCloseToApp bool                     `json:"selectConnectorCloseToApp"`
	DoubleEncrypt             bool                     `json:"doubleEncrypt"`
	AppRecommendationId       string                   `json:"appRecommendationId,omitempty"`
	ConfigSpace               string                   `json:"configSpace,omitempty"`
	Applications              string                   `json:"applications,omitempty"`
	BypassType                string                   `json:"bypassType,omitempty"`
	MatchStyle                string                   `json:"matchStyle,omitempty"`
	BypassOnReauth            bool                     `json:"bypassOnReauth,omitempty"`
	FQDNDnsCheck              bool                     `json:"fqdnDnsCheck"`
	HealthCheckType           string                   `json:"healthCheckType,omitempty"`
	IsCnameEnabled            bool                     `json:"isCnameEnabled"`
	IpAnchored                bool                     `json:"ipAnchored"`
	HealthReporting           string                   `json:"healthReporting,omitempty"`
	IcmpAccessType            string                   `json:"icmpAccessType,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"`
	MicroTenantID             string                   `json:"microtenantId,omitempty"`
	MicroTenantName           string                   `json:"microtenantName,omitempty"`
	TCPAppPortRange           []common.NetworkPorts    `json:"tcpPortRange,omitempty"`
	UDPAppPortRange           []common.NetworkPorts    `json:"udpPortRange,omitempty"`
	TCPPortRanges             []string                 `json:"tcpPortRanges,omitempty"`
	UDPPortRanges             []string                 `json:"udpPortRanges,omitempty"`
	ServerGroups              []AppServerGroups        `json:"serverGroups,omitempty"`
	DefaultIdleTimeout        string                   `json:"defaultIdleTimeout,omitempty"`
	DefaultMaxAge             string                   `json:"defaultMaxAge,omitempty"`
	PRAApps                   []PRAApps                `json:"praApps"`
	CommonAppsDto             CommonAppsDto            `json:"commonAppsDto,omitempty"`
	SharedMicrotenantDetails  SharedMicrotenantDetails `json:"sharedMicrotenantDetails,omitempty"`
}

type AppServerGroups

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

type AppsConfig

type AppsConfig 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,omitempty"`
	AppTypes            []string `json:"appTypes,omitempty"`
	ApplicationPort     string   `json:"applicationPort,omitempty"`
	ApplicationProtocol string   `json:"applicationProtocol,omitempty"`
	Cname               string   `json:"cname,omitempty"`
	ConnectionSecurity  string   `json:"connectionSecurity,omitempty"`
	Domain              string   `json:"domain,omitempty"`
	Hidden              bool     `json:"hidden,omitempty"`
	LocalDomain         string   `json:"localDomain,omitempty"`
	Portal              bool     `json:"portal,omitempty"`
}

type CommonAppsDto

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

type PRAApps added in v2.4.0

type PRAApps struct {
	ID                  string `json:"id,omitempty"`
	Name                string `json:"name,omitempty"`
	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"`
	ConnectionSecurity  string `json:"connectionSecurity,omitempty"`
	Hidden              bool   `json:"hidden"`
	Portal              bool   `json:"portal"`
	Description         string `json:"description,omitempty"`
	Domain              string `json:"domain,omitempty"`
	Enabled             bool   `json:"enabled"`
	MicroTenantID       string `json:"microtenantId,omitempty"`
	MicroTenantName     string `json:"microtenantName,omitempty"`
}

type Service

type Service struct {
	Client *zpa.Client
	// contains filtered or unexported fields
}

func New

func New(c *zpa.Client) *Service

func (*Service) Create

func (service *Service) Create(appSegmentPra AppSegmentPRA) (*AppSegmentPRA, *http.Response, error)

func (*Service) Delete

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

func (*Service) Get

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

func (*Service) GetAll

func (service *Service) GetAll() ([]AppSegmentPRA, *http.Response, error)

func (*Service) GetByApplicationType added in v2.4.0

func (service *Service) GetByApplicationType(applicationType string, expandAll bool) ([]AppSegmentPRA, *http.Response, error)

func (*Service) GetByName

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

func (*Service) Update

func (service *Service) Update(id string, appSegmentPra *AppSegmentPRA) (*http.Response, error)

func (*Service) WithMicroTenant

func (service *Service) WithMicroTenant(microTenantID string) *Service

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