diff options
Diffstat (limited to 'models-examples/src/main/resources/policytypes/onap.policies.controlloop.guard.common.MinMax.yaml')
-rw-r--r-- | models-examples/src/main/resources/policytypes/onap.policies.controlloop.guard.common.MinMax.yaml | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/models-examples/src/main/resources/policytypes/onap.policies.controlloop.guard.common.MinMax.yaml b/models-examples/src/main/resources/policytypes/onap.policies.controlloop.guard.common.MinMax.yaml index 257515179..fb376d432 100644 --- a/models-examples/src/main/resources/policytypes/onap.policies.controlloop.guard.common.MinMax.yaml +++ b/models-examples/src/main/resources/policytypes/onap.policies.controlloop.guard.common.MinMax.yaml @@ -4,11 +4,17 @@ policy_types: derived_from: onap.policies.controlloop.guard.Common type_version: 1.0.0 version: 1.0.0 - description: Supports Min/Max number of entity for scaling operations + 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: true + required: false description: The minimum instances of this entity max: type: integer |