-
Notifications
You must be signed in to change notification settings - Fork 70
/
rate_profile.go
29 lines (21 loc) · 1.5 KB
/
rate_profile.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// Copyright 2021 VMware, Inc.
// SPDX-License-Identifier: Apache License 2.0
package models
// This file is auto-generated.
// RateProfile rate profile
// swagger:model RateProfile
type RateProfile struct {
// Action to perform upon rate limiting. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
// Required: true
Action *RateLimiterAction `json:"action"`
// Explicitly tracks an attacker across rate periods. Allowed in Enterprise edition with any value, Basic edition(Allowed values- false), Essentials, Enterprise with Cloud Services edition.
ExplicitTracking *bool `json:"explicit_tracking,omitempty"`
// Enable fine granularity. Allowed in Enterprise edition with any value, Basic edition(Allowed values- false), Essentials, Enterprise with Cloud Services edition.
FineGrain *bool `json:"fine_grain,omitempty"`
// HTTP cookie name. Field introduced in 17.1.1. Allowed in Enterprise edition with any value, Essentials, Enterprise with Cloud Services edition.
HTTPCookie *string `json:"http_cookie,omitempty"`
// HTTP header name. Field introduced in 17.1.1. Allowed in Enterprise edition with any value, Essentials, Enterprise with Cloud Services edition.
HTTPHeader *string `json:"http_header,omitempty"`
// The rate limiter configuration for this rate profile. Field introduced in 18.2.9. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
RateLimiter *RateLimiter `json:"rate_limiter,omitempty"`
}