QueryAppInstanceGroupReportList

Updated at:

Queries delivery group reports by region, delivery group, status, user authorization relationship, or statistical date.

Operation description

Queries the delivery group ID, name, and status in delivery group reports. You can call ListRegions to obtain the business region, and then call ListAppInstanceGroup to obtain the delivery group. AppInstanceGroupId matches the exact ID, and AppInstanceGroupName filters by inclusion. If multiple filter conditions are specified at the same time, the intersection is used. When filtering by date, StatDate specifies a single day, and StartDate and EndDate must be specified in pairs to represent a closed interval. If both a single day and an interval are specified, the results must meet both conditions. Before using EndUserId, make sure that the user has a valid authorization relationship.

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

appstreaming:QueryAppInstanceGroupReportList

get

*All Resource

*

None None

Request parameters

Parameter

Type

Required

Description

Example

RegionId

string

No

The region ID for OpenAPI access, which is used for request authentication and routing. To filter business data by region, use BizRegionId.

cn-hangzhou

AppInstanceGroupId

string

No

The filter condition for the delivery group ID, which matches the exact ID. If this parameter is not specified, the results are not filtered by ID. You can call ListAppInstanceGroup to obtain the ID.

aig-9ciijz60n4xsv****

AppInstanceGroupName

string

No

The filter condition for the delivery group name, which supports inclusion matching. If this parameter is not specified, the results are not filtered by name.

R&D workstation

Status

array

No

The list of delivery group statuses. Multiple values have an OR relationship. Unrecognized values do not participate in filtering. If all values are unrecognized, it is equivalent to not filtering by status. Valid values:

  • DEPLOYING: deploying

  • DEPLOYED: deployed but not published

  • PUBLISHED: published and available to provide services based on the current configuration

  • STOPPING: stopping

  • STOPPED: stopped

  • MAINTAINING: maintaining

  • FAILED: deployment or execution failed

  • MAINTAIN_FAILED: maintenance failed

  • DELETING: deleting

  • DELETED: deleted

string

No

The status of a single delivery group. Valid values:

  • DEPLOYING: deploying

  • DEPLOYED: deployed but not published

  • PUBLISHED: published and available to provide services based on the current configuration

  • STOPPING: stopping

  • STOPPED: stopped

  • MAINTAINING: maintaining

  • FAILED: deployment or execution failed

  • MAINTAIN_FAILED: maintenance failed

  • DELETING: deleting

  • DELETED: deleted

PUBLISHED

EndUserId

string

No

The ID of the end user, which is used to filter delivery groups based on the current valid authorization relationship. Before calling this operation, make sure that the user has at least one valid authorization. If the user does not have a valid authorization, the current version does not narrow down the results based on this parameter. If this parameter is not specified, the results are not filtered by user.

user01

PageSize

integer

No

The number of entries per page. Default value: 200. The current operation does not have an additional upper limit for a single page.

100

PageNumber

integer

No

The page number to query. Specify this parameter starting from 1. If this parameter is not specified, the service processes the request as the first page, but the response may return 0.

1

BizRegionId

string

No

The business region ID of the delivery group. You can call ListRegions to obtain the ID. If this parameter is not specified, the results are not filtered by business region.

cn-hangzhou

StatDate

string

No

The statistical date for a single day. Format: yyyyMMdd. If this parameter is specified together with StartDate and EndDate, the results must meet both the single-day and interval conditions. The string itself does not carry a time zone and is interpreted as a natural date in the Asia/Shanghai (UTC+8) time zone.

20260901

StartDate

string

No

The start date of the statistics. Format: yyyyMMdd. This parameter must be specified in pairs with EndDate, and the interval includes the start and end dates. The string itself does not carry a time zone and is interpreted as a natural date in the Asia/Shanghai (UTC+8) time zone.

20260901

EndDate

string

No

The end date of the statistics. Format: yyyyMMdd. This parameter must be specified in pairs with StartDate and cannot be earlier than the start date. The string itself does not carry a time zone and is interpreted as a natural date in the Asia/Shanghai (UTC+8) time zone.

20260930

Response elements

Element

Type

Description

Example

object

The operation response.

Code

string

The business status code. A value of 200 indicates that the request is processed. Other values indicate that the processing failed.

200

IndexData

array<object>

The list of delivery group report data.

object

The data list object.

AppInstanceGroupId

string

The delivery group ID.

aig-9ciijz60n4xsv****

AppInstanceGroupName

string

The delivery group name.

R&D workstation group

Status

string

The current status of the delivery group. Valid values:

  • DEPLOYING: deploying

  • DEPLOYED: deployed but not published

  • PUBLISHED: published and available to provide services based on the current configuration

  • STOPPING: stopping

  • STOPPED: stopped

  • MAINTAINING: maintaining

  • FAILED: deployment or execution failed

  • MAINTAIN_FAILED: maintenance failed

  • DELETING: deleting

  • DELETED: deleted

PUBLISHED

Message

string

The description of the request processing result. If the request is successful, success is usually returned.

success

PageNumber

integer

The page number corresponding to the current response.

1

PageSize

integer

The number of entries per page used in the current response.

200

RequestId

string

The unique identifier of the current request, which can be used to troubleshoot request issues.

1CBAFFAB-B697-4049-A9B1-67E1FC5F****

Examples

Success response

JSON format

{
  "Code": "200",
  "IndexData": [
    {
      "AppInstanceGroupId": "aig-9ciijz60n4xsv****",
      "AppInstanceGroupName": "R&D workstation group",
      "Status": "PUBLISHED"
    }
  ],
  "Message": "success",
  "PageNumber": 1,
  "PageSize": 200,
  "RequestId": "1CBAFFAB-B697-4049-A9B1-67E1FC5F****"
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.