Sha256: 15edc0ebac16159179bed03db0956845e74247e5804dcd50a0aa83ebefb3259c

Contents?: true

Size: 1.61 KB

Versions: 8

Compression:

Stored size: 1.61 KB

Contents

# Fastly::LegacyWafTagApi


```ruby
require 'fastly'
api_instance = Fastly::LegacyWafTagApi.new
```

## Methods

> [!NOTE]
> All URIs are relative to `https://api.fastly.com`

Method | HTTP request | Description
------ | ------------ | -----------
[**list_legacy_waf_tags**](LegacyWafTagApi.md#list_legacy_waf_tags) | **GET** /wafs/tags | List WAF tags


## `list_legacy_waf_tags()`

```ruby
list_legacy_waf_tags(opts): Object # List WAF tags
```

List all tags.

### Examples

```ruby
api_instance = Fastly::LegacyWafTagApi.new
opts = {
    filter_name: 'filter_name_example', # String | Limit the returned tags to a specific name.
    page_number: 1, # Integer | Current page.
    page_size: 20, # Integer | Number of records per page.
    include: 'rules', # String | Include relationships. Optional, comma separated values. Permitted values: `rules`. 
}

begin
  # List WAF tags
  result = api_instance.list_legacy_waf_tags(opts)
  p result
rescue Fastly::ApiError => e
  puts "Error when calling LegacyWafTagApi->list_legacy_waf_tags: #{e}"
end
```

### Options

| Name | Type | Description | Notes |
| ---- | ---- | ----------- | ----- |
| **filter_name** | **String** | Limit the returned tags to a specific name. | [optional] |
| **page_number** | **Integer** | Current page. | [optional] |
| **page_size** | **Integer** | Number of records per page. | [optional][default to 20] |
| **include** | **String** | Include relationships. Optional, comma separated values. Permitted values: `rules`.  | [optional] |

### Return type

**Object**

[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
[[Back to README]](../../README.md)

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
fastly-9.0.0 docs/LegacyWafTagApi.md
fastly-8.10.0 docs/LegacyWafTagApi.md
fastly-8.9.0 docs/LegacyWafTagApi.md
fastly-8.8.0 docs/LegacyWafTagApi.md
fastly-8.7.0 docs/LegacyWafTagApi.md
fastly-8.6.0 docs/LegacyWafTagApi.md
fastly-8.5.0 docs/LegacyWafTagApi.md
fastly-8.4.0 docs/LegacyWafTagApi.md