PGDeploymentRule

PGDeploymentRule
PGDeploymentRule
JSON Example
{
    "metric_id": "string",
    "operator": "string",
    "threshold": "number"
}
string
metric_id
Optional

Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

string
operator
Optional

Enum options - CO_EQ, CO_GT, CO_GE, CO_LT, CO_LE, CO_NE. Allowed in Enterprise edition with any value, 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 in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.