change third_party_policy policy
Function
The change third_party_policy policy command is used to modify a third-party policy.
Format
change third_party_policy policy policy_name=? { priority=? | status=? } *
Parameters
Parameter |
Description |
Value |
---|---|---|
policy_name=? |
Policy name. |
The value contains 1 to 31 characters including only letters (case insensitive), digits, and underscores (_). |
priority=? |
Policy priority. |
The value is an integer and the value range is 1 to 10. |
status=? |
Policy status. |
The value can be "on" or "off". |
Views
Developer view, vstore developer view
Usage Guidelines
At least one of parameters "priority=?" and "status=?" must be specified.
Example
- Query the status before modification.
developer:/>show third_party_policy policy Policy ID Policy Name Type Priority Status -------- -------- ------------------- --------- 1 test Async 1 On
- Modify a third-party policy.
developer:/>change third_party_policy policy policy_name=test status=off Command executed successfully.
- Query the status after modification.
developer:/>show third_party_policy policy Policy ID Policy Name Type Priority Status -------- -------- ------------------- --------- 1 test Async 1 Off
System Response
None