com.pulumi.gcp.compute.kotlin.outputs.GetInstanceTemplateServiceAccount.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-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.gcp.compute.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property email The service account e-mail address. If not given, the
* default Google Compute Engine service account is used.
* @property scopes A list of service scopes. Both OAuth2 URLs and gcloud
* short names are supported. To allow full access to all Cloud APIs, use the
* `cloud-platform` scope. See a complete list of scopes [here](https://cloud.google.com/sdk/gcloud/reference/alpha/compute/instances/set-scopes#--scopes).
*/
public data class GetInstanceTemplateServiceAccount(
public val email: String,
public val scopes: List,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.compute.outputs.GetInstanceTemplateServiceAccount): GetInstanceTemplateServiceAccount = GetInstanceTemplateServiceAccount(
email = javaType.email(),
scopes = javaType.scopes().map({ args0 -> args0 }),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy