查詢NAT防火牆存取控制策略優先順序生效範圍。
介面說明
本介面一般用於查詢 NAT 防火牆內對外流量存取控制策略優先順序生效範圍。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| Lang |
string |
否 |
請求和接收訊息的語言類型。取值:
|
zh |
| NatGatewayId |
string |
是 |
NAT Gateway的 ID。 |
ngw-xxxxxx |
| Direction |
string |
是 |
存取控制策略的流量方向。 取值:
|
out |
| IpVersion |
string |
否 |
支援的 IP 位址版本。取值:
|
4 |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
|||
| End |
integer |
存取控制策略生效的優先順序最低值。 |
28 |
| Start |
integer |
存取控制策略生效的優先順序最高值。 |
1 |
| RequestId |
string |
返回結果的請求 ID。 |
BCDF3907-1011-5504-B015-CC7603C0E6B6 |
樣本
正常返回樣本
JSON格式
{
"End": 28,
"Start": 1,
"RequestId": "BCDF3907-1011-5504-B015-CC7603C0E6B6"
}
錯誤碼
|
HTTP status code |
錯誤碼 |
錯誤資訊 |
描述 |
|---|---|---|---|
| 400 | ErrorParametersUid | The aliUid parameter is invalid. | aliUid 不合法 |
| 400 | ErrorDBSelect | An error occurred while querying database. | 內部錯誤:資料庫查詢錯誤 |
| 400 | ErrorParametersAppId | The AppId parameter is incorrect. | AppId不正確 |
| 400 | ErrorParametersNatGatewayId | Invalid parameters NatGatewayId. | 請求參數NatGatewayId不合法或不存在。 |
| 400 | ErrorUUIDNew | The UUID is invalid. | 內部錯誤:UUID錯誤 |
| 400 | ErrorParameterIpVersion | The IP version is invalid. | IP版本參數錯誤 |
| 400 | ErrorParametersDirection | The direction is invalid. | 無效的方向 |
| 400 | ErrorParametersSource | The source is invalid. | 無效的來源 |
| 400 | ErrorDomainResolve | An error occurred while resolving the domain. | 網域名稱解析錯誤 |
| 400 | ErrorParametersDestination | The Destination parameter is invalid. | Destination參數非法 |
| 400 | ErrorParametersProto | The protocol is invalid. | 無效的協議 |
| 400 | ErrorParametersDestPort | The dst_port is invalid. | 無效的目的連接埠 |
| 400 | ErrorParametersAction | The action is invalid. | 無效的動作 |
| 400 | ErrorParameters | Parameters error. | 參數錯誤。 |
| 400 | ErrorParametersPageSizeOrNo | Either pageSize or pageNo is invalid. | 無效的pageSize或者pageNo |
| 400 | ErrorMarshalJSON | An error occurred while encoding JSON. | 內部錯誤:JSON編碼錯誤 |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。