pub struct AdvanceRolloutRule {
pub condition: Option<AutomationRuleCondition>,
pub id: Option<String>,
pub source_phases: Option<Vec<String>>,
pub wait: Option<Duration>,
}
Expand description
The AdvanceRollout
automation rule will automatically advance a successful Rollout to the next phase.
This type is not used in any activity, and only used as part of another schema.
Fields§
§condition: Option<AutomationRuleCondition>
Output only. Information around the state of the Automation rule.
id: Option<String>
Required. ID of the rule. This id must be unique in the Automation
resource to which this rule belongs. The format is [a-z]([a-z0-9-]{0,61}[a-z0-9])?
.
source_phases: Option<Vec<String>>
Optional. Proceeds only after phase name matched any one in the list. This value must consist of lower-case letters, numbers, and hyphens, start with a letter and end with a letter or a number, and have a max length of 63 characters. In other words, it must match the following regex: ^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$
.
wait: Option<Duration>
Optional. How long to wait after a rollout is finished.
Trait Implementations§
Source§impl Clone for AdvanceRolloutRule
impl Clone for AdvanceRolloutRule
Source§fn clone(&self) -> AdvanceRolloutRule
fn clone(&self) -> AdvanceRolloutRule
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for AdvanceRolloutRule
impl Debug for AdvanceRolloutRule
Source§impl Default for AdvanceRolloutRule
impl Default for AdvanceRolloutRule
Source§fn default() -> AdvanceRolloutRule
fn default() -> AdvanceRolloutRule
Source§impl<'de> Deserialize<'de> for AdvanceRolloutRule
impl<'de> Deserialize<'de> for AdvanceRolloutRule
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl Serialize for AdvanceRolloutRule
impl Serialize for AdvanceRolloutRule
impl Part for AdvanceRolloutRule
Auto Trait Implementations§
impl Freeze for AdvanceRolloutRule
impl RefUnwindSafe for AdvanceRolloutRule
impl Send for AdvanceRolloutRule
impl Sync for AdvanceRolloutRule
impl Unpin for AdvanceRolloutRule
impl UnwindSafe for AdvanceRolloutRule
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more