Get a list of policies present on this WebAccelerator.
Only the policies of the active folder are viewable.
The active folder may be changed using the
System::Session::set_active_folder method.
To view all folders recursively under the active folder
use the set_recursive_query_state method also in that module.
This method is deprecated. Please use import_policy_v2 instead.
Import a policy onto this WebAccelerator. The policy file must be
in an XML format. The policy's name will be extracted from the file.
If overwrite is false and the policy to be imported has the same
name as a previously defined policy, then an error will be thrown.
Import multiple policies onto this WebAccelerator. The policy file
may be in either XML or TMSH format. The policy name will be specified
as an argument and may or may not match the name in the file.
If overwrite is false and a policy to be imported has the same
name as a previously defined policy, then an error will be thrown.
Export multiple policies from this WebAccelerator. The policy file
will be in TMSH format corresponding to the given policy name.
If overwrite is false and a policy file to be exported has the same
filename as a previously exported policy file, then an error will be thrown.
This method has been deprecated, please use delete_policy_v2 instead.
If the policy is in use by an application, then an error will be thrown.
Delete a named policy.
Delete a list of policies. Attempting to delete default policies
or policies in use by an application will result in OperationFailed.
Note: This method can be used to "unpublish" an existing policy.
example: delete_policy_v2(['MyPolicy'])
or to remove a draft policy
example: delete_policy_v2(['Drafts/MyPolicy'])
Delete all policies. However, default policies
will not be deleted. If any policies deleted are in use
by an application, then an error will be thrown.
If this function is being used as a cleanup method,
it is recommended to run delete_all_applications first.
This can be found in the WebAccelerator::Applications module.
Publish a list of policies. This allows a custom policy to be
used by an application.
Checks if the policies listed are predefined. If they
are predefined, then they cannot be deleted in a
delete policy call. This setting cannot be changed by the user.
Gets the publish comments of the given published policies.
Gets the time of last publishing of the given policies.
Gets the version information for this interface.
Get a list of policies present on this WebAccelerator.
Only the policies of the active folder are viewable.
The active folder may be changed using the
System::Session::set_active_folder method.
To view all folders recursively under the active folder
use the set_recursive_query_state method also in that module.
This method is deprecated. Please use import_policy_v2 instead.
Import a policy onto this WebAccelerator. The policy file must be
in an XML format. The policy's name will be extracted from the file.
If overwrite is false and the policy to be imported has the same
name as a previously defined policy, then an error will be thrown.
Import multiple policies onto this WebAccelerator. The policy file
may be in either XML or TMSH format. The policy name will be specified
as an argument and may or may not match the name in the file.
If overwrite is false and a policy to be imported has the same
name as a previously defined policy, then an error will be thrown.
Export multiple policies from this WebAccelerator. The policy file
will be in TMSH format corresponding to the given policy name.
If overwrite is false and a policy file to be exported has the same
filename as a previously exported policy file, then an error will be thrown.
This method has been deprecated, please use delete_policy_v2 instead.
If the policy is in use by an application, then an error will be thrown.
Delete a named policy.
Delete a list of policies. Attempting to delete default policies
or policies in use by an application will result in OperationFailed.
Note: This method can be used to "unpublish" an existing policy.
example: delete_policy_v2(['MyPolicy'])
or to remove a draft policy
example: delete_policy_v2(['Drafts/MyPolicy'])
Delete all policies. However, default policies
will not be deleted. If any policies deleted are in use
by an application, then an error will be thrown.
If this function is being used as a cleanup method,
it is recommended to run delete_all_applications first.
This can be found in the WebAccelerator::Applications module.
Publish a list of policies. This allows a custom policy to be
used by an application.
Checks if the policies listed are predefined. If they
are predefined, then they cannot be deleted in a
delete policy call. This setting cannot be changed by the user.
Gets the publish comments of the given published policies.
Gets the time of last publishing of the given policies.
Gets the version information for this interface.
This interface allows manipulation of policies, including importing,
exporting, publishing, and removing policies.