Creates the software policy. This method takes the name of the software policy which is to be created as a mandatory parameter.
Name of the unit group (unitGroupName) to which the policy is attached is a mandatory parameter.
If unitGroupName is supplied the API searches for it, and if found, links it with the created policy.
If unitGroupName is supplied the API searches for it, if not found, API creates the unitGroup and links it with the created SoftwarePolicy.
If unitGroupName is not supplied the software policy is created without a link to any unit group.
Parameters
Specifies the session id obtained from the login to the web service.
This sequence provides the details of the unit group to which the created software policy is linked. If not supplied the software policy is created without a link to any unit group.
The sequence CreateSoftwarePolicyProperties2 contains the properties associated with software policy. Although the sequence is mandatory, providing all the members of the sequence is not mandatory.
Return Values
If the software policy is successfully created, it returns a string which contains the UUID of the newly created policy.
Remarks
None
|
Copyright © 2014 CA Technologies.
All rights reserved.
|
|