[{"label":"Latest (v37.2)","version":"latest"},{"version":"v37.1"},{"version":"v37.0"},{"version":"v36.3"},{"version":"v36.2"},{"version":"v36.1"},{"version":"v36.0"},{"link":"https://developer.vmware.com/apis/1046/vmware-cloud-director","version":"v35.0"}]
vmware-cloud-director
Invoke Defined Entity Behavior
DescriptionInvokes a behavior on a defined entity. The contract of the behavior is specified in the behavior description. If an Activity behavior is invoked with an ‘operationId’ in the invocation metadata, then another invocation of the behavior with the same ‘operationId’ will be ignored within the next 1 hour.
Request
URLURL
https://{api_host}/cloudapi/1.0.0/entities/{id}/behaviors/{behaviorId}/invocations
Path Parameters
Path Parameters
string
id
Required
string
behaviorId
Required
Request Body
Request Body
BehaviorInvocation
of type(s) application/json
Optional
{
"arguments": {},
"metadata": {}
}
arguments
Optional
The arguments to be passed to the invoked Behavior
Authentication
This operation uses the following authentication methods.
No error details were provided in the OpenAPI specification.
Code SamplesCode Samples
cURL Command
curl -X POST -H "Content-Type: application/json" -d '{"arguments":{},"metadata":{}}' https://{api_host}/cloudapi/1.0.0/entities/{id}/behaviors/{behaviorId}/invocations
[{"label":"Latest (v37.2)","version":"latest"},{"version":"v37.1"},{"version":"v37.0"},{"version":"v36.3"},{"version":"v36.2"},{"version":"v36.1"},{"version":"v36.0"},{"link":"https://developer.vmware.com/apis/1046/vmware-cloud-director","version":"v35.0"}]
vmware-cloud-director
Availability
Added in 35.0
Defined Interface Behaviors Operations
delete
delete