How to use /mciRecommendVm #1234
seokho-son
started this conversation in
Show and tell
Replies: 1 comment 6 replies
-
@seokho-son 문의드립니다. 아래 Request body를 입력하면 {
"filter": {
"policy": [
{
"condition": [
{
"operand": "7",
"operator": "<="
},
{
"operand": "9",
"operator": ">="
}
],
"metric": "vCPU"
},
{
"condition": [
{
"operand": "10",
"operator": "<="
},
{
"operand": "20",
"operator": ">="
}
],
"metric": "memoryGiB"
},
{
"condition": [
{
"operand": "aws"
}
],
"metric": "providerName"
},
{
"condition": [
{
"operand": "ap-northeast-2"
}
],
"metric": "regionName"
}
]
},
"limit": "5",
"priority": {
"policy": [
{
"metric": "performance"
}
]
}
} |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
개요
MCI 생성을 위한, VM 구성을 최적화하기 위해 VM 단위의 Spec을 추천하는 방법 설명
사용 방법
필터링 옵션
ex: "metric": "providerName"
산술 일치 조건 "<=", ">=", "==" (ex: "operator": "<=", "operand": "4")
json:"vCPU"
json:"memoryGiB"
json:"costPerHour"
json:"acceleratorCount"
json:"acceleratorMemoryGB"
문자열 포함 조건 (ex: "operand": "gcp")
json:"providerName"
json:"regionName"
json:"cspSpecName"
json:"acceleratorModel"
json:"acceleratorType"
json:"description"
우선순위 옵션 (현재 metric: location, performance, cost 지정 가능)
입력 예시
Beta Was this translation helpful? Give feedback.
All reactions