SoftLayer_Product_Item_Rule


SoftLayer_Product_Item_Rule

Description

The item rule data type represents a rule that must be followed when the item assigned to the rule is ordered. The type and operation applied to the resources of the rule will affect how the rule is checked during ordering.

Local


itemId

The unique identifier of the item that the rule applies to.
Type: int


message

An optional message shown for when the rule is found to be invalid when ordering.
Type: string


operation

None
Type: string


packageId

The unique identifier of the service offering that is associated with the rule.
Type: int


typeId

The unique identifier of the type of resource rule.
Type: int

Relational


item

The product item that a rule applies to.
Type: SoftLayer_Product_Item


package

The package that a rule is applicable to when ordering. If no package exists, the rule applies to any package.
Type: SoftLayer_Product_Package


resources

Resources for this rule that are validated when ordering.
Type: SoftLayer_Product_Item_Rule_Resource[]


type

The type a rule is. The type affects how the rule is validated when ordering.
Type: SoftLayer_Product_Item_Rule_Type

Count


itemCategoryResourceCount

A count of
Type: unsignedLong


itemResourceCount

A count of
Type: unsignedLong


locationResourceCount

A count of
Type: unsignedLong


permissionResourceCount

A count of
Type: unsignedLong


resourceCount

A count of resources for this rule that are validated when ordering.
Type: unsignedLong