citrixadc

package
v1.45.0 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2025 License: Apache-2.0 Imports: 80 Imported by: 0

Documentation

Overview

Copyright 2016 Citrix Systems, Inc

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Provider

func Provider() terraform.ResourceProvider

Types

type Lbparameter added in v1.2.0

type Lbparameter struct {
	Adccookieattributewarningmsg  string      `json:"adccookieattributewarningmsg,omitempty"`
	Allowboundsvcremoval          string      `json:"allowboundsvcremoval,omitempty"`
	Builtin                       interface{} `json:"builtin,omitempty"`
	Computedadccookieattribute    string      `json:"computedadccookieattribute,omitempty"`
	Consolidatedlconn             string      `json:"consolidatedlconn,omitempty"`
	Cookiepassphrase              string      `json:"cookiepassphrase,omitempty"`
	Dbsttl                        int         `json:"dbsttl,omitempty"`
	Dropmqttjumbomessage          string      `json:"dropmqttjumbomessage,omitempty"`
	Feature                       string      `json:"feature,omitempty"`
	Httponlycookieflag            string      `json:"httponlycookieflag,omitempty"`
	Literaladccookieattribute     string      `json:"literaladccookieattribute,omitempty"`
	Maxpipelinenat                int         `json:"maxpipelinenat,omitempty"`
	Monitorconnectionclose        string      `json:"monitorconnectionclose,omitempty"`
	Monitorskipmaxclient          string      `json:"monitorskipmaxclient,omitempty"`
	Preferdirectroute             string      `json:"preferdirectroute,omitempty"`
	Retainservicestate            string      `json:"retainservicestate,omitempty"`
	Sessionsthreshold             int         `json:"sessionsthreshold,omitempty"`
	Startuprrfactor               int         `json:"startuprrfactor,omitempty"`
	Storemqttclientidandusername  string      `json:"storemqttclientidandusername,omitempty"`
	Useencryptedpersistencecookie string      `json:"useencryptedpersistencecookie,omitempty"`
	Useportforhashlb              string      `json:"useportforhashlb,omitempty"`
	Usesecuredpersistencecookie   string      `json:"usesecuredpersistencecookie,omitempty"`
	Vserverspecificmac            string      `json:"vserverspecificmac,omitempty"`
	Lbhashalgorithm               string      `json:"lbhashalgorithm,omitempty"`
	Lbhashfingers                 int         `json:"lbhashfingers,omitempty"`
}

type Lbvserver added in v1.45.0

type Lbvserver struct {
	Adfsproxyprofile                   string `json:"adfsproxyprofile,omitempty"`
	Apiprofile                         string `json:"apiprofile,omitempty"`
	Appflowlog                         string `json:"appflowlog,omitempty"`
	Authentication                     string `json:"authentication,omitempty"`
	Authenticationhost                 string `json:"authenticationhost,omitempty"`
	Authn401                           string `json:"authn401,omitempty"`
	Authnprofile                       string `json:"authnprofile,omitempty"`
	Authnvsname                        string `json:"authnvsname,omitempty"`
	Backuplbmethod                     string `json:"backuplbmethod,omitempty"`
	Backuppersistencetimeout           int    `json:"backuppersistencetimeout,omitempty"`
	Backupvserver                      string `json:"backupvserver,omitempty"`
	Bypassaaaa                         string `json:"bypassaaaa,omitempty"`
	Cacheable                          string `json:"cacheable,omitempty"`
	Clttimeout                         int    `json:"clttimeout,omitempty"`
	Comment                            string `json:"comment,omitempty"`
	Connfailover                       string `json:"connfailover,omitempty"`
	Cookiename                         string `json:"cookiename,omitempty"`
	Datalength                         int    `json:"datalength,omitempty"`
	Dataoffset                         int    `json:"dataoffset,omitempty"`
	Dbprofilename                      string `json:"dbprofilename,omitempty"`
	Dbslb                              string `json:"dbslb,omitempty"`
	Disableprimaryondown               string `json:"disableprimaryondown,omitempty"`
	Dns64                              string `json:"dns64,omitempty"`
	Dnsoverhttps                       string `json:"dnsoverhttps,omitempty"`
	Dnsprofilename                     string `json:"dnsprofilename,omitempty"`
	Downstateflush                     string `json:"downstateflush,omitempty"`
	Hashlength                         int    `json:"hashlength,omitempty"`
	Healththreshold                    int    `json:"healththreshold,omitempty"`
	Httpprofilename                    string `json:"httpprofilename,omitempty"`
	Httpsredirecturl                   string `json:"httpsredirecturl,omitempty"`
	Icmpvsrresponse                    string `json:"icmpvsrresponse,omitempty"`
	Insertvserveripport                string `json:"insertvserveripport,omitempty"`
	Ipmask                             string `json:"ipmask,omitempty"`
	Ippattern                          string `json:"ippattern,omitempty"`
	Ipset                              string `json:"ipset,omitempty"`
	Ipv46                              string `json:"ipv46,omitempty"`
	L2conn                             string `json:"l2conn,omitempty"`
	Lbmethod                           string `json:"lbmethod,omitempty"`
	Lbprofilename                      string `json:"lbprofilename,omitempty"`
	Listenpolicy                       string `json:"listenpolicy,omitempty"`
	Listenpriority                     int    `json:"listenpriority,omitempty"`
	M                                  string `json:"m,omitempty"`
	Macmoderetainvlan                  string `json:"macmoderetainvlan,omitempty"`
	Maxautoscalemembers                int    `json:"maxautoscalemembers,omitempty"`
	Minautoscalemembers                int    `json:"minautoscalemembers,omitempty"`
	Mssqlserverversion                 string `json:"mssqlserverversion,omitempty"`
	Mysqlcharacterset                  int    `json:"mysqlcharacterset,omitempty"`
	Mysqlprotocolversion               int    `json:"mysqlprotocolversion,omitempty"`
	Mysqlservercapabilities            int    `json:"mysqlservercapabilities,omitempty"`
	Mysqlserverversion                 string `json:"mysqlserverversion,omitempty"`
	Name                               string `json:"name,omitempty"`
	Netmask                            string `json:"netmask,omitempty"`
	Netprofile                         string `json:"netprofile,omitempty"`
	Newname                            string `json:"newname,omitempty"`
	Newservicerequest                  int    `json:"newservicerequest,omitempty"`
	Newservicerequestincrementinterval int    `json:"newservicerequestincrementinterval,omitempty"`
	Newservicerequestunit              string `json:"newservicerequestunit,omitempty"`
	Oracleserverversion                string `json:"oracleserverversion,omitempty"`
	Order                              int    `json:"order,omitempty"`
	Orderthreshold                     int    `json:"orderthreshold,omitempty"`
	Persistavpno                       []int  `json:"persistavpno,omitempty"`
	Persistencebackup                  string `json:"persistencebackup,omitempty"`
	Persistencetype                    string `json:"persistencetype,omitempty"`
	Persistmask                        string `json:"persistmask,omitempty"`
	Port                               int    `json:"port,omitempty"`
	Probeport                          int    `json:"probeport,omitempty"`
	Probeprotocol                      string `json:"probeprotocol,omitempty"`
	Probesuccessresponsecode           string `json:"probesuccessresponsecode,omitempty"`
	Processlocal                       string `json:"processlocal,omitempty"`
	Push                               string `json:"push,omitempty"`
	Pushlabel                          string `json:"pushlabel,omitempty"`
	Pushmulticlients                   string `json:"pushmulticlients,omitempty"`
	Pushvserver                        string `json:"pushvserver,omitempty"`
	Quicbridgeprofilename              string `json:"quicbridgeprofilename,omitempty"`
	Quicprofilename                    string `json:"quicprofilename,omitempty"`
	Range                              int    `json:"range,omitempty"`
	Recursionavailable                 string `json:"recursionavailable,omitempty"`
	Redirectfromport                   int    `json:"redirectfromport,omitempty"`
	Redirectportrewrite                string `json:"redirectportrewrite,omitempty"`
	Redirurl                           string `json:"redirurl,omitempty"`
	Redirurlflags                      bool   `json:"redirurlflags,omitempty"`
	Resrule                            string `json:"resrule,omitempty"`
	Retainconnectionsoncluster         string `json:"retainconnectionsoncluster,omitempty"`
	Rhistate                           string `json:"rhistate,omitempty"`
	Rtspnat                            string `json:"rtspnat,omitempty"`
	Rule                               string `json:"rule,omitempty"`
	Servicename                        string `json:"servicename,omitempty"`
	Servicetype                        string `json:"servicetype,omitempty"`
	Sessionless                        string `json:"sessionless,omitempty"`
	Skippersistency                    string `json:"skippersistency,omitempty"`
	Sobackupaction                     string `json:"sobackupaction,omitempty"`
	Somethod                           string `json:"somethod,omitempty"`
	Sopersistence                      string `json:"sopersistence,omitempty"`
	Sopersistencetimeout               int    `json:"sopersistencetimeout,omitempty"`
	Sothreshold                        int    `json:"sothreshold,omitempty"`
	State                              string `json:"state,omitempty"`
	Tcpprobeport                       int    `json:"tcpprobeport,omitempty"`
	Tcpprofilename                     string `json:"tcpprofilename,omitempty"`
	Td                                 int    `json:"td,omitempty"`
	Timeout                            int    `json:"timeout"` // 0 is a valid value for timeout, hence removing omitempty
	Toggleorder                        string `json:"toggleorder,omitempty"`
	Tosid                              int    `json:"tosid,omitempty"`
	Trofspersistence                   string `json:"trofspersistence,omitempty"`
	V6netmasklen                       int    `json:"v6netmasklen,omitempty"`
	V6persistmasklen                   int    `json:"v6persistmasklen,omitempty"`
	Vipheader                          string `json:"vipheader,omitempty"`
	Weight                             int    `json:"weight,omitempty"`
}

type NetScalerNitroClient

type NetScalerNitroClient struct {
	Username string
	Password string
	Endpoint string
	// contains filtered or unexported fields
}

type Nstcpparam added in v0.12.45

type Nstcpparam struct {
	Ackonpush                           string `json:"ackonpush,omitempty"`
	Autosyncookietimeout                int    `json:"autosyncookietimeout,omitempty"`
	Connflushifnomem                    string `json:"connflushifnomem,omitempty"`
	Connflushthres                      int    `json:"connflushthres,omitempty"`
	Delayedack                          int    `json:"delayedack,omitempty"`
	Downstaterst                        string `json:"downstaterst,omitempty"`
	Feature                             string `json:"feature,omitempty"`
	Initialcwnd                         int    `json:"initialcwnd,omitempty"`
	Kaprobeupdatelastactivity           string `json:"kaprobeupdatelastactivity,omitempty"`
	Learnvsvrmss                        string `json:"learnvsvrmss,omitempty"`
	Limitedpersist                      string `json:"limitedpersist,omitempty"`
	Maxburst                            int    `json:"maxburst,omitempty"`
	Maxdynserverprobes                  int    `json:"maxdynserverprobes,omitempty"`
	Maxpktpermss                        string `json:"maxpktpermss,omitempty"` // was int
	Maxsynackretx                       int    `json:"maxsynackretx,omitempty"`
	Maxsynhold                          int    `json:"maxsynhold,omitempty"`
	Maxsynholdperprobe                  int    `json:"maxsynholdperprobe,omitempty"`
	Maxtimewaitconn                     int    `json:"maxtimewaitconn,omitempty"`
	Minrto                              int    `json:"minrto,omitempty"`
	Mptcpchecksum                       string `json:"mptcpchecksum,omitempty"`
	Mptcpclosemptcpsessiononlastsfclose string `json:"mptcpclosemptcpsessiononlastsfclose,omitempty"`
	Mptcpconcloseonpassivesf            string `json:"mptcpconcloseonpassivesf,omitempty"`
	Mptcpimmediatesfcloseonfin          string `json:"mptcpimmediatesfcloseonfin,omitempty"`
	Mptcpmaxpendingsf                   string `json:"mptcpmaxpendingsf,omitempty"` // was int
	Mptcpmaxsf                          int    `json:"mptcpmaxsf,omitempty"`
	Mptcppendingjointhreshold           string `json:"mptcppendingjointhreshold,omitempty"` // was int
	Mptcprtostoswitchsf                 int    `json:"mptcprtostoswitchsf,omitempty"`
	Mptcpsfreplacetimeout               string `json:"mptcpsfreplacetimeout,omitempty"` // was int
	Mptcpsftimeout                      string `json:"mptcpsftimeout,omitempty"`        // was int
	Mptcpusebackupondss                 string `json:"mptcpusebackupondss,omitempty"`
	Msslearndelay                       int    `json:"msslearndelay,omitempty"`
	Msslearninterval                    int    `json:"msslearninterval,omitempty"`
	Nagle                               string `json:"nagle,omitempty"`
	Oooqsize                            string `json:"oooqsize,omitempty"` // was int
	Pktperretx                          int    `json:"pktperretx,omitempty"`
	Recvbuffsize                        int    `json:"recvbuffsize,omitempty"`
	Sack                                string `json:"sack,omitempty"`
	Slowstartincr                       int    `json:"slowstartincr,omitempty"`
	Synattackdetection                  string `json:"synattackdetection,omitempty"`
	Synholdfastgiveup                   int    `json:"synholdfastgiveup,omitempty"`
	Tcpfastopencookietimeout            string `json:"tcpfastopencookietimeout,omitempty"` // was int
	Tcpfintimeout                       int    `json:"tcpfintimeout,omitempty"`
	Tcpmaxretries                       int    `json:"tcpmaxretries,omitempty"`
	Ws                                  string `json:"ws,omitempty"`
	Wsval                               string `json:"wsval,omitempty"` // was int
}

We need to convert fields that are int and accept zero values to string for correct operation

type Nsvpxparam added in v0.12.45

type Nsvpxparam struct {
	Cpuyield        string `json:"cpuyield,omitempty"`
	Masterclockcpu1 string `json:"masterclockcpu1,omitempty"`
	Ownernode       string `json:"ownernode,omitempty"`
}

We do not use the go-nitro struct because we need the Ownernode to be string so that it correctly behaves for 0 values The problem is that if it is int there is no way to avoid sending ownernode param to VPX which will fail if the NSIP is that of a standalone VPX.

Source Files

Jump to

Keyboard shortcuts

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