com.pulumi.azure.network.kotlin.inputs.GetPublicIPsPlainArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-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.azure.network.kotlin.inputs
import com.pulumi.azure.network.inputs.GetPublicIPsPlainArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* A collection of arguments for invoking getPublicIPs.
* @property allocationType The Allocation Type for the Public IP Address. Possible values include `Static` or `Dynamic`.
* @property attachmentStatus Filter to include IP Addresses which are attached to a device, such as a VM/LB (`Attached`) or unattached (`Unattached`).
* @property namePrefix A prefix match used for the IP Addresses `name` field, case sensitive.
* @property resourceGroupName Specifies the name of the resource group.
*/
public data class GetPublicIPsPlainArgs(
public val allocationType: String? = null,
public val attachmentStatus: String? = null,
public val namePrefix: String? = null,
public val resourceGroupName: String,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.network.inputs.GetPublicIPsPlainArgs =
com.pulumi.azure.network.inputs.GetPublicIPsPlainArgs.builder()
.allocationType(allocationType?.let({ args0 -> args0 }))
.attachmentStatus(attachmentStatus?.let({ args0 -> args0 }))
.namePrefix(namePrefix?.let({ args0 -> args0 }))
.resourceGroupName(resourceGroupName.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetPublicIPsPlainArgs].
*/
@PulumiTagMarker
public class GetPublicIPsPlainArgsBuilder internal constructor() {
private var allocationType: String? = null
private var attachmentStatus: String? = null
private var namePrefix: String? = null
private var resourceGroupName: String? = null
/**
* @param value The Allocation Type for the Public IP Address. Possible values include `Static` or `Dynamic`.
*/
@JvmName("klieidpapfckumna")
public suspend fun allocationType(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> args0 })
this.allocationType = mapped
}
/**
* @param value Filter to include IP Addresses which are attached to a device, such as a VM/LB (`Attached`) or unattached (`Unattached`).
*/
@JvmName("eofgrhevxbkxyffv")
public suspend fun attachmentStatus(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> args0 })
this.attachmentStatus = mapped
}
/**
* @param value A prefix match used for the IP Addresses `name` field, case sensitive.
*/
@JvmName("sggbwgevvyfclaam")
public suspend fun namePrefix(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> args0 })
this.namePrefix = mapped
}
/**
* @param value Specifies the name of the resource group.
*/
@JvmName("ldxlofktbmkaptac")
public suspend fun resourceGroupName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.resourceGroupName = mapped
}
internal fun build(): GetPublicIPsPlainArgs = GetPublicIPsPlainArgs(
allocationType = allocationType,
attachmentStatus = attachmentStatus,
namePrefix = namePrefix,
resourceGroupName = resourceGroupName ?: throw PulumiNullFieldException("resourceGroupName"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy