HostVirtualSwitchConfig

HostVirtualSwitchConfig
HostVirtualSwitchConfig

This data object type describes the VirtualSwitch configuration containing both the configurable properties on a VirtualSwitch and identification information.

AllOf
This class requires all of the following:
JSON Example
{
    "_typeName": "string",
    "changeOperation": "string",
    "name": "string",
    "spec": {
        "_typeName": "string",
        "numPorts": 0,
        "bridge": {
            "_typeName": "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
            }
        },
        "mtu": 0
    }
}
string
changeOperation
Optional

This property indicates the change operation to apply on this configuration specification.

See also HostConfigChangeOperationEnum.

string
name
Required

The name of the virtual switch.

Maximum length is 32 characters.

spec
Optional

This data object type describes the VirtualSwitch specification representing the properties on a VirtualSwitch that can be configured once the object exists.