com.pulumi.gitlab.kotlin.outputs.GetGroupServiceAccountResult.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gitlab-kotlin Show documentation
Show all versions of pulumi-gitlab-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gitlab.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
* A collection of values returned by getGroupServiceAccount.
* @property group The ID or URL-encoded path of the target group. Must be a top-level group.
* @property id
* @property name The name of the user. If not specified, the default Service account user name is used.
* @property serviceAccountId The service account id.
* @property username The username of the user. If not specified, it's automatically generated.
*/
public data class GetGroupServiceAccountResult(
public val group: String,
public val id: String,
public val name: String? = null,
public val serviceAccountId: String,
public val username: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gitlab.outputs.GetGroupServiceAccountResult): GetGroupServiceAccountResult = GetGroupServiceAccountResult(
group = javaType.group(),
id = javaType.id(),
name = javaType.name().map({ args0 -> args0 }).orElse(null),
serviceAccountId = javaType.serviceAccountId(),
username = javaType.username().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy