Distributed Virtual Switch Manager DVS Manager Import Entity Task
Import the configuration of entities specified in EntityBackupConfig.
You can restore the existing configuration to the state represented by the backup configuration. You can also use the backup configuration to create a new switch or portgroup. See EntityImportTypeEnum.
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.
{
"entityBackup": [
{
"_typeName": "string",
"entityType": "string",
"configBlob": "string",
"key": "string",
"name": "string",
"container": {
"_typeName": "string",
"type": "string",
"value": "string"
},
"configVersion": "string"
}
],
"importType": "string"
}
Configuration of one or more entities to be imported. The entity backup configuration is returned by the DistributedVirtualSwitchManager.DVSManagerExportEntity_Task method.
Specifies whether to create a new configuration or restore a previous configuration. See EntityImportTypeEnum for valid values.
This method returns a Task object with which to monitor the operation.
{
"_typeName": "string",
"type": "string",
"value": "string"
}
{
"_typeName": "string",
"faultCause": "MethodFault Object",
"faultMessage": [
{
"_typeName": "string",
"key": "string",
"arg": [
{
"_typeName": "string",
"key": "string",
"value": {
"_typeName": "string"
}
}
],
"message": "string"
}
]
}