Distributed Virtual Switch Dvs Reconfigure Vm Vnic Network Resource Pool Task
reconfigure the Virtual NIC network resource pool configuration.
Required privileges: DVSwitch.ResourceManagement
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 DistributedVirtualSwitch/{moId}
.
The vSphere release schema. The current specification covers vSphere 8.0.2.0 APIs.
{
"configSpec": [
{
"_typeName": "string",
"operation": "string",
"key": "string",
"configVersion": "string",
"allocationInfo": {
"_typeName": "string",
"reservationQuota": 0
},
"name": "string",
"description": "string"
}
]
}
The Virtual NIC network resource pool configuration specification and operation type.
Returns a Task object with which to monitor the operation.
{
"_typeName": "string",
"type": "string",
"value": "string"
}
DvsFault: if operation fails on any host or if there are other reconfigure failures.
NotFound: if the resource pool does not exist on the dvs.
DuplicateName: if a virtual NIC network resource pool with the same name already exists.
ConcurrentAccess: if a Virtual NIC network resource pool is modified by two or more clients at the same time.
ResourceInUse: If Virtual NIC network resource pool being removed is associated with a network entity
NotSupported: if network I/O control is not supported on the vSphere Distributed Switch.
DvsNotAuthorized: if login-session's extension key does not match the switch's configured extensionKey.
ConflictingConfiguration: if the any property being set is in conflict.
{
"_typeName": "string",
"faultCause": "MethodFault Object",
"faultMessage": [
{
"_typeName": "string",
"key": "string",
"arg": [
{
"_typeName": "string",
"key": "string",
"value": {
"_typeName": "string"
}
}
],
"message": "string"
}
]
}