Queries the configurations of an instance.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
InstanceId | String | Yes | i-bp1cpoxxxwxxxxxxxxxx |
The ID of the instance. |
TypeName | String | Yes | ACS:InstanceInformation |
The name of the component. Valid values:
|
MaxResults | Integer | No | 50 |
The number of entries to return on each page. Valid values: 1 to 100. Default value: 50. |
NextToken | String | No | MTRBMDc0NjAtRUJFNy00N0NBLTk3NTctMTJDQzA |
The token that is used to retrieve the next page of results. |
Filter.N.Name | String | No | DisplayName |
The name of the component property. Valid values of N: 0 to 4 . |
Filter.N.Operator | String | No | BeginWith |
The comparison operator that is used to filter property values. Valid values of N: 0 to 4 . Valid values:
|
Filter.N.Value.N | RepeatList | No | test |
The value of the property. Valid values of the first N: 0 to 4. Valid values of the second N: 0 to 19 . |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
Entries | List | { "RequestId": "1DF96445-5E18-4524-A4AE-3A218D0C345A", "Entries": [ { "PlatformName": "ubuntu", "PlatformVersion": "20.04", "Status": "Running", "InstanceId": "i-bp1cpoxxxwxxxxxxxxxx", "AgentVersion": "v1.5", "ComputerName": "i-bp1cpoxxxwxxxxxxxxxx", "IpAddress": "192.000.00.000", "AgentName": "oosutil", "PlatformType": "linux" } ]} |
The detailed configurations of the component. |
NextToken | String | gAAAAABfTgv5ewUWmNdJ3g7JVLvX70sPH90GZOVGC |
The token that is used to retrieve the next page of results. |
RequestId | String | A81E4B2E-6B33-4BAE-9856-55DB7C893E01 |
The ID of the request. |
Examples
Sample requests
http(s)://[Endpoint]/? InstanceId=i-bp1cpoxxxwxxxxxxxxxx
&TypeName=ACS:InstanceInformation
&<Common request parameters>
Sample success responses
XML
format
<RequestId>1DF96445-5E18-4524-A4AE-3A218D0C345A</RequestId>
<Entries>
<PlatformName>ubuntu</PlatformName>
<PlatformVersion>20.04</PlatformVersion>
<Status>Running</Status>
<InstanceId>i-bp1cpoxxxwxxxxxxxxxx</InstanceId>
<AgentVersion>v1.5</AgentVersion>
<ComputerName>i-bp1cpoxxxwxxxxxxxxxx</ComputerName>
<IpAddress>192.000.00.000</IpAddress>
<AgentName>oosutil</AgentName>
<PlatformType>linux</PlatformType>
</Entries>
JSON
format
{
"RequestId": "1DF96445-5E18-4524-A4AE-3A218D0C345A",
"Entries": [
{
"PlatformName": "ubuntu",
"PlatformVersion": "20.04",
"Status": "Running",
"InstanceId": "i-bp1cpoxxxwxxxxxxxxxx",
"AgentVersion": "v1.5",
"ComputerName": "i-bp1cpoxxxwxxxxxxxxxx",
"IpAddress": "192.000.00.000",
"AgentName": "oosutil",
"PlatformType": "linux"
}
]
}
Error codes
HttpCode | Error code | Error message | Description |
---|---|---|---|
400 | InvalidParameter | The parameter is invalid. | The error message returned because the specified parameter is invalid. |
For a list of error codes, visit the API Error Center.