VSDataScriptSet

Description

API


    POST /api/vsdatascriptset
    PUT /api/vsdatascriptset/<key>
    DELETE /api/vsdatascriptset/<key>
    GET /api/vsdatascriptset
    GET /api/vsdatascriptset/<key>

CLI


    configure vsdatascriptset <key>
    show vsdatascriptset <key>

Data

VSDataScriptSet

uuid

Type
string
Category
required
Description
UUID of the virtual service datascript collection

name

Type
string
Category
required
Description
Name for the virtual service datascript collection

datascript

Type
VSDataScript
Category
repeated
Description
DataScripts to execute

pool_refs

Type
Reference to Pool
Category
repeated
Description
UUID of pools that could be referred by VSDataScriptSet objects.

description

Type
string
Category
optional
Description

tenant_ref

Type
Reference to Tenant
Category
required
Description

VSDataScript

evt

Type
enum
Category
required
Description
Event triggering execution of datascript
Choices
VS_DATASCRIPT_EVT_HTTP_RESP, VS_DATASCRIPT_EVT_HTTP_REQ, VS_DATASCRIPT_EVT_HTTP_LB_FAILED, VS_DATASCRIPT_EVT_HTTP_RESP_DATA, VS_DATASCRIPT_EVT_MAX

script

Type
string
Category
required
Description
Datascript to execute when the event triggers

References

Tenant Pool

Sub Objects