-
Notifications
You must be signed in to change notification settings - Fork 70
/
dns_rule_match_target.go
28 lines (20 loc) · 1.73 KB
/
dns_rule_match_target.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
// Copyright 2021 VMware, Inc.
// SPDX-License-Identifier: Apache License 2.0
package models
// This file is auto-generated.
// DNSRuleMatchTarget Dns rule match target
// swagger:model DnsRuleMatchTarget
type DNSRuleMatchTarget struct {
// IP addresses to match against client IP or the EDNS client subnet IP. Field introduced in 17.1.6,17.2.2. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
ClientIPAddress *DNSClientIPMatch `json:"client_ip_address,omitempty"`
// Port number to match against client port number. Field introduced in 21.1.1. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
ClientPortNumbers *DNSClientPortMatch `json:"client_port_numbers,omitempty"`
// Geographical location attribute to match against that of the client IP. Field introduced in 17.1.5. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
GeoLocation *DNSGeoLocationMatch `json:"geo_location,omitempty"`
// DNS transport protocol match. Field introduced in 17.1.1. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
Protocol *DNSTransportProtocolMatch `json:"protocol,omitempty"`
// Domain names to match against query name. Field introduced in 17.1.1. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
QueryName *DNSQueryNameMatch `json:"query_name,omitempty"`
// DNS query types to match against request query type. Field introduced in 17.1.1. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
QueryType *DNSQueryTypeMatch `json:"query_type,omitempty"`
}