ServiceEndpointSpec constructor

const ServiceEndpointSpec({
  1. Input<String?>? mode,
  2. Input<List<ServiceEndpointSpecPort>?>? ports,
})

Creates a new ServiceEndpointSpec. mode The mode of resolution to use for internal load balancing between tasks ports List of exposed ports that this service is accessible on from the outside. Ports can only be provided if 'vip' resolution mode is used

Implementation

const ServiceEndpointSpec({
  this.mode,
  this.ports,
});