DeployPolicyRuleRolloutRestriction

data class DeployPolicyRuleRolloutRestriction(val actions: List<String>? = null, val id: String, val invokers: List<String>? = null, val timeWindows: DeployPolicyRuleRolloutRestrictionTimeWindows? = null)

Constructors

Link copied to clipboard
constructor(actions: List<String>? = null, id: String, invokers: List<String>? = null, timeWindows: DeployPolicyRuleRolloutRestrictionTimeWindows? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val actions: List<String>? = null

Optional. Rollout actions to be restricted as part of the policy. If left empty, all actions will be restricted. Each value may be one of: ADVANCE, APPROVE, CANCEL, CREATE, IGNORE_JOB, RETRY_JOB, ROLLBACK, TERMINATE_JOBRUN.

Link copied to clipboard
val id: String

Required. ID of the rule. This id must be unique in the DeployPolicy resource to which this rule belongs. The format is a-z{0,62}.

Link copied to clipboard
val invokers: List<String>? = null

Optional. What invoked the action. If left empty, all invoker types will be restricted. Each value may be one of: USER, DEPLOY_AUTOMATION.

Link copied to clipboard

Required. Time window within which actions are restricted. Structure is documented below.