Skip to content

Latest commit

 

History

History
58 lines (42 loc) · 1.82 KB

LegacyWafTagApi.md

File metadata and controls

58 lines (42 loc) · 1.82 KB

Fastly\Api\LegacyWafTagApi

$apiInstance = new Fastly\Api\LegacyWafTagApi(
    // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
    // This is optional, `GuzzleHttp\Client` will be used as default.
    new GuzzleHttp\Client(),
    $config
);

Methods

Method Fastly API endpoint Description
listLegacyWafTags() GET /wafs/tags List WAF tags

listLegacyWafTags()

listLegacyWafTags($options): object // List WAF tags

List all tags.

Example

    $options['filter_name'] = 'filter_name_example'; // string | Limit the returned tags to a specific name.
$options['page_number'] = 1; // int | Current page.
$options['page_size'] = 20; // int | Number of records per page.
$options['include'] = rules; // string | Include relationships. Optional, comma separated values. Permitted values: `rules`.

try {
    $result = $apiInstance->listLegacyWafTags($options);
} catch (Exception $e) {
    echo 'Exception when calling LegacyWafTagApi->listLegacyWafTags: ', $e->getMessage(), PHP_EOL;
}

Options

Note: the input parameter is an associative array with the keys listed below.

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] [defaults to 20]
include string Include relationships. Optional, comma separated values. Permitted values: rules. [optional]

Return type

object

[Back to top] [Back to API list] [Back to README]