- Documentation
Elastic Compute Service
Elastic Compute Service
API Reference
Instances
DescribeUserData - Queries instance custom data
Instances
DescribeUserData - Queries instance custom data
DescribeUserData - Queries instance custom data
Call the DescribeUserData operation to query the custom data of an ECS instance.
Usage notes
- The returned custom data of the instance is in Base64-encoded format.
- If no custom data is specified for the instance, an empty value is returned.
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: DescribeUserData
The operation that you want to perform. Valid value: DescribeUserData.
Version stringrequired Sample value: 2020-04-01
The API version. Value: 2020-04-01.
ScheduledInstanceId string Optional Sample value: esi-ycvye5a380l8j1ld****
ESI order ID.
InstanceId string required Sample value: i-l8j0j2jynelea7nu****
The ID of the instance that you want to query.
Response parameters
Only the response parameters specific to this operation are listed below. For more information, refer to the response structure. InstanceId string Sample value: i-l8j0j2jynelea7nu****
The instance ID.
ScheduledInstanceId string Sample value: esi-ycvye5a380l8j1ld****
ESI order ID.
UserData string Sample value: IyEvYmluL2Jhc2gKdG91Y2ggL3RtcC91c2VyZG******
The custom data of the instance.
Sample request
Sample response
Error codes
The table below lists the business-related error codes of the operation. For more information, refer to Common error codes.
Last updated: 2026.06.18 17:48:24