Search

Method DVPortgroupRollback_Task(VcEntityBackupConfig entityBackup)

This method determines if the portgroup configuration has changed. If it has changed, the method returns a VcDVPortgroupConfigSpec. Use the VcDistributedVirtualPortgroup method to apply the rollback configuration to the portgroup. You can use the rollback method only on a portgroup that is associated with a VcVmwareDistributedVirtualSwitch.

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

  • If entityBackup is not specified, the returned configuration specification represents a previous state of the portgroup, 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 DVPortgroup.Read privilege.

Returns

VcTask

Arguments

Name Type Description
entityBackup VcEntityBackupConfig The backup of Distributed Virtual PortGroup entity.