PGDeploymentRule
PGDeploymentRule
JSON Example
{
"metric_id": "string",
"operator": "string",
"threshold": "number"
}
string
metric_id
Optional
Constraints:
default: health.health_score_value
Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
string
operator
Optional
Constraints:
default: CO_GE
Enum options - CO_EQ, CO_GT, CO_GE, CO_LT, CO_LE, CO_NE. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
number As double
As double
threshold
Optional
metric threshold that is used as the pass fail. If it is not provided then it will simply compare it with current pool vs new pool. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.