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.

pool_group_refs

Type
Reference to PoolGroup
Category
repeated
Description
UUID of pool groups that could be referred by VSDataScriptSet objects.

ipgroup_refs

Type
Reference to IpAddrGroup
Category
repeated
Description
UUID of IP Groups that could be referred by VSDataScriptSet objects.

string_group_refs

Type
Reference to StringGroup
Category
repeated
Description
UUID of String Groups 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_REQ, VS_DATASCRIPT_EVT_HTTP_RESP, VS_DATASCRIPT_EVT_HTTP_RESP_DATA, VS_DATASCRIPT_EVT_HTTP_LB_FAILED, VS_DATASCRIPT_EVT_HTTP_REQ_DATA, VS_DATASCRIPT_EVT_MAX

script

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

References

PoolGroup IpAddrGroup Pool StringGroup Tenant

Sub Objects