ScaleDeploymetRequest Data Type

This class represents a scale request for a deployment. At the moment we only support swarm.

Properties
name data type description
deployID string The deployment ID. At the moment only swarm deployments are supported.
serviceName string The name of the service to scale.
numOfInstances number The number of services to start. This number is absolute not cumulative. If we have 2 service numbers running and we request for 3 we'll have 3 if we request 1 we'll have 1
Properties inherited from OwnedObject
owner string The owner (username) for the particular object. This value is set when the DAO saves the object based on the principal how made the call
id string The UID of this object. This value is auto generated by the DAO when the object is saved.
timestamp number The object's creation date in unix time stamp

Example

{
  "deployID" : "58e3946e0fb4f562d84ba1ad",
  "serviceName" : "telegreen_db",
  "numOfInstances" : 5,
  "owner" : "user1",
  "id" : "58e3946e0fb4f562d84ba1ad",
  "timestamp" : 1499793079011
}