调用DescribePropertySoftwareItem接口获取所有软件列表信息.。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
请求参数
名称 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
Action | String | 是 | DescribePropertySoftwareItem |
要执行的操作。 取值:DescribePropertySoftwareItem。 |
ForceFlush | Boolean | 否 | true |
是否强制刷新待查询数据。 |
Name | String | 否 | test |
指定待查询的软件名称。 |
CurrentPage | Integer | 否 | 1 |
指定返回结果的当前页码。 |
PageSize | Integer | 否 | 10 |
指定列表每页显示数据条数 。 |
返回数据
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
RequestId | String | 3A85CFCF-05C8-451A-9E41-C0D5E96BA407 |
请求ID。 |
PropertyItems | Array |
返回的软件列表。 |
|
Name | String | aaa_base |
返回的软件资产名称。 |
Count | Integer | 23 |
返回结果中软件资产对应的服务器数量。 |
PageInfo | Struct |
返回结果的页面显示信息。 |
|
Count | Integer | 2 |
返回结果的当前页显示数据条数。 |
PageSize | Integer | 2 |
返回结果中每页显示数据条数。 |
TotalCount | Integer | 5037 |
返回数据的总条数。 |
CurrentPage | Integer | 1 |
返回结果中显示的当前页码。 |
示例
请求示例
http(s)://[Endpoint]/?Action=DescribePropertySoftwareItem
&<公共请求参数>
正常返回示例
XML
格式
<DescribePropertySoftwareItemResponse>
<PageInfo>
<Count>2</Count>
<PageSize>2</PageSize>
<TotalCount>5037</TotalCount>
<CurrentPage>1</CurrentPage>
</PageInfo>
<PropertyItems>
<Name>a11y-profile-manager-indicator</Name>
<Count>1</Count>
</PropertyItems>
<PropertyItems>
<Name>aaa_base</Name>
<Count>23</Count>
</PropertyItems>
<requestId>3A85CFCF-05C8-451A-9E41-C0D5E96BA407</requestId>
</DescribePropertySoftwareItemResponse>
JSON
格式
{
"PageInfo": {
"Count": 2,
"PageSize": 2,
"TotalCount": 5037,
"CurrentPage": 1
},
"PropertyItems": [
{
"Name": "a11y-profile-manager-indicator",
"Count": 1
},
{
"Name": "aaa_base",
"Count": 23
}
],
"requestId": "3A85CFCF-05C8-451A-9E41-C0D5E96BA407"
}
错误码
访问错误中心查看更多错误码。