免费注册
帮助文档(华北一、二)
API返回示例

  • 该API的返回值为如下所示的JSON格式内容。

     
    {      
    "Action" : "DescribeUHostInstanceResponse",      
    "TotalCount" : 1,      
    "RetCode" : 0,      
    "UHostSet" : [          
      {              
        "UHostId":"uhost-qs20fr",              
        "ImageId": "ee51e7ba-7b48-4332-b6e8-990bd56f81af",              
        "BasicImageId": "08d3b48b-ba14-4b1a-a5dd-cbacf8b820f2",              
        "BasicImageName": "Ubuntu 10.04 64位",              
        "Tag":"tag-test",              
        "Name":"name-test",              
        "Remark":"remark-test",              
        "State":"Running",              
        "CreateTime":1234567890,              
        "ChargeType":"Dynamic",              
        "ExpireTime":1398328902,              
        "CPU":2,              
        "Memory":2048,              
        "AutoRenew":"Yes",              
        "NetworkState":"Connected",              
        "NetCapability":"Yes",              
        "AutoRenew": "Yes",              
        "DiskSet":[                   
          {                      
            "Type": "Boot",                      
            "DIskId": "209883a7-aaee-4492-974d-5d9d64ef79c4",                      
            "Drive": "/dev/sda",                      
            "Size": 20                  
          },                  
          {                      
            "Type": "Data",                      
            "DIskId": "5daef46a-63e6-40c2-8d0a-d3d5b3bc4d5b",                      
            "Drive": "/dev/sdb",                      
            "Size": 40                  
          },                  
          {                      
            "Type": "Udisk",                      
            "DIskId": "ce8a9f2a-28c7-4267-8cff-eafb714e3b18",                      
            "Drive": "/dev/sdc",                       
            "Size": 100                  
          }              
      ]              
        " IpSet ":[                  
          {                      
            "Type": " Private ",                      
            "IP":"10.6.6.1"                  
          },                  
          {                      
            "Type":" Bgp ",                      
            "IPId":"cc9732a6-d43a-45ca-b867-fb90052ffe88",                      
            "IP":”118.192.72.21”,                      
            " Bandwidth": 2                  
            }              
          ]          
        }      
      ] 
    }