Update Interface Behaviors
Update 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
URI
PUT
https://{api_host}/cloudapi/1.0.0/interfaces/{id}/behaviors
COPY
Path Parameters
string
id
Required
id
string
id
Required
id
Request Body
Behaviors of type(s) application/json
Required
{
"resultTotal": 0,
"pageCount": 0,
"page": 0,
"pageSize": 0,
"associations": [
{
"entityId": "string",
"associationId": "string"
}
],
"values": [
{
"name": "addNode",
"id": "urn:vcloud:behavior-type:addNode:vendorA:pksContainerCluster:1.0.0:vendorA:containerCluster:1.0.0",
"ref": "urn:vcloud:behavior-interface:testNode:vendorA:containerCluster:1.0.0",
"description": "Adds a node to the cluster.\nParameters:\n clusterId: the ID of the cluster\n node: The node address\n",
"execution": {
"execution": {}
}
}
]
}
Responses
200
OK
Returns Behaviors of type(s) application/json;version=39.0
This response body class contains all of the following: Page , InlineBehaviors1
{
"resultTotal": 0,
"pageCount": 0,
"page": 0,
"pageSize": 0,
"associations": [
{
"entityId": "string",
"associationId": "string"
}
],
"values": [
{
"name": "addNode",
"id": "urn:vcloud:behavior-type:addNode:vendorA:pksContainerCluster:1.0.0:vendorA:containerCluster:1.0.0",
"ref": "urn:vcloud:behavior-interface:testNode:vendorA:containerCluster:1.0.0",
"description": "Adds a node to the cluster.\nParameters:\n clusterId: the ID of the cluster\n node: The node address\n",
"execution": {
"execution": {}
}
}
]
}
Availability
Added in 35.0
On This Page
Defined Interface Behaviors Operations
POST
Add Defined Entity Type Access
POST
Add Interface Behavior
DELETE
Delete Interface Behavior
PUT
Edit Scheduled Behavior
GET
Get Behavior Execution Log
GET
Get Defined Entity Type Access
GET
Get Defined Entity Type Behaviors
GET
Get Interface Behavior
GET
Get Interface Behaviors
GET
Get Scheduled Behavior
GET
Get Static Behavior Execution Log
GET
Get Type Behavior
POST
Invoke Defined Entity Behavior
POST
Invoke Static Behavior
DELETE
Remove Behavior Override
POST
Schedule Behavior
GET
Schedule Behavior Query
PUT
Set Defined Entity Type Access
DELETE
Unschedule Behavior
PUT
Update Interface Behavior
PUT
Update Interface Behaviors
PUT
Update Type Behavior