The following details the API used to manage Deployment Locations within TNC-O.
Associated with each definition are details of the request parameters and responses. These include the name of each field plus a brief description and whether the field is mandatory. Whether a field is required or not is based on the context of the examples. The underlying API definition may mark a field as optional, but in some contexts, the fields must be supplied.
ID of the Resource Manager to manage the Deployment Location
Yes
infrastructureType
Type of infrastructure managed at this Deployment Location
Yes
infrastructureSpecificProperties
Set of name-value pairs to be passed to the Resource Manager managing this location. The list of properties is dependent upon the location but is usually where connection details for the location are set, so the Resource Manager can reach the location
ID of the Resource Manager that manages the Deployment Location
infrastructureType
Type of infrastructure managed at this Deployment Location
Update Deployment Location
Update either the description or the infrastructure properties of a Deployment Location.
Request
Aspect
Value
Endpoint URL
/api/deploymentLocation/{deployLocId}
Content-Type
application/json
HTTP Method
PUT
Body
Field
Description
Mandatory
description
Description of the Deployment Location
No
infrastructureSpecificProperties
Set of name-value pairs to be passed to the Resource Manager managing this location. The list of properties is dependent upon the location but is usually where connection details for the location are set, so the Resource Manager can reach the location