Product
SoftLayer_Product_Item_Rule

Overview

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 Properties

itemId

The unique identifier of the item that the rule applies to.

Type:

integer

message

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

Type:

string

operation
Type:

string

packageId

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

Type:

integer

typeId

The unique identifier of the type of resource rule.

Type:

integer

Relational & Count Properties

Relational Properties can be queried by object mask
item

The product item that a rule applies to.

itemCategoryResourceCount

A count of

Type:

unsignedLong

itemCategoryResources
itemResourceCount

A count of

Type:

unsignedLong

locationResourceCount

A count of

Type:

unsignedLong

locationResources
package

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

permissionResourceCount

A count of

Type:

unsignedLong

permissionResources
resourceCount

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

Type:

unsignedLong

resources

Resources for this rule that are validated when ordering.

type

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