pub struct RepairRolloutRule {
pub condition: Option<AutomationRuleCondition>,
pub id: Option<String>,
pub jobs: Option<Vec<String>>,
}
Expand description
The RepairRolloutRule
automation rule will automatically repair a failed Rollout
.
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])?
.
jobs: Option<Vec<String>>
Optional. Jobs to repair. Proceeds only after job name matched any one in the list, or for all jobs if unspecified or empty. The phase that includes the job must match the phase ID specified in source_phase
. 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])?$
.
Trait Implementations§
Source§impl Clone for RepairRolloutRule
impl Clone for RepairRolloutRule
Source§fn clone(&self) -> RepairRolloutRule
fn clone(&self) -> RepairRolloutRule
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for RepairRolloutRule
impl Debug for RepairRolloutRule
Source§impl Default for RepairRolloutRule
impl Default for RepairRolloutRule
Source§fn default() -> RepairRolloutRule
fn default() -> RepairRolloutRule
Source§impl<'de> Deserialize<'de> for RepairRolloutRule
impl<'de> Deserialize<'de> for RepairRolloutRule
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 RepairRolloutRule
impl Serialize for RepairRolloutRule
impl Part for RepairRolloutRule
Auto Trait Implementations§
impl Freeze for RepairRolloutRule
impl RefUnwindSafe for RepairRolloutRule
impl Send for RepairRolloutRule
impl Sync for RepairRolloutRule
impl Unpin for RepairRolloutRule
impl UnwindSafe for RepairRolloutRule
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