[{"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
Update Interface Behaviors
DescriptionUpdate all Behaviors, possibly adding or removing some if the Interface is not in use. If the Interface is in use, then only the executions of the existing Behaviors can be updated. The Behaviors can be specified by ID or by name.
Request
URLURL
https://{api_host}/cloudapi/1.0.0/interfaces/{id}/behaviors
Path Parameters
Path Parameters
string
id
Required
Request Body
Request Body
Behaviors
of type(s) application/json
Required
This request body class requires all of the following:
Page, InlineBehaviors1
Authentication
This operation uses the following authentication methods.
Response
Response
Response BodyResponse Body
200 OK
Returns
Behaviors
of type(s) application/json;version=37.0
This response body class contains all of the following:
Page, InlineBehaviors1
No error details were provided in the OpenAPI specification.
Code SamplesCode Samples
cURL Command
curl -X PUT -H "Content-Type: application/json" -d '{"associations":[{"associationId":"string","entityId":"string"}],"page":0,"pageCount":0,"pageSize":0,"resultTotal":0,"values":[{"description":"Adds a node to the cluster.\nParameters:\n clusterId: the ID of the cluster\n node: The node address\n","execution":{},"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"}]}' https://{api_host}/cloudapi/1.0.0/interfaces/{id}/behaviors
[{"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