ADC CLI Commands

api-profile

The following operations can be performed on “api-profile”:

bind unbind rm set show add unset

bind api profile

Binds apispec(s) to a specified API profile. A profile can have one or more spec bindings.

Synopsis

bind api profile -apispec

Arguments

name Name of the API profile in which to bind the API apispec(s).

apispec Name of the API apispec which will be bounded to the API profile.

Example

bind api profile -apispec

unbind api profile

Unbinds apispec(s) from the specified API profile.

Synopsis

unbind api profile -apispec

Arguments

name Name of the API profile from which to unbind the API apispec(s).

apispec Name of the API apispec which will be unbounded from the API profile.

Example

unbind api profile -apispec

rm api profile

Deletes the specified API profile.

Synopsis

rm api profile

Arguments

name Name of the API profile to remove

Example

rm api profile

set api profile

Sets the API Visibility parameter to the specified API profile.

Synopsis

set api profile -apiVisibility \( ENABLED | DISABLED )

Arguments

name Name of the API profile.

apiVisibility Enable/Disable the schema lookup for the requests/apispecs that are bounded to the API profile.

Possible values: ENABLED, DISABLED Default value: DISABLED

Example

set api profile -apiVisibility <ENABLED/DISABLED>

show api profile

Displays a list of all the API profiles on the Citrix ADC.

Synopsis

show api profile []

Arguments

name Name of the API profile.

Output

apispec Name for the API spec which will be binded to the profile.

apiVisibility Enable/Disable the schema lookup for the requests/apispecs that are bounded to the API profile. The default value of this parameter is DISABLED.

devno count stateflag

Example

show api profile

add api profile

Adds an API profile to the memory. API specs can be later be binded to it.

Synopsis

add api profile \[-apiVisibility \( ENABLED | DISABLED )]

Arguments

name Name of the API profile to add

apiVisibility Enable/Disable the schema lookup for the requests/apispecs that are bounded to the API profile. The default value of this parameter is DISABLED.

Possible values: ENABLED, DISABLED Default value: DISABLED

Example

add api profile

unset api profile

Use this command to remove api profile settings.Refer to the set api profile command for meanings of the arguments.

Synopsis

unset api profile -apiVisibility

api-profile