Fetch plan rules list.
Api to fetch plan rules list.
Responses
- 200
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
rules object[]
{
"rules": [
{
"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
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X GET 'https://localhost/webconsole/api/V4/Plan/Rule' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://localhost/webconsole/api/V4/Plan/Rule' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://localhost/webconsole/api/V4/Plan/Rule' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://localhost/webconsole/api/V4/Plan/Rule' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://localhost/webconsole/api/V4/Plan/Rule' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://localhost/webconsole/api/V4/Plan/Rule' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://localhost/webconsole/api/V4/Plan/Rule' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'