查询预算区域筛选项
下表仅列出该接口特有的请求参数和部分公共参数。更多信息请见公共参数。
const columns = [
{
width: '20%',
title: '参数',
dataIndex: 'Name',
className: 'openapi-doc-parameter-table-name'
},
{
width: 130,
title: '类型',
dataIndex: 'DataType',
className: 'openapi-doc-parameter-table-type'
},
{
width: 90,
title: '是否必填',
dataIndex: 'IsRequired',
className: 'openapi-doc-parameter-table-required'
},
{
width: '20%',
title: '示例值',
dataIndex: 'Example',
className: 'openapi-doc-parameter-table-example'
},
{
title: '描述',
dataIndex: 'Description',
className: 'openapi-doc-parameter-table-description'
},
];
const data = [
{
rowKey: '->Action',
Name: 'Action',
DataType: 'String',
IsRequired: '是',
Example: <RenderMd content={"ListBudgetFilterZoneCode"} />,
Description: <RenderMd content={"要执行的操作,取值:ListBudgetFilterZoneCode。"} />,
children: [
]
},
{
rowKey: '->Version',
Name: 'Version',
DataType: 'String',
IsRequired: '是',
Example: <RenderMd content={"2022-01-01"} />,
Description: <RenderMd content={"API的版本,取值:2022-01-01。"} />,
children: [
]
},
{
rowKey: '->Limit',
Name: 'Limit',
DataType: 'Integer',
IsRequired: '是',
Example: <RenderMd content={"100"} />,
Description: <RenderMd content={"查询数量"} />,
children: [
]
},
{
rowKey: '->Offset',
Name: 'Offset',
DataType: 'Integer',
IsRequired: '是',
Example: <RenderMd content={"0"} />,
Description: <RenderMd content={"查询偏移量"} />,
children: [
]
},
];
return (<Table
rowKey="rowKey"
className="openapi-doc-parameter-table"
columns={columns}
data={data}
border={ { cell: true, wrapper: true } }
scroll={ { x: "auto" } }
pagination={false}
/>);
下表仅列出本接口特有的返回参数。更多信息请参见返回结构。
const columns = [
{
width: '25%',
title: '参数',
dataIndex: 'Name',
className: 'openapi-doc-parameter-table-name',
},
{
width: 130,
title: '类型',
dataIndex: 'DataType',
className: 'openapi-doc-parameter-table-type'
},
{
width: '25%',
title: '示例值',
dataIndex: 'Example',
className: 'openapi-doc-parameter-table-example'
},
{
title: '描述',
dataIndex: 'Description',
className: 'openapi-doc-parameter-table-description'
},
];
const data = [
{
rowKey: "->ZoneInfoList",
Name: "ZoneInfoList",
DataType: "Array of Object",
Example: <RenderMd content={" [\n {\n RegionZoneCode: \"{\\\"\\\":\\\"\\\"}\",\n RegionZoneName: \"-(空): 不限\"\n }\n]"} />,
Description: <RenderMd content={"可用区信息列表"} />,
children: [
{
rowKey: "->ZoneInfoList->RegionZoneCode",
Name: "RegionZoneCode",
DataType: "String",
Example: <RenderMd content={"{\\\"R000807\\\":\\\"\\\"}"} />,
Description: <RenderMd content={"{region: zone}的json格式字符串"} />,
children: [
]
},
{
rowKey: "->ZoneInfoList->RegionZoneName",
Name: "RegionZoneName",
DataType: "String",
Example: <RenderMd content={"-(空): 华南1(广州高防1)"} />,
Description: <RenderMd content={"地域名称和可用区名称的拼接"} />,
children: [
]
},
]
},
{
rowKey: "->Total",
Name: "Total",
DataType: "Integer",
Example: <RenderMd content={"1"} />,
Description: <RenderMd content={"预算总数量"} />,
children: [
]
},
{
rowKey: "->Limit",
Name: "Limit",
DataType: "Integer",
Example: <RenderMd content={"10"} />,
Description: <RenderMd content={"查询数量"} />,
children: [
]
},
{
rowKey: "->Offset",
Name: "Offset",
DataType: "Integer",
Example: <RenderMd content={"0"} />,
Description: <RenderMd content={"查询偏移量"} />,
children: [
]
},
];
return (<Table
rowKey="rowKey"
className="openapi-doc-parameter-table"
columns={columns}
data={data}
border={ { cell: true, wrapper: true } }
scroll={ { x: "auto" } }
pagination={false}
/>);
{
"Limit": 100,
"Offset": 0
}
{
Metadata: {
RequestId: "20251015222816796B4115F605FD01E1C9",
Action: "ListBudgetFilterZoneCode",
Version: "2022-01-01",
Service: "billing",
Region: "cn-beijing",
HTTPCode: 200
},
Limit: 100,
Offset: 0,
Total: 4,
ZoneInfoList: [
{
RegionZoneCode: "{\"\":\"\"}",
RegionZoneName: "-(空): 不限"
},
{
RegionZoneCode: "{\"R000807\":\"\"}",
RegionZoneName: "-(空): 华南1(广州高防1)"
},
{
RegionZoneCode: "{\"R000022\":\"\"}",
RegionZoneName: "-(空): 新加坡1"
},
{
RegionZoneCode: "{\"R000272\":\"\"}",
RegionZoneName: "-(空): 国内通用"
}
]
}
下表为您列举了该接口与业务逻辑相关的错误码。公共错误码请参见公共错误码文档。
const columns = [
{
title: '状态码',
dataIndex: 'HttpCode',
width: '12%',
className: 'openapi-doc-errorcode-table-httpcode'
},
{
title: '错误码',
dataIndex: 'ErrorCode',
width: '22%',
className: 'openapi-doc-errorcode-table-errorcode'
},
{
title: '错误信息',
dataIndex: 'ErrorMessage',
width: '33%',
className: 'openapi-doc-errorcode-table-errormessage'
},
{
title: '说明',
dataIndex: 'Description',
width: '33%',
className: 'openapi-doc-errorcode-table-description'
},
];
const data = [
{
HttpCode: 500,
ErrorCode: 'InternalServerError',
ErrorMessage: <RenderMd content={"The request has failed due to an unknown error."} />,
Description: <RenderMd content={"系统错误,多次出现时请联系管理员"} />,
},
];
return (<Table
columns={columns}
data={data}
border={ { cell: true, wrapper: true } }
scroll={ { x: "auto" } }
pagination={false}
/>);