edit-icon download-icon

ExploreHiTSDBInstanceDeletionJobList

Last Updated: Mar 30, 2018

Description

Obtains the list of deleted job records. This API marks the jobs as "data deletion jobs" or "time series deletion jobs" according to the job type.

Request parameters

Name Type Required or not Description
RegionId String Yes ID of the region in which the instance is located
InstanceId String Yes Instance ID
JobType String Yes Type of the data deletion job. The value is DATA (data) or META (time series).
PageNumber Integer Yes Page number
PageSize Integer Yes Page size

NOTE: All the above request parameters have no default value.

Response parameters

Name Type Description
PageSize Int Page size
PageNumber Int Page number
Total Int Total number of results
JobList List List of data deletion jobs
Id Long Job ID
Ip String Reverse VPC IP address of the instance
Port String Reverse VPC Port of the instance
Metric String JSON array of the metric
Tags String JSON array of the tag condition
StartTime Long Start time of the scope of data to be deleted
StartTime Long End time of the scope of data to be deleted
JobCreationTime String Creation time of the data deletion job
JobStartTime String Execution start time of the data deletion job
JobEndTime String Execution end time of the data deletion job
Status String Status of the data deletion job. The options are SUBMITTED (the job is submitted), STARTED (the job is being executed), FINISHED (the job has been finished), and FAILED (job execution fails).
JobType String Type of the data deletion job. The value is DATA (data) or META (time series).

Return example

JSON format:

{
    "code": "200",
    "data":{
        "RequestId":"2553A660-E4EB-4AF4-A402-8AFF70A49143",
        "JobList": [
            {
                "Status": "FINISHED",
                "EndTime": 1501430449883,
                "InstanceId": "hb-uf6z26x3gaz99n511",
                "Ip": "100.100.66.1",
                "Port": 6073,
                "StartTime": 1501423200882,
                "Metric": "[\"ali.air_condition.temprature\"]",
                "Tags": "{\"city\": \"shanghai\"}",
                "JobType": "DATA",
                "JobCreationTime": 1501430475065,
                "JobStartTime": 1501430475065,
                "id": 22,
                "JobEndTime": 1501430476114
            }
        ],
        "PageNumber": 1,
        "PageSize": 10,
        "Total": 100
    },
    "requestId": "5EE70BFD-A272-417C-A6C2-37F081A49FE3",
    "successResponse": true
}
Thank you! We've received your feedback.