All Products
Search
Document Center

Application Real-Time Monitoring Service:ListTimingSyntheticTasks

Last Updated:May 17, 2024

Queries scheduled synthetic monitoring tasks.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • The required resource types are displayed in bold characters.
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
arms:ListTimingSyntheticTasksList
  • SyntheticTask
    acs:arms:{#regionId}:{#accountId}:synthetictask/*
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
RegionIdstringNo

The region ID.

cn-hangzhou
SearchobjectNo

The search keyword.

TaskTypesarrayNo

The task types.

integerNo

The task type. 1: ICMP. 2: TCP. 3: DNS. 4: HTTP. 5: website speed. 6: file download.

1
TaskIdsarrayNo

The task IDs.

stringNo

The task ID.

181248
NamestringNo

The task name.

AlibabaCloud DNS Task
StatusstringNo

The task status. CREATING: The task is being created. RUNNING: The task is running. PARTIAL_RUNNING: The task is partially running. STOP: The task is stopped. LIMIT_STOP: The task is stopped due to quota limit. EXCEPTION: The task is abnormal. DELETE: The task is deleted. DELETE_EXCEPTION: An exception occurs while deleting the task.

CREATING
OrderFieldstringNo

The condition by which tasks are sorted. You can sort tasks by gmtCreate, gmtModified, status, or monitorCount.

status
OrderintegerNo

The order by which tasks are sorted. 1: ascending order. -1: descending order.

1
PageintegerNo

The page number. This parameter is required.

1
PageSizeintegerNo

The number of entries per page. This parameter is required.

10
ResourceGroupIdstringNo

The ID of the resource group.

rg-acfmxyexli2****
Tagsobject []No

The tags.

KeystringNo

The tag key.

mark
ValuestringNo

The tag value.

value1111

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The request ID.

730E90FE-996A-5638-99F3-4F0F9038CC6C
Codelong

The status code. The status code 200 indicates that the request was successful.

200
Messagestring

The returned message.

success
Dataobject

The returned struct.

Itemsobject []

The queried tasks.

TaskIdstring

The ID of the synthetic monitoring task.

5308a2691f59422c8c3b7aeccec9cd3b
RegionIdstring

The region ID.

cn-hangzhou
Namestring

The task name.

AlibabaCloud DNS Task
TaskTypeinteger

The type of the task. Valid values:

1: ICMP. 2: TCP. 3: DNS. 4: HTTP. 5: website speed. 6: file download.

1
Urlstring

The URL for synthetic monitoring.

https://www.example.com
MonitorCategoryinteger

The detection point type. 1: PC. 2: mobile device.

1
Frequencystring

The detection frequency. Valid values: 1m, 5m, 10m, 15m, 20m, 30m, 1h, 2h, 3h, 4h, 6h, 8h, 12h, and 24h.

1m
MonitorNumstring

The number of detection points.

10
Statusstring

The task status. CREATING: The task is being created. RUNNING: The task is running. PARTIAL_RUNNING: The task is partially running. STOP: The task is stopped. LIMIT_STOP: The task is stopped due to quota limit. EXCEPTION: The task is abnormal. DELETE: The task is deleted. DELETE_EXCEPTION: An exception occurs while deleting the task.

RUNNING
GmtCreatestring

The time when the task was created.

1671454758000
GmtModifiedstring

The time when the task was modified.

1673085633000
ResourceGroupIdstring

The ID of the resource group.

rg-aekzgwtq5vxxxxx
Tagsobject []

The tags.

Keystring

The tag key.

key
Valuestring

The tag value.

value
Totalinteger

The total number of tasks.

100
Pageinteger

The page number.

1
PageSizeinteger

The number of entries per page.

10

Examples

Sample success responses

JSONformat

{
  "RequestId": "730E90FE-996A-5638-99F3-4F0F9038CC6C",
  "Code": 200,
  "Message": "success",
  "Data": {
    "Items": [
      {
        "TaskId": "5308a2691f59422c8c3b7aeccec9cd3b",
        "RegionId": "cn-hangzhou",
        "Name": "AlibabaCloud DNS Task",
        "TaskType": 1,
        "Url": "https://www.example.com",
        "MonitorCategory": 1,
        "Frequency": "1m",
        "MonitorNum": "10",
        "Status": "RUNNING",
        "GmtCreate": "1671454758000",
        "GmtModified": "1673085633000",
        "ResourceGroupId": "rg-aekzgwtq5vxxxxx",
        "Tags": [
          {
            "Key": "key",
            "Value": "value"
          }
        ]
      }
    ],
    "Total": 100,
    "Page": 1,
    "PageSize": 10
  }
}

Error codes

HTTP status codeError codeError message
400ParameterMissing%s
400ParameterIllegal%s
400TaskQuotaLimit%s
400ParameterRegionIllegal%s
400DuplicateTagKeyParam tagKey is duplicate.
400TagNumOUTthe number of tag is out .
400NoPermissionUSERuser no permission
403RAMNotAuthorize%s
403STSNotAuthorize%s
403IllegalUserAccess%s
403APINotAuthorize%s
403CommercialStatusException%s
403SyntheticTrailExpired%s
403SyntheticInDebt%s
403SyntheticDailyTimesExhausted%s
403SyntheticDailyLimit%s

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2024-04-12The Error code has changed. The response structure of the API has changedsee changesets
Change itemChange content
Error CodesThe Error code has changed.
    delete Error Codes: 400
    delete Error Codes: 403
Output ParametersThe response structure of the API has changed.