Adding 'name' to yamls and json in model
[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         name: onap.policies.controlloop.guard.common.MinMax
8         description: |
9             Supports Min/Max number of entity for scaling operations. Although min and max fields are marked as not
10             required, you need to have at least one or the other.
11         properties:
12             target:
13                 type: string
14                 required: true
15                 description: The target entity that has scaling restricted
16             min:
17                 type: integer
18                 required: false
19                 description: The minimum instances of this entity
20             max:
21                 type: integer
22                 required: false
23                 description: The maximum instances of this entity