查询裸金属服务器详情
接口描述
查询裸金属服务器详情
请求参数
参数 |
类型 |
是否必选 |
描述 |
Action |
String |
是 |
固定取值::DescribeBms |
BmsUUID |
String |
是 |
裸金属服务器标识 |
返回数据
参数 |
类型 |
描述 |
BmsInfo |
BmsInfo |
裸金属服务器信息 |
RequestId |
String |
请求Id |
请求示例
http://ecs.kpy.cloud/?AccessKeyId=5OyWnDx2M4VJ
&Action=DescribeBms
&BmsUUID=bms-2s000007qp7b
&Format=JSON
&SignatureMethod=HMAC-SHA1
&SignatureNonce=5fe653e7-7d09-4fe8-a965-f54a1c338a09
&SignatureVersion=1.0
&Timestamp=2024-07-12T07%3A11%3A41Z
&Version=2014-05-26
&Signature=xBbKXSQjNe0l7LUZZgFj1%2Fbje24%3D
响应示例
{
"RequestId": "02108b90-401e-11ef-a1d4-525d287a93b1",
"BmsInfo": {
"CpuModel": "AMD EPYC 7302",
"MainIpInfo": {
"internetChargeType": "PAY_BY_BAND_WIDTH",
"InstanceChargeType": "PRE_PAID",
"IpPurchaseMethod": "SINGLE_IP",
"Bandwidth": 1,
"CreateTime": "2024-05-23T01:56:27Z",
"IsIpGroupMainIp": false,
"IpAddress": "20.32.2.236",
"ipUUID": "ga-ev000008y9be"
},
"InstanceSpec": "bms.A2.16xlarge512",
"InternalIpAddress": "192.3.21.2",
"RegionCode": "cn-dev-1",
"Memory": 512,
"BmsName": "20240507173253656",
"AutoRenew": "INFINITE",
"Cpu": 64,
"vswitchUUID": "vnet-t8000005cy3x",
"OsVersionDetail": "cn-windows-2022",
"NetworkType": "PRIVATE_NETWORK",
"InstanceType": "bms.A2",
"Status": "STARTED",
"GraphicsCardInfoList": [
{
"GraphicsCardModel": "rtx2080s",
"GraphicsCardUUID": "nwc-9p000007qpa4"
}
],
"OsName": "windows",
"CreateTime": "2024-05-07T09:33:52Z",
"PendingStatus": "NONE",
"SecondaryIpInfoList": [
{
"internetChargeType": "PAY_BY_BAND_WIDTH",
"InstanceChargeType": "PRE_PAID",
"IpPurchaseMethod": "SINGLE_IP",
"Bandwidth": 1,
"CreateTime": "2024-07-11T02:25:07Z",
"IsIpGroupMainIp": false,
"IpAddress": "88.32.1.6",
"ipUUID": "eip-3g00000dea7g"
}
],
"BmsUUID": "bms-2s000007qp7b",
"ZoneCode": "cn-dev-1-a",
"SystemDiskInfo": {
"DiskCount": 1,
"CreateTime": "2024-05-07T09:34:15Z",
"DiskSize": 300,
"DiskCategory": "LOCAL_HDD",
"DiskUUID": "disk-9p000007qpa2"
},
"NetworkCardInfoList": [
{
"NetworkCardUUID": "nwc-9p000007qpa3",
"NetworkCardPortNumber": 2,
"NetworkCardSpeed": 25
}
],
"ExpireTime": "2024-07-31T16:00:00Z",
"vpcUUID": "vpc-t8000005cy3u"
}
}
错误码
错误码 |
错误信息 |
AvailableBmsNotFound |
可用的裸金属服务器未找到 |
DescribeBmssFail |
查询裸金属服务器详情失败:xxx |