2017-12-21 77 views
0

RateCard API을 통해 제공되는 특정 측정기의 세부 정보/특성/특성을 뱉어내는 Azure API가 있습니까?RateCard 설명에서 VM 특성을 제공하는 Azure API가 있습니까

API의 미터 객체 예는 다음과 같습니다.

{ 
     "EffectiveDate": "2016-09-01T00:00:00Z", 
     "IncludedQuantity": 0.0, 
     "MeterCategory": "Virtual Machines", 
     "MeterId": "40f2bbb5-1ca8-4ac5-afd6-b1e47f16314b", 
     "MeterName": "Compute Hours", 
     "MeterRates": { 
      "0": 0.010 
     }, 
     "MeterRegion": "US East 2", 
     "MeterSubCategory": "Standard_D2_v2 VM (Windows)", 
     "MeterTags": [], 
     "Unit": "Hours" 
    } 

나는이 경우 MeterSubCategoryStandard_D2_v2 VM (Windows)의 VM 미터에 대한 자세한 정보를 알고 싶어요. 코어 수, 메모리 용량, 최대 디스크 수 및 IOPS 및 MB/초에 대한 VM 조절 한계.

답변

0

이 에있는 MeterSubCategory에 대한 자세한 내용은 Standard_D2_v2 VM (Windows)의 VM 미터를 참조하십시오. 얼마나 많은 코어가 있습니까? 많은 메모리, 최대 디스크 수

Azure Virtual Machine Rest API를 사용할 수 있습니다. 이 부분은 link입니다. 예를 들어

GET https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/vmSizes?api-version={apiVersion} 

:

https://management.azure.com/subscriptions/************/providers/Microsoft.Compute/locations/eastus/vmSizes?api-version=2017-12-01 

API가 VM 이름, numberOfCores, osDiskSizeInMB, resourceDiskSizeInMB, memoryInMB, maxDataDiskCount을 얻을 것이다.

및 IOPS 및 MB/초에 대한 VM 제한이 있습니다.

제 지식에 따라 API는 이것을 나열 할 수 없으며 Azure official document을 확인할 수 있습니다.