Fetch plan rules list.
Select
Api to fetch plan rules list.
- 200
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
rules object[]
list of rules
rule object
id int32name stringplan object
id int32GUID stringname stringworkloads object[]
This will include list of apptypes that should be evaluated against workload for plan association
id int32name stringregions object[]
This will include list of regions that should be evaluated against workload region for plan association
id int32GUID stringname stringtags object[]
This will include list of tags that should be evaluated against workload tags (if any) for plan association
GUID stringGUID for the tag
id int32Id for the tag
name stringName for the plan rule tag which need to be matched against tag of the workload.
value stringPossible value that need to matched against value of tag associated to workload.
serverGroups object[]
This will include list of Server groups that should be evaluated against workload server group for plan association
id int32GUID stringname stringrank int32This will suggest rank/priority of the plan rule.
solutions object[]
This will include list of solutions that should be evaluated against workload for plan association.
id int32name stringcompany object
id int32name stringglobalConfigInfo object
Only applicable on Global CommCells
id stringname stringcommcells object[]
List of Service CommCells where the global configuration is applied
id int32name stringguid stringscope stringThe entity level at which the config is applied.
scopeFilterQuery stringCommCellEntityCache filter query string used for filtering the scope
applyOnAllCommCells booleanDecides whether the global configuration should be applied to all the Service commcells, including the newly created ones
isMarkedForDeletion booleanIndicates whether global configuration deletion has been started.
status string
{
"rules": [
{
"rule": {
"id": 0,
"name": "string"
},
"plan": {
"id": 0,
"GUID": "string",
"name": "string"
},
"workloads": [
{
"id": 0,
"name": "string"
}
],
"regions": [
{
"id": 0,
"GUID": "string",
"name": "string"
}
],
"tags": [
{
"GUID": "string",
"id": 0,
"name": "string",
"value": "string"
}
],
"serverGroups": [
{
"id": 0,
"GUID": "string",
"name": "string"
}
],
"rank": 0,
"solutions": [
{
"id": 0,
"name": "string"
}
],
"company": {
"id": 0,
"name": "string"
},
"globalConfigInfo": {
"id": "string",
"name": "string",
"commcells": [
{
"id": 0,
"name": "string",
"guid": "string"
}
],
"scope": "string",
"scopeFilterQuery": "string",
"applyOnAllCommCells": true,
"isMarkedForDeletion": true,
"status": "string"
}
}
]
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
Schema
- errorMessage string
- errorCode int32
{
"errorMessage": "string",
"errorCode": 0
}