com.pulumi.gcp.apigee.kotlin.EnvKeystoreArgs.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.apigee.kotlin
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.apigee.EnvKeystoreArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* An `Environment KeyStore` in Apigee.
* To get more information about EnvKeystore, see:
* * [API documentation](https://cloud.google.com/apigee/docs/reference/apis/apigee/rest/v1/organizations.environments.keystores/create)
* * How-to Guides
* * [Creating an environment](https://cloud.google.com/apigee/docs/api-platform/get-started/create-environment)
* ## Import
* EnvKeystore can be imported using any of these accepted formats:
* * `{{env_id}}/keystores/{{name}}`
* * `{{env_id}}/{{name}}`
* When using the `pulumi import` command, EnvKeystore can be imported using one of the formats above. For example:
* ```sh
* $ pulumi import gcp:apigee/envKeystore:EnvKeystore default {{env_id}}/keystores/{{name}}
* ```
* ```sh
* $ pulumi import gcp:apigee/envKeystore:EnvKeystore default {{env_id}}/{{name}}
* ```
* @property envId The Apigee environment group associated with the Apigee environment,
* in the format `organizations/{{org_name}}/environments/{{env_name}}`.
* - - -
* @property name The name of the newly created keystore.
*/
public data class EnvKeystoreArgs(
public val envId: Output? = null,
public val name: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.apigee.EnvKeystoreArgs =
com.pulumi.gcp.apigee.EnvKeystoreArgs.builder()
.envId(envId?.applyValue({ args0 -> args0 }))
.name(name?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [EnvKeystoreArgs].
*/
@PulumiTagMarker
public class EnvKeystoreArgsBuilder internal constructor() {
private var envId: Output? = null
private var name: Output? = null
/**
* @param value The Apigee environment group associated with the Apigee environment,
* in the format `organizations/{{org_name}}/environments/{{env_name}}`.
* - - -
*/
@JvmName("ushfrbvygyjppmdt")
public suspend fun envId(`value`: Output) {
this.envId = value
}
/**
* @param value The name of the newly created keystore.
*/
@JvmName("rvmqxeactihlvskb")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value The Apigee environment group associated with the Apigee environment,
* in the format `organizations/{{org_name}}/environments/{{env_name}}`.
* - - -
*/
@JvmName("yamtssjiifsmwjwm")
public suspend fun envId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.envId = mapped
}
/**
* @param value The name of the newly created keystore.
*/
@JvmName("owcikfqvhwiqnjxg")
public suspend fun name(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.name = mapped
}
internal fun build(): EnvKeystoreArgs = EnvKeystoreArgs(
envId = envId,
name = name,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy