Distributed Virtual Portgroup Get Recent Task

Distributed Virtual Portgroup Get Recent Task

The set of recent tasks operating on this managed entity.

This is a subset of recentTask belong to this entity. A task in this list could be in one of the four states: pending, running, success or error.

This property can be used to deduce intermediate power states for a virtual machine entity. For example, if the current powerState is "poweredOn" and there is a running task performing the "suspend" operation, then the virtual machine's intermediate state might be described as "suspending."

Most tasks (such as power operations) obtain exclusive access to the virtual machine, so it is unusual for this list to contain more than one running task. One exception, however, is the task of cloning a virtual machine. In releases after vSphere API 5.0, vSphere Servers might not generate property collector update notifications for this property. To obtain the latest value of the property, you can use PropertyCollector methods RetrievePropertiesEx or WaitForUpdatesEx. If you use the PropertyCollector.WaitForUpdatesEx method, specify an empty string for the version parameter. Any other version value will not produce any property values as no updates are generated.

Request
URI
GET
https://{vcenter-host}/sdk/vim25/{release}/DistributedVirtualPortgroup/{moId}/recentTask
COPY
Path Parameters
string
moId
Required

The unique identifier for the managed object to which the property attaches; the serialized managed object reference for a request has the form moType/moId, in this case DistributedVirtualPortgroup/{moId}.

string
release
Required

The vSphere release schema. The current specification covers vSphere 8.0.2.0 APIs.


Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns Array of MoRefTask of type(s) application/json
[
    {
        "_typeName": "string",
        "type": "string",
        "value": "string"
    }
]

Distributed Virtual Portgroup Operations
POST
Distributed Virtual Portgroup Destroy Task
POST
Distributed Virtual Portgroup Destroy Network
POST
Distributed Virtual Portgroup DV Portgroup Rollback Task
GET
Distributed Virtual Portgroup Get Alarm Actions Enabled
GET
Distributed Virtual Portgroup Get Available Field
GET
Distributed Virtual Portgroup Get Config
GET
Distributed Virtual Portgroup Get Config Issue
GET
Distributed Virtual Portgroup Get Config Status
GET
Distributed Virtual Portgroup Get Custom Value
GET
Distributed Virtual Portgroup Get Declared Alarm State
GET
Distributed Virtual Portgroup Get Disabled Method
GET
Distributed Virtual Portgroup Get Effective Role
GET
Distributed Virtual Portgroup Get Host
GET
Distributed Virtual Portgroup Get Key
GET
Distributed Virtual Portgroup Get Name
GET
Distributed Virtual Portgroup Get Overall Status
GET
Distributed Virtual Portgroup Get Parent
GET
Distributed Virtual Portgroup Get Permission
GET
Distributed Virtual Portgroup Get Port Keys
GET
Distributed Virtual Portgroup Get Recent Task
GET
Distributed Virtual Portgroup Get Summary
GET
Distributed Virtual Portgroup Get Tag
GET
Distributed Virtual Portgroup Get Triggered Alarm State
GET
Distributed Virtual Portgroup Get Value
GET
Distributed Virtual Portgroup Get Vm
POST
Distributed Virtual Portgroup Reconfigure DV Portgroup Task
POST
Distributed Virtual Portgroup Reload
POST
Distributed Virtual Portgroup Rename Task
POST
Distributed Virtual Portgroup Set Custom Value