DescribeOutgoingAssetList

Updated at:

Retrieves the list of outbound assets.

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:DescribeOutgoingAssetList

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

StartTime

string

Yes

The start time of the query. The value is a UNIX timestamp in seconds.

1743647114

EndTime

string

Yes

The end time of the query. The value is a UNIX timestamp in seconds.

1736438400

PageSize

string

No

The number of entries per page.

10

CurrentPage

string

No

The page number.

1

ResourceType

string

No

The type of the public IP address of the asset.

Valid values:

  • EcsEIP :

    EcsEIP

  • EcsPublicIP :

    EcsPublicIP

  • NatPublicIP :

    NatPublicIP

  • NatEIP :

    NatEIP

NatEIP

AssetsRegion

string

No

The region to which the asset belongs.

cn-beijing

GroupName

string

No

The follow status.

Valid values:

  • subscribe :

    subscribe

  • ignore :

    ignore

subscribe

PublicIP

string

No

The public IP address.

47.116.70.XXX

PrivateIP

string

No

The private IP address.

10.200.33.XXX

SecurityRisk

string

No

The security risk.

Valid values:

  • normal :

    Normal asset.

  • risk :

    Risky asset.

risk

Sort

string

No

The sort field.

Valid values:

  • InBytes :

    Inbound traffic.

  • SessionCount :

    Number of accesses.

  • OutBytes :

    Outbound traffic.

InBytes

Order

string

No

The sort order.

Valid values:

  • asc :

    Ascending order.

  • desc :

    Descending order.

desc

IPType

string

No

Specifies whether to query outbound connections over the NAT private network.

NatPrivate

NatGatewayId

string

No

The ID of the NAT gateway.

ngw-bp123456g******

NatGatewayName

string

No

The name of the NAT gateway.

ngw-test

Response elements

Element

Type

Description

Example

object

TotalCount

integer

The total number of entries.

2

RequestId

string

The request ID.

7A515672-FAAE-584F-B51C-B2586E****

AssetList

array<object>

The asset list.

object

The asset list.

SessionCount

integer

The number of accesses.

2

ResourceType

string

The type of the public IP address of the asset.

Valid values:

  • EcsEIP :

    EcsEIP

  • EcsPublicIP :

    EcsPublicIP

  • NatPublicIP :

    NatPublicIP

  • NatEIP :

    NatEIP

  • EIP :

    EIP

EcsPublicIP

AssetInstanceId

string

The ID of the asset instance.

i-8vbcmllue4d94nto****

GroupName

string

The follow status.

Valid values:

  • subscribe :

    Followed.

  • ignore :

    Ignored.

subscribe

AssetsRegion

string

The region.

cn-hangzhou

OutBytes

integer

The outbound traffic, which is the request traffic. Unit: bytes.

100

SecurityRisk

string

The security risk.

Valid values:

  • normal :

    Normal asset.

  • risk :

    Risky asset.

risk

InBytes

integer

The inbound traffic, which is the response traffic. Unit: bytes.

244438

PublicIP

string

The public IP address.

47.96.181.XXX

AssetInstanceName

string

The name of the asset instance.

test

PrivateIP

string

The private IP address.

10.21.242XXX

NatGatewayId

string

The NAT gateway ID.

ngw-bp1utx6wj4x9qu9tl****

NatGatewayName

string

The name of the NAT gateway.

ngw-test

OutgoingDomainCnt

integer

The number of outbound domain names.

10

OutgoingDstIPCnt

integer

The number of outbound IP addresses.

12

TotalBytes

integer

The total traffic.

12498767

PrivateIPList

array

The private IP address list.

string

The private IP address list.

["47.256.35.XXX"]

IpsHitCnt

integer

The number of IPS hits.

12

Examples

Success response

JSON format

{
  "TotalCount": 2,
  "RequestId": "7A515672-FAAE-584F-B51C-B2586E****",
  "AssetList": [
    {
      "SessionCount": 2,
      "ResourceType": "EcsPublicIP",
      "AssetInstanceId": "i-8vbcmllue4d94nto****",
      "GroupName": "subscribe",
      "AssetsRegion": "cn-hangzhou",
      "OutBytes": 100,
      "SecurityRisk": "risk",
      "InBytes": 244438,
      "PublicIP": "47.96.181.XXX",
      "AssetInstanceName": "test",
      "PrivateIP": "10.21.242XXX",
      "NatGatewayId": "ngw-bp1utx6wj4x9qu9tl****",
      "NatGatewayName": "ngw-test",
      "OutgoingDomainCnt": 10,
      "OutgoingDstIPCnt": 12,
      "TotalBytes": 12498767,
      "PrivateIPList": [
        "[\"47.256.35.XXX\"]"
      ],
      "IpsHitCnt": 12
    }
  ]
}

Error codes

HTTP status code

Error code

Error message

Description

400 ErrorAliUid Aliuid invalid. The aliuid is invalid.
400 ErrorTimeError The time is invalid. The time is invalid.
400 ErrorIntervalError The interval is invalid. The interval is invalid.
400 ErrorDBSelectError A database select error occurred. The error message returned because an internal error has occurred in querying the database.
400 ErrorIpFormat The IP address is invalid. The IP address is invalid.
400 ErrorSecurityRisk The security risk is invalid. The security risk is invalid.
400 ErrorSortError The sort is invalid. The sort is invalid.
400 ErrorOrderFailed The order is invalid. The order is invalid.
400 ErrorSecuritySuggest The security suggest is invalid. The security suggest is invalid.
400 ErrorPageNo Either page number or page size is invalid. Either page number or page size is invalid.
400 ErrorMarshalJSON internal error. Internal error.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.