scaleDeploymetRequest Data Type

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

Namespace
(Default)
Schema
ns0.xsd
Properties
name data type type namespace min/max occurs description
deployID string element 0/1 The deployment ID. At the moment only swarm deployments are supported.
numOfInstances int element 1/1 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
serviceName string element 0/1 The name of the service to scale.
Properties inherited from ownedObject
owner string element 0/1 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
timestamp long element 0/1 The object's creation date in unix time stamp

Example

<s----->
  <deployID>58e3946e0fb4f562d84ba1ad</deployID>
  <serviceName>telegreen_db</serviceName>
  <numOfInstances>5</numOfInstances>
  <owner>user1</owner>
  <timestamp>1499793079011</timestamp>
</s----->