Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 1.65 KB

EnvironmentReleasePhaseInput.md

File metadata and controls

27 lines (20 loc) · 1.65 KB

EnvironmentReleasePhaseInput

One phase of a release. Each phase creates a flag rule unless it sets ruleId.

Properties

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]

Example

import { EnvironmentReleasePhaseInput } from 'launchdarkly-api-typescript';

const instance: EnvironmentReleasePhaseInput = {
    ruleId,
    steps,
    clauses,
    description,
};

[Back to Model list] [Back to API list] [Back to README]