Rule class

Rule class APIs

The following tables list the basic APIs, operation APIs, and relationship APIs for the Rule class.

Basic APIs

Name

HTTP
method

URI

Description

create

POST

csm/Rule

Creates a Rule object.

delete

DELETE

csm/Rule/guid

Deletes a Rule object.

modify

PUT

csm/Rule/guid

Modifies a Rule object.

search

POST

csm/Rule/search

Searches for Rule objects.

Operation APIs

Name

HTTP
method

URI

Description

evaluate

POST

csm/Rule/guid/evaluate

Relationship APIs

The Rule class has no relationship APIs.

Rule class relationships and attributes

The following tables list the relationships and attributes of the Rule class.

Relationships

Name

Type

Multi-
plicity

Description

operationInvocation

OperationInvocation

1

ruleGroup

RuleGroup

1

trigger

Trigger

1

policyRule

PolicyRule

0..1

resourceRuleGroup

ResourceRuleGroup

1

cloudClass

CloudClass

1

Fully-qualified name of the class to which the object belongs

provider

Provider

1

Provider that created the object

tags

Tag

0..*

Tags associated with the object

Attributes

Name

Type

Multi-
plicity

Description

isEnabled

Boolean

1

precedence

Integer

1

description

String

0..1

Text that describes the object

guid

String

1

Globally unique identifier for the object

labels

String

0..*

modifiedDate

Date

0..1

Date the Cloudobject was modified

name

String

1

Human-readable name of the object

Was this page helpful? Yes No Submitting... Thank you

Comments