Struct pulumi_wasm_docker::service::ServiceArgs
source · pub struct ServiceArgs {
pub auth: Output<Option<ServiceAuth>>,
pub converge_config: Output<Option<ServiceConvergeConfig>>,
pub endpoint_spec: Output<Option<ServiceEndpointSpec>>,
pub labels: Output<Option<Vec<ServiceLabel>>>,
pub mode: Output<Option<ServiceMode>>,
pub name: Output<Option<String>>,
pub rollback_config: Output<Option<ServiceRollbackConfig>>,
pub task_spec: Output<ServiceTaskSpec>,
pub update_config: Output<Option<ServiceUpdateConfig>>,
}
Fields§
§auth: Output<Option<ServiceAuth>>
Configuration for the authentication for pulling the images of the service
converge_config: Output<Option<ServiceConvergeConfig>>
A configuration to ensure that a service converges aka reaches the desired that of all task up and running
endpoint_spec: Output<Option<ServiceEndpointSpec>>
Properties that can be configured to access and load balance a service
labels: Output<Option<Vec<ServiceLabel>>>
User-defined key/value metadata
mode: Output<Option<ServiceMode>>
Scheduling mode for the service
name: Output<Option<String>>
Name of the service
rollback_config: Output<Option<ServiceRollbackConfig>>
Specification for the rollback strategy of the service
task_spec: Output<ServiceTaskSpec>
User modifiable task configuration
update_config: Output<Option<ServiceUpdateConfig>>
Specification for the update strategy of the service
Implementations§
source§impl ServiceArgs
impl ServiceArgs
sourcepub fn builder() -> ServiceArgsBuilder
pub fn builder() -> ServiceArgsBuilder
Create an instance of ServiceArgs
using the builder syntax
Auto Trait Implementations§
impl Freeze for ServiceArgs
impl RefUnwindSafe for ServiceArgs
impl Send for ServiceArgs
impl Sync for ServiceArgs
impl Unpin for ServiceArgs
impl UnwindSafe for ServiceArgs
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