[{"label":"Latest (v36.3)","version":"latest"},{"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

Description

Retrieve a specific Behavior in the specified Defined Interface.

Request

Request

URL

URL


get
https://{api_host}/cloudapi/1.0.0/interfaces/{id}/behaviors/{behaviorId}
Copy

Path Parameters

Path Parameters

string
id Required

string
behaviorId Required

Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

200 OK returns Behavior of type(s) application/json;version=36.3
{
	"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"
}
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 Samples

Code Samples

cURL Command

curl https://{api_host}/cloudapi/1.0.0/interfaces/{id}/behaviors/{behaviorId}


[{"label":"Latest (v36.3)","version":"latest"},{"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
Feedback

Was this page helpful?