![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.gcp.compute.kotlin.inputs.GetSubnetworksPlainArgs.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.inputs
import com.pulumi.gcp.compute.inputs.GetSubnetworksPlainArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* A collection of arguments for invoking getSubnetworks.
* @property filter A string filter as defined in the [REST API](https://cloud.google.com/compute/docs/reference/rest/v1/subnetworks/list#query-parameters).
* @property project The ID of the project in which the resource belongs. If it
* is not provided, the provider project is used.
* @property region The region this subnetwork has been created in. If
* unspecified, this defaults to the region configured in the provider.
*/
public data class GetSubnetworksPlainArgs(
public val filter: String? = null,
public val project: String? = null,
public val region: String? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.compute.inputs.GetSubnetworksPlainArgs =
com.pulumi.gcp.compute.inputs.GetSubnetworksPlainArgs.builder()
.filter(filter?.let({ args0 -> args0 }))
.project(project?.let({ args0 -> args0 }))
.region(region?.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetSubnetworksPlainArgs].
*/
@PulumiTagMarker
public class GetSubnetworksPlainArgsBuilder internal constructor() {
private var filter: String? = null
private var project: String? = null
private var region: String? = null
/**
* @param value A string filter as defined in the [REST API](https://cloud.google.com/compute/docs/reference/rest/v1/subnetworks/list#query-parameters).
*/
@JvmName("sblgvtxkmiriqygd")
public suspend fun filter(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> args0 })
this.filter = mapped
}
/**
* @param value The ID of the project in which the resource belongs. If it
* is not provided, the provider project is used.
*/
@JvmName("tiutntuvexwafuqr")
public suspend fun project(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> args0 })
this.project = mapped
}
/**
* @param value The region this subnetwork has been created in. If
* unspecified, this defaults to the region configured in the provider.
*/
@JvmName("kxppsfyrjmfdrawh")
public suspend fun region(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> args0 })
this.region = mapped
}
internal fun build(): GetSubnetworksPlainArgs = GetSubnetworksPlainArgs(
filter = filter,
project = project,
region = region,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy