Queries the search conditions that are used to search for exposed assets.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | DescribeExposedInstanceCriteria |
The operation that you want to perform. Set the value to DescribeExposedInstanceCriteria. |
Value | String | No | id |
The value of the search condition. Fuzzy match is supported. |
All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see Common parameters.
For more information about sample requests, see the "Examples" section of this topic.
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
CriteriaList | Array of Criteria |
The search conditions that are used to search for exposed assets. |
|
Name | String | instanceId |
The name of the search condition. |
Type | String | select |
The type of the search condition. Valid values:
|
Values | String | i-bp19r0fdd39idxhf**** |
The value of the search condition. This parameter is returned only when the value of the Type parameter is select. Note If the value of the Type parameter is input, this parameter is empty.
|
RequestId | String | 6D9CDB47-6191-4415-BE63-7E8B12CD4FBE |
The ID of the request. |
Examples
Sample requests
http(s)://[Endpoint]/?Action=DescribeExposedInstanceCriteria
&<Common request parameters>
Sample success responses
XML
format
<DescribeExposedInstanceCriteriaResponse>
<CriteriaList>
<Type>input</Type>
<Values></Values>
<Name>exposureIp</Name>
</CriteriaList>
<CriteriaList>
<Type>input</Type>
<Values></Values>
<Name>exposurePort</Name>
</CriteriaList>
<CriteriaList>
<Type>input</Type>
<Values></Values>
<Name>exposureComponent</Name>
</CriteriaList>
<CriteriaList>
<Type>input</Type>
<Values></Values>
<Name>instanceName</Name>
</CriteriaList>
<CriteriaList>
<Type>input</Type>
<Values></Values>
<Name>instanceId</Name>
</CriteriaList>
<RequestId>6D9CDB47-6191-4415-BE63-7E8B12CD4FBE</RequestId>
</DescribeExposedInstanceCriteriaResponse>
JSON
format
{
"CriteriaList": [
{
"Type": "input",
"Values": "",
"Name": "exposureIp"
},
{
"Type": "input",
"Values": "",
"Name": "exposurePort"
},
{
"Type": "input",
"Values": "",
"Name": "exposureComponent"
},
{
"Type": "input",
"Values": "",
"Name": "instanceName"
},
{
"Type": "input",
"Values": "",
"Name": "instanceId"
}
],
"RequestId": "6D9CDB47-6191-4415-BE63-7E8B12CD4FBE"
}
Error codes
For a list of error codes, visit the API Error Center.