OSID Logo
OSID Specifications
provisioning rules package
Version 3.0.0
Release Candidate Preview
Interfaceosid.provisioning.rules.PoolConstrainer
Implementsosid.OsidConstrainer
Description

A PoolConstrainer describes the rules for constraining the resources in a pool.

MethodgetPoolConstrainerRecord
Description

Gets the pool constrainer record corresponding to the given PoolConstrainer record Type. This method is used to retrieve an object implementing the requested record. The poolConstrainerRecordType may be the Type returned in getRecordTypes() or any of its parents in a Type hierarchy where hasRecordType(poolConstrainerRecordType) is true .

Parametersosid.type.TypepoolConstrainerRecordTypethe type of pool constrainer record to retrieve
Returnosid.provisioning.rules.records.PoolConstrainerRecordthe pool constrainer record
ErrorsNULL_ARGUMENT poolConstrainerRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(poolConstrainerRecordType) is false
CompliancemandatoryThis method must be implemented.