scaleRequest 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
numOfInstances int element 1/1 The number of instances to start. This number is absolute not cumulative. If we have 2 instances running and we request for 3 we'll have 3 if we request 1 we'll have 1
scaleTargetID string element 0/1 The ID of the deployment or provisioned resources to scale. For deployment scale only swarm deployments are supported.
scaleTargetName string element 0/1 The name of the service or topology 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----->
  <scaleTargetID>58e3946e0fb4f562d84ba1ad</scaleTargetID>
  <scaleTargetName>telegreen_db</scaleTargetName>
  <numOfInstances>5</numOfInstances>
  <owner>user1</owner>
  <timestamp>1499793079011</timestamp>
</s----->