Copy Provisioning Policy operation
The Copy Provisioning Policy operation creates a new provisioning policy by making a copy of an existing policy. The new policy created has the same set of properties as the existing policy.
The following table describes the elements for this request.
Adapter request elements for the Copy Provisioning 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 or identification number of an existing policy that is copied to create a new policy |
Yes |
|
Specifies the name of the new policy that must be unique |
Yes |
|
Specifies the description of the new policy; can be from 0 to 255 characters |
No |
A sample adapter request for this operation is given in the following figure.
Sample adapter request for the Copy Provisioning Policy operation
<netapp-storage-request>
<operation-name>copy-provisioning-policy</operation-name>
<arguments>
<targets>
<target>
<host>Server137</host>
<user-name>username</user-name>
<password encryption-type = "Base64">cGFzc3dvcmQ=</password>
<protocol>http</protocol>
<port>8088</port>
</target>
</targets>
<target />
<source-policy-name-or-id>Test-J-2_Gold</source-policy-name-or-id>
<provisioning-policy-name>Copy-Test-J-2_Gold</provisioning-policy-name>
<provisioning-policy-description>Copying the Provisioning Policy
from one to other</provisioning-policy-description>
</arguments>
</netapp-storage-request>
A sample adapter response for this operation is given in the following figure.
Sample adapter response for the Copy Provisioning Policy operation
<netapp-storage-response>
<metadata>
<status>success</status>
<response-count>1</response-count>
</metadata>
<responses>
<response>
<metadata>
<status>success</status>
<count>1</count>
</metadata>
<output>
<provisioning-policy-id>324</provisioning-policy-id>
</output>
</response>
</responses>
</netapp-storage-response>
Comments
Log in or register to comment.