Queries an IPv4 gateway.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
RegionId | string | Yes | The region ID of the IPv4 gateway. You can call the DescribeRegions operation to query the most recent region list. | ap-southeast-6 |
Ipv4GatewayId | string | Yes | The ID of the IPv4 gateway. | ipv4gw-5tsnc6s4ogsedtp3k**** |
Response parameters
Examples
Sample success responses
JSON
format
{
"VpcId": "vpc-5tsrxlw7dv074gci4****",
"Status": "Created",
"Ipv4GatewayId": "ipv4gw-5tsnc6s4ogsedtp3k****",
"RequestId": "7F79A919-6FE9-50C4-967B-45705E1F9C38",
"Ipv4GatewayDescription": "new",
"Enabled": true,
"Ipv4GatewayRouteTableId": "vtb-5ts0ohchwkp3dydt2****",
"Ipv4GatewayName": "name",
"CreateTime": "2022-02-24T09:02:36Z",
"ResourceGroupId": "rg-bp67acfmxazb4ph****",
"Tags": [
{
"Key": "FinanceDept",
"Value": "FinanceJoshua"
}
]
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
400 | ResourceNotFound.Ipv4Gateway | The specified resource ipv4Gateway is not found. | The IPv4 gateway is not found and cannot be deleted. |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|
No change history