Class: Policy

Policy


new Policy()

Properties:
Name Type Description
_embedded hash
_links hash
conditions PolicyRuleConditions
created dateTime
description string
id string
lastUpdated dateTime
name string
priority integer
status string
system boolean
type PolicyType

Extends

Methods


createRule(policyRule)

Parameters:
Name Type Description
policyRule PolicyRule
Returns:
Type
Promise.<PolicyRule>

getPolicyRule(ruleId)

Parameters:
Name Type Description
ruleId string
Returns:
Type
Promise.<PolicyRule>

listPolicyRules()

Returns:
A collection that will yield PolicyRule instances.
Type
Promise.<Collection>

update()

Returns:
Type
Promise.<Policy>