Get Host Profile Domains By Host Profile Names
Get Host Profile domains linked to specified host profile names
Request
URI
POST
https://{api_host}/hybridity/api//ztp/hostprofile/domains/hcp
COPY
Request Body
hostProfileDomainsByHcpRequest of type(s) application/json
Required
{
"hostProfileNames": [
"string"
]
}
array of string
hostProfileNames
Required
hostProfileNames
Responses
200
Response with Host Profile Domains linked to specified host profile names
Returns hostProfileDomainsByHcpResponse of type(s) application/json
{
"hostProfiles": [
{
"domains": [
{
"lastUpdatedTimestamp": 2,
"hosts": [
{
"ipmiIp": "ipmiIp",
"parent": "parent",
"lastUpdatedTimestamp": 6,
"registrationUser": "registrationUser",
"preDeployed": true,
"ip": "ip",
"hostSettingStatus": "hostSettingStatus",
"type": "type",
"registrationTimestamp": 0,
"bootstrap_host": true,
"name": "name",
"location": {
"country": "country",
"address": "address",
"city": "city",
"latitude": -63.615366350946985,
"longitude": 36.988422590534526
},
"lastUpdatedByUser": "lastUpdatedByUser",
"ipmiUsername": "ipmiUsername",
"username": "username",
"status": "status"
},
{
"ipmiIp": "ipmiIp",
"parent": "parent",
"lastUpdatedTimestamp": 6,
"registrationUser": "registrationUser",
"preDeployed": true,
"ip": "ip",
"hostSettingStatus": "hostSettingStatus",
"type": "type",
"registrationTimestamp": 0,
"bootstrap_host": true,
"name": "name",
"location": {
"country": "country",
"address": "address",
"city": "city",
"latitude": -63.615366350946985,
"longitude": 36.988422590534526
},
"lastUpdatedByUser": "lastUpdatedByUser",
"ipmiUsername": "ipmiUsername",
"username": "username",
"status": "status"
}
],
"appliances": [
{
"ip": "ip",
"name": "name",
"serviceUrl": "serviceUrl",
"type": "type",
"status": "status"
},
{
"ip": "ip",
"name": "name",
"serviceUrl": "serviceUrl",
"type": "type",
"status": "status"
}
],
"createdTimestamp": 5,
"name": "name",
"hostSettingStatus": "hostSettingStatus",
"messages": {
"warnings": [
{
"message": "message"
},
{
"message": "message"
}
],
"errors": [
{
"code": "code",
"message": "message"
},
{
"code": "code",
"message": "message"
}
]
},
"startTime": 1,
"endTime": 5,
"type": "type",
"taskId": "taskId",
"status": "status"
},
{
"lastUpdatedTimestamp": 2,
"hosts": [
{
"ipmiIp": "ipmiIp",
"parent": "parent",
"lastUpdatedTimestamp": 6,
"registrationUser": "registrationUser",
"preDeployed": true,
"ip": "ip",
"hostSettingStatus": "hostSettingStatus",
"type": "type",
"registrationTimestamp": 0,
"bootstrap_host": true,
"name": "name",
"location": {
"country": "country",
"address": "address",
"city": "city",
"latitude": -63.615366350946985,
"longitude": 36.988422590534526
},
"lastUpdatedByUser": "lastUpdatedByUser",
"ipmiUsername": "ipmiUsername",
"username": "username",
"status": "status"
},
{
"ipmiIp": "ipmiIp",
"parent": "parent",
"lastUpdatedTimestamp": 6,
"registrationUser": "registrationUser",
"preDeployed": true,
"ip": "ip",
"hostSettingStatus": "hostSettingStatus",
"type": "type",
"registrationTimestamp": 0,
"bootstrap_host": true,
"name": "name",
"location": {
"country": "country",
"address": "address",
"city": "city",
"latitude": -63.615366350946985,
"longitude": 36.988422590534526
},
"lastUpdatedByUser": "lastUpdatedByUser",
"ipmiUsername": "ipmiUsername",
"username": "username",
"status": "status"
}
],
"appliances": [
{
"ip": "ip",
"name": "name",
"serviceUrl": "serviceUrl",
"type": "type",
"status": "status"
},
{
"ip": "ip",
"name": "name",
"serviceUrl": "serviceUrl",
"type": "type",
"status": "status"
}
],
"createdTimestamp": 5,
"name": "name",
"hostSettingStatus": "hostSettingStatus",
"messages": {
"warnings": [
{
"message": "message"
},
{
"message": "message"
}
],
"errors": [
{
"code": "code",
"message": "message"
},
{
"code": "code",
"message": "message"
}
]
},
"startTime": 1,
"endTime": 5,
"type": "type",
"taskId": "taskId",
"status": "status"
}
],
"hostProfileName": "hostProfileName"
},
{
"domains": [
{
"lastUpdatedTimestamp": 2,
"hosts": [
{
"ipmiIp": "ipmiIp",
"parent": "parent",
"lastUpdatedTimestamp": 6,
"registrationUser": "registrationUser",
"preDeployed": true,
"ip": "ip",
"hostSettingStatus": "hostSettingStatus",
"type": "type",
"registrationTimestamp": 0,
"bootstrap_host": true,
"name": "name",
"location": {
"country": "country",
"address": "address",
"city": "city",
"latitude": -63.615366350946985,
"longitude": 36.988422590534526
},
"lastUpdatedByUser": "lastUpdatedByUser",
"ipmiUsername": "ipmiUsername",
"username": "username",
"status": "status"
},
{
"ipmiIp": "ipmiIp",
"parent": "parent",
"lastUpdatedTimestamp": 6,
"registrationUser": "registrationUser",
"preDeployed": true,
"ip": "ip",
"hostSettingStatus": "hostSettingStatus",
"type": "type",
"registrationTimestamp": 0,
"bootstrap_host": true,
"name": "name",
"location": {
"country": "country",
"address": "address",
"city": "city",
"latitude": -63.615366350946985,
"longitude": 36.988422590534526
},
"lastUpdatedByUser": "lastUpdatedByUser",
"ipmiUsername": "ipmiUsername",
"username": "username",
"status": "status"
}
],
"appliances": [
{
"ip": "ip",
"name": "name",
"serviceUrl": "serviceUrl",
"type": "type",
"status": "status"
},
{
"ip": "ip",
"name": "name",
"serviceUrl": "serviceUrl",
"type": "type",
"status": "status"
}
],
"createdTimestamp": 5,
"name": "name",
"hostSettingStatus": "hostSettingStatus",
"messages": {
"warnings": [
{
"message": "message"
},
{
"message": "message"
}
],
"errors": [
{
"code": "code",
"message": "message"
},
{
"code": "code",
"message": "message"
}
]
},
"startTime": 1,
"endTime": 5,
"type": "type",
"taskId": "taskId",
"status": "status"
},
{
"lastUpdatedTimestamp": 2,
"hosts": [
{
"ipmiIp": "ipmiIp",
"parent": "parent",
"lastUpdatedTimestamp": 6,
"registrationUser": "registrationUser",
"preDeployed": true,
"ip": "ip",
"hostSettingStatus": "hostSettingStatus",
"type": "type",
"registrationTimestamp": 0,
"bootstrap_host": true,
"name": "name",
"location": {
"country": "country",
"address": "address",
"city": "city",
"latitude": -63.615366350946985,
"longitude": 36.988422590534526
},
"lastUpdatedByUser": "lastUpdatedByUser",
"ipmiUsername": "ipmiUsername",
"username": "username",
"status": "status"
},
{
"ipmiIp": "ipmiIp",
"parent": "parent",
"lastUpdatedTimestamp": 6,
"registrationUser": "registrationUser",
"preDeployed": true,
"ip": "ip",
"hostSettingStatus": "hostSettingStatus",
"type": "type",
"registrationTimestamp": 0,
"bootstrap_host": true,
"name": "name",
"location": {
"country": "country",
"address": "address",
"city": "city",
"latitude": -63.615366350946985,
"longitude": 36.988422590534526
},
"lastUpdatedByUser": "lastUpdatedByUser",
"ipmiUsername": "ipmiUsername",
"username": "username",
"status": "status"
}
],
"appliances": [
{
"ip": "ip",
"name": "name",
"serviceUrl": "serviceUrl",
"type": "type",
"status": "status"
},
{
"ip": "ip",
"name": "name",
"serviceUrl": "serviceUrl",
"type": "type",
"status": "status"
}
],
"createdTimestamp": 5,
"name": "name",
"hostSettingStatus": "hostSettingStatus",
"messages": {
"warnings": [
{
"message": "message"
},
{
"message": "message"
}
],
"errors": [
{
"code": "code",
"message": "message"
},
{
"code": "code",
"message": "message"
}
]
},
"startTime": 1,
"endTime": 5,
"type": "type",
"taskId": "taskId",
"status": "status"
}
],
"hostProfileName": "hostProfileName"
}
],
"errors": [
{
"code": "code",
"message": "message"
},
{
"code": "code",
"message": "message"
}
]
}
301
API endpoint has permanently moved.
Returns redirectResponse of type(s) application/json
{
"redirectURL": "string"
}
string
redirectURL
Optional
redirectURL
Response Headers
string
Location
URI where the client will find the new endpoint.
401
Unauthorized
Operation doesn't return any data structure
403
Forbidden
Operation doesn't return any data structure