ProjectProtectedEnvironmentApprovalRuleArgs

data class ProjectProtectedEnvironmentApprovalRuleArgs(val accessLevel: Output<String>? = null, val accessLevelDescription: Output<String>? = null, val groupId: Output<Int>? = null, val id: Output<Int>? = null, val requiredApprovals: Output<Int>? = null, val userId: Output<Int>? = null) : ConvertibleToJava<ProjectProtectedEnvironmentApprovalRuleArgs>

Constructors

fun ProjectProtectedEnvironmentApprovalRuleArgs(accessLevel: Output<String>? = null, accessLevelDescription: Output<String>? = null, groupId: Output<Int>? = null, id: Output<Int>? = null, requiredApprovals: Output<Int>? = null, userId: Output<Int>? = null)

Functions

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

Properties

Link copied to clipboard
val accessLevel: Output<String>? = null

Levels of access allowed to approve a deployment to this protected environment. Valid values are developer, maintainer.

Link copied to clipboard
val accessLevelDescription: Output<String>? = null

Readable description of level of access.

Link copied to clipboard
val groupId: Output<Int>? = null

The ID of the group allowed to approve a deployment to this protected environment. The project must be shared with the group. This is mutually exclusive with user_id.

Link copied to clipboard
val id: Output<Int>? = null

The unique ID of the Approval Rules object.

Link copied to clipboard
val requiredApprovals: Output<Int>? = null

The number of approval required to allow deployment to this protected environment. This is mutually exclusive with user_id.

Link copied to clipboard
val userId: Output<Int>? = null

The ID of the user allowed to approve a deployment to this protected environment. The user must be a member of the project. This is mutually exclusive with groupid and requiredapprovals.