ALTER NETWORK POLICY SET/ADD/REMOVE
Updates the configuration of the existing network policy by specifying its name, a list of internet protocol (IP) addresses to allow or block, and an optional description. For more information, see Network policies.Syntax
Parameters
Examples
Example The following code example modifies the existing network policy ‘my_network_policy’ by replacing its allowed and blocked IP lists with specified values and an updating its description:192.168.5.1 to the allowed list of the existing network policy my_network_policy:
6.7.8.9 from the blocked list of the network policy my_network_policy:
ALTER NETWORK POLICY RENAME TO
Renames a network policy.Syntax
Parameters
Example
The following command will rename the “office” network policy to “office_branch_1”.ALTER NETWORK POLICY OWNER TO
Changes the owner of a network policy. You can view the current owner in thenetwork_policy_owner column of the information_schema.network_policies view.
For more information, see ownership.