| addpolicydataset |
Use this method to adds a policy dataset to the appliance. The patset file option can be used to bind the patterns contained in a file, which is imported from Citrix ADC or from an external location (please check import/add/update patsetfile). A dataset can be configured with at most one patsetfile! |
Syntax |
Parameters |
name |
Name of the dataset. Must not exceed 127 characters. This is mandatory parameter. |
type |
Type of value to bind to the dataset. This is mandatory parameter. |
comment |
Any comments to preserve information about this dataset or a data bound to this dataset. |
patsetfile |
File which contains list of patterns that needs to be bound to the dataset. A patsetfile cannot be associated with multiple datasets. |
dynamic |
This is used to populate internal dataset information so that the dataset can also be used dynamically in an expression. Here dynamically means the dataset name can also be derived using an expression. For example for a given dataset name "allow_test" it can be used dynamically as client.ip.src.equals_any("allow_" + http.req.url.path.get(1)). This cannot be used with default datasets. Default value = NS_NO2. |
Return Value |
Returns simpleResult |
See Also |