Struct pulumi_wasm_docker::ServiceEndpointSpec
source · pub struct ServiceEndpointSpec {
pub mode: Box<Option<String>>,
pub ports: Box<Option<Vec<ServiceEndpointSpecPort>>>,
}
Fields§
§mode: Box<Option<String>>
The mode of resolution to use for internal load balancing between tasks
ports: Box<Option<Vec<ServiceEndpointSpecPort>>>
List of exposed ports that this service is accessible on from the outside. Ports can only be provided if ‘vip’ resolution mode is used
Implementations§
source§impl ServiceEndpointSpec
impl ServiceEndpointSpec
sourcepub fn builder() -> ServiceEndpointSpecBuilder
pub fn builder() -> ServiceEndpointSpecBuilder
Create an instance of ServiceEndpointSpec
using the builder syntax
Trait Implementations§
source§impl Debug for ServiceEndpointSpec
impl Debug for ServiceEndpointSpec
source§impl<'de> Deserialize<'de> for ServiceEndpointSpec
impl<'de> Deserialize<'de> for ServiceEndpointSpec
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 ServiceEndpointSpec
impl RefUnwindSafe for ServiceEndpointSpec
impl Send for ServiceEndpointSpec
impl Sync for ServiceEndpointSpec
impl Unpin for ServiceEndpointSpec
impl UnwindSafe for ServiceEndpointSpec
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