Get Interface Behaviors

Get Interface Behaviors

Retrieve the Behaviors of the specified Defined Interface.

Request
URI
GET
https://{api_host}/cloudapi/1.0.0/interfaces/{id}/behaviors
COPY
Path Parameters
string
id
Required

id

Query Parameters
integer
page
Required
Constraints: minimum: 1 default: 1

Page to fetch, zero offset.

integer
pageSize
Required
Constraints: minimum: 0 maximum: 128 default: 25

Results per page to fetch.


Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns Behaviors of type(s) application/json;version=39.1
This response body class contains all of the following: InlineBehaviors0 , 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": {}
            }
        }
    ]
}

Code Samples
COPY
                    curl -H 'Authorization: <value>' https://{api_host}/cloudapi/1.0.0/interfaces/{id}/behaviors?page=value&pageSize=v