Search

Method DVSRollback_Task(VcEntityBackupConfig entityBackup)

This method determines if the distributed virtual switch configuration has changed. If it has changed, the method returns a VcVMwareDVSConfigSpec. Use the VcDistributedVirtualSwitch method to apply the rollback configuration to the switch. You can use the rollback method only on a VcVmwareDistributedVirtualSwitch.

  • If you specify the entityBackup parameter, the returned configuration specification represents the exported switch configuration. If the entityBackup matches the current switch configuration, the method does not return a configuration specification.

  • If entityBackup is not specified, the returned configuration specification represents a previous state of the switch, if available. When you use a VMware distributed virtual switch, each time you reconfigure the switch, the Server saves the switch configuration before applying the updates. If the vCenter Server is restarted, the saved configuration is not preserved and the method does not return a configuration specification.

To use the rollback method, you must have the DVSwitch.Read privilege.

Returns

VcTask

Arguments

Name Type Description
entityBackup VcEntityBackupConfig Backup of a distributed virtual switch, returned by the <a href="VcDistributedVirtualSwitchManager.html#exportEntity">VcDistributedVirtualSwitchManager</a> method.