Subnet

A network subnet defined by its gateway,


Properties

string
dnsServer1 Optional

The first DNS server that VMs attached to this network will use.


string
dnsServer2 Optional

The second DNS server that VMs attached to this network will use.


string
dnsSuffix Optional

The DNS suffix that VMs attached to this network will use.


boolean
enabled Optional

Indicates whether the external network subnet is currently enabled.


string
gateway Required

The gateway for the subnet.


ipRanges Optional

Range of IPs within the subnet that can be used in this network. A VM attached to this network is assigned one of these IPs.


integer
prefixLength Required

The prefix length of the subnet.


integer
totalIpCount Optional

The number of IP addresses defined by the static IP ranges.


integer
usedIpCount Optional

The number of IP address used from the static IP ranges.

JSON Example

{
	"gateway": "string",
	"prefixLength": 0
}

Vendor Extensions

This class contains the following vendor extensions defined in the spec:
x-vcloud-property-annotations:
  dnsServer1:
    x-vcloud-constraints:
    - constraint: NonSearchable
    - constraint: NonSortable
  dnsServer2:
    x-vcloud-constraints:
    - constraint: NonSearchable
    - constraint: NonSortable
  dnsSuffix:
    x-vcloud-constraints:
    - constraint: NonSearchable
    - constraint: NonSortable
  enabled:
    x-vcloud-constraints:
    - constraint: NonSearchable
    - constraint: NonSortable
  ipRanges:
    x-vcloud-constraints:
    - constraint: NonSearchable
    - constraint: NonSortable
  prefixLength:
    x-vcloud-constraints:
    - constraint: NonSearchable
    - constraint: NonSortable
  totalIpCount:
    x-vcloud-added-in: "33.0"
    x-vcloud-constraints:
    - constraint: NonSearchable
    - constraint: NonSortable
  usedIpCount:
    x-vcloud-added-in: "33.0"
    x-vcloud-constraints:
    - constraint: ReadOnly
    - constraint: NonSearchable
    - constraint: NonSortable
Property Of

Subnets
Used By

EdgeGatewaySubnet

Feedback

Was this page helpful?