cb-spider icon indicating copy to clipboard operation
cb-spider copied to clipboard

[Price:IBM] GetPriceInfo()

Open powerkimhub opened this issue 1 year ago • 0 comments

  • 다음 API에 대해서,

    GetPriceInfo(productFamily string, regionName string, filterList []KeyValue)
    
  • 다음과 같이 filter를 포함하여 호출했을 경우

    - productFamily : "is.instance"
    - regionName: "us-south" 
    - filterList : [{"Key":"vcpu", "Value":"8"}]
    
  • 결과 중 일부가 아래와 같습니다.

    • (1) filter가 적용되지 않고 있습니다. 확인 부탁드립니다.
    • (2) zoneName이 NA로 표시되어야 합니다.
  ... 중략
                  "description" : "Gen3 Memory mx3d-2x20",
                  "gpu" : "NA",
                  "gpuMemory" : "NA",
                  "instanceType" : "mx3d-2x20",
                  "memory" : "20 GiB",
                  "operatingSystem" : "NA",
                  "productId" : "dcaca9ff-8325-4024-8684-d2a09228bc0b",
                  "regionName" : "us-south",
                  "storage" : "NA",
                  "storageMedia" : "NA",
                  "vcpu" : "2",                                      <================= filtering 되어야 함
                  "volumeType" : "NA",
                  "zoneName" : ""                               <=================  NA로 표시
               }
            },
  ...중략

powerkimhub avatar Jan 02 '24 11:01 powerkimhub