com.pulumi.gcp.apigee.kotlin.ApiArgs.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.ApiArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* To get more information about API proxies see, see:
* * [API documentation](https://cloud.google.com/apigee/docs/reference/apis/apigee/rest/v1/organizations.apis)
* * How-to Guides
* * [API proxies](https://cloud.google.com/apigee/docs/resources)
* ## Import
* An API proxy can be imported using any of these accepted formats:
* * `{{org_id}}/apis/{{name}}`
* * `{{org_id}}/{{name}}`
* When using the `pulumi import` command, API proxy can be imported using one of the formats above. For example:
* ```sh
* $ pulumi import gcp:apigee/api:Api default {{org_id}}/apis/{{name}}
* ```
* ```sh
* $ pulumi import gcp:apigee/api:Api default {{org_id}}/{{name}}
* ```
* @property configBundle Path to the config zip bundle.
* - - -
* @property detectMd5hash
* @property name The ID of the API proxy.
* @property orgId The Apigee Organization name associated with the Apigee instance.
*/
public data class ApiArgs(
public val configBundle: Output? = null,
public val detectMd5hash: Output? = null,
public val name: Output? = null,
public val orgId: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.apigee.ApiArgs = com.pulumi.gcp.apigee.ApiArgs.builder()
.configBundle(configBundle?.applyValue({ args0 -> args0 }))
.detectMd5hash(detectMd5hash?.applyValue({ args0 -> args0 }))
.name(name?.applyValue({ args0 -> args0 }))
.orgId(orgId?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ApiArgs].
*/
@PulumiTagMarker
public class ApiArgsBuilder internal constructor() {
private var configBundle: Output? = null
private var detectMd5hash: Output? = null
private var name: Output? = null
private var orgId: Output? = null
/**
* @param value Path to the config zip bundle.
* - - -
*/
@JvmName("olfpmcxavpdldhps")
public suspend fun configBundle(`value`: Output) {
this.configBundle = value
}
/**
* @param value
*/
@JvmName("fnowcsonlkygmryy")
public suspend fun detectMd5hash(`value`: Output) {
this.detectMd5hash = value
}
/**
* @param value The ID of the API proxy.
*/
@JvmName("qnkkmggrwlmwhjss")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value The Apigee Organization name associated with the Apigee instance.
*/
@JvmName("ehhxbcwpksnmhnqm")
public suspend fun orgId(`value`: Output) {
this.orgId = value
}
/**
* @param value Path to the config zip bundle.
* - - -
*/
@JvmName("fghscuwfkfslplds")
public suspend fun configBundle(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.configBundle = mapped
}
/**
* @param value
*/
@JvmName("cifiwmubehqrrkro")
public suspend fun detectMd5hash(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.detectMd5hash = mapped
}
/**
* @param value The ID of the API proxy.
*/
@JvmName("iemhciqfjvjdmppr")
public suspend fun name(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.name = mapped
}
/**
* @param value The Apigee Organization name associated with the Apigee instance.
*/
@JvmName("qnjrcymmrqmkbvfd")
public suspend fun orgId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.orgId = mapped
}
internal fun build(): ApiArgs = ApiArgs(
configBundle = configBundle,
detectMd5hash = detectMd5hash,
name = name,
orgId = orgId,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy