use WebService::Fastly::Object::WafTagsApi;
Note
All URIs are relative to https://api.fastly.com
Method | HTTP request | Description |
---|---|---|
list_waf_tags | GET /waf/tags | List tags |
WafTagsResponse list_waf_tags(filter[name] => $filter[name], page[number] => $page[number], page[size] => $page[size], include => $include)
List tags
List all tags.
use Data::Dumper;
use WebService::Fastly::WafTagsApi;
my $api_instance = WebService::Fastly::WafTagsApi->new(
# Configure API key authorization: token
api_key => {'Fastly-Key' => 'YOUR_API_KEY'},
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#api_key_prefix => {'Fastly-Key' => 'Bearer'},
);
my $filter[name] = "filter[name]_example"; # string | Limit the returned tags to a specific name.
my $page[number] = 1; # int | Current page.
my $page[size] = 20; # int | Number of records per page.
my $include = waf_rules; # string | Include relationships. Optional.
eval {
my $result = $api_instance->list_waf_tags(filter[name] => $filter[name], page[number] => $page[number], page[size] => $page[size], include => $include);
print Dumper($result);
};
if ($@) {
warn "Exception when calling WafTagsApi->list_waf_tags: $@\n";
}
Name | Type | Description | Notes |
---|---|---|---|
filter[name] | string | Limit the returned tags to a specific name. | [optional] |
page[number] | int | Current page. | [optional] |
page[size] | int | Number of records per page. | [optional] [default to 20] |
include | string | Include relationships. Optional. | [optional] [default to 'waf_rules'] |
- Content-Type: Not defined
- Accept: application/vnd.api+json
[Back to top] [Back to API list] [Back to Model list] [Back to README]