tencent cloud

Feedback

DescribeOpsMakePlanTasks

Last updated: 2024-06-21 15:10:22

1. API Description

Domain name for API request: wedata.tencentcloudapi.com.

View Supplemental Plan Tasks

A maximum of 20 requests can be initiated per second for this API.

We recommend you to use API Explorer
Try it
API Explorer provides a range of capabilities, including online call, signature authentication, SDK code generation, and API quick search. It enables you to view the request, response, and auto-generated examples.

2. Input Parameters

The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.

Parameter Name Required Type Description
Action Yes String Common Params. The value used for this API: DescribeOpsMakePlanTasks.
Version Yes String Common Params. The value used for this API: 2021-08-20.
Region Yes String Common Params. For more information, please see the list of regions supported by the product.
ProjectId Yes String Project ID
PlanId Yes String Supplemental Plan ID
PageNumber No Integer Page number, default value 1
PageSize No Integer Page size, default value 10

3. Output Parameters

Parameter Name Type Description
Data MakePlanTaskOpsDtoCollection Supplementary plan task pagination query results
Note: This field may return null, indicating that no valid value can be obtained.
RequestId String The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.

4. Example

Example1 Obtain Supplemental Plan Task

Data Supplement - Obtain Supplemental Plan Task

Input Example

POST / HTTP/1.1
Host: wedata.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeOpsMakePlanTasks
<Common request parameters>

{
    "PageNumber": 1,
    "PageSize": 1,
    "ProjectId": "14705274522",
    "PlanId": "f47ac10b-58cc-4372-a567-0e02b2c3d479"
}

Output Example

{
    "Response": {
        "Data": {
            "TotalCount": 0,
            "TotalPage": 0,
            "PageCount": 0,
            "PageNumber": 0,
            "PageSize": 0,
            "Items": [
                {
                    "TaskBaseInfo": {
                        "TaskId": "19920226154637701",
                        "VirtualTaskId": null,
                        "VirtualFlag": false,
                        "TaskName": "Test Task",
                        "WorkflowId": null,
                        "RealWorkflowId": null,
                        "WorkflowName": null,
                        "FolderId": null,
                        "FolderName": null,
                        "CreateTime": null,
                        "LastUpdate": null,
                        "Status": null,
                        "InCharge": "tom;jerry",
                        "InChargeId": null,
                        "StartTime": null,
                        "EndTime": null,
                        "ExecutionStartTime": null,
                        "ExecutionEndTime": null,
                        "CycleType": null,
                        "CycleStep": 1,
                        "CrontabExpression": null,
                        "DelayTime": 1,
                        "StartupTime": 1,
                        "RetryWait": 1,
                        "RetryAble": 1,
                        "TaskAction": null,
                        "TryLimit": 1,
                        "RunPriority": 1,
                        "TaskType": null,
                        "BrokerIp": null,
                        "ClusterId": null,
                        "MinDateTime": null,
                        "MaxDateTime": null,
                        "ExecutionTTL": 0,
                        "SelfDepend": null,
                        "LeftCoordinate": 0,
                        "TopCoordinate": 0,
                        "Notes": null,
                        "InstanceInitStrategy": null,
                        "YarnQueue": null,
                        "LastSchedulerCommitTime": null,
                        "NormalizedJobStartTime": null,
                        "SchedulerDesc": null,
                        "ResourceGroup": null,
                        "Creator": null,
                        "DependencyRel": null,
                        "DependencyWorkflow": null,
                        "EventListenerConfig": null,
                        "EventPublisherConfig": null,
                        "VirtualTaskStatus": null,
                        "TaskLinkInfo": {
                            "Id": null,
                            "LinkKey": null,
                            "TaskFrom": null,
                            "TaskTo": null,
                            "InCharge": null,
                            "LinkDependencyType": null,
                            "Offset": null,
                            "LinkType": null,
                            "WorkflowId": null
                        },
                        "ProductName": null,
                        "ProjectId": null,
                        "ProjectIdent": null,
                        "ProjectName": null,
                        "OwnId": null,
                        "UserId": null,
                        "TenantId": null,
                        "UpdateUser": null,
                        "UpdateTime": null,
                        "UpdateUserId": null,
                        "TaskTypeId": null,
                        "TaskTypeDesc": "Shell",
                        "ShowWorkflow": false,
                        "FirstSubmitTime": null,
                        "FirstRunTime": null,
                        "ScheduleDesc": null,
                        "CycleNum": 0,
                        "Crontab": null,
                        "StartDate": null,
                        "EndDate": null,
                        "CycleUnit": null,
                        "InitStrategy": null,
                        "Layer": null,
                        "SourceServiceId": null,
                        "SourceServiceType": null,
                        "TargetServiceId": null,
                        "TargetServiceType": null,
                        "TasksStr": null,
                        "Submit": true,
                        "ExecutorGroupId": null,
                        "ExecutorGroupName": null
                    },
                    "InstanceCount": 0,
                    "CompletePercent": 0,
                    "SuccessPercent": 0,
                    "InstanceTotalCount": 0
                }
            ]
        },
        "RequestId": "f47ac10b-58cc-4372-a567-0e02b2c3d479"
    }
}

5. Developer Resources

SDK

TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.

Command Line Interface

6. Error Code

The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.

Error Code Description
FailedOperation Operation Failure.