DeployPolicyRuleRolloutRestrictionArgs

data class DeployPolicyRuleRolloutRestrictionArgs(val actions: Output<List<String>>? = null, val id: Output<String>, val invokers: Output<List<String>>? = null, val timeWindows: Output<DeployPolicyRuleRolloutRestrictionTimeWindowsArgs>? = null) : ConvertibleToJava<DeployPolicyRuleRolloutRestrictionArgs>

Constructors

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

Properties

Link copied to clipboard
val actions: Output<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: Output<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: Output<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.

Functions

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