aboutsummaryrefslogtreecommitdiffstats
path: root/tosca-controlloop/participant/participant-impl/participant-impl-policy/src/test/resources/policytypes/onap.policies.controlloop.guard.common.MinMax.yaml
blob: 8f93572bfff71b886164eabaf02496903496f3ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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