Get entities applicable for plan association
API to fetch list of entities that are applicable for plan association via plan assignment rules.
Responses
- 200
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
entities object[]
{
"entities": [
{
"subclient": {
"id": 0,
"name": "string"
},
"backupset": {
"id": 0,
"name": "string"
},
"instance": {
"id": 0,
"name": "string"
},
"client": {
"id": 0,
"name": "string"
},
"apptype": {
"id": 0,
"name": "string"
},
"evaluatedPlan": {
"id": 0,
"name": "string"
},
"currentPlan": {
"id": 0,
"name": "string"
},
"ruleDetails": {
"rule": {
"id": 0,
"name": "string"
},
"plan": {
"id": 0,
"name": "string"
},
"workloads": [
{
"id": 0,
"name": "string"
}
],
"regions": [
{
"id": 0,
"name": "string"
}
],
"tags": [
{
"id": 0,
"name": "string",
"value": "string"
}
],
"serverGroups": [
{
"id": 0,
"name": "string"
}
],
"rank": 0,
"solutions": [
{
"id": 0,
"name": "string"
}
],
"company": {
"id": 0,
"name": "string"
}
}
}
]
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
Schema
- errorMessage string
- errorCode int32
{
"errorMessage": "string",
"errorCode": 0
}
GET /v4/plan/rule/entities
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X GET 'https://localhost/webconsole/api/V4/Plan/Rule/Entities' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://localhost/webconsole/api/V4/Plan/Rule/Entities' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://localhost/webconsole/api/V4/Plan/Rule/Entities' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://localhost/webconsole/api/V4/Plan/Rule/Entities' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://localhost/webconsole/api/V4/Plan/Rule/Entities' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://localhost/webconsole/api/V4/Plan/Rule/Entities' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://localhost/webconsole/api/V4/Plan/Rule/Entities' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'