github.com/vmware/go-vmware-nsxt@v0.0.0-20230223012718-d31b8a1ca05e/manager/ip_pool_subnet.go (about)

     1  /* Copyright © 2017 VMware, Inc. All Rights Reserved.
     2     SPDX-License-Identifier: BSD-2-Clause
     3  
     4     Generated by: https://github.com/swagger-api/swagger-codegen.git */
     5  
     6  package manager
     7  
     8  import (
     9  	"github.com/vmware/go-vmware-nsxt/common"
    10  )
    11  
    12  type IpPoolSubnet struct {
    13  
    14  	// The server will populate this field when returing the resource. Ignored on PUT and POST.
    15  	Links []common.ResourceLink `json:"_links,omitempty"`
    16  
    17  	Schema string `json:"_schema,omitempty"`
    18  
    19  	Self *common.SelfResourceLink `json:"_self,omitempty"`
    20  
    21  	// A collection of IPv4 or IPv6 IP Pool Ranges.
    22  	AllocationRanges []IpPoolRange `json:"allocation_ranges"`
    23  
    24  	// Represents network address and the prefix length which will be associated with a layer-2 broadcast domain
    25  	Cidr string `json:"cidr"`
    26  
    27  	// The collection of upto 3 DNS servers for the subnet.
    28  	DnsNameservers []string `json:"dns_nameservers,omitempty"`
    29  
    30  	// The DNS suffix for the DNS server.
    31  	DnsSuffix string `json:"dns_suffix,omitempty"`
    32  
    33  	// The default gateway address on a layer-3 router.
    34  	GatewayIp string `json:"gateway_ip,omitempty"`
    35  }