GetDestinationCidrBlock
Users can use this API to query the destination CIDR block of the source policy instance when creating a routing strategy.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
eflo:GetDestinationCidrBlock |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
Instance ID |
vpd-xxxxxxxxx |
| RegionId |
string |
Yes |
Region ID |
cn-wulanchabu |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
AjaxResult |
||
| Code |
integer |
The response status code |
0 |
| Message |
string |
Error message. (Indicates the reason for the anomaly when the instance status is abnormal.) |
成功 |
| RequestId |
string |
ID of this request |
D349EE86-AF3F-5F6C-87E2-2A08D3618350 |
| Content |
object |
Response content |
|
| DestinationCidrBlock |
array |
List of destination CIDR block information for the current network instance |
|
|
string |
Target subnet information. The target subnet is in CIDR format. For example: 192.168.10.0/24 |
192.168.73.240/28 |
|
| AccessDeniedDetail |
string |
The details about the access denial. |
{} |
Examples
Success response
JSON format
{
"Code": 0,
"Message": "成功",
"RequestId": "D349EE86-AF3F-5F6C-87E2-2A08D3618350",
"Content": {
"DestinationCidrBlock": [
"192.168.73.240/28"
]
},
"AccessDeniedDetail": "{}"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.