/
ip_pool_subnet.go
35 lines (23 loc) · 1.05 KB
/
ip_pool_subnet.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
30
31
32
33
34
35
/* Copyright © 2017 VMware, Inc. All Rights Reserved.
SPDX-License-Identifier: BSD-2-Clause
Generated by: https://github.com/swagger-api/swagger-codegen.git */
package manager
import (
"github.com/vmware/go-vmware-nsxt/common"
)
type IpPoolSubnet struct {
// The server will populate this field when returing the resource. Ignored on PUT and POST.
Links []common.ResourceLink `json:"_links,omitempty"`
Schema string `json:"_schema,omitempty"`
Self *common.SelfResourceLink `json:"_self,omitempty"`
// A collection of IPv4 or IPv6 IP Pool Ranges.
AllocationRanges []IpPoolRange `json:"allocation_ranges"`
// Represents network address and the prefix length which will be associated with a layer-2 broadcast domain
Cidr string `json:"cidr"`
// The collection of upto 3 DNS servers for the subnet.
DnsNameservers []string `json:"dns_nameservers,omitempty"`
// The DNS suffix for the DNS server.
DnsSuffix string `json:"dns_suffix,omitempty"`
// The default gateway address on a layer-3 router.
GatewayIp string `json:"gateway_ip,omitempty"`
}