QueryDomainGroupList

Updated at:

Queries the list of domain name groups.

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

domain:QueryDomainGroup

get

*All Resource

*

None None

Request parameters

Parameter

Type

Required

Description

Example

Lang

string

No

The language of the error message returned by the API. Valid values:

  • zh: Chinese.

  • en: English.

Default value: en.

en

UserClientIp

string

No

The IP address of the client. You can set this parameter to 127.0.0.1.

127.0.0.1

DomainGroupName

string

No

The custom name of the domain name group.

Default group

ShowDeletingGroup

boolean

No

Specifies whether to display domain name groups that are being deleted. Valid values:

  • false: No.

  • true: Yes.

Default value: false.

false

OrderKeyType

string

No

The field by which to sort domain name groups. A value of groupName sorts by group name, updateTime sorts by update time, and other values sort by creation time.

groupName

OrderByType

string

No

The sort order of domain name groups. A value of ASC specifies ascending order, and other values specify descending order.

ASC

Response elements

Element

Type

Description

Example

object

Data

object

DomainGroup

array<object>

The list of domain name groups.

object

BeingDeleted

boolean

Indicates whether the domain name group is being deleted. Deleting a group that contains more than 1,000 domain names is an asynchronous process that requires a period of time for the system to process. During this period, this field is set to true.

false

CreationDate

string

The time when the domain name group was created. The time format varies based on the site and the Lang parameter. For the Chinese site, the format is yyyy-MM-dd HH:mm:ss and the default time zone of the JVM at service runtime is used. For the international site, if Lang is set to zh, the format is yyyy-MM-dd HH:mm:ss (UTC). If Lang is set to en or other values, the format is MMM dd, yyyy HH:mm:ss (UTC).

2018-04-02 15:59:06

DomainGroupId

string

The ID of the domain name group.

-1

DomainGroupName

string

The name of the domain name group.

Ungrouped

DomainGroupStatus

string

The status of the domain name group. Valid values:

  • PROCESSING: Processing.

  • COMPLETE: Completed.

Note

Setting groups by using files or replacing groups that contain more than 1,000 domain names are asynchronous processes that require a period of time for the system to process. In these cases, this field is set to PROCESSING.

COMPLETE

ModificationDate

string

The time when the domain name group was modified. The time format varies based on the site and the Lang parameter. For the Chinese site, the format is yyyy-MM-dd HH:mm:ss and the default time zone of the JVM at service runtime is used. For the international site, if Lang is set to zh, the format is yyyy-MM-dd HH:mm:ss (UTC). If Lang is set to en or other values, the format is MMM dd, yyyy HH:mm:ss (UTC).

2018-04-02 15:59:06

TotalNumber

integer

The number of domain names.

20

RequestId

string

The unique ID of the request.

80011ABC-F573-4795-B0E8-377BFBBA3422

Examples

Success response

JSON format

{
  "Data": {
    "DomainGroup": [
      {
        "BeingDeleted": false,
        "CreationDate": "2018-04-02 15:59:06",
        "DomainGroupId": "-1",
        "DomainGroupName": "未分组",
        "DomainGroupStatus": "COMPLETE",
        "ModificationDate": "2018-04-02 15:59:06",
        "TotalNumber": 20
      }
    ]
  },
  "RequestId": "80011ABC-F573-4795-B0E8-377BFBBA3422"
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.