diff --git a/api/services/ocean/rightsizing/responses/oceanRightsizingClusterConfigurationResponse.yaml b/api/services/ocean/rightsizing/responses/oceanRightsizingClusterConfigurationResponse.yaml index 99c00b07..ff4196ab 100644 --- a/api/services/ocean/rightsizing/responses/oceanRightsizingClusterConfigurationResponse.yaml +++ b/api/services/ocean/rightsizing/responses/oceanRightsizingClusterConfigurationResponse.yaml @@ -33,5 +33,8 @@ content: recommendationsPercentile: type: integer example: 85 + recommendationsMemoryPercentile: + type: integer + example: 85 kind: example: "mcs:ocean:rightSizing:clusterConfiguration" \ No newline at end of file diff --git a/api/services/ocean/rightsizing/schemas/oceanRightsizingSetClusterRecommendationsPercentileRequest.yaml b/api/services/ocean/rightsizing/schemas/oceanRightsizingSetClusterRecommendationsPercentileRequest.yaml index 5631ddae..5b409bcd 100644 --- a/api/services/ocean/rightsizing/schemas/oceanRightsizingSetClusterRecommendationsPercentileRequest.yaml +++ b/api/services/ocean/rightsizing/schemas/oceanRightsizingSetClusterRecommendationsPercentileRequest.yaml @@ -4,11 +4,15 @@ required: properties: config: type: object - required: - - recommendationsPercentile + minProperties: 1 properties: recommendationsPercentile: type: integer - description: Change the percentile that the right-sizing recommendations calculation will take into account. + description: Change the cpu percentile that the right-sizing recommendations calculation will take into account. example: 85 - enum: [ 85, 90, 95, 99 ] \ No newline at end of file + enum: [ 85, 90, 95, 99 ] + recommendationsMemoryPercentile: + type: integer + description: Change the memory percentile that the right-sizing recommendations calculation will take into account. + example: 85 + enum: [ 85, 90, 95, 100 ] \ No newline at end of file