Invoke ADCAddCsvserver - j81blog/J81.ADCToolkit GitHub Wiki

Invoke-ADCAddCsvserver

SYNOPSIS

Add Content Switching configuration Object.

SYNTAX

Invoke-ADCAddCsvserver [-Name] <String> [[-Td] <Double>] [-Servicetype] <String> [[-Ipv46] <String>]
 [[-Targettype] <String>] [[-Dnsrecordtype] <String>] [[-Persistenceid] <Double>] [[-Ippattern] <String>]
 [[-Ipmask] <String>] [[-Range] <Double>] [[-Port] <Int32>] [[-Ipset] <String>] [[-State] <String>]
 [[-Stateupdate] <String>] [[-Cacheable] <String>] [[-Redirecturl] <String>] [[-Clttimeout] <Double>]
 [[-Precedence] <String>] [[-Casesensitive] <String>] [[-Somethod] <String>] [[-Sopersistence] <String>]
 [[-Sopersistencetimeout] <Double>] [[-Sothreshold] <Double>] [[-Sobackupaction] <String>]
 [[-Redirectportrewrite] <String>] [[-Downstateflush] <String>] [[-Backupvserver] <String>]
 [[-Disableprimaryondown] <String>] [[-Insertvserveripport] <String>] [[-Vipheader] <String>]
 [[-Rtspnat] <String>] [[-Authenticationhost] <String>] [[-Authentication] <String>] [[-Listenpolicy] <String>]
 [[-Listenpriority] <Double>] [[-Authn401] <String>] [[-Authnvsname] <String>] [[-Push] <String>]
 [[-Pushvserver] <String>] [[-Pushlabel] <String>] [[-Pushmulticlients] <String>] [[-Tcpprofilename] <String>]
 [[-Httpprofilename] <String>] [[-Dbprofilename] <String>] [[-Oracleserverversion] <String>]
 [[-Comment] <String>] [[-Mssqlserverversion] <String>] [[-L2conn] <String>] [[-Mysqlprotocolversion] <Double>]
 [[-Mysqlserverversion] <String>] [[-Mysqlcharacterset] <Double>] [[-Mysqlservercapabilities] <Double>]
 [[-Appflowlog] <String>] [[-Netprofile] <String>] [[-Icmpvsrresponse] <String>] [[-Rhistate] <String>]
 [[-Authnprofile] <String>] [[-Dnsprofilename] <String>] [[-Dtls] <String>] [[-Persistencetype] <String>]
 [[-Persistmask] <String>] [[-V6persistmasklen] <Double>] [[-Timeout] <Double>] [[-Cookiename] <String>]
 [[-Persistencebackup] <String>] [[-Backuppersistencetimeout] <Double>] [[-Tcpprobeport] <Int32>]
 [[-Probeprotocol] <String>] [[-Probesuccessresponsecode] <String>] [[-Probeport] <Int32>]
 [[-Quicprofilename] <String>] [[-Redirectfromport] <Int32>] [[-Httpsredirecturl] <String>] [-PassThru]
 [-WhatIf] [-Confirm] [<CommonParameters>]

DESCRIPTION

Configuration for CS virtual server resource.

EXAMPLES

EXAMPLE 1

Invoke-ADCAddCsvserver -name <string> -servicetype <string>

An example how to add csvserver configuration Object(s).

PARAMETERS

-Name

Name for the content switching virtual server. Must begin with an ASCII alphanumeric or underscore (_) character, and must contain only ASCII alphanumeric, underscore, hash (#), period (.), space, colon (:), at sign (@), equal sign (=), and hyphen (-) characters. Cannot be changed after the CS virtual server is created.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Td

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.

Type: Double
Parameter Sets: (All)
Aliases:

Required: False
Position: 3
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False

-Servicetype

Protocol used by the virtual server. Possible values = HTTP, SSL, TCP, FTP, RTSP, SSL_TCP, UDP, DNS, SIP_UDP, SIP_TCP, SIP_SSL, ANY, RADIUS, RDP, MYSQL, MSSQL, DIAMETER, SSL_DIAMETER, DNS_TCP, ORACLE, SMPP, PROXY, MONGO, MONGO_TLS, MQTT, MQTT_TLS, HTTP_QUIC

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 4
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Ipv46

IP address of the content switching virtual server.

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 5
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Targettype

Virtual server target type. Possible values = GSLB

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 6
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Dnsrecordtype

. Possible values = A, AAAA, CNAME, NAPTR

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 7
Default value: NSGSLB_IPV4
Accept pipeline input: False
Accept wildcard characters: False

-Persistenceid

.

Type: Double
Parameter Sets: (All)
Aliases:

Required: False
Position: 8
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False

-Ippattern

IP address pattern, in dotted decimal notation, for identifying packets to be accepted by the virtual server. The IP Mask parameter specifies which part of the destination IP address is matched against the pattern. Mutually exclusive with the IP Address parameter. For example, if the IP pattern assigned to the virtual server is 198.51.100.0 and the IP mask is 255.255.240.0 (a forward mask), the first 20 bits in the destination IP addresses are matched with the first 20 bits in the pattern. The virtual server accepts requests with IP addresses that range from 198.51.96.1 to 198.51.111.254. You can also use a pattern such as 0.0.2.2 and a mask such as 0.0.255.255 (a reverse mask). If a destination IP address matches more than one IP pattern, the pattern with the longest match is selected, and the associated virtual server processes the request. For example, if the virtual servers, vs1 and vs2, have the same IP pattern, 0.0.100.128, but different IP masks of 0.0.255.255 and 0.0.224.255, a destination IP address of 198.51.100.128 has the longest match with the IP pattern of vs1. If a destination IP address matches two or more virtual servers to the same extent, the request is processed by the virtual server whose port number matches the port number in the request.

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 9
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Ipmask

IP mask, in dotted decimal notation, for the IP Pattern parameter. Can have leading or trailing non-zero octets (for example, 255.255.240.0 or 0.0.255.255). Accordingly, the mask specifies whether the first n bits or the last n bits of the destination IP address in a client request are to be matched with the corresponding bits in the IP pattern. The former is called a forward mask. The latter is called a reverse mask.

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 10
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Range

Number of consecutive IP addresses, starting with the address specified by the IP Address parameter, to include in a range of addresses assigned to this virtual server.

Type: Double
Parameter Sets: (All)
Aliases:

Required: False
Position: 11
Default value: 1
Accept pipeline input: False
Accept wildcard characters: False

-Port

Port number for content switching virtual server.

  • in CLI is represented as 65535 in NITRO API
Type: Int32
Parameter Sets: (All)
Aliases:

Required: False
Position: 12
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False

-Ipset

The list of IPv4/IPv6 addresses bound to ipset would form a part of listening service on the current cs vserver.

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 13
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-State

Initial state of the load balancing virtual server. Possible values = ENABLED, DISABLED

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 14
Default value: ENABLED
Accept pipeline input: False
Accept wildcard characters: False

-Stateupdate

Enable state updates for a specific content switching virtual server. By default, the Content Switching virtual server is always UP, regardless of the state of the Load Balancing virtual servers bound to it. This parameter interacts with the global setting as follows: Global Level | Vserver Level | Result ENABLED ENABLED ENABLED ENABLED DISABLED ENABLED DISABLED ENABLED ENABLED DISABLED DISABLED DISABLED If you want to enable state updates for only some content switching virtual servers, be sure to disable the state update parameter. Possible values = ENABLED, DISABLED, UPDATEONBACKENDUPDATE

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 15
Default value: DISABLED
Accept pipeline input: False
Accept wildcard characters: False

-Cacheable

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. Possible values = YES, NO

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 16
Default value: NO
Accept pipeline input: False
Accept wildcard characters: False

-Redirecturl

URL to which traffic is redirected if the virtual server becomes unavailable. The service type of the virtual server should be either HTTP or SSL. Caution: Make sure that the domain in the URL does not match the domain specified for a content switching policy. If it does, requests are continuously redirected to the unavailable virtual server.

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 17
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Clttimeout

Idle time, in seconds, after which the client connection is terminated. The default values are: 180 seconds for HTTP/SSL-based services. 9000 seconds for other TCP-based services. 120 seconds for DNS-based services. 120 seconds for other UDP-based services.

Type: Double
Parameter Sets: (All)
Aliases:

Required: False
Position: 18
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False

-Precedence

Type of precedence to use for both RULE-based and URL-based policies on the content switching virtual server. With the default (RULE) setting, incoming requests are evaluated against the rule-based content switching policies. If none of the rules match, the URL in the request is evaluated against the URL-based content switching policies. Possible values = RULE, URL

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 19
Default value: RULE
Accept pipeline input: False
Accept wildcard characters: False

-Casesensitive

Consider case in URLs (for policies that use URLs instead of RULES). For example, with the ON setting, the URLs /a/1.html and /A/1.HTML are treated differently and can have different targets (set by content switching policies). With the OFF setting, /a/1.html and /A/1.HTML are switched to the same target. Possible values = ON, OFF

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 20
Default value: ON
Accept pipeline input: False
Accept wildcard characters: False

-Somethod

Type of spillover used to divert traffic to the backup virtual server when the primary virtual server reaches the spillover threshold. Connection spillover is based on the number of connections. Bandwidth spillover is based on the total Kbps of incoming and outgoing traffic. Possible values = CONNECTION, DYNAMICCONNECTION, BANDWIDTH, HEALTH, NONE

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 21
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Sopersistence

Maintain source-IP based persistence on primary and backup virtual servers. Possible values = ENABLED, DISABLED

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 22
Default value: DISABLED
Accept pipeline input: False
Accept wildcard characters: False

-Sopersistencetimeout

Time-out value, in minutes, for spillover persistence.

Type: Double
Parameter Sets: (All)
Aliases:

Required: False
Position: 23
Default value: 2
Accept pipeline input: False
Accept wildcard characters: False

-Sothreshold

Depending on the spillover method, the maximum number of connections or the maximum total bandwidth (Kbps) that a virtual server can handle before spillover occurs.

Type: Double
Parameter Sets: (All)
Aliases:

Required: False
Position: 24
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False

-Sobackupaction

Action to be performed if spillover is to take effect, but no backup chain to spillover is usable or exists. Possible values = DROP, ACCEPT, REDIRECT

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 25
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Redirectportrewrite

State of port rewrite while performing HTTP redirect. Possible values = ENABLED, DISABLED

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 26
Default value: DISABLED
Accept pipeline input: False
Accept wildcard characters: False

-Downstateflush

Flush all active transactions associated with a virtual server whose state transitions from UP to DOWN. Do not enable this option for applications that must complete their transactions. Possible values = ENABLED, DISABLED

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 27
Default value: ENABLED
Accept pipeline input: False
Accept wildcard characters: False

-Backupvserver

Name of the backup virtual server that you are configuring. Must begin with an ASCII alphanumeric or underscore (_) character, and must contain only ASCII alphanumeric, underscore, hash (#), period (.), space, colon (:), at sign (@), equal sign (=), and hyphen (-) characters. Can be changed after the backup virtual server is created. You can assign a different backup virtual server or rename the existing virtual server.

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 28
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Disableprimaryondown

Continue forwarding the traffic to backup virtual server even after the primary server comes UP from the DOWN state. Possible values = ENABLED, DISABLED

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 29
Default value: DISABLED
Accept pipeline input: False
Accept wildcard characters: False

-Insertvserveripport

Insert the virtual server's VIP address and port number in the request header. Available values function as follows: VIPADDR - Header contains the vserver's IP address and port number without any translation. OFF - The virtual IP and port header insertion option is disabled. V6TOV4MAPPING - Header contains the mapped IPv4 address corresponding to the IPv6 address of the vserver and the port number. An IPv6 address can be mapped to a user-specified IPv4 address using the set ns ip6 command. Possible values = OFF, VIPADDR, V6TOV4MAPPING

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 30
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Vipheader

Name of virtual server IP and port header, for use with the VServer IP Port Insertion parameter.

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 31
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Rtspnat

Enable network address translation (NAT) for real-time streaming protocol (RTSP) connections. Possible values = ON, OFF

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 32
Default value: OFF
Accept pipeline input: False
Accept wildcard characters: False

-Authenticationhost

FQDN of the authentication virtual server. The service type of the virtual server should be either HTTP or SSL.

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 33
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Authentication

Authenticate users who request a connection to the content switching virtual server. Possible values = ON, OFF

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 34
Default value: OFF
Accept pipeline input: False
Accept wildcard characters: False

-Listenpolicy

String specifying the listen policy for the content switching virtual server. Can be either the name of an existing expression or an in-line expression.

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 35
Default value: "NONE"
Accept pipeline input: False
Accept wildcard characters: False

-Listenpriority

Integer specifying the priority of the listen policy. A higher number specifies a lower priority. If a request matches the listen policies of more than one virtual server the virtual server whose listen policy has the highest priority (the lowest priority number) accepts the request.

Type: Double
Parameter Sets: (All)
Aliases:

Required: False
Position: 36
Default value: 101
Accept pipeline input: False
Accept wildcard characters: False

-Authn401

Enable HTTP 401-response based authentication. Possible values = ON, OFF

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 37
Default value: OFF
Accept pipeline input: False
Accept wildcard characters: False

-Authnvsname

Name of authentication virtual server that authenticates the incoming user requests to this content switching virtual server. .

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 38
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Push

Process traffic with the push virtual server that is bound to this content switching virtual server (specified by the Push VServer parameter). The service type of the push virtual server should be either HTTP or SSL. Possible values = ENABLED, DISABLED

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 39
Default value: DISABLED
Accept pipeline input: False
Accept wildcard characters: False

-Pushvserver

Name of the load balancing virtual server, of type PUSH or SSL_PUSH, to which the server pushes updates received on the client-facing load balancing virtual server.

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 40
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Pushlabel

Expression for extracting the label from the response received from server. This string can be either an existing rule name or an inline expression. The service type of the virtual server should be either HTTP or SSL.

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 41
Default value: "none"
Accept pipeline input: False
Accept wildcard characters: False

-Pushmulticlients

Allow multiple Web 2.0 connections from the same client to connect to the virtual server and expect updates. Possible values = YES, NO

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 42
Default value: NO
Accept pipeline input: False
Accept wildcard characters: False

-Tcpprofilename

Name of the TCP profile containing TCP configuration settings for the virtual server.

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 43
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Httpprofilename

Name of the HTTP profile containing HTTP configuration settings for the virtual server. The service type of the virtual server should be either HTTP or SSL.

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 44
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Dbprofilename

Name of the DB profile.

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 45
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Oracleserverversion

Oracle server version. Possible values = 10G, 11G

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 46
Default value: 10G
Accept pipeline input: False
Accept wildcard characters: False

-Comment

Information about this virtual server.

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 47
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Mssqlserverversion

The version of the MSSQL server. Possible values = 70, 2000, 2000SP1, 2005, 2008, 2008R2, 2012, 2014

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 48
Default value: 2008R2
Accept pipeline input: False
Accept wildcard characters: False

-L2conn

Use L2 Parameters to identify a connection. Possible values = ON, OFF

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 49
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Mysqlprotocolversion

The protocol version returned by the mysql vserver.

Type: Double
Parameter Sets: (All)
Aliases:

Required: False
Position: 50
Default value: 10
Accept pipeline input: False
Accept wildcard characters: False

-Mysqlserverversion

The server version string returned by the mysql vserver.

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 51
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Mysqlcharacterset

The character set returned by the mysql vserver.

Type: Double
Parameter Sets: (All)
Aliases:

Required: False
Position: 52
Default value: 8
Accept pipeline input: False
Accept wildcard characters: False

-Mysqlservercapabilities

The server capabilities returned by the mysql vserver.

Type: Double
Parameter Sets: (All)
Aliases:

Required: False
Position: 53
Default value: 41613
Accept pipeline input: False
Accept wildcard characters: False

-Appflowlog

Enable logging appflow flow information. Possible values = ENABLED, DISABLED

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 54
Default value: ENABLED
Accept pipeline input: False
Accept wildcard characters: False

-Netprofile

The name of the network profile.

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 55
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Icmpvsrresponse

Can be active or passive. Possible values = PASSIVE, ACTIVE

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 56
Default value: PASSIVE
Accept pipeline input: False
Accept wildcard characters: False

-Rhistate

A host route is injected according to the setting on the virtual servers

  • If set to PASSIVE on all the virtual servers that share the IP address, the appliance always injects the hostroute.
  • If set to ACTIVE on all the virtual servers that share the IP address, the appliance injects even if one virtual server is UP.
  • If set to ACTIVE on some virtual servers and PASSIVE on the others, the appliance, injects even if one virtual server set to ACTIVE is UP. Possible values = PASSIVE, ACTIVE
Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 57
Default value: PASSIVE
Accept pipeline input: False
Accept wildcard characters: False

-Authnprofile

Name of the authentication profile to be used when authentication is turned on.

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 58
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Dnsprofilename

Name of the DNS profile to be associated with the VServer. DNS profile properties will applied to the transactions processed by a VServer. This parameter is valid only for DNS and DNS-TCP VServers.

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 59
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Dtls

This option starts/stops the dtls service on the vserver. Possible values = ON, OFF

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 60
Default value: OFF
Accept pipeline input: False
Accept wildcard characters: False

-Persistencetype

Type of persistence for the virtual server. Available settings function as follows:

  • SOURCEIP - Connections from the same client IP address belong to the same persistence session.
  • COOKIEINSERT - Connections that have the same HTTP Cookie, inserted by a Set-Cookie directive from a server, belong to the same persistence session.
  • SSLSESSION - Connections that have the same SSL Session ID belong to the same persistence session. Possible values = SOURCEIP, COOKIEINSERT, SSLSESSION, NONE
Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 61
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Persistmask

Persistence mask for IP based persistence types, for IPv4 virtual servers.

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 62
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-V6persistmasklen

Persistence mask for IP based persistence types, for IPv6 virtual servers.

Type: Double
Parameter Sets: (All)
Aliases:

Required: False
Position: 63
Default value: 128
Accept pipeline input: False
Accept wildcard characters: False

-Timeout

Time period for which a persistence session is in effect.

Type: Double
Parameter Sets: (All)
Aliases:

Required: False
Position: 64
Default value: 2
Accept pipeline input: False
Accept wildcard characters: False

-Cookiename

Use this parameter to specify the cookie name for COOKIE peristence type. It specifies the name of cookie with a maximum of 32 characters. If not specified, cookie name is internally generated.

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 65
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Persistencebackup

Backup persistence type for the virtual server. Becomes operational if the primary persistence mechanism fails. Possible values = SOURCEIP, NONE

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 66
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Backuppersistencetimeout

Time period for which backup persistence is in effect.

Type: Double
Parameter Sets: (All)
Aliases:

Required: False
Position: 67
Default value: 2
Accept pipeline input: False
Accept wildcard characters: False

-Tcpprobeport

Port number for external TCP probe. NetScaler provides support for external TCP health check of the vserver status over the selected port. This option is only supported for vservers assigned with an IPAddress or ipset.

  • in CLI is represented as 65535 in NITRO API
Type: Int32
Parameter Sets: (All)
Aliases:

Required: False
Position: 68
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False

-Probeprotocol

Citrix ADC provides support for external health check of the vserver status. Select HTTP or TCP probes for healthcheck. Possible values = TCP, HTTP

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 69
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Probesuccessresponsecode

HTTP code to return in SUCCESS case.

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 70
Default value: "200 OK"
Accept pipeline input: False
Accept wildcard characters: False

-Probeport

Citrix ADC provides support for external health check of the vserver status. Select port for HTTP/TCP monitring.

  • in CLI is represented as 65535 in NITRO API
Type: Int32
Parameter Sets: (All)
Aliases:

Required: False
Position: 71
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False

-Quicprofilename

Name of QUIC profile which will be attached to the Content Switching VServer.

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 72
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Redirectfromport

Port number for the virtual server, from which we absorb the traffic for http redirect.

  • in CLI is represented as 65535 in NITRO API
Type: Int32
Parameter Sets: (All)
Aliases:

Required: False
Position: 73
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False

-Httpsredirecturl

URL to which all HTTP traffic received on the port specified in the -redirectFromPort parameter is redirected.

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 74
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-PassThru

Return details about the created csvserver item.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Confirm

Prompts you for confirmation before running the cmdlet.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES

File Name : Invoke-ADCAddCsvserver Version : v2111.2521 Author : John Billekens Reference : https://developer-docs.citrix.com/projects/citrix-adc-nitro-api-reference/en/latest/configuration/cs/csvserver/ Requires : PowerShell v5.1 and up ADC 13.x and up. ADC 12 and lower may work, not guaranteed.

RELATED LINKS

https://blog.j81.nl

⚠️ **GitHub.com Fallback** ⚠️