All Products
Search
Document Center

ENS:ListApplications

Last Updated:Mar 27, 2026

Queries the created applications.

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

ens:ListApplications

get

*All Resource

*

None None

Request parameters

Parameter

Type

Required

Description

Example

ClusterNames

string

No

The name of the application cluster. Separate multiple names with commas (,). If you want to query applications of all clusters in your account, specify All for this parameter. Default value: All.

poc,pre

AppVersions

string

No

The version number of the application. Separate multiple version numbers with commas (,). If you want to query data of all versions of applications, specify All for this parameter. By default, only data of applications in the stable versions are queried.

v1,v2

Level

string

No

The region level by which edge resources of the application are collected. The value is of the enumeration type. Valid values:

  • National: Chinese mainland

  • Big: area

  • Middle: province

  • Small: city

  • RegionId: edge node

Default value: National.

Valid values:

  • Big :
  • Small :
  • National :
  • RegionId :
  • Middle :

National

OutAppInfoParams

string

No

Specifies whether to return other information about the application, such as statistics on resource instances and pods. The value must be a JSON string. By default, all information is returned.

{\"appInfo\":true,\"detailStat\": true, \"appVersionStat\": true, \"districtStat\":true ,\"instanceStat\": true, \"podCountStat\": true}

PageNumber

integer

No

The page number. Pages start from page 1. This parameter is optional if you want to return the push status of all data files.

1

PageSize

integer

No

The number of entries per page. This parameter is optional if you want to return all information about the applications.

10

MinDate

string

No

The beginning of the time range to query. Specify the time in the 2006-01-02 format. By default, the time range to query is not restricted.

2022-02-15

MaxDate

string

No

The end of the time range to query. Specify the time in the 2006-01-02 format. By default, the time range to query is not restricted.

2022-02-20

Response elements

Element

Type

Description

Example

object

Applications

object

Application

array<object>

Details about applications.

array<object>

AppList

object

App

array<object>

Details about the application.

object

AppId

string

The ID of the application.

e76f8985-7965-41fc-925b-9648bb6bf650

AppInfo

string

The information about the application, such as the resource specification, parameter configuration, and resources.

{ "AppStatus":{ "Phase":"RUNNING", "StatusDescrip":"{\"status\":\"UPDATE_SUCCESS\",\"step\":\"DONE\",\"descrip\":\"update to version:1022 success\",\"start_time\":\"2022-03-01 16:18:22\"}", "UpdateTime":"2022-03-01 16:18:22", "OrderStatus":null }, "ResourceAttribute":{ "NetSecurityInfo":null, "InitConfig":null, "InventoryType":"Ens", "InstanceSpec":"ens.gi6s-c12g1.large", "SystemDiskSize":100, "DataDiskSize":0, "BandwithOut":5000, "SchedulingStrategy":"Disperse", "ImageId":"m-5or73kzkuxytv7hh6wxr6yc5q", "ResourceType":"Linux", "AreaLevel":"National", "IpType":"PublicIP" }, "WorkloadAttribute":[ { "Name":"andorid", "Count":15, "ServiceConfig":{ "PortsBindConfig":{ "NetServiceContainer":"uravi-service", "Ports":[ { "Protocol":"TCP", "BindType":"Mapping", "StartNodePorts":"31000-31009", "ContainerPorts":"4440-4449" }, { "Protocol":"TCP", "BindType":"PassThrough", "StartNodePorts":"59000-59000", "ContainerPorts":"59000-59000" }, { "Protocol":"UDP", "BindType":"PassThrough", "StartNodePorts":"40001-40010", "ContainerPorts":"40001-40010" } ] }, "ServiceContainerName":"android" } }, { "Name":"coturn", "Count":1, "ServiceConfig":{ "PortsBindConfig":{ "NetServiceContainer":"coturn", "Ports":[ { "Protocol":"TCP", "BindType":"PassThrough", "StartNodePorts":"3478-3478", "ContainerPorts":"3478-3478" }, { "Protocol":"UDP", "BindType":"PassThrough", "StartNodePorts":"3478-3478", "ContainerPorts":"3478-3478" } ] }, "ServiceContainerName":"coturn" } }, { "Name":"aic-manager", "Count":1, "ServiceConfig":null } ] }

ClusterName

string

The name of the cluster.

ay-ads-hz-h

PageNumber

integer

The page number.

1

PageSize

integer

The number of entries per page.

10

RequestId

string

The ID of the request.

50373E71-7710-4620-8AAB-133CCE49451C

TotalCount

integer

The total number of entries returned.

49

Examples

Success response

JSON format

{
  "Applications": {
    "Application": [
      {
        "AppList": {
          "App": [
            {
              "AppId": "e76f8985-7965-41fc-925b-9648bb6bf650",
              "AppInfo": "{\n    \"AppStatus\":{\n        \"Phase\":\"RUNNING\",\n        \"StatusDescrip\":\"{\\\"status\\\":\\\"UPDATE_SUCCESS\\\",\\\"step\\\":\\\"DONE\\\",\\\"descrip\\\":\\\"update to version:1022 success\\\",\\\"start_time\\\":\\\"2022-03-01 16:18:22\\\"}\",\n        \"UpdateTime\":\"2022-03-01 16:18:22\",\n        \"OrderStatus\":null\n    },\n    \"ResourceAttribute\":{\n        \"NetSecurityInfo\":null,\n        \"InitConfig\":null,\n        \"InventoryType\":\"Ens\",\n        \"InstanceSpec\":\"ens.gi6s-c12g1.large\",\n        \"SystemDiskSize\":100,\n        \"DataDiskSize\":0,\n        \"BandwithOut\":5000,\n        \"SchedulingStrategy\":\"Disperse\",\n        \"ImageId\":\"m-5or73kzkuxytv7hh6wxr6yc5q\",\n        \"ResourceType\":\"Linux\",\n        \"AreaLevel\":\"National\",\n        \"IpType\":\"PublicIP\"\n    },\n    \"WorkloadAttribute\":[\n        {\n            \"Name\":\"andorid\",\n            \"Count\":15,\n            \"ServiceConfig\":{\n                \"PortsBindConfig\":{\n                    \"NetServiceContainer\":\"uravi-service\",\n                    \"Ports\":[\n                        {\n                            \"Protocol\":\"TCP\",\n                            \"BindType\":\"Mapping\",\n                            \"StartNodePorts\":\"31000-31009\",\n                            \"ContainerPorts\":\"4440-4449\"\n                        },\n                        {\n                            \"Protocol\":\"TCP\",\n                            \"BindType\":\"PassThrough\",\n                            \"StartNodePorts\":\"59000-59000\",\n                            \"ContainerPorts\":\"59000-59000\"\n                        },\n                        {\n                            \"Protocol\":\"UDP\",\n                            \"BindType\":\"PassThrough\",\n                            \"StartNodePorts\":\"40001-40010\",\n                            \"ContainerPorts\":\"40001-40010\"\n                        }\n                    ]\n                },\n                \"ServiceContainerName\":\"android\"\n            }\n        },\n        {\n            \"Name\":\"coturn\",\n            \"Count\":1,\n            \"ServiceConfig\":{\n                \"PortsBindConfig\":{\n                    \"NetServiceContainer\":\"coturn\",\n                    \"Ports\":[\n                        {\n                            \"Protocol\":\"TCP\",\n                            \"BindType\":\"PassThrough\",\n                            \"StartNodePorts\":\"3478-3478\",\n                            \"ContainerPorts\":\"3478-3478\"\n                        },\n                        {\n                            \"Protocol\":\"UDP\",\n                            \"BindType\":\"PassThrough\",\n                            \"StartNodePorts\":\"3478-3478\",\n                            \"ContainerPorts\":\"3478-3478\"\n                        }\n                    ]\n                },\n                \"ServiceContainerName\":\"coturn\"\n            }\n        },\n        {\n            \"Name\":\"aic-manager\",\n            \"Count\":1,\n            \"ServiceConfig\":null\n        }\n    ]\n}"
            }
          ]
        },
        "ClusterName": "ay-ads-hz-h"
      }
    ]
  },
  "PageNumber": 1,
  "PageSize": 10,
  "RequestId": "50373E71-7710-4620-8AAB-133CCE49451C",
  "TotalCount": 49
}

Error codes

HTTP status code

Error code

Error message

Description

400 MissingParameter The input parameter that is mandatory for processing this request is not supplied.
400 NoPermission Permission denied.
400 InvalidParameter.%s The specified field %s invalid. Please check it again.
400 InvalidParameter The errorMessage is %s. Please check it again.
400 ens.interface.error An error occurred while calling the API.
400 CallInterface Call Interface Happen Error. An error occurred when you call the operation.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.