ADC CLI Commands

ns-aigwprofile

The following operations can be performed on “ns-aigwprofile”:

add rm set unset show

add ns aigwprofile

This command creates a new AIGW profile frontend/backend

Synopsis

add ns aigwprofile -endpointType azureopenai -profileType \( frontend | backend ) \[-tokenQuota <positive\_integer>] \[-quotaRefreshFrequency <positive\_integer>] \[-authToken ]

Arguments

name Name of the AIGW Profile.

endpointType The type of AI GW endpoint type

Possible values: azureopenai Default value: AZURE_OPENAI

profileType The binding entity for the aigw profile

Possible values: frontend, backend Default value: frontend,

tokenQuota Token capacity of the backend server. Minimum value: 1 Maximum value: 2147483647

quotaRefreshFrequency Quota refresh rate, in minutes. Minimum value: 1 Maximum value: 65535

authToken Authentication token/API Key for the AI GW Endpoint.

Example

add aigwprofile profile1 -endpointtype azure_openai -profiletype backend -tokenquota 120000 -quotarefreshfreq 1 -authtoken

rm ns aigwprofile

This command removes the specified AIGW profile.

Synopsis

rm ns aigwprofile

Arguments

name Name of the AIGW Profile.

Example

rm aigwprofile profile1

set ns aigwprofile

This command modifies the specified parameters of the specified AIGW profile

Synopsis

set ns aigwprofile [-tokenQuota ] [-quotaRefreshFrequency ]

Arguments

name Name of the AIGW Profile.

tokenQuota Token capacity of the backend server. Minimum value: 1 Maximum value: 2147483647

quotaRefreshFrequency Quota refresh rate, in minutes. Minimum value: 1 Maximum value: 65535

Example

set aigwprofile profile1 -tokenquota 200000 -quotarefreshfreq 5

unset ns aigwprofile

Use this command to remove ns aigwprofile settings.Refer to the set ns aigwprofile command for meanings of the arguments.

Synopsis

unset ns aigwprofile [-tokenQuota] [-quotaRefreshFrequency]

show ns aigwprofile

Displays the details of the specified AIGW profile. If no AIGW profile name is specified, displays a list of AIGW profiles in Citrix ADC

Synopsis

show ns aigwprofile []

Arguments

name Name of the AIGW Profile.

Output

endpointType The type of AI GW endpoint type

profileType The binding entity for the aigw profile

tokenQuota Token capacity of the backend server.

quotaRefreshFrequency Quota refresh rate, in minutes.

authToken Authentication token/API Key for the AI GW Endpoint.

refCnt Reference count of the profile.

stateflag devno count _nextgenAPIResource

Example

show aigwprofile profile1

ns-aigwprofile