One phase of a release. Each phase creates a flag rule unless it sets ruleId.
| Name | Type | Description | Notes |
|---|---|---|---|
| ruleId | string | Existing rule to release on. The rule must already include the `kind` clause for `randomizationUnit` described in `startEnvironmentRelease`. | [default to undefined] |
| steps | Array<EnvironmentReleaseStepInput> | [default to undefined] | |
| clauses | Array<EnvironmentReleaseClause> | Clauses for a new rule. Must include the `kind` clause for `randomizationUnit` described in `startEnvironmentRelease`. A new rule that exactly duplicates an existing rule on the flag returns `400` with `new rule is exact duplicate of an existing rule at index <n>`. | [default to undefined] |
| description | string | Description for a new rule. Must differ from the description of every other rule on the flag, including rules an earlier release left in place, or the request returns `400` with `duplicate rule description not allowed`. | [optional] [default to undefined] |
import { EnvironmentReleasePhaseInput } from 'launchdarkly-api-typescript';
const instance: EnvironmentReleasePhaseInput = {
ruleId,
steps,
clauses,
description,
};