[{"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 Type Behavior

Description

Retrieve a specific Behavior in the Defined Type. The Behavior must be specified by ID.

Request

Request

URL

URL


get
https://{api_host}/cloudapi/1.0.0/entityTypes/{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=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 Samples

Code Samples

cURL Command

curl https://{api_host}/cloudapi/1.0.0/entityTypes/{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
Feedback

Was this page helpful?