Tenant-level Policies
Tenant-level policies are tenant-level resources and can be configured in pass conditions for all pipelines under the current tenant.
Policy Entry
- On the service page, click the avatar icon in the upper right corner and choose All Account Settings.
- On the left menu bar, choose Policy Management > Policies.
![](https://support.huaweicloud.com/intl/en-us/usermanual-pipeline/public_sys-resources/note_3.0-en-us.png)
By default, there is a system policy. You can view and use the policy, but cannot edit or delete it.
Creating a Policy
Click Create Policy. Enter a policy name, select a rule, and click Confirm.
![](https://support.huaweicloud.com/intl/en-us/usermanual-pipeline/public_sys-resources/note_3.0-en-us.png)
A maximum of 20 rules can be selected for a policy.
The selected rules will be displayed in the right pane. You can perform the following operations on each rule:
- Enable/Disable: You can click the switch in the upper right corner to enable/disable the rule. After the rule is disabled, it will not take effect in the pass conditions.
- Edit: Click Detail in the upper right corner of the rule to view the details. Click Edit in the upper right corner to edit the rule.
Editing a Policy
On the tenant-level policy management page, click in the Operation column. On the displayed page, edit the policy and click Save.
![](https://support.huaweicloud.com/intl/en-us/usermanual-pipeline/public_sys-resources/note_3.0-en-us.png)
The page for editing a policy is similar to that for creating a policy.
Copying a Policy
On the tenant-level policy management page, click in the Operation column and select Copy. The policy copy page is displayed.
![](https://support.huaweicloud.com/intl/en-us/usermanual-pipeline/public_sys-resources/note_3.0-en-us.png)
The page for copying a policy is similar to that for creating a policy.
Deleting a Policy
On the tenant-level policy management page, click in the Operation column and select Delete. On the displayed page, confirm the deletion.
![](https://support.huaweicloud.com/intl/en-us/usermanual-pipeline/public_sys-resources/note_3.0-en-us.png)
When you delete a policy, the system displays a message indicating the number of pipelines that use the policy. Once the policy is deleted, pipeline execution will fail.
Disabling a Policy
On the tenant-level policy management page, click the switch on the right side of the target policy to disable it.
![](https://support.huaweicloud.com/intl/en-us/usermanual-pipeline/public_sys-resources/note_3.0-en-us.png)
If a policy is disabled, the system displays a message indicating the number of pipelines that use the policy. Once the policy is disabled, it will not take effect in the pass conditions.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot