diff --git a/code/API_definitions/Edge-Application-Management.yaml b/code/API_definitions/Edge-Application-Management.yaml index fc4d684..28063b0 100644 --- a/code/API_definitions/Edge-Application-Management.yaml +++ b/code/API_definitions/Edge-Application-Management.yaml @@ -1035,9 +1035,7 @@ components: - storage properties: numCPU: - type: integer - description: Number of virtual CPUs - example: 1 + $ref: '#/components/schemas/Vcpu' memory: type: integer example: 10 @@ -1067,6 +1065,20 @@ components: identifies the endpoint within an Edge Cloud Zone where the user equipment may connect to the selected application instance + Vcpu: + type: string + pattern: ^\d+((\.\d{1,3})|(m))?$ + description: | + Number of vcpus in whole, decimal up to millivcpu, + or millivcpu format. + example: + whole: + value: 2 + decimal: + value: 0.500 + millivcpu: + value: 500m + responses: '400': description: Bad request