Struct pulumi_wasm_docker::ServiceUpdateConfig
source · pub struct ServiceUpdateConfig {
pub delay: Box<Option<String>>,
pub failure_action: Box<Option<String>>,
pub max_failure_ratio: Box<Option<String>>,
pub monitor: Box<Option<String>>,
pub order: Box<Option<String>>,
pub parallelism: Box<Option<i32>>,
}
Fields§
§delay: Box<Option<String>>
Delay between task updates (ns|us|ms|s|m|h)
. Defaults to 0s
.
failure_action: Box<Option<String>>
Action on update failure: pause
, continue
or rollback
. Defaults to pause
.
max_failure_ratio: Box<Option<String>>
Failure rate to tolerate during an update. Defaults to 0.0
.
monitor: Box<Option<String>>
Duration after each task update to monitor for failure (ns|us|ms|s|m|h). Defaults to 5s
.
order: Box<Option<String>>
Update order: either ‘stop-first’ or ‘start-first’. Defaults to stop-first
.
parallelism: Box<Option<i32>>
Maximum number of tasks to be updated in one iteration. Defaults to 1
Implementations§
source§impl ServiceUpdateConfig
impl ServiceUpdateConfig
sourcepub fn builder() -> ServiceUpdateConfigBuilder
pub fn builder() -> ServiceUpdateConfigBuilder
Create an instance of ServiceUpdateConfig
using the builder syntax
Trait Implementations§
source§impl Debug for ServiceUpdateConfig
impl Debug for ServiceUpdateConfig
source§impl<'de> Deserialize<'de> for ServiceUpdateConfig
impl<'de> Deserialize<'de> for ServiceUpdateConfig
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>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ServiceUpdateConfig
impl RefUnwindSafe for ServiceUpdateConfig
impl Send for ServiceUpdateConfig
impl Sync for ServiceUpdateConfig
impl Unpin for ServiceUpdateConfig
impl UnwindSafe for ServiceUpdateConfig
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
Mutably borrows from an owned value. Read more