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