ManagementPolicyRuleArgs

data class ManagementPolicyRuleArgs(val definition: Output<ManagementPolicyDefinitionArgs>, val enabled: Output<Boolean>? = null, val name: Output<String>, val type: Output<Either<String, RuleType>>) : ConvertibleToJava<ManagementPolicyRuleArgs>

An object that wraps the Lifecycle rule. Each rule is uniquely defined by name.

Constructors

Link copied to clipboard
constructor(definition: Output<ManagementPolicyDefinitionArgs>, enabled: Output<Boolean>? = null, name: Output<String>, type: Output<Either<String, RuleType>>)

Properties

Link copied to clipboard

An object that defines the Lifecycle rule.

Link copied to clipboard
val enabled: Output<Boolean>? = null

Rule is enabled if set to true.

Link copied to clipboard
val name: Output<String>

A rule name can contain any combination of alpha numeric characters. Rule name is case-sensitive. It must be unique within a policy.

Link copied to clipboard
val type: Output<Either<String, RuleType>>

The valid value is Lifecycle

Functions

Link copied to clipboard
open override fun toJava(): ManagementPolicyRuleArgs