You need to enable JavaScript to run this app.
Elastic Compute Service

Elastic Compute Service

Copy page
Download PDF
Patch management
ListPatchProperties - Queries patch metadata
Copy page
Download PDF
ListPatchProperties - Queries patch metadata
Call ListPatchProperties to query patch metadata.​
Debugging​
API Explorer
You can initiate calls online through API Explorer without paying attention to the signature generation process and quickly obtain the call results.
​
Request parameters​
Only the request parameters specific to this operation and some common parameters are listed below. For more information, refer to Common parameters.​
Action string required Sample value: ListPatchProperties​
The operation that you want to perform. Value: ListPatchProperties.​
​
Version string required Sample value: 2020-04-01​
The API version. Value: 2020-04-01.​
​
OperatingSystem string required Sample value: Ubuntu​
The operating system type. Supported:​
  • Ubuntu​
  • Debian​
​
Property string Optional Sample value: PRODUCT​
The name of the specific property key.​
  • If you do not specify this parameter: Returns all available filter keys (Keys) for the specified OperatingSystem.​
  • If you specify this parameter: Returns all supported enumeration values (Values list) for the specified filter key (Property).​
​
NextToken string Optional Sample value: token-abc123​
Pagination token marking the query position. Omit this parameter for initial API requests. In the next query, set the NextToken parameter to the value returned by the previous API call.​
​
MaxResults integer Optional Sample value: 10​
The number of entries per page.​
  • Default value: 10​
  • Value range: 1 to 100.​
​
​
​
Response parameters​
Only the response parameters specific to this operation are listed below. For more information, refer to the response structure.​
Properties object[] Sample value: --​
The list of patch properties.​
Description string Sample value: Product​
The description of the property​
​
Name string Sample value: PRODUCT​
The name of the property key. Valid values:​
  • PRODUCT​
  • MSRC_SEVERITY​
  • SECTION​
​
Values string[] Sample value: [ "main", "restricted", "universe", "multiverse" ]​
The list of supported enumeration values for the property, indicating compliance severity levels. Valid values: Value:​
  • Critical: Highest compliance risk level.​
  • High: High priority level.​
  • Medium: Medium priority level for routine remediation.​
  • Low: Low priority level for deferred remediation.​
  • Informational: Non-risk informational level.​
  • Unspecified: Temporary level for pending classification.​
​
​
NextToken string Sample value: token-abc123​
The token used for pagination. Pass the token returned in the response of the current page to retrieve the next page.​
​
​
​
Sample request​
​
POST /?Version=2020-04-01&Action=ListPatchProperties HTTP/1.1​
Host: ecs.cn-beijing.volcengineapi.com​
AccessKey: AK*****************​
SecretKey: TXpS***************​
ServiceName: ecs​
Region: cn-beijing​
X-Top-Account-Id: 21000*****​
Content-Type: application/json​
Content-Length: 62​
​
{​
"OperationSystem": "UBUNTU",​
"Property": "PRODUCT"​
}​
​
Sample response​
​
{​
"ResponseMetadata": {​
"RequestId": "202601221735556AE6F3805EF5535****",​
"Action": "ListPatchProperties",​
"Version": "2020-04-01",​
"Service": "ecs",​
"Region": "cn-beijing"​
},​
"Result": {​
"Properties": [​
{​
"Name": "PRODUCT",​
"Values": [​
"Ubuntu24.04",​
"Ubuntu22.04",​
"Ubuntu20.04",​
"Ubuntu18.04",​
"Ubuntu16.04"​
],​
"Description": "Product"​
}​
],​
"NextToken": ""​
}​
}​
​
Error codes​
The table below lists the business-related error codes of the operation. For more information, refer to Common error codes.​
​
Status code​
Error code​
Error message​
Description​
400​
InvalidArgument​
The specified argument is invalid.​
The specified parameter is invalid.​
500​
InternalError​
An internal error has occurred.​
An internal error occurred. Try again. If multiple attempts fail, submit a ticket.​
​
Last updated: 2026.06.18 17:48:27