Associate Hostconfigprofiles
Api to Associate Hosts to HostconfigProfiles
Request
URI
POST
https://{api_host}/tca/hostcustomization/api/v1/addhostprofilebinding
COPY
Request Body
associate hosts to hostconfigprofiles
associateHostconfigProfileRequest
of type(s)
application/json
Required
{
"hostProfile": "string",
"binding": [
{
"name": "string",
"ip": "string",
"address": "string",
"username": "string",
"password": "string",
"ipmiIp": "string",
"ipmiUsername": "string",
"ipmiPassword": "string"
}
],
"clusterComputeResource": "string",
"vcIp": "string",
"vcThumbprint": "string",
"domainType": "string"
}
string
hostProfile
Optional
hostProfile
array of
object
binding
Optional
binding
string
clusterComputeResource
Optional
clusterComputeResource
string
vcIp
Optional
vcIp
string
vcThumbprint
Optional
vcThumbprint
string
domainType
Optional
domainType
Responses
201
Successfully posted for associating hosts to hostconfig profiles.
Returns
hostconfigResponse
of type(s)
application/json
{
"taskId": "string"
}
string
taskId
Optional
taskId
400
Returns
BadRequest
of type(s)
application/json
{
"errors": [
{
"code": "string",
"message": "string"
}
]
}
500
Returns
InternalServerError
of type(s)
application/json
{
"errors": [
{
"code": "string",
"message": "string"
}
]
}