检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
URI DELETE /v2/{project_id}/ruleset/{ruleset_id} Table 1 Path Parameters Parameter Mandatory Type Description project_id Yes String Project ID. ruleset_id Yes String Rule set ID.
Configuring a Check Rule Set Customizing a Check Rule Set Task Configuration CodeArts Check provides task configuration functions as follows: Modify a task name, switch the default branch, and delete a task.
If yes, delete the package-lock.json file and push the code again for check. If no, contact technical support. Parent topic: General Issues
Deleting a Check Task Function This API is used to delete a check task. A task that is being executed cannot be viewed after being deleted. Calling Method For details, see Calling APIs.
permissions in CodeArts Check Permission/Role Project Administrator Project Manager Developer Test Manager Tester Participant Viewer Product Manager System Engineer Committer Tasks Create √ √ √ × × × × × √ √ Execute √ √ √ × × × × √ √ √ View √ √ √ × × × × √ √ √ Edit √ √ √ × × × × √ √ √ Delete
Only rule set creators can delete custom rule sets. System rule sets and custom rule sets in use cannot be deleted. To delete a rule set being used by a code check task, you can either delete the task or assign another rule set to the task. Custom rules: max. 10.
DELETE: requests the server to delete specified resources, such as an object. HEAD: same as GET except that the server must return only the response header. PATCH: requests the server to update partial content of a specified resource.
- Data destruction When you delete service data or deregister your account: Non-key data is physically deleted in real time. Key data will be marked as soft deleted and then physically deleted seven days later. - Parent topic: Security
To delete a task, go to the task details page, choose Settings > Basic Info, and then delete the target task. Alternatively, click in the row where the target task is located, and choose Delete from the drop-down list.
The demo code is classified into the following classes to demonstrate: AccessService: an abstract class that merges the GET, POST, PUT, and DELETE methods into the access method Demo: an execution entry used to simulate GET, POST, PUT, and DELETE request sending AccessServiceImpl:
Operations Recorded by CTS Table 1 Operations recorded by CTS Operation Resource Type Event Creating a task task create Modifying a task task modify Deleting a task task delete Executing a task job create Canceling a task job modify_job Favoriting a task followingTask create_followingTask