Skip to content

Latest commit

 

History

History
38 lines (32 loc) · 1.95 KB

EnvironmentReleasePhase.md

File metadata and controls

38 lines (32 loc) · 1.95 KB

LaunchDarklyApi::EnvironmentReleasePhase

Properties

Name Type Description Notes
id String
phase_index Integer Zero-based index of this phase. [readonly]
rule_id String ID of the flag rule for this phase. New public-API releases always have a rule ID. `null` is retained only when reading a historical release that ran on the default rule.
description String The description of the flag rule when this release was created. Omitted for default-rule phases. [optional][readonly]
status ReleaseStatus
status_reason ReleaseStatusReason [optional]
steps Array<ReleaseStep>
current_step_index Integer Zero-based index of the step the phase is on. Omitted until the first step starts. Once the phase completes or reverts, it stays at the last step that started, unlike `currentPhaseIndex`, which becomes `null` when the release reaches a terminal status. [optional][readonly]
started_at Integer Start of the phase in Unix milliseconds. [optional][readonly]
ended_at Integer End of the phase in Unix milliseconds. [optional][readonly]
metric_statuses Hash<String, ReleaseMetricStatus> Per-phase metric status keyed by metric key. Empty for progressive releases. Metric definitions and monitoring preferences live once in the parent release's `metrics` array. [readonly]

Example

require 'launchdarkly_api'

instance = LaunchDarklyApi::EnvironmentReleasePhase.new(
  id: null,
  phase_index: null,
  rule_id: null,
  description: null,
  status: null,
  status_reason: null,
  steps: null,
  current_step_index: null,
  started_at: null,
  ended_at: null,
  metric_statuses: null
)