{ "additionalProperties": false, "description": "Advanced load balancer PGDeploymentRule object", "id": "ALBPGDeploymentRule", "module_id": "PolicyAdvancedLoadBalancer", "properties": { "metric_id": { "default": "health.health_score_value", "description": "metric_id of PGDeploymentRule. Default value when not specified in API or module is interpreted by ALB Controller as health.health_score_value.", "required": false, "title": "Metric id", "type": "string" }, "operator": { "$ref": "ALBComparisonOperator, "default": "CO_GE", "description": "Enum options - CO_EQ, CO_GT, CO_GE, CO_LT, CO_LE, CO_NE. Default value when not specified in API or module is interpreted by ALB Controller as CO_GE.", "required": false, "title": "Operator" }, "threshold": { "description": "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.", "required": false, "title": "Threshold", "type": "number" } }, "title": "PGDeploymentRule", "type": "object" }