展示NAT网关白名单资源列表-DescribeWhiteListResource

展示NAT网关白名单资源列表

Request Parameters

Parameter nameTypeDescriptionRequired
Regionstring地域。 参见 地域和可用区列表Yes
NATGWIds.nstringNAT网关的IdYes

Response Elements

Parameter nameTypeDescriptionRequired
RetCodeint操作返回码Yes
Actionstring操作名称Yes
DataSetarray白名单资源的详细信息,详见DescribeResourceWhiteListDataSetYes
TotalCountint白名单资源的总数Yes

DescribeWhiteListResourceDataSet

Parameter nameTypeDescriptionRequired
IfOpenint0:普通模式,1:白名单模式Yes
NATGWIdstringNAT网关IdYes
ObjectIPInfoarray白名单资源信息Yes

DescribeWhiteListResourceObjectIPInfo

Parameter nameTypeDescriptionRequired
GwTypestringnatgw字符串Yes
PrivateIPstring白名单资源的内网IPYes
ResourceIdstring白名单资源Id信息Yes
ResourceNamestring白名单资源名称Yes
ResourceTypestring白名单资源类型Yes
VPCIdstring白名单资源所属VPCIdNo

Request Example

https://api.ucloud.cn/?Action=DescribeWhiteListResource
&Region=cn-bj2
&NATGWIds.0=NbbRAeIJ

Response Example

{
    "Action": "DescribeWhiteListResourceResponse",
    "TotalCount": 9,
    "RetCode": 0,
    "DataSet": [
        "nSRkanNq",
        "TkHTtQoc",
        "ONBPkxrr",
        "aoGskHfU",
        "suKalXHG",
        "UQMozDcj",
        "JVOeFxGX",
        "EUbVfeda"
    ]
}