[{"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
Get Interface Behavior
DescriptionRetrieve a specific Behavior in the specified Defined Interface.
Request
URLURL
https://{api_host}/cloudapi/1.0.0/interfaces/{id}/behaviors/{behaviorId}
Path Parameters
Path Parameters
string
id
Required
string
behaviorId
Required
Authentication
This operation uses the following authentication methods.
Response
Response
Response BodyResponse Body
200 OK
Returns
Behavior
of type(s) application/json;version=37.2
{
"description": "Adds a node to the cluster.\nParameters:\n clusterId: the ID of the cluster\n node: The node address\n",
"id": "urn:vcloud:behavior-type:addNode:vendorA:pksContainerCluster:1.0.0:vendorA:containerCluster:1.0.0",
"name": "addNode",
"ref": "urn:vcloud:behavior-interface:testNode:vendorA:containerCluster:1.0.0"
}
string
description
Optional
A description specifying the contract of the Behavior
map of
object
execution
Optional
The Behavior execution mechanism. Can be defined both in an Interface and in a Defined Entity Type as an override.
string
id
Optional
The Behavior ID is generated and is an output-only property
string
name
Optional
string
ref
Optional
The Behavior invocation reference to be used for polymorphic behavior invocations. It is generated and is an output-only property
No error details were provided in the OpenAPI specification.
Code SamplesCode Samples
cURL Command
curl https://{api_host}/cloudapi/1.0.0/interfaces/{id}/behaviors/{behaviorId}
[{"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