# ScaleRequest Data Type

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

Properties
name | data type | description
--- | --- | ---
scaleTargetID | string | The ID of the deployment or provisioned resources to scale. For deployment scale only swarm deployments are supported.
scaleTargetName | string | The name of the service or topology to scale.
numOfInstances | number | 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
##### 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 who made the call. It is created automatically. No need to set during a POST
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. It is created automatically. No need to set during a POST

Example

    {
      "scaleTargetID" : "58e3946e0fb4f562d84ba1ad",
      "scaleTargetName" : "telegreen_db",
      "numOfInstances" : 5,
      "owner" : "user1",
      "id" : "58e3946e0fb4f562d84ba1ad",
      "timestamp" : 1499793079011
    }