ServiceState constructor

const ServiceState({
  1. Input<ServiceAuth?>? auth,
  2. Input<ServiceConvergeConfig?>? convergeConfig,
  3. Input<ServiceEndpointSpec?>? endpointSpec,
  4. Input<List<ServiceLabel>?>? labels,
  5. Input<ServiceMode?>? mode,
  6. Input<String?>? name,
  7. Input<ServiceRollbackConfig?>? rollbackConfig,
  8. Input<ServiceTaskSpec?>? taskSpec,
  9. Input<ServiceUpdateConfig?>? updateConfig,
})

Creates a new ServiceState. auth Configuration for the authentication for pulling the images of the service convergeConfig A configuration to ensure that a service converges aka reaches the desired that of all task up and running endpointSpec Properties that can be configured to access and load balance a service labels User-defined key/value metadata mode Scheduling mode for the service name Name of the service rollbackConfig Specification for the rollback strategy of the service taskSpec User modifiable task configuration updateConfig Specification for the update strategy of the service

Implementation

const ServiceState({
  this.auth,
  this.convergeConfig,
  this.endpointSpec,
  this.labels,
  this.mode,
  this.name,
  this.rollbackConfig,
  this.taskSpec,
  this.updateConfig,
});