From c03d6fdfe56bdfbf1d013cf5a15dfdd01c33679d Mon Sep 17 00:00:00 2001 From: noamelgarisi Date: Tue, 12 Sep 2023 09:19:01 +0300 Subject: [PATCH] cr --- .../schemas/ocean-blockDeviceMappings.yaml | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/api/services/ocean/aws/schemas/ocean-blockDeviceMappings.yaml b/api/services/ocean/aws/schemas/ocean-blockDeviceMappings.yaml index 410611efb..5178b1845 100644 --- a/api/services/ocean/aws/schemas/ocean-blockDeviceMappings.yaml +++ b/api/services/ocean/aws/schemas/ocean-blockDeviceMappings.yaml @@ -36,6 +36,27 @@ items: description: > Must be greater than or equal to 0. example: 1 + dynamicIops: + type: object + description: | + Set dynamic IOPS properties. When using this object, you cannot use the 'iops' object. You must use one or the other. + properties: + baseSize: + type: integer + description: | + Initial size for IOPS. + example: 50 + resource: + type: string + enum: [ CPU , MEMORY ] + description: | + example: "CPU" + sizePerResourceUnit: + type: integer + description: | + Additional size per resource unit (in IOPS). + For example: if baseSize=50, and sizePerResourceUnit=20, and an instance with 2 CPU is launched - its IOPS size will be: 90 + example: 20 kmsKeyId: type: string example: "alias/aws/ebs"