basic

package
v0.0.0-...-011d10c Latest Latest
Warning

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

Go to latest
Published: May 8, 2024 License: Apache-2.0 Imports: 0 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dbsmonitors

type Dbsmonitors struct {
}

* * Configuration for DB monitors resource.

type Extendedmemoryparam

type Extendedmemoryparam struct {
	/**
	* Amount of Citrix ADC memory to reserve for the memory used by LSN and Subscriber Session Store feature, in multiples of 2MB.
		Note: If you later reduce the value of this parameter, the amount of active memory is not reduced. Changing the configured memory limit can only increase the amount of active memory.
	*/
	Memlimit int `json:"memlimit,omitempty"`

	Memlimitactive    string `json:"memlimitactive,omitempty"`
	Maxmemlimit       string `json:"maxmemlimit,omitempty"`
	Minrequiredmemory string `json:"minrequiredmemory,omitempty"`
}

* * Configuration for Parameter for extended memory used by LSN and Subscriber Store resource.

type Failedmembers

type Failedmembers struct {
	/**
	* IP Address.
	 */
	Ip string `json:"ip,omitempty"`
	/**
	* The port number of the service to be enabled.
	 */
	Port int `json:"port,omitempty"`
}

type Location

type Location struct {
	/**
	* First IP address in the range, in dotted decimal notation.
	 */
	Ipfrom string `json:"ipfrom,omitempty"`
	/**
	* Last IP address in the range, in dotted decimal notation.
	 */
	Ipto string `json:"ipto,omitempty"`
	/**
	* String of qualifiers, in dotted notation, describing the geographical location of the IP address range. Each qualifier is more specific than the one that precedes it, as in continent.country.region.city.isp.organization. For example, "NA.US.CA.San Jose.ATT.citrix".
		Note: A qualifier that includes a dot (.) or space ( ) must be enclosed in double quotation marks.
	*/
	Preferredlocation string `json:"preferredlocation,omitempty"`
	/**
	* Numerical value, in degrees, specifying the longitude of the geographical location of the IP address-range.
		Note: Longitude and latitude parameters are used for selecting a service with the static proximity GSLB method. If they are not specified, selection is based on the qualifiers specified for the location.
	*/
	Longitude int `json:"longitude,omitempty"`
	/**
	* Numerical value, in degrees, specifying the latitude of the geographical location of the IP address-range.
		Note: Longitude and latitude parameters are used for selecting a service with the static proximity GSLB method. If they are not specified, selection is based on the qualifiers specified for the location.
	*/
	Latitude int `json:"latitude,omitempty"`

	Q1label string `json:"q1label,omitempty"`
	Q2label string `json:"q2label,omitempty"`
	Q3label string `json:"q3label,omitempty"`
	Q4label string `json:"q4label,omitempty"`
	Q5label string `json:"q5label,omitempty"`
	Q6label string `json:"q6label,omitempty"`
}

* * Configuration for location resource.

type Locationdata

type Locationdata struct {
}

* * Configuration for location data resource.

type Locationfile

type Locationfile struct {
	/**
	* Name of the location file, with or without absolute path. If the path is not included, the default path (/var/netscaler/locdb) is assumed. In a high availability setup, the static database must be stored in the same location on both Citrix ADCs.
	 */
	Locationfile string `json:"Locationfile,omitempty"`
	/**
	* Format of the location file. Required for the Citrix ADC to identify how to read the location file.
	 */
	Format string `json:"format,omitempty"`
	/**
	* URL \(protocol, host, path, and file name\) from where the location file will be imported.
		NOTE: The import fails if the object to be imported is on an HTTPS server that requires client certificate authentication for access.
	*/
	Src string `json:"src,omitempty"`
}

* * Configuration for location file resource.

type Locationfile6

type Locationfile6 struct {
	/**
	* Name of the IPv6 location file, with or without absolute path. If the path is not included, the default path (/var/netscaler/locdb) is assumed. In a high availability setup, the static database must be stored in the same location on both Citrix ADCs.
	 */
	Locationfile string `json:"Locationfile,omitempty"`
	/**
	* Format of the IPv6 location file. Required for the Citrix ADC to identify how to read the location file.
	 */
	Format string `json:"format,omitempty"`
	/**
	* URL \(protocol, host, path, and file name\) from where the location file will be imported.
		NOTE: The import fails if the object to be imported is on an HTTPS server that requires client certificate authentication for access.
	*/
	Src string `json:"src,omitempty"`
}

* * Configuration for location file6 resource.

type Locationparameter

type Locationparameter struct {
	/**
	* Context for describing locations. In geographic context, qualifier labels are assigned by default in the following sequence: Continent.Country.Region.City.ISP.Organization. In custom context, the qualifiers labels can have any meaning that you designate.
	 */
	Context string `json:"context,omitempty"`
	/**
	* Label specifying the meaning of the first qualifier. Can be specified for custom context only.
	 */
	Q1label string `json:"q1label,omitempty"`
	/**
	* Label specifying the meaning of the second qualifier. Can be specified for custom context only.
	 */
	Q2label string `json:"q2label,omitempty"`
	/**
	* Label specifying the meaning of the third qualifier. Can be specified for custom context only.
	 */
	Q3label string `json:"q3label,omitempty"`
	/**
	* Label specifying the meaning of the fourth qualifier. Can be specified for custom context only.
	 */
	Q4label string `json:"q4label,omitempty"`
	/**
	* Label specifying the meaning of the fifth qualifier. Can be specified for custom context only.
	 */
	Q5label string `json:"q5label,omitempty"`
	/**
	* Label specifying the meaning of the sixth qualifier. Can be specified for custom context only.
	 */
	Q6label string `json:"q6label,omitempty"`
	/**
	* Indicates whether wildcard qualifiers should match any other
		qualifier including non-wildcard while evaluating
		location based expressions.
		Possible values: Yes, No, Expression.
		Yes - Wildcard qualifiers match any other qualifiers.
		No  - Wildcard qualifiers do not match non-wildcard
		qualifiers, but match other wildcard qualifiers.
		Expression - Wildcard qualifiers in an expression
		match any qualifier in an LDNS location,
		wildcard qualifiers in the LDNS location do not match
		non-wildcard qualifiers in an expression
	*/
	Matchwildcardtoany string `json:"matchwildcardtoany,omitempty"`

	Locationfile  string `json:"Locationfile,omitempty"`
	Format        string `json:"format,omitempty"`
	Custom        string `json:"custom,omitempty"`
	Static        string `json:"Static,omitempty"`
	Lines         string `json:"lines,omitempty"`
	Errors        string `json:"errors,omitempty"`
	Warnings      string `json:"warnings,omitempty"`
	Entries       string `json:"entries,omitempty"`
	Locationfile6 string `json:"locationfile6,omitempty"`
	Format6       string `json:"format6,omitempty"`
	Custom6       string `json:"custom6,omitempty"`
	Static6       string `json:"static6,omitempty"`
	Lines6        string `json:"lines6,omitempty"`
	Errors6       string `json:"errors6,omitempty"`
	Warnings6     string `json:"warnings6,omitempty"`
	Entries6      string `json:"entries6,omitempty"`
	Flags         string `json:"flags,omitempty"`
	Status        string `json:"status,omitempty"`
	Databasemode  string `json:"databasemode,omitempty"`
	Flushing      string `json:"flushing,omitempty"`
	Loading       string `json:"loading,omitempty"`
	Builtin       string `json:"builtin,omitempty"`
	Feature       string `json:"feature,omitempty"`
}

* * Configuration for location parameter resource.

type Members

type Members struct {
	/**
	* IP Address.
	 */
	Ip string `json:"ip,omitempty"`
	/**
	* The port number of the service to be enabled.
	 */
	Port   int `json:"port,omitempty"`
	Weight int `json:"weight,omitempty"`
	/**
	* Initial state of the service group.
	 */
	State string `json:"state,omitempty"`
}

type Nstrace

type Nstrace struct {
	/**
	* Number of files to be generated in cycle.
	 */
	Nf int `json:"nf,omitempty"`
	/**
	* Time per file (sec).
	 */
	Time int `json:"time,omitempty"`
	/**
	* Size of the captured data. Set 0 for full packet trace.
	 */
	Size int `json:"size,omitempty"`
	/**
	* Capturing mode for trace. Mode can be any of the following values or combination of these values:
		RX          Received packets before NIC pipelining (Filter does not work when RX capturing mode is ON)
		NEW_RX      Received packets after NIC pipelining
		TX          Transmitted packets
		TXB         Packets buffered for transmission
		IPV6        Translated IPv6 packets
		C2C         Capture C2C message
		NS_FR_TX    TX/TXB packets are not captured in flow receiver.
		MPTCP       MPTCP master flow
		HTTP_QUIC   HTTP-over-QUIC stream data and stream events
		Default mode: NEW_RX TXB
	*/
	Mode []string `json:"mode,omitempty"`
	/**
	* Use separate trace files for each interface. Works only with cap format.
	 */
	Pernic string `json:"pernic,omitempty"`
	/**
	* Name of the trace file.
	 */
	Filename string `json:"filename,omitempty"`
	/**
	* ID for the trace file name for uniqueness. Should be used only with -name option.
	 */
	Fileid string `json:"fileid,omitempty"`
	/**
	* Filter expression for nstrace. Maximum length of filter is 255 and it can be of following format:
		<expression> [<relop> <expression>]
		<relop> = ( && | || )
		<expression> =:
		CONNECTION.<qualifier>.<qualifier-method>.(<qualifier-value>)
		<qualifier> = SRCIP
		<qualifier-method> = [ EQ | NE ]
		<qualifier-value>  = A valid IPv4 address.
		example = CONNECTION.SRCIP.EQ(127.0.0.1)
		<qualifier> = DSTIP
		<qualifier-method> = [ EQ | NE ]
		<qualifier-value>  = A valid IPv4 address.
		example = CONNECTION.DSTIP.EQ(127.0.0.1)
		<qualifier> = IP
		<qualifier-method> = [ EQ | NE ]
		<qualifier-value>  = A valid IPv4 address.
		example = CONNECTION.IP.EQ(127.0.0.1)
		<qualifier> = SRCIPv6
		<qualifier-method> = [ EQ | NE ]
		<qualifier-value>  = A valid IPv6 address.
		example = CONNECTION.SRCIPv6.EQ(2001:db8:0:0:1::1)
		<qualifier> = DSTIPv6
		<qualifier-method> = [ EQ | NE ]
		<qualifier-value>  = A valid IPv6 address.
		example = CONNECTION.DSTIPv6.EQ(2001:db8:0:0:1::1)
		<qualifier> = IPv6
		<qualifier-method> = [ EQ | NE ]
		<qualifier-value>  = A valid IPv6 address.
		example = CONNECTION.IPv6.EQ(2001:db8:0:0:1::1)
		<qualifier> = SRCPORT
		<qualifier-method> = [ EQ | NE | GT | GE | LT | LE
		| BETWEEN ]
		<qualifier-value>  = A valid port number.
		example = CONNECTION.SRCPORT.EQ(80)
		<qualifier> = DSTPORT
		<qualifier-method> = [ EQ | NE | GT | GE | LT | LE
		| BETWEEN ]
		<qualifier-value>  = A valid port number.
		example = CONNECTION.DSTPORT.EQ(80)
		<qualifier> = PORT
		<qualifier-method> = [ EQ | NE | GT | GE | LT | LE
		| BETWEEN ]
		<qualifier-value>  = A valid port number.
		example = CONNECTION.PORT.EQ(80)
		<qualifier> = VLANID
		<qualifier-method> = [ EQ | NE | GT | GE | LT | LE
		| BETWEEN ]
		<qualifier-value>  = A valid VLAN ID.
		example = CONNECTION.VLANID.EQ(0)
		<qualifier> = CONNID
		<qualifier-method> = [ EQ | NE | GT | GE | LT | LE
		| BETWEEN ]
		<qualifier-value>  = A valid PCB dev number.
		example = CONNECTION.CONNID.EQ(0)
		<qualifier> = PPEID
		<qualifier-method> = [ EQ | NE | GT | GE | LT | LE
		| BETWEEN ]
		<qualifier-value>  = A valid core ID.
		example = CONNECTION.PPEID.EQ(0)
		<qualifier> = SVCNAME
		<qualifier-method> = [ EQ | NE | CONTAINS | STARTSWITH
		| ENDSWITH ]
		<qualifier-value>  = A valid text string.
		example = CONNECTION.SVCNAME.EQ("name")
		<qualifier> = LB_VSERVER.NAME
		<qualifier-method> = [ EQ | NE | CONTAINS | STARTSWITH
		| ENDSWITH ]
		<qualifier-value>  = LB vserver name.
		example = CONNECTION.LB_VSERVER.NAME.EQ("name")
		<qualifier> = CS_VSERVER.NAME
		<qualifier-method> = [ EQ | NE | CONTAINS | STARTSWITH
		| ENDSWITH ]
		<qualifier-value>  = CS vserver name.
		example = CONNECTION.CS_VSERVER.NAME.EQ("name")
		<qualifier> = INTF
		<qualifier-method> = [ EQ | NE ]
		<qualifier-value>  =  A valid interface id in the
		form of x/y.
		example = CONNECTION.INTF.EQ("x/y")
		<qualifier> = SERVICE_TYPE
		<qualifier-method> = [ EQ | NE ]
		<qualifier-value>  = ( SVC_HTTP | FTP | TCP | UDP | SSL |
		SSL_BRIDGE | SSL_TCP | NNTP | RPCSVR | RPCSVRS |
		RPCCLNT | SVC_DNS | ADNS | SNMP | RTSP | DHCPRA | ANY|
		MONITOR | MONITOR_UDP | MONITOR_PING | SIP_UDP |
		SVC_MYSQL | SVC_MSSQL | FIX | SSL_FIX | PKTSTEER |
		SVC_AAA | SERVICE_UNKNOWN )
		example = CONNECTION.SERVICE_TYPE.EQ(ANY)
		<qualifier> = TRAFFIC_DOMAIN_ID
		<qualifier-method> = [ EQ | NE | GT | GE | LT | LE
		| BETWEEN ]
		<qualifier-value>  = A valid traffic domain ID.
		example = CONNECTION.TRAFFIC_DOMAIN_ID.EQ(0)
		eg: start nstrace -filter "CONNECTION.SRCIP.EQ(127.0.0.1) || (CONNECTION.SVCNAME.NE("s1") && CONNECTION.SRCPORT.EQ(80))"
		The filter expression should be given in double quotes.
		common use cases:
		Trace capturing full sized traffic from/to ip 10.102.44.111, excluding loopback traffic
		start nstrace -size 0 -filter "CONNECTION.IP.NE(127.0.0.1) && CONNECTION.IP.EQ(10.102.44.111)"
		Trace capturing all traffic to (terminating at) port 80 or 443
		start nstrace -size 0 -filter "CONNECTION.DSTPORT.EQ(443) || CONNECTION.DSTPORT.EQ(80)"
		Trace capturing all backend traffic specific to service service1 along with corresponding client side traffic
		start nstrace -size 0 -filter "CONNECTION.SVCNAME.EQ("service1")" -link ENABLED
		Trace capturing all traffic through Citrix ADC interface 1/1
		start nstrace -filter "CONNECTION.INTF.EQ("1/1")"
		Trace capturing all traffic specific through vlan 2
		start nstrace -filter "CONNECTION.VLANID.EQ(2)"
		Trace capturing all frontend (client side) traffic specific to lb vserver vserver1 along with corresponding server side traffic
		start nstrace -size 0 -filter "CONNECTION.LB_VSERVER.NAME.EQ("vserver1")" -link ENABLED
	*/
	Filter string `json:"filter,omitempty"`
	/**
	* Includes filtered connection's peer traffic.
	 */
	Link string `json:"link,omitempty"`
	/**
	* Nodes on which tracing is started.
	 */
	Nodes []int `json:"nodes,omitempty"`
	/**
	* File size, in MB, treshold for rollover. If free disk space is less than 2GB at the time of rollover, trace will stop
	 */
	Filesize int `json:"filesize,omitempty"`
	/**
	* Format in which trace will be generated
	 */
	Traceformat string `json:"traceformat,omitempty"`
	/**
	* Specify how traces across PE's are merged
	 */
	Merge string `json:"merge,omitempty"`
	/**
	* Enable or disable runtime temp file cleanup
	 */
	Doruntimecleanup string `json:"doruntimecleanup,omitempty"`
	/**
	* Number of 16KB trace buffers
	 */
	Tracebuffers int `json:"tracebuffers,omitempty"`
	/**
	* skip RPC packets
	 */
	Skiprpc string `json:"skiprpc,omitempty"`
	/**
	* skip local SSH packets
	 */
	Skiplocalssh string `json:"skiplocalssh,omitempty"`
	/**
	* Capture SSL Master keys. Master keys will not be captured on FIPS machine.
		Warning: The captured keys can be used to decrypt information that may be confidential. The captured key files have to be stored in a secure environment
	*/
	Capsslkeys string `json:"capsslkeys,omitempty"`
	/**
	* Captures Dropped Packets if set to ENABLED.
	 */
	Capdroppkt string `json:"capdroppkt,omitempty"`
	/**
	* Logs packets in appliance's memory and dumps the trace file on stopping the nstrace operation
	 */
	Inmemorytrace string `json:"inmemorytrace,omitempty"`
	/**
	* Unique number that identifies the cluster node.
	 */
	Nodeid int `json:"nodeid,omitempty"`

	State         string `json:"state,omitempty"`
	Scope         string `json:"scope,omitempty"`
	Tracelocation string `json:"tracelocation,omitempty"`
}

* * Configuration for nstrace operations resource.

type Radiusnode

type Radiusnode struct {
	/**
	* IP address/IP prefix of radius node in CIDR format
	 */
	Nodeprefix string `json:"nodeprefix,omitempty"`
	/**
	* The key shared between the RADIUS server and clients.
		Required for Citrix ADC to communicate with the RADIUS nodes.
	*/
	Radkey string `json:"radkey,omitempty"`
}

* * Configuration for RADIUS Node resource.

type Reporting

type Reporting struct {
	State string `json:"state,omitempty"`
}

* * Configuration for reporting resource.

type Server

type Server struct {
	/**
	* Name for the server.
		Must begin with an ASCII alphabetic or underscore (_) character, and must contain only ASCII alphanumeric, underscore, hash (#), period (.), space, colon (:), at (@), equals (=), and hyphen (-) characters.
		Can be changed after the name is created.
	*/
	Name string `json:"name,omitempty"`
	/**
	* IPv4 or IPv6 address of the server. If you create an IP address based server, you can specify the name of the server, instead of its IP address, when creating a service. Note: If you do not create a server entry, the server IP address that you enter when you create a service becomes the name of the server.
	 */
	Ipaddress string `json:"ipaddress,omitempty"`
	/**
	* Domain name of the server. For a domain based configuration, you must create the server first.
	 */
	Domain string `json:"domain,omitempty"`
	/**
	* IP address used to transform the server's DNS-resolved IP address.
	 */
	Translationip string `json:"translationip,omitempty"`
	/**
	* The netmask of the translation ip
	 */
	Translationmask string `json:"translationmask,omitempty"`
	/**
	* Time, in seconds, for which the Citrix ADC must wait, after DNS resolution fails, before sending the next DNS query to resolve the domain name.
	 */
	Domainresolveretry int `json:"domainresolveretry,omitempty"`
	/**
	* Initial state of the server.
	 */
	State string `json:"state,omitempty"`
	/**
	* Support IPv6 addressing mode. If you configure a server with the IPv6 addressing mode, you cannot use the server in the IPv4 addressing mode.
	 */
	Ipv6address string `json:"ipv6address,omitempty"`
	/**
	* Any information about the server.
	 */
	Comment string `json:"comment,omitempty"`
	/**
	* Integer value that uniquely identifies the traffic domain in which you want to configure the entity. If you do not specify an ID, the entity becomes part of the default traffic domain, which has an ID of 0.
	 */
	Td int `json:"td,omitempty"`
	/**
	* Specify the type of DNS resolution to be done on the configured domain to get the backend services. Valid query types are A, AAAA and SRV with A being the default querytype. The type of DNS resolution done on the domains in SRV records is inherited from ipv6 argument.
	 */
	Querytype string `json:"querytype,omitempty"`
	/**
	* Immediately send a DNS query to resolve the server's domain name.
	 */
	Domainresolvenow bool `json:"domainresolvenow,omitempty"`
	/**
	* Time, in seconds, after which all the services configured on the server are disabled.
	 */
	Delay int `json:"delay,omitempty"`
	/**
	* Shut down gracefully, without accepting any new connections, and disabling each service when all of its connections are closed.
	 */
	Graceful string `json:"graceful,omitempty"`
	/**
	* Display names of the servers that have been created for internal use.
	 */
	Internal bool `json:"Internal,omitempty"`
	/**
	* New name for the server. Must begin with an ASCII alphabetic or underscore (_) character, and must contain only ASCII alphanumeric, underscore, hash (#), period (.), space, colon (:), at (@), equals (=), and hyphen (-) characters.
	 */
	Newname string `json:"newname,omitempty"`

	Statechangetimesec        string `json:"statechangetimesec,omitempty"`
	Tickssincelaststatechange string `json:"tickssincelaststatechange,omitempty"`
	Autoscale                 string `json:"autoscale,omitempty"`
	Usip                      string `json:"usip,omitempty"`
	Cka                       string `json:"cka,omitempty"`
	Tcpb                      string `json:"tcpb,omitempty"`
	Cmp                       string `json:"cmp,omitempty"`
	Cacheable                 string `json:"cacheable,omitempty"`
	Sc                        string `json:"sc,omitempty"`
	Sp                        string `json:"sp,omitempty"`
}

* * Configuration for server resource.

type Serverbinding

type Serverbinding struct {
	/**
	* Name of the server for which to display parameters.<br/>Minimum value =
	 */
	Name string `json:"name,omitempty"`
}

* * Binding object which returns the resources bound to server_binding.

type Servergslbservicebinding

type Servergslbservicebinding struct {
	/**
	* The services attatched to the server.
	 */
	Servicename string `json:"servicename,omitempty"`
	/**
	* The type of bound service
	 */
	Svctype string `json:"svctype,omitempty"`
	/**
	* The IP address of the bound service
	 */
	Serviceipaddress string `json:"serviceipaddress,omitempty"`
	/**
	* The port number to be used for the bound service.
	 */
	Port int `json:"port,omitempty"`
	/**
	* The state of the bound service
	 */
	Svrstate string `json:"svrstate,omitempty"`
	/**
	* This field has been intorduced to show the dbs services ip
	 */
	Serviceipstr string `json:"serviceipstr,omitempty"`
	/**
	* Name of the server for which to display parameters.
	 */
	Name string `json:"name,omitempty"`
}

* * Binding class showing the gslbservice that can be bound to server.

type Servergslbservicegroupbinding

type Servergslbservicegroupbinding struct {
	/**
	* servicegroups bind to this server
	 */
	Servicegroupname string `json:"servicegroupname,omitempty"`
	/**
	* The type of bound service
	 */
	Svctype string `json:"svctype,omitempty"`
	/**
	* The IP address of the bound service
	 */
	Serviceipaddress string `json:"serviceipaddress,omitempty"`
	/**
	* The port number to be used for the bound service.
	 */
	Port int `json:"port,omitempty"`
	/**
	* A positive integer to identify the service. Used when the persistency type is set to Custom Server ID.
	 */
	Customserverid string `json:"customserverid,omitempty"`
	/**
	* The state of the bound service
	 */
	Svrstate string `json:"svrstate,omitempty"`
	/**
	* service type of the service.
	 */
	Dupsvctype string `json:"dup_svctype,omitempty"`
	/**
	* port of the service.
	 */
	Dupport int `json:"dup_port,omitempty"`
	/**
	* service flags to denote its a db enabled.
	 */
	Svrcfgflags int `json:"svrcfgflags,omitempty"`
	/**
	* This field has been intorduced to show the dbs services ip
	 */
	Serviceipstr string `json:"serviceipstr,omitempty"`
	/**
	* Minimum sum of weights of the monitors that are bound to this service. Used to determine whether to mark a service as UP or DOWN.
	 */
	Monthreshold int `json:"monthreshold,omitempty"`
	/**
	* Maximum number of simultaneous open connections for the service group.
	 */
	Maxclient int `json:"maxclient,omitempty"`
	/**
	* Maximum number of requests that can be sent on a persistent connection to the service group.
		Note: Connection requests beyond this value are rejected.
	*/
	Maxreq int `json:"maxreq,omitempty"`
	/**
	* Maximum bandwidth, in Kbps, allocated for all the services in the service group.
	 */
	Maxbandwidth int `json:"maxbandwidth,omitempty"`
	/**
	* Time, in seconds, after which to terminate an idle client connection.
	 */
	Clttimeout int `json:"clttimeout,omitempty"`
	/**
	* Time, in seconds, after which to terminate an idle server connection.
	 */
	Svrtimeout int `json:"svrtimeout,omitempty"`
	/**
	* Name of the HTTP header whose value must be set to the IP address of the client. Used with the Client IP parameter. If client IP insertion is enabled, and the client IP header is not specified, the value of Client IP Header parameter or the value set by the set ns config command is used as client's IP header name.
	 */
	Cipheader string `json:"cipheader,omitempty"`
	/**
	* Before forwarding a request to the service, insert an HTTP header with the client's IPv4 or IPv6 address as its value. Used if the server needs the client's IP address for security, accounting, or other purposes, and setting the Use Source IP parameter is not a viable option.
	 */
	Cip string `json:"cip,omitempty"`
	/**
	* Perform delayed clean-up of connections to all services in the service group.
	 */
	Downstateflush string `json:"downstateflush,omitempty"`
	/**
	* Enable logging of AppFlow information for the specified service group.
	 */
	Appflowlog string `json:"appflowlog,omitempty"`
	/**
	* Integer value that uniquely identifies the traffic domain in which you want to configure the entity. If you do not specify an ID, the entity becomes part of the default traffic domain, which has an ID of 0.
	 */
	Boundtd int `json:"boundtd,omitempty"`
	/**
	* Name of the server for which to display parameters.
	 */
	Name string `json:"name,omitempty"`
}

* * Binding class showing the gslbservicegroup that can be bound to server.

type Serverservicebinding

type Serverservicebinding struct {
	/**
	* The services attatched to the server.
	 */
	Servicename string `json:"servicename,omitempty"`
	/**
	* The type of bound service
	 */
	Svctype string `json:"svctype,omitempty"`
	/**
	* The IP address of the bound service
	 */
	Serviceipaddress string `json:"serviceipaddress,omitempty"`
	/**
	* The port number to be used for the bound service.
	 */
	Port int `json:"port,omitempty"`
	/**
	* The state of the bound service
	 */
	Svrstate string `json:"svrstate,omitempty"`
	/**
	* This field has been intorduced to show the dbs services ip
	 */
	Serviceipstr string `json:"serviceipstr,omitempty"`
	/**
	* Name of the server for which to display parameters.
	 */
	Name string `json:"name,omitempty"`
}

* * Binding class showing the service that can be bound to server.

type Serverservicegroupbinding

type Serverservicegroupbinding struct {
	/**
	* servicegroups bind to this server
	 */
	Servicegroupname string `json:"servicegroupname,omitempty"`
	/**
	* The type of bound service
	 */
	Svctype string `json:"svctype,omitempty"`
	/**
	* The IP address of the bound service
	 */
	Serviceipaddress string `json:"serviceipaddress,omitempty"`
	/**
	* The port number to be used for the bound service.
	 */
	Port int `json:"port,omitempty"`
	/**
	* A positive integer to identify the service. Used when the persistency type is set to Custom Server ID.
	 */
	Customserverid string `json:"customserverid,omitempty"`
	/**
	* The state of the bound service
	 */
	Svrstate string `json:"svrstate,omitempty"`
	/**
	* service type of the service.
	 */
	Dupsvctype string `json:"dup_svctype,omitempty"`
	/**
	* port of the service.
	 */
	Dupport int `json:"dup_port,omitempty"`
	/**
	* service flags to denote its a db enabled.
	 */
	Svrcfgflags int `json:"svrcfgflags,omitempty"`
	/**
	* This field has been intorduced to show the dbs services ip
	 */
	Serviceipstr string `json:"serviceipstr,omitempty"`
	/**
	* Minimum sum of weights of the monitors that are bound to this service. Used to determine whether to mark a service as UP or DOWN.
	 */
	Monthreshold int `json:"monthreshold,omitempty"`
	/**
	* Maximum number of simultaneous open connections for the service group.
	 */
	Maxclient int `json:"maxclient,omitempty"`
	/**
	* Maximum number of requests that can be sent on a persistent connection to the service group.
		Note: Connection requests beyond this value are rejected.
	*/
	Maxreq int `json:"maxreq,omitempty"`
	/**
	* Maximum bandwidth, in Kbps, allocated for all the services in the service group.
	 */
	Maxbandwidth int `json:"maxbandwidth,omitempty"`
	/**
	* Use the client's IP address as the source IP address when initiating a connection to the server. When creating a service, if you do not set this parameter, the service inherits the global Use Source IP setting (available in the enable ns mode and disable ns mode CLI commands, or in the System > Settings > Configure modes > Configure Modes dialog box). However, you can override this setting after you create the service.
	 */
	Usip string `json:"usip,omitempty"`
	/**
	* Enable client keep-alive for the service group.
	 */
	Cka string `json:"cka,omitempty"`
	/**
	* Enable TCP buffering for the service group.
	 */
	Tcpb string `json:"tcpb,omitempty"`
	/**
	* Enable compression for the specified service.
	 */
	Cmp string `json:"cmp,omitempty"`
	/**
	* Time, in seconds, after which to terminate an idle client connection.
	 */
	Clttimeout int `json:"clttimeout,omitempty"`
	/**
	* Time, in seconds, after which to terminate an idle server connection.
	 */
	Svrtimeout int `json:"svrtimeout,omitempty"`
	/**
	* Name of the HTTP header whose value must be set to the IP address of the client. Used with the Client IP parameter. If client IP insertion is enabled, and the client IP header is not specified, the value of Client IP Header parameter or the value set by the set ns config command is used as client's IP header name.
	 */
	Cipheader string `json:"cipheader,omitempty"`
	/**
	* Before forwarding a request to the service, insert an HTTP header with the client's IPv4 or IPv6 address as its value. Used if the server needs the client's IP address for security, accounting, or other purposes, and setting the Use Source IP parameter is not a viable option.
	 */
	Cip string `json:"cip,omitempty"`
	/**
	* Use the transparent cache redirection virtual server to forward the request to the cache server.
	 */
	Cacheable string `json:"cacheable,omitempty"`
	/**
	* State of the SureConnect feature for the service group.
	 */
	Sc string `json:"sc,omitempty"`
	/**
	* Enable surge protection for the service group.
	 */
	Sp string `json:"sp,omitempty"`
	/**
	* Perform delayed clean-up of connections to all services in the service group.
	 */
	Downstateflush string `json:"downstateflush,omitempty"`
	/**
	* Enable logging of AppFlow information for the specified service group.
	 */
	Appflowlog string `json:"appflowlog,omitempty"`
	/**
	* Integer value that uniquely identifies the traffic domain in which you want to configure the entity. If you do not specify an ID, the entity becomes part of the default traffic domain, which has an ID of 0.
	 */
	Boundtd int `json:"boundtd,omitempty"`
	/**
	* Indicates the weight of bound IPs
	 */
	Weight int `json:"weight,omitempty"`
	/**
	* Used for show server of SRV type to indicate target FQDNs
	 */
	Servicegroupentname2 string `json:"servicegroupentname2,omitempty"`
	/**
	* Indicates the Priority of the SRV target FQDN
	 */
	Svcitmpriority int `json:"svcitmpriority,omitempty"`
	/**
	* Indicates the total number of active IPs for SRV target FQDN
	 */
	Svcitmactsvcs int `json:"svcitmactsvcs,omitempty"`
	/**
	* Indicates the total number of bound IPs for the SRV target FQDN
	 */
	Svcitmboundsvcs int `json:"svcitmboundsvcs,omitempty"`
	/**
	* Name of the server for which to display parameters.
	 */
	Name string `json:"name,omitempty"`
}

* * Binding class showing the servicegroup that can be bound to server.

type Service

type Service struct {
	/**
	* Name for the service. Must begin with an ASCII alphabetic or underscore (_) character, and must contain only ASCII alphanumeric, underscore, hash (#), period (.), space, colon (:), at (@), equals (=), and hyphen (-) characters. Cannot be changed after the service has been created.
	 */
	Name string `json:"name,omitempty"`
	/**
	* IP to assign to the service.
	 */
	Ip string `json:"ip,omitempty"`
	/**
	* Name of the server that hosts the service.
	 */
	Servername string `json:"servername,omitempty"`
	/**
	* Protocol in which data is exchanged with the service.
	 */
	Servicetype string `json:"servicetype,omitempty"`
	/**
	* Port number of the service.
	 */
	Port int `json:"port,omitempty"`
	/**
	* Port to which clear text data must be sent after the appliance decrypts incoming SSL traffic. Applicable to transparent SSL services.
	 */
	Cleartextport int `json:"cleartextport,omitempty"`
	/**
	* Cache type supported by the cache server.
	 */
	Cachetype string `json:"cachetype,omitempty"`
	/**
	* Maximum number of simultaneous open connections to the service.
	 */
	Maxclient int `json:"maxclient,omitempty"`
	/**
	* Monitor the health of this service. Available settings function as follows:
		YES - Send probes to check the health of the service.
		NO - Do not send probes to check the health of the service. With the NO option, the appliance shows the service as UP at all times.
	*/
	Healthmonitor string `json:"healthmonitor,omitempty"`
	/**
	* Maximum number of requests that can be sent on a persistent connection to the service.
		Note: Connection requests beyond this value are rejected.
	*/
	Maxreq int `json:"maxreq,omitempty"`
	/**
	* Use the transparent cache redirection virtual server to forward requests to the cache server.
		Note: Do not specify this parameter if you set the Cache Type parameter.
	*/
	Cacheable string `json:"cacheable,omitempty"`
	/**
	* Before forwarding a request to the service, insert an HTTP header with the client's IPv4 or IPv6 address as its value. Used if the server needs the client's IP address for security, accounting, or other purposes, and setting the Use Source IP parameter is not a viable option.
	 */
	Cip string `json:"cip,omitempty"`
	/**
	* Name for the HTTP header whose value must be set to the IP address of the client. Used with the Client IP parameter. If you set the Client IP parameter, and you do not specify a name for the header, the appliance uses the header name specified for the global Client IP Header parameter (the cipHeader parameter in the set ns param CLI command or the Client IP Header parameter in the Configure HTTP Parameters dialog box at System > Settings > Change HTTP parameters). If the global Client IP Header parameter is not specified, the appliance inserts a header with the name "client-ip."
	 */
	Cipheader string `json:"cipheader,omitempty"`
	/**
	* Use the client's IP address as the source IP address when initiating a connection to the server. When creating a service, if you do not set this parameter, the service inherits the global Use Source IP setting (available in the enable ns mode and disable ns mode CLI commands, or in the System > Settings > Configure modes > Configure Modes dialog box). However, you can override this setting after you create the service.
	 */
	Usip string `json:"usip,omitempty"`
	/**
	* Path monitoring for clustering
	 */
	Pathmonitor string `json:"pathmonitor,omitempty"`
	/**
	* Individual Path monitoring decisions
	 */
	Pathmonitorindv string `json:"pathmonitorindv,omitempty"`
	/**
	* Use the proxy port as the source port when initiating connections with the server. With the NO setting, the client-side connection port is used as the source port for the server-side connection.
		Note: This parameter is available only when the Use Source IP (USIP) parameter is set to YES.
	*/
	Useproxyport string `json:"useproxyport,omitempty"`
	/**
	* State of SureConnect for the service.
	 */
	Sc string `json:"sc,omitempty"`
	/**
	* Enable surge protection for the service.
	 */
	Sp string `json:"sp,omitempty"`
	/**
	* Enable RTSP session ID mapping for the service.
	 */
	Rtspsessionidremap string `json:"rtspsessionidremap,omitempty"`
	/**
	* Time, in seconds, after which to terminate an idle client connection.
	 */
	Clttimeout int `json:"clttimeout,omitempty"`
	/**
	* Time, in seconds, after which to terminate an idle server connection.
	 */
	Svrtimeout int `json:"svrtimeout,omitempty"`
	/**
	* Unique identifier for the service. Used when the persistency type for the virtual server is set to Custom Server ID.
	 */
	Customserverid string `json:"customserverid,omitempty"`
	/**
	* The  identifier for the service. This is used when the persistency type is set to Custom Server ID.
	 */
	Serverid int `json:"serverid,omitempty"`
	/**
	* Enable client keep-alive for the service.
	 */
	Cka string `json:"cka,omitempty"`
	/**
	* Enable TCP buffering for the service.
	 */
	Tcpb string `json:"tcpb,omitempty"`
	/**
	* Enable compression for the service.
	 */
	Cmp string `json:"cmp,omitempty"`
	/**
	* Maximum bandwidth, in Kbps, allocated to the service.
	 */
	Maxbandwidth int `json:"maxbandwidth,omitempty"`
	/**
	* Use Layer 2 mode to bridge the packets sent to this service if it is marked as DOWN. If the service is DOWN, and this parameter is disabled, the packets are dropped.
	 */
	Accessdown string `json:"accessdown,omitempty"`
	/**
	* Minimum sum of weights of the monitors that are bound to this service. Used to determine whether to mark a service as UP or DOWN.
	 */
	Monthreshold int `json:"monthreshold,omitempty"`
	/**
	* Initial state of the service.
	 */
	State string `json:"state,omitempty"`
	/**
	* Flush all active transactions associated with a service whose state transitions from UP to DOWN. Do not enable this option for applications that must complete their transactions.
	 */
	Downstateflush string `json:"downstateflush,omitempty"`
	/**
	* Name of the TCP profile that contains TCP configuration settings for the service.
	 */
	Tcpprofilename string `json:"tcpprofilename,omitempty"`
	/**
	* Name of the HTTP profile that contains HTTP configuration settings for the service.
	 */
	Httpprofilename string `json:"httpprofilename,omitempty"`
	/**
	* Name of the ContentInspection profile that contains IPS/IDS communication related setting for the service
	 */
	Contentinspectionprofilename string `json:"contentinspectionprofilename,omitempty"`
	/**
	* A numerical identifier that can be used by hash based load balancing methods. Must be unique for each service.
	 */
	Hashid int `json:"hashid,omitempty"`
	/**
	* Any information about the service.
	 */
	Comment string `json:"comment,omitempty"`
	/**
	* Enable logging of AppFlow information.
	 */
	Appflowlog string `json:"appflowlog,omitempty"`
	/**
	* Network profile to use for the service.
	 */
	Netprofile string `json:"netprofile,omitempty"`
	/**
	* Integer value that uniquely identifies the traffic domain in which you want to configure the entity. If you do not specify an ID, the entity becomes part of the default traffic domain, which has an ID of 0.
	 */
	Td int `json:"td,omitempty"`
	/**
	* By turning on this option packets destined to a service in a cluster will not under go any steering. Turn this option for single packet request response mode or when the upstream device is performing a proper RSS for connection based distribution.
	 */
	Processlocal string `json:"processlocal,omitempty"`
	/**
	* Name of the DNS profile to be associated with the service. DNS profile properties will applied to the transactions processed by a service. This parameter is valid only for ADNS and ADNS-TCP services.
	 */
	Dnsprofilename string `json:"dnsprofilename,omitempty"`
	/**
	* Close monitoring connections by sending the service a connection termination message with the specified bit set.
	 */
	Monconnectionclose string `json:"monconnectionclose,omitempty"`
	/**
	* The new IP address of the service.
	 */
	Ipaddress string `json:"ipaddress,omitempty"`
	/**
	* Weight to assign to the monitor-service binding. When a monitor is UP, the weight assigned to its binding with the service determines how much the monitor contributes toward keeping the health of the service above the value configured for the Monitor Threshold parameter.
	 */
	Weight int `json:"weight,omitempty"`
	/**
	* Name of the monitor bound to the specified service.
	 */
	Monitornamesvc string `json:"monitor_name_svc,omitempty"`
	/**
	* Time, in seconds, allocated to the Citrix ADC for a graceful shutdown of the service. During this period, new requests are sent to the service only for clients who already have persistent sessions on the appliance. Requests from new clients are load balanced among other available services. After the delay time expires, no requests are sent to the service, and the service is marked as unavailable (OUT OF SERVICE).
	 */
	Delay int `json:"delay,omitempty"`
	/**
	* Shut down gracefully, not accepting any new connections, and disabling the service when all of its connections are closed.
	 */
	Graceful string `json:"graceful,omitempty"`
	/**
	* Display both user-configured and dynamically learned services.
	 */
	All bool `json:"all,omitempty"`
	/**
	* Display only dynamically learned services.
	 */
	Internal bool `json:"Internal,omitempty"`
	/**
	* New name for the service. Must begin with an ASCII alphabetic or underscore (_) character, and must contain only ASCII alphanumeric, underscore, hash (#), period (.), space, colon (:), at (@), equals (=), and hyphen (-) characters.
	 */
	Newname string `json:"newname,omitempty"`

	Numofconnections          string `json:"numofconnections,omitempty"`
	Policyname                string `json:"policyname,omitempty"`
	Serviceconftype           string `json:"serviceconftype,omitempty"`
	Serviceconftype2          string `json:"serviceconftype2,omitempty"`
	Value                     string `json:"value,omitempty"`
	Gslb                      string `json:"gslb,omitempty"`
	Dupstate                  string `json:"dup_state,omitempty"`
	Publicip                  string `json:"publicip,omitempty"`
	Publicport                string `json:"publicport,omitempty"`
	Svrstate                  string `json:"svrstate,omitempty"`
	Monitorstate              string `json:"monitor_state,omitempty"`
	Monstatcode               string `json:"monstatcode,omitempty"`
	Lastresponse              string `json:"lastresponse,omitempty"`
	Responsetime              string `json:"responsetime,omitempty"`
	Monstatparam1             string `json:"monstatparam1,omitempty"`
	Monstatparam2             string `json:"monstatparam2,omitempty"`
	Monstatparam3             string `json:"monstatparam3,omitempty"`
	Statechangetimesec        string `json:"statechangetimesec,omitempty"`
	Statechangetimemsec       string `json:"statechangetimemsec,omitempty"`
	Tickssincelaststatechange string `json:"tickssincelaststatechange,omitempty"`
	Stateupdatereason         string `json:"stateupdatereason,omitempty"`
	Clmonowner                string `json:"clmonowner,omitempty"`
	Clmonview                 string `json:"clmonview,omitempty"`
	Serviceipstr              string `json:"serviceipstr,omitempty"`
	Oracleserverversion       string `json:"oracleserverversion,omitempty"`
	Nodefaultbindings         string `json:"nodefaultbindings,omitempty"`
	Monuserstatusmesg         string `json:"monuserstatusmesg,omitempty"`
	Builtin                   string `json:"builtin,omitempty"`
	Feature                   string `json:"feature,omitempty"`
}

* * Configuration for service resource.

type Servicebinding

type Servicebinding struct {
	/**
	* Name of the service for which to display configuration details.<br/>Minimum value =
	 */
	Name string `json:"name,omitempty"`
}

* * Binding object which returns the resources bound to service_binding.

type Servicedospolicybinding

type Servicedospolicybinding struct {
	/**
	* The name of the policyname for which this service is bound
	 */
	Policyname string `json:"policyname,omitempty"`
	/**
	* Name of the service to which to bind a policy or monitor.
	 */
	Name string `json:"name,omitempty"`
}

* * Binding class showing the dospolicy that can be bound to service.

type Servicegroup

type Servicegroup struct {
	/**
	* Name of the service group. Must begin with an ASCII alphabetic or underscore (_) character, and must contain only ASCII alphanumeric, underscore, hash (#), period (.), space, colon (:), at (@), equals (=), and hyphen (-) characters. Can be changed after the name is created.
	 */
	Servicegroupname string `json:"servicegroupname,omitempty"`
	/**
	* Protocol used to exchange data with the service.
	 */
	Servicetype string `json:"servicetype,omitempty"`
	/**
	* Cache type supported by the cache server.
	 */
	Cachetype string `json:"cachetype,omitempty"`
	/**
	* Integer value that uniquely identifies the traffic domain in which you want to configure the entity. If you do not specify an ID, the entity becomes part of the default traffic domain, which has an ID of 0.
	 */
	Td int `json:"td,omitempty"`
	/**
	* Maximum number of simultaneous open connections for the service group.
	 */
	Maxclient int `json:"maxclient,omitempty"`
	/**
	* Maximum number of requests that can be sent on a persistent connection to the service group.
		Note: Connection requests beyond this value are rejected.
	*/
	Maxreq int `json:"maxreq,omitempty"`
	/**
	* Use the transparent cache redirection virtual server to forward the request to the cache server.
		Note: Do not set this parameter if you set the Cache Type.
	*/
	Cacheable string `json:"cacheable,omitempty"`
	/**
	* Insert the Client IP header in requests forwarded to the service.
	 */
	Cip string `json:"cip,omitempty"`
	/**
	* Name of the HTTP header whose value must be set to the IP address of the client. Used with the Client IP parameter. If client IP insertion is enabled, and the client IP header is not specified, the value of Client IP Header parameter or the value set by the set ns config command is used as client's IP header name.
	 */
	Cipheader string `json:"cipheader,omitempty"`
	/**
	* Use client's IP address as the source IP address when initiating connection to the server. With the NO setting, which is the default, a mapped IP (MIP) address or subnet IP (SNIP) address is used as the source IP address to initiate server side connections.
	 */
	Usip string `json:"usip,omitempty"`
	/**
	* Path monitoring for clustering
	 */
	Pathmonitor string `json:"pathmonitor,omitempty"`
	/**
	* Individual Path monitoring decisions.
	 */
	Pathmonitorindv string `json:"pathmonitorindv,omitempty"`
	/**
	* Use the proxy port as the source port when initiating connections with the server. With the NO setting, the client-side connection port is used as the source port for the server-side connection.
		Note: This parameter is available only when the Use Source IP (USIP) parameter is set to YES.
	*/
	Useproxyport string `json:"useproxyport,omitempty"`
	/**
	* Monitor the health of this service.  Available settings function as follows:
		YES - Send probes to check the health of the service.
		NO - Do not send probes to check the health of the service. With the NO option, the appliance shows the service as UP at all times.
	*/
	Healthmonitor string `json:"healthmonitor,omitempty"`
	/**
	* State of the SureConnect feature for the service group.
	 */
	Sc string `json:"sc,omitempty"`
	/**
	* Enable surge protection for the service group.
	 */
	Sp string `json:"sp,omitempty"`
	/**
	* Enable RTSP session ID mapping for the service group.
	 */
	Rtspsessionidremap string `json:"rtspsessionidremap,omitempty"`
	/**
	* Time, in seconds, after which to terminate an idle client connection.
	 */
	Clttimeout int `json:"clttimeout,omitempty"`
	/**
	* Time, in seconds, after which to terminate an idle server connection.
	 */
	Svrtimeout int `json:"svrtimeout,omitempty"`
	/**
	* Enable client keep-alive for the service group.
	 */
	Cka string `json:"cka,omitempty"`
	/**
	* Enable TCP buffering for the service group.
	 */
	Tcpb string `json:"tcpb,omitempty"`
	/**
	* Enable compression for the specified service.
	 */
	Cmp string `json:"cmp,omitempty"`
	/**
	* Maximum bandwidth, in Kbps, allocated for all the services in the service group.
	 */
	Maxbandwidth int `json:"maxbandwidth,omitempty"`
	/**
	* Minimum sum of weights of the monitors that are bound to this service. Used to determine whether to mark a service as UP or DOWN.
	 */
	Monthreshold int `json:"monthreshold,omitempty"`
	/**
	* Initial state of the service group.
	 */
	State string `json:"state,omitempty"`
	/**
	* Flush all active transactions associated with all the services in the service group whose state transitions from UP to DOWN. Do not enable this option for applications that must complete their transactions.
	 */
	Downstateflush string `json:"downstateflush,omitempty"`
	/**
	* Name of the TCP profile that contains TCP configuration settings for the service group.
	 */
	Tcpprofilename string `json:"tcpprofilename,omitempty"`
	/**
	* Name of the HTTP profile that contains HTTP configuration settings for the service group.
	 */
	Httpprofilename string `json:"httpprofilename,omitempty"`
	/**
	* Any information about the service group.
	 */
	Comment string `json:"comment,omitempty"`
	/**
	* Enable logging of AppFlow information for the specified service group.
	 */
	Appflowlog string `json:"appflowlog,omitempty"`
	/**
	* Network profile for the service group.
	 */
	Netprofile string `json:"netprofile,omitempty"`
	/**
	* Auto scale option for a servicegroup
	 */
	Autoscale string `json:"autoscale,omitempty"`
	/**
	* member port
	 */
	Memberport int `json:"memberport,omitempty"`
	/**
	* Indicates graceful shutdown of the service. System will wait for all outstanding connections to this service to be closed before disabling the service.
	 */
	Autodisablegraceful string `json:"autodisablegraceful,omitempty"`
	/**
	* The time allowed (in seconds) for a graceful shutdown. During this period, new connections or requests will continue to be sent to this service for clients who already have a persistent session on the system. Connections or requests from fresh or new clients who do not yet have a persistence sessions on the system will not be sent to the service. Instead, they will be load balanced among other available services. After the delay time expires, no new requests or connections will be sent to the service.
	 */
	Autodisabledelay int `json:"autodisabledelay,omitempty"`
	/**
	* Close monitoring connections by sending the service a connection termination message with the specified bit set.
	 */
	Monconnectionclose string `json:"monconnectionclose,omitempty"`
	/**
	* Name of the server to which to bind the service group.
	 */
	Servername string `json:"servername,omitempty"`
	/**
	* Server port number.
	 */
	Port int `json:"port,omitempty"`
	/**
	* Weight to assign to the servers in the service group. Specifies the capacity of the servers relative to the other servers in the load balancing configuration. The higher the weight, the higher the percentage of requests sent to the service.
	 */
	Weight int `json:"weight,omitempty"`
	/**
	* The identifier for this IP:Port pair. Used when the persistency type is set to Custom Server ID.
	 */
	Customserverid string `json:"customserverid,omitempty"`
	/**
	* The  identifier for the service. This is used when the persistency type is set to Custom Server ID.
	 */
	Serverid int `json:"serverid,omitempty"`
	/**
	* The hash identifier for the service. This must be unique for each service. This parameter is used by hash based load balancing methods.
	 */
	Hashid int `json:"hashid,omitempty"`
	/**
	* Specify the nameserver to which the query for bound domain needs to be sent. If not specified, use the global nameserver
	 */
	Nameserver string `json:"nameserver,omitempty"`
	/**
	* Specify the TTL for DNS record for domain based service.The default value of ttl is 0 which indicates to use the TTL received in DNS response for monitors
	 */
	Dbsttl int `json:"dbsttl,omitempty"`
	/**
	* Name of the monitor bound to the service group. Used to assign a weight to the monitor.
	 */
	Monitornamesvc string `json:"monitor_name_svc,omitempty"`
	/**
	* weight of the monitor that is bound to servicegroup.
	 */
	Dupweight int `json:"dup_weight,omitempty"`
	/**
	* Time, in seconds, allocated for a shutdown of the services in the service group. During this period, new requests are sent to the service only for clients who already have persistent sessions on the appliance. Requests from new clients are load balanced among other available services. After the delay time expires, no requests are sent to the service, and the service is marked as unavailable (OUT OF SERVICE).
	 */
	Delay int `json:"delay,omitempty"`
	/**
	* Wait for all existing connections to the service to terminate before shutting down the service.
	 */
	Graceful string `json:"graceful,omitempty"`
	/**
	* Display the members of the listed service groups in addition to their settings. Can be specified when no service group name is provided in the command. In that case, the details displayed for each service group are identical to the details displayed when a service group name is provided, except that bound monitors are not displayed.
	 */
	Includemembers bool `json:"includemembers,omitempty"`
	/**
	* New name for the service group.
	 */
	Newname string `json:"newname,omitempty"`

	Numofconnections           string `json:"numofconnections,omitempty"`
	Serviceconftype            string `json:"serviceconftype,omitempty"`
	Value                      string `json:"value,omitempty"`
	Svrstate                   string `json:"svrstate,omitempty"`
	Ip                         string `json:"ip,omitempty"`
	Monstatcode                string `json:"monstatcode,omitempty"`
	Monstatparam1              string `json:"monstatparam1,omitempty"`
	Monstatparam2              string `json:"monstatparam2,omitempty"`
	Monstatparam3              string `json:"monstatparam3,omitempty"`
	Statechangetimemsec        string `json:"statechangetimemsec,omitempty"`
	Stateupdatereason          string `json:"stateupdatereason,omitempty"`
	Clmonowner                 string `json:"clmonowner,omitempty"`
	Clmonview                  string `json:"clmonview,omitempty"`
	Groupcount                 string `json:"groupcount,omitempty"`
	Serviceipstr               string `json:"serviceipstr,omitempty"`
	Servicegroupeffectivestate string `json:"servicegroupeffectivestate,omitempty"`
	Nodefaultbindings          string `json:"nodefaultbindings,omitempty"`
	Svcitmactsvcs              string `json:"svcitmactsvcs,omitempty"`
	Svcitmboundsvcs            string `json:"svcitmboundsvcs,omitempty"`
	Monuserstatusmesg          string `json:"monuserstatusmesg,omitempty"`
}

* * Configuration for service group resource.

type Servicegroupbinding

type Servicegroupbinding struct {
	/**
	* Name of the service group.<br/>Minimum value =
	 */
	Servicegroupname string `json:"servicegroupname,omitempty"`
}

* * Binding object which returns the resources bound to servicegroup_binding.

type Servicegroupbindings

type Servicegroupbindings struct {
	/**
	* The name of the service.
	 */
	Servicegroupname string `json:"servicegroupname,omitempty"`

	Ipaddress   string `json:"ipaddress,omitempty"`
	Port        string `json:"port,omitempty"`
	State       string `json:"state,omitempty"`
	Svrstate    string `json:"svrstate,omitempty"`
	Vservername string `json:"vservername,omitempty"`
}

* * Configuration for servicegroupbind resource.

type Servicegrouplbmonitorbinding

type Servicegrouplbmonitorbinding struct {
	/**
	* Monitor name.
	 */
	Monitorname string `json:"monitor_name,omitempty"`
	/**
	* weight of the monitor that is bound to servicegroup.
	 */
	Monweight int `json:"monweight,omitempty"`
	/**
	* Monitor state.
	 */
	Monstate string `json:"monstate,omitempty"`
	/**
	* Weight to assign to the servers in the service group. Specifies the capacity of the servers relative to the other servers in the load balancing configuration. The higher the weight, the higher the percentage of requests sent to the service.
	 */
	Weight int `json:"weight,omitempty"`
	/**
	* Indicates if load monitor is passive. A passive load monitor does not remove service from LB decision when threshold is breached.
	 */
	Passive bool `json:"passive,omitempty"`
	/**
	* Name of the service group.
	 */
	Servicegroupname string `json:"servicegroupname,omitempty"`
	/**
	* Port number of the service. Each service must have a unique port number.
	 */
	Port int `json:"port,omitempty"`
	/**
	* Unique service identifier. Used when the persistency type for the virtual server is set to Custom Server ID.
	 */
	Customserverid string `json:"customserverid,omitempty"`
	/**
	* The  identifier for the service. This is used when the persistency type is set to Custom Server ID.
	 */
	Serverid int `json:"serverid,omitempty"`
	/**
	* Initial state of the service after binding.
	 */
	State string `json:"state,omitempty"`
	/**
	* Unique numerical identifier used by hash based load balancing methods to identify a service.
	 */
	Hashid int `json:"hashid,omitempty"`
	/**
	* Specify the nameserver to which the query for bound domain needs to be sent. If not specified, use the global nameserver
	 */
	Nameserver string `json:"nameserver,omitempty"`
	/**
	* Specify the TTL for DNS record for domain based service.The default value of ttl is 0 which indicates to use the TTL received in DNS response for monitors
	 */
	Dbsttl int `json:"dbsttl,omitempty"`
}

* * Binding class showing the lbmonitor that can be bound to servicegroup.

type Servicegroupmonitorbinding

type Servicegroupmonitorbinding struct {
	/**
	* Monitor name.
	 */
	Monitorname string `json:"monitor_name,omitempty"`
	/**
	* weight of the monitor that is bound to servicegroup.
	 */
	Monweight uint32 `json:"monweight,omitempty"`
	/**
	* Monitor state.
	 */
	Monstate string `json:"monstate,omitempty"`
	/**
	* Weight to assign to the servers in the service group. Specifies the capacity of the servers relative to the other servers in the load balancing configuration. The higher the weight, the higher the percentage of requests sent to the service.
	 */
	Weight uint32 `json:"weight,omitempty"`
	/**
	* Indicates if load monitor is passive. A passive load monitor does not remove service from LB decision when threshold is breached.
	 */
	Passive bool `json:"passive,omitempty"`
	/**
	* Name of the service group.
	 */
	Servicegroupname string `json:"servicegroupname,omitempty"`
	/**
	* Port number of the service. Each service must have a unique port number.
	 */
	Port int32 `json:"port,omitempty"`
	/**
	* Unique service identifier. Used when the persistency type for the virtual server is set to Custom Server ID.
	 */
	Customserverid string `json:"customserverid,omitempty"`
	/**
	* The  identifier for the service. This is used when the persistency type is set to Custom Server ID.
	 */
	Serverid uint32 `json:"serverid,omitempty"`
	/**
	* Initial state of the service after binding.
	 */
	State string `json:"state,omitempty"`
	/**
	* Unique numerical identifier used by hash based load balancing methods to identify a service.
	 */
	Hashid uint32 `json:"hashid,omitempty"`
	/**
	* Specify the nameserver to which the query for bound domain needs to be sent. If not specified, use the global nameserver
	 */
	Nameserver string `json:"nameserver,omitempty"`
	/**
	* Specify the TTL for DNS record for domain based service.The default value of ttl is 0 which indicates to use the TTL received in DNS response for monitors
	 */
	Dbsttl uint64 `json:"dbsttl,omitempty"`
}

* * Binding class showing the monitor that can be bound to servicegroup.

type Servicegroupservicegroupentitymonbindingsbinding

type Servicegroupservicegroupentitymonbindingsbinding struct {
	Servicegroupentname2 string `json:"servicegroupentname2,omitempty"`
	/**
	* Monitor name.
	 */
	Monitorname string `json:"monitor_name,omitempty"`
	/**
	* The running state of the monitor on this service.
	 */
	Monitorstate string `json:"monitor_state,omitempty"`
	/**
	* Indicates if load monitor is passive. A passive load monitor does not remove service from LB decision when threshold is breached.
	 */
	Passive bool `json:"passive,omitempty"`
	/**
	* Total number of probes sent to monitor this service.
	 */
	Monitortotalprobes int `json:"monitortotalprobes,omitempty"`
	/**
	* Total number of failed probes
	 */
	Monitortotalfailedprobes int `json:"monitortotalfailedprobes,omitempty"`
	/**
	* Total number of currently failed probes
	 */
	Monitorcurrentfailedprobes int `json:"monitorcurrentfailedprobes,omitempty"`
	/**
	* The string form of monstatcode.
	 */
	Lastresponse string `json:"lastresponse,omitempty"`
	/**
	* Response time of this monitor in milli sec.
	 */
	Responsetime int `json:"responsetime,omitempty"`
	/**
	* Name of the service group.
	 */
	Servicegroupname string `json:"servicegroupname,omitempty"`
	/**
	* Port number of the service. Each service must have a unique port number.
	 */
	Port   int `json:"port,omitempty"`
	Weight int `json:"weight,omitempty"`
	/**
	* Unique service identifier. Used when the persistency type for the virtual server is set to Custom Server ID.
	 */
	Customserverid string `json:"customserverid,omitempty"`
	/**
	* The  identifier for the service. This is used when the persistency type is set to Custom Server ID.
	 */
	Serverid int `json:"serverid,omitempty"`
	/**
	* Initial state of the service after binding.
	 */
	State string `json:"state,omitempty"`
	/**
	* Unique numerical identifier used by hash based load balancing methods to identify a service.
	 */
	Hashid int `json:"hashid,omitempty"`
	/**
	* Specify the nameserver to which the query for bound domain needs to be sent. If not specified, use the global nameserver
	 */
	Nameserver string `json:"nameserver,omitempty"`
	/**
	* Specify the TTL for DNS record for domain based service.The default value of ttl is 0 which indicates to use the TTL received in DNS response for monitors
	 */
	Dbsttl int `json:"dbsttl,omitempty"`
}

* * Binding class showing the servicegroupentitymonbindings that can be bound to servicegroup.

type Servicegroupservicegroupmemberbinding

type Servicegroupservicegroupmemberbinding struct {
	/**
	* IP Address.
	 */
	Ip string `json:"ip,omitempty"`
	/**
	* Server port number.
	 */
	Port int `json:"port,omitempty"`
	/**
	* The state of the service
	 */
	Svrstate string `json:"svrstate,omitempty"`
	/**
	* Time when last state change occurred. Seconds part.
	 */
	Statechangetimesec string `json:"statechangetimesec,omitempty"`
	/**
	* Time in 10 millisecond ticks since the last state change.
	 */
	Tickssincelaststatechange int `json:"tickssincelaststatechange,omitempty"`
	/**
	* Weight to assign to the servers in the service group. Specifies the capacity of the servers relative to the other servers in the load balancing configuration. The higher the weight, the higher the percentage of requests sent to the service.
	 */
	Weight int `json:"weight,omitempty"`
	/**
	* Name of the server to which to bind the service group.
	 */
	Servername string `json:"servername,omitempty"`
	/**
	* The identifier for this IP:Port pair. Used when the persistency type is set to Custom Server ID.
	 */
	Customserverid string `json:"customserverid,omitempty"`
	/**
	* The  identifier for the service. This is used when the persistency type is set to Custom Server ID.
	 */
	Serverid int `json:"serverid,omitempty"`
	/**
	* Initial state of the service group.
	 */
	State string `json:"state,omitempty"`
	/**
	* The hash identifier for the service. This must be unique for each service. This parameter is used by hash based load balancing methods.
	 */
	Hashid int `json:"hashid,omitempty"`
	/**
	* Wait for all existing connections to the service to terminate before shutting down the service.
	 */
	Graceful string `json:"graceful,omitempty"`
	/**
	* Time, in seconds, allocated for a shutdown of the services in the service group. During this period, new requests are sent to the service only for clients who already have persistent sessions on the appliance. Requests from new clients are load balanced among other available services. After the delay time expires, no requests are sent to the service, and the service is marked as unavailable (OUT OF SERVICE).
	 */
	Delay int `json:"delay,omitempty"`
	/**
	* Specify the nameserver to which the query for bound domain needs to be sent. If not specified, use the global nameserver
	 */
	Nameserver string `json:"nameserver,omitempty"`
	/**
	* Specify the TTL for DNS record for domain based service.The default value of ttl is 0 which indicates to use the TTL received in DNS response for monitors
	 */
	Dbsttl int `json:"dbsttl,omitempty"`
	/**
	* This gives the priority of the FQDN service items for SRV server binding
	 */
	Svcitmpriority int `json:"svcitmpriority,omitempty"`
	/**
	* Specify reason if service group member in TROFS
	 */
	Trofsreason string `json:"trofsreason,omitempty"`
	/**
	* Name of the service group.
	 */
	Servicegroupname string `json:"servicegroupname,omitempty"`
}

* * Binding class showing the servicegroupmember that can be bound to servicegroup.

type Servicegroupservicegroupmemberlistbinding

type Servicegroupservicegroupmemberlistbinding struct {
	/**
	* Desired servicegroupmember binding set. Any existing servicegroupmember which is not part of the input will be deleted or disabled based on graceful setting on servicegroup.
	 */
	Members []Members `json:"members,omitempty"`
	/**
	* List of servicegroupmembers which couldn't be bound.
	 */
	Failedmembers []Failedmembers `json:"failedmembers,omitempty"`
	/**
	* Name of the service group.
	 */
	Servicegroupname string `json:"servicegroupname,omitempty"`
}

* * Binding class showing the servicegroupmemberlist that can be bound to servicegroup.

type Servicelbmonitorbinding

type Servicelbmonitorbinding struct {
	/**
	* The monitor Names.
	 */
	Monitorname string `json:"monitor_name,omitempty"`
	/**
	* The configured state (enable/disable) of the monitor on this server.
	 */
	Monstate string `json:"monstate,omitempty"`
	/**
	* The running state of the monitor on this service.
	 */
	Monitorstate string `json:"monitor_state,omitempty"`
	/**
	* Added this field for getting state value from table.
	 */
	Dupstate string `json:"dup_state,omitempty"`
	/**
	* Weight to assign to the monitor-service binding. When a monitor is UP, the weight assigned to its binding with the service determines how much the monitor contributes toward keeping the health of the service above the value configured for the Monitor Threshold parameter.
	 */
	Weight int `json:"weight,omitempty"`
	/**
	* The weight of the monitor.
	 */
	Dupweight int `json:"dup_weight,omitempty"`
	/**
	* The total number of probs sent.
	 */
	Totalprobes int `json:"totalprobes,omitempty"`
	/**
	* The total number of failed probs.
	 */
	Totalfailedprobes int `json:"totalfailedprobes,omitempty"`
	/**
	* Number of the current failed monitoring probes.
	 */
	Failedprobes int `json:"failedprobes,omitempty"`
	/**
	* The code indicating the monitor response.
	 */
	Monstatcode int `json:"monstatcode,omitempty"`
	/**
	* The string form of monstatcode.
	 */
	Lastresponse string `json:"lastresponse,omitempty"`
	/**
	* First parameter for use with message code.
	 */
	Monstatparam1 int `json:"monstatparam1,omitempty"`
	/**
	* Second parameter for use with message code.
	 */
	Monstatparam2 int `json:"monstatparam2,omitempty"`
	/**
	* Third parameter for use with message code.
	 */
	Monstatparam3 int `json:"monstatparam3,omitempty"`
	/**
	* Response time of this monitor.
	 */
	Responsetime int `json:"responsetime,omitempty"`
	/**
	* Total number of probes sent to monitor this service.
	 */
	Monitortotalprobes int `json:"monitortotalprobes,omitempty"`
	/**
	* Total number of failed probes
	 */
	Monitortotalfailedprobes int `json:"monitortotalfailedprobes,omitempty"`
	/**
	* Total number of currently failed probes
	 */
	Monitorcurrentfailedprobes int `json:"monitorcurrentfailedprobes,omitempty"`
	/**
	* Indicates if load monitor is passive. A passive load monitor does not remove service from LB decision when threshold is breached.
	 */
	Passive bool `json:"passive,omitempty"`
	/**
	* Name of the service to which to bind a policy or monitor.
	 */
	Name string `json:"name,omitempty"`
}

* * Binding class showing the lbmonitor that can be bound to service.

type Servicemonitorbinding

type Servicemonitorbinding struct {
	/**
	* The monitor Names.
	 */
	Monitorname string `json:"monitor_name,omitempty"`
	/**
	* The configured state (enable/disable) of the monitor on this server.
	 */
	Monstate string `json:"monstate,omitempty"`
	/**
	* The running state of the monitor on this service.
	 */
	Monitorstate string `json:"monitor_state,omitempty"`
	/**
	* Added this field for getting state value from table.
	 */
	Dupstate string `json:"dup_state,omitempty"`
	/**
	* Weight to assign to the monitor-service binding. When a monitor is UP, the weight assigned to its binding with the service determines how much the monitor contributes toward keeping the health of the service above the value configured for the Monitor Threshold parameter.
	 */
	Weight uint32 `json:"weight,omitempty"`
	/**
	* The weight of the monitor.
	 */
	Dupweight uint32 `json:"dup_weight,omitempty"`
	/**
	* The total number of probs sent.
	 */
	Totalprobes uint32 `json:"totalprobes,omitempty"`
	/**
	* The total number of failed probs.
	 */
	Totalfailedprobes uint32 `json:"totalfailedprobes,omitempty"`
	/**
	* Number of the current failed monitoring probes.
	 */
	Failedprobes uint32 `json:"failedprobes,omitempty"`
	/**
	* The code indicating the monitor response.
	 */
	Monstatcode int32 `json:"monstatcode,omitempty"`
	/**
	* The string form of monstatcode.
	 */
	Lastresponse string `json:"lastresponse,omitempty"`
	/**
	* First parameter for use with message code.
	 */
	Monstatparam1 int32 `json:"monstatparam1,omitempty"`
	/**
	* Second parameter for use with message code.
	 */
	Monstatparam2 int32 `json:"monstatparam2,omitempty"`
	/**
	* Third parameter for use with message code.
	 */
	Monstatparam3 int32 `json:"monstatparam3,omitempty"`
	/**
	* Response time of this monitor.
	 */
	Responsetime uint64 `json:"responsetime,omitempty"`
	/**
	* Total number of probes sent to monitor this service.
	 */
	Monitortotalprobes uint32 `json:"monitortotalprobes,omitempty"`
	/**
	* Total number of failed probes
	 */
	Monitortotalfailedprobes uint32 `json:"monitortotalfailedprobes,omitempty"`
	/**
	* Total number of currently failed probes
	 */
	Monitorcurrentfailedprobes uint32 `json:"monitorcurrentfailedprobes,omitempty"`
	/**
	* Indicates if load monitor is passive. A passive load monitor does not remove service from LB decision when threshold is breached.
	 */
	Passive bool `json:"passive,omitempty"`
	/**
	* Name of the service to which to bind a policy or monitor.
	 */
	Name string `json:"name,omitempty"`
}

* * Binding class showing the monitor that can be bound to service.

type Servicepolicybinding

type Servicepolicybinding struct {
	/**
	* The name of the policyname for which this service is bound
	 */
	Policyname string `json:"policyname,omitempty"`
	/**
	* Name of the service to which to bind a policy or monitor.
	 */
	Name string `json:"name,omitempty"`
}

* * Binding class showing the policy that can be bound to service.

type Servicescpolicybinding

type Servicescpolicybinding struct {
	/**
	* The name of the policyname for which this service is bound
	 */
	Policyname string `json:"policyname,omitempty"`
	/**
	* Name of the service to which to bind a policy or monitor.
	 */
	Name string `json:"name,omitempty"`
}

* * Binding class showing the scpolicy that can be bound to service.

type Svcbindings

type Svcbindings struct {
	/**
	* The name of the service.
	 */
	Servicename string `json:"servicename,omitempty"`

	Ipaddress   string `json:"ipaddress,omitempty"`
	Port        string `json:"port,omitempty"`
	Svrstate    string `json:"svrstate,omitempty"`
	Vservername string `json:"vservername,omitempty"`
}

* * Configuration for service bindings resource.

type Vserver

type Vserver struct {
	/**
	* The name of the virtual server to be removed.
	 */
	Name string `json:"name,omitempty"`
	/**
	* The name of the backup virtual server for this virtual server.
	 */
	Backupvserver string `json:"backupvserver,omitempty"`
	/**
	* The URL where traffic is redirected if the virtual server in the system becomes unavailable.
	 */
	Redirecturl string `json:"redirecturl,omitempty"`
	/**
	* Use this option to specify whether a virtual server (used for load balancing or content switching) routes requests to the cache redirection virtual server before sending it to the configured servers.
	 */
	Cacheable string `json:"cacheable,omitempty"`
	/**
	* The timeout value in seconds for idle client connection
	 */
	Clttimeout int `json:"clttimeout,omitempty"`
	/**
	* The spillover factor. The system will use this value to determine if it should send traffic to the backupvserver when the main virtual server reaches the spillover threshold.
	 */
	Somethod string `json:"somethod,omitempty"`
	/**
	* The state of the spillover persistence.
	 */
	Sopersistence string `json:"sopersistence,omitempty"`
	/**
	* The spillover persistence entry timeout.
	 */
	Sopersistencetimeout int `json:"sopersistencetimeout,omitempty"`
	/**
	* The spillver threshold value.
	 */
	Sothreshold int `json:"sothreshold,omitempty"`
	/**
	* The lb vserver of type PUSH/SSL_PUSH to which server pushes the updates received on the client facing non-push lb vserver.
	 */
	Pushvserver string `json:"pushvserver,omitempty"`
}

* * Configuration for virtual server resource.

Jump to

Keyboard shortcuts

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