Fetch plan rules details.
Api to fetch plan rules details.
Path Parameters
- ruleId int32 required
Id of the rule to update in Plan
Responses
- 200
- 404
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
rule object
plan object
workloads object[]
regions object[]
tags object[]
serverGroups object[]
- rank int32
This will suggest rank/priority of the plan rule.
solutions object[]
company object
{
"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"
}
}
Not Found
- application/json
- Schema
- Example (from schema)
Schema
- errorMessage string
- errorCode int32
{
"errorMessage": "string",
"errorCode": 0
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
Schema
- errorMessage string
- errorCode int32
{
"errorMessage": "string",
"errorCode": 0
}
GET /v4/plan/rule/:ruleid
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X GET 'https://localhost/webconsole/api/V4/Plan/Rule/:ruleId' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://localhost/webconsole/api/V4/Plan/Rule/:ruleId' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://localhost/webconsole/api/V4/Plan/Rule/:ruleId' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://localhost/webconsole/api/V4/Plan/Rule/:ruleId' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://localhost/webconsole/api/V4/Plan/Rule/:ruleId' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://localhost/webconsole/api/V4/Plan/Rule/:ruleId' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://localhost/webconsole/api/V4/Plan/Rule/:ruleId' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'