fb376d432e2eb026604492a22175f93041a5c856
[policy/models.git] / models-examples / src / main / resources / policytypes / onap.policies.controlloop.guard.common.MinMax.yaml
1 tosca_definitions_version: tosca_simple_yaml_1_1_0
2 policy_types:
3     onap.policies.controlloop.guard.common.MinMax:
4         derived_from: onap.policies.controlloop.guard.Common
5         type_version: 1.0.0
6         version: 1.0.0
7         description: |
8             Supports Min/Max number of entity for scaling operations. Although min and max fields are marked as not
9             required, you need to have at least one or the other.
10         properties:
11             target:
12                 type: string
13                 required: true
14                 description: The target entity that has scaling restricted
15             min:
16                 type: integer
17                 required: false
18                 description: The minimum instances of this entity
19             max:
20                 type: integer
21                 required: false
22                 description: The maximum instances of this entity