Delete Protection Policy operation
The Delete Protection Policy operation destroys a Data Protection (DP) policy, which removes it from the database. If the policy has been applied to any data sets, then the destroy operation fails. You must first un-map the policy from any of the data sets to which it had been applied before you destroy the policy.
The following table describes the elements for this request.
Adapter request elements for the Delete Protection Policy operation
Element |
Definition |
Required |
---|---|---|
|
Specifies the name of the operation: |
Yes |
|
Specifies a list of arguments that is required for this operation |
Yes |
|
Contains the parent XML element for the |
Conditional; required if the adapter configuration is empty in Grid Manager |
|
Contains the child XML Notes
|
Conditional; required if |
|
Specifies the host name or IP address of the server on which NetApp DataFabric Manager is running |
Conditional; required if |
|
Specifies the user name required to log on to the NetApp DataFabric Manager |
Conditional; required if |
|
Specifies the password that corresponds to the |
Conditional; required if |
|
Specifies the communication protocol used by the adapter |
No |
|
Specifies the port on which NetApp DataFabric Manager is enabled |
No |
|
Specifies the child XML element of the
|
No |
|
Specifies the name of the policy to be destroyed |
Yes |
A sample adapter request for this operation is given in the following figure.
Sample adapter request for the Delete Protection Policy operation
<netapp-storage-request>
<operation-name>delete-protection-policy</operation-name>
<arguments>
<targets>
<target>
<host>172.11.11.111</host>
<user-name>username</user-name>
<password encryption-type = "Base64">cGFzc3dvcmQ=</password>
<protocol>http</protocol>
<port>8088</port>
</target>
</targets>
<target />
<protection-policy-name-or-id>300</protection-policy-name-or-id>
</arguments>
</netapp-storage-request>
A sample adapter response for this operation is given in the following figure.
Sample adapter response for the Delete Protection Policy operation
<netapp-storage-response>
<metadata>
<status>success</status>
<response-count>1</response-count>
</metadata>
<responses>
<response>
<metadata>
<status>success</status>
<count>0</count>
</metadata>
</response>
</responses>
</netapp-storage-response>
Comments
Log in or register to comment.