NetworkDetailsSpec
NetworkDetailsSpec
This specification contains network parameters required for new virtual machines being added to a workload domain
JSON Example
{
"ipAddress": "string",
"dnsName": "string",
"gateway": "string",
"subnetMask": "string",
"ipv6PrefixLength": 0,
"ipv6Gateway": "string"
}
string
As ^([01]?\d\d?|2[0-4]\d|25[0-5])\.([01]?\d\d?|2[0-4]\d|25[0-5])\.([01]?\d\d?|2[0-4]\d|25[0-5])\.([01]?\d\d?|2[0-4]\d|25[0-5])$
ipAddress
Optional
[Deprecated] IPv4 address of the virtual machine. Can be omitted if hostname (dnsName) is provded.
string
As ^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9])\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\-]*[A-Za-z0-9])$
dnsName
Required
DNS name of the virtual machine, e.g., vc-1.domain1.vsphere.local
string
As ^([01]?\d\d?|2[0-4]\d|25[0-5])\.([01]?\d\d?|2[0-4]\d|25[0-5])\.([01]?\d\d?|2[0-4]\d|25[0-5])\.([01]?\d\d?|2[0-4]\d|25[0-5])$
gateway
Optional
IPv4 gateway the VM can use to connect to the outside world
string
As ^([01]?\d\d?|2[0-4]\d|25[0-5])\.([01]?\d\d?|2[0-4]\d|25[0-5])\.([01]?\d\d?|2[0-4]\d|25[0-5])\.([01]?\d\d?|2[0-4]\d|25[0-5])$
subnetMask
Optional
The subnet mask for the IPv4 address
integer As int32
As int32
ipv6PrefixLength
Optional
The IPv6 network prefix length for the IPv6 address
string
ipv6Gateway
Optional
The IPv6 gateway address required by the Virtual Machine for external network connectivity.