HostPortGroupSpec
HostPortGroupSpec
This data object type describes the PortGroup specification representing the properties on a PortGroup that can be configured.
AllOf
This class requires all of the following:
JSON Example
{
"_typeName": "string",
"name": "string",
"vlanId": 0,
"vswitchName": "string",
"policy": {
"_typeName": "string",
"security": {
"_typeName": "string",
"allowPromiscuous": false,
"macChanges": false,
"forgedTransmits": false
},
"nicTeaming": {
"_typeName": "string",
"policy": "string",
"reversePolicy": false,
"notifySwitches": false,
"rollingOrder": false,
"failureCriteria": {
"_typeName": "string",
"checkSpeed": "string",
"speed": 0,
"checkDuplex": false,
"fullDuplex": false,
"checkErrorPercent": false,
"percentage": 0,
"checkBeacon": false
},
"nicOrder": {
"_typeName": "string",
"activeNic": [
"string"
],
"standbyNic": [
"string"
]
}
},
"offloadPolicy": {
"_typeName": "string",
"csumOffload": false,
"tcpSegmentation": false,
"zeroCopyXmit": false
},
"shapingPolicy": {
"_typeName": "string",
"enabled": false,
"averageBandwidth": 0,
"peakBandwidth": 0,
"burstSize": 0
}
}
}
string
name
Required
The name of the port group.
integer As int32
As int32
vlanId
Required
The VLAN ID for ports using this port group.
Possible values:
- A value of 0 specifies that you do not want the port group associated with a VLAN.
- A value from 1 to 4094 specifies a VLAN ID for the port group.
- A value of 4095 specifies that the port group should use trunk mode, which allows the guest operating system to manage its own VLAN tags.
string
vswitchName
Required
The identifier of the virtual switch on which this port group is located.
policy
Required
Policies on the port group take precedence over the ones specified on the virtual switch.