Cluster Agent Token Args
data class ClusterAgentTokenArgs(val agentId: Output<Int>? = null, val description: Output<String>? = null, val name: Output<String>? = null, val project: Output<String>? = null) : ConvertibleToJava<ClusterAgentTokenArgs>
The gitlab.ClusterAgentToken
resource allows to manage the lifecycle of a token for a GitLab Agent for Kubernetes.
Requires at least maintainer permissions on the project. Requires at least GitLab 15.0 Upstream API: GitLab REST API docs
Import
A token for a GitLab Agent for Kubernetes can be imported with the following command and the id pattern <project>:<agent-id>:<token-id>
$ pulumi import gitlab:index/clusterAgentToken:ClusterAgentToken example '12345:42:1'
Content copied to clipboard
ATTENTIONthe token
resource attribute is not available for imported resources as this information cannot be read from the GitLab API.
Constructors
Link copied to clipboard
fun ClusterAgentTokenArgs(agentId: Output<Int>? = null, description: Output<String>? = null, name: Output<String>? = null, project: Output<String>? = null)