Previous Topic: CreateSoftwarePolicyNext Topic: CreateSoftwarePolicy3


CreateSoftwarePolicy2

This method creates a software policy.

It takes UUID of a unit group as an optional parameter.

If a valid unit Group ID is supplied, the created policy is linked to it.

If not supplied, the software policy is created without a link to any unit group.

Parameters

xsd: string sessionId (m)

Specifies the session id obtained from the login to the web service.

xsd: string unitGroupId

UUID of the unit group to which the created policy is linked. If an invalid ID is supplied, the policy is not created.

CreateSoftwarePolicyProperties2 createSoftwarePolicyProperties2 (m)

The sequence CreateSoftwarePolicyProperties2 contains the properties associated with software policy. Providing all the members of the sequence is not mandatory.

Return Values

xsd:string softwarePolicyId

If the software policy is successfully created, it returns a string which contains the UUID of the newly created policy.

Remarks

None

More information:

CreateSoftwarePolicyProperties2