查询裸金属列表

接口描述

查询裸金属列表

请求参数

名称 类型 是否必选 描述
Action String 固定取值:DescribeBmss
RegionCode String 地域编码,您可以调用 DescribeRegionConfig 接口获取地域编码
PageNumber Integer 裸金属服务器列表的页码,起始值为 1,默认值为 1
PageSize Integer 分页查询时设置的每页行数,最大值 100 行,默认为 10

返回数据

名称 类型 描述
BmsInfos List<BmsInfo> 裸金属服务器列表集合
Total Integer 总数
RequestId String 请求Id

请求示例

http://ecs.kpy.cloud/?SignatureVersion=1.0
&Format=JSON
&Version=2014-05-26
&SignatureMethod=HMAC-SHA1
&AccessKeyId=5OyWnDx2M4VJ
&Action=DescribeBmss
&PageNumber=1
&PageSize=11
&RegionCode=cn-dev-1
&SignatureNonce=259b4369-5f4b-4c8a-84d1-c9b872bdbd97
&Timestamp=2024-07-12T06%3A31%3A01Z
&Signature=KDuRqMT6zCoOYYM41ObSThEnvT8%3D

返回示例

{
    "RequestId": "c20428e0-4018-11ef-a1d4-525d287a93b1",
    "BmsInfos": [
        {
            "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"
        }
    ],
    "Total": 1
}

错误码

错误码 报错信息
MissingParameter RegionCode参数不能为空
InvalidPageNumber 分页数错误
InvalidPageSize 每页数量错误
AvailableRegionNotFound 可用的地域未找到
DescribeBmssFail 查询裸金属服务器列表失败:xxx
kaopuyun all right reserved,powered by GitbookUpdated Time: 2024-10-09 06:22:14

results matching ""

    No results matching ""