Distributed Virtual Switch Manager DVS Manager Export Entity Task
Export the configuration for entities specified in the
selectionSet
parameter.
You can use this method only for a VmwareDistributedVirtualSwitch and its associated DistributedVirtualPortgroup objects.
Use the DVSManagerImportEntity_Task method to restore the entity to the state represented by the exported configuration. You can also use the exported configuration to create a new switch or portgroup.
The unique identifier for the managed object to which the method attaches; the serialized managed object reference for a request has the form moType/moId
, in this case DistributedVirtualSwitchManager/{moId}
.
The vSphere release schema. The current specification covers vSphere 8.0.2.0 APIs.
"DVSManagerExportEntityRequestType Object"
The selection criteria for a set of entities to export the configuration.
This method returns a Task object with which to monitor the operation. After successful completion, the Task.info.result property contains the EntityBackupConfig object.
"MoRefTask Object"
NotFound: If entity in selectionSet doesn't exist.
BackupBlobWriteFailure: if failed to create backup config blob.
"VimFault Object"
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/sdk/vim25/{release}/DistributedVirtualSwitchManager/{moId}/DVSManagerExportEntity_Task