DvsSpec
DvsSpec
Spec contains parameters for DVS
JSON Example
{
"dvsName": "string",
"isUsedByNsxt": false,
"mtu": 0,
"networks": [
"string"
],
"niocSpecs": [
{
"trafficType": "One among:VSAN, VMOTION, VIRTUALMACHINE, MANAGEMENT, NFS, VDP, HBR, FAULTTOLERANCE, ISCSI",
"value": "string"
}
],
"vmnics": [
"string"
],
"nsxtSwitchConfig": {
"transportZones": [
{
"name": "string",
"transportType": "One among: VLAN, OVERLAY"
}
],
"hostSwitchOperationalMode": "One among: STANDARD, ENS, ENS_INTERRUPT"
},
"vmnicsToUplinks": [
{
"nsxUplinkName": "string",
"vdsUplinkName": "string"
}
]
}
string
dvsName
Required
DVS Name
boolean
isUsedByNsxt
Optional
Flag indicating whether the DVS is used by NSX. This property is deprecated in favor of nsxtSwitchConfig field
integer As int32 As int32
mtu
Optional
DVS MTU (default value is 9000)
array of string
networks
Required
Types of networks in this portgroup
array of string
vmnics
Optional
Vmnics to be attached to the DVS. This property is deprecated in favor of vmnicsToUplinks fields
nsxtSwitchConfig
Optional
This specification contains the configurations to be associated with the vSphere Distributed Switch managed by NSX
array of UplinkMapping
vmnicsToUplinks
Optional
The map of vSphere Distributed Switch uplinks to the NSX switch uplinks.