DescribeSecurityProxyResources

Updated at:

Queries NAT firewall resources.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

yundun-cloudfirewall:DescribeSecurityProxyResources

get

*All Resource

*

None None

Request parameters

Parameter

Type

Required

Description

Example

Lang

string

No

The language type.

Valid values:

  • en :

    English.

  • zh :

    Chinese.

zh

NatGatewayId

string

No

The NAT gateway ID.

ngw-uf6y16l23fm8hq0****

MemberUid

integer

No

The UID of member accounts.

136481150091****

Response elements

Element

Type

Description

Example

object

RequestId

string

The ID of the request.

A8E8D50E-9F45-5662-B116-A1D0807F****

ResourceList

array<object>

The list of resources.

array<object>

The list of resources.

RegionNo

string

The region ID.

cn-beijing

VpcList

array<object>

The list of VPCs.

array<object>

The list of VPCs.

VpcId

string

The VPC-connected instance ID.

vpc-8vbuzirdl3w1r7exw****

VpcName

string

The VPC-connected instance name.

vpc-wz94a4q37rgl7g****

CidrBlock

string

The IPv4 CIDR block of the VPC.

192.168.0.0/16

MemberUid

string

The UID of member accounts.

157862808111****

NatGateways

array<object>

The list of NAT gateways.

array<object>

The NAT gateway information.

Status

string

The status of the NAT gateway.

Available

Detail

string

The status of the NAT gateway.

Available

NatGatewayId

string

The NAT gateway ID.

ngw-bp1bm0k2t8i6ooxu****

NatGatewayName

string

The name of the NAT gateway.

ngw-test

NatRouteEntryList

array<object>

The list of NAT route tables.

object

The NAT route table.

NextHopId

string

The next hop instance ID.

ngw-2zey0w2u02u1x584m****

DestinationCidr

string

The destination CIDR block.

10.0.70.XX/24

RouteTableId

string

The route table ID.

vtb-2ze409pp09d994a****

NextHopType

string

The next hop network type.

NatGateway

DivertStatus

string

The current traffic redirection status of the route entry. Valid values:

  • diverted: Traffic is redirected to the firewall.

  • undiverted: Traffic is not redirected and still points to the NAT gateway.

  • diverting: Traffic redirection is in progress.

  • undiverting: Traffic redirection cancellation is in progress.

  • abnormal: Traffic redirection is abnormal.

diverted

Examples

Success response

JSON format

{
  "RequestId": "A8E8D50E-9F45-5662-B116-A1D0807F****",
  "ResourceList": [
    {
      "RegionNo": "cn-beijing",
      "VpcList": [
        {
          "VpcId": "vpc-8vbuzirdl3w1r7exw****",
          "VpcName": "vpc-wz94a4q37rgl7g****",
          "CidrBlock": "192.168.0.0/16",
          "MemberUid": "157862808111****",
          "NatGateways": [
            {
              "Status": "Available",
              "Detail": "Available",
              "NatGatewayId": "ngw-bp1bm0k2t8i6ooxu****",
              "NatGatewayName": "ngw-test",
              "NatRouteEntryList": [
                {
                  "NextHopId": "ngw-2zey0w2u02u1x584m****",
                  "DestinationCidr": "10.0.70.XX/24",
                  "RouteTableId": "vtb-2ze409pp09d994a****",
                  "NextHopType": "NatGateway",
                  "DivertStatus": "diverted"
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}

Error codes

HTTP status code

Error code

Error message

Description

400 ErrorAliUid Aliuid invalid. The aliuid is invalid.
400 ErrorDBSelectError A database select error occurred. The error message returned because an internal error has occurred in querying the database.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.