com.pulumi.cloudflare.kotlin.inputs.GetDevicePostureRulesPlainArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-cloudflare-kotlin Show documentation
Show all versions of pulumi-cloudflare-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.
The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.cloudflare.kotlin.inputs
import com.pulumi.cloudflare.inputs.GetDevicePostureRulesPlainArgs.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 getDevicePostureRules.
* @property accountId The account identifier to target for the resource.
* @property name Name of the Device Posture Rule.
* @property type The device posture rule type. Available values: `serial_number`, `file`, `application`, `gateway`, `warp`, `domain_joined`, `os_version`, `disk_encryption`, `firewall`, `client_certificate`, `client_certificate_v2`, `workspace_one`, `unique_client_id`, `crowdstrike_s2s`, `sentinelone`, `kolide`, `tanium_s2s`, `intune`, `sentinelone_s2s`, `custom_s2s`.
*/
public data class GetDevicePostureRulesPlainArgs(
public val accountId: String,
public val name: String? = null,
public val type: String? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.cloudflare.inputs.GetDevicePostureRulesPlainArgs =
com.pulumi.cloudflare.inputs.GetDevicePostureRulesPlainArgs.builder()
.accountId(accountId.let({ args0 -> args0 }))
.name(name?.let({ args0 -> args0 }))
.type(type?.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetDevicePostureRulesPlainArgs].
*/
@PulumiTagMarker
public class GetDevicePostureRulesPlainArgsBuilder internal constructor() {
private var accountId: String? = null
private var name: String? = null
private var type: String? = null
/**
* @param value The account identifier to target for the resource.
*/
@JvmName("wclxwtimupnnbvsa")
public suspend fun accountId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.accountId = mapped
}
/**
* @param value Name of the Device Posture Rule.
*/
@JvmName("cmtbfouvbjxgmcud")
public suspend fun name(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> args0 })
this.name = mapped
}
/**
* @param value The device posture rule type. Available values: `serial_number`, `file`, `application`, `gateway`, `warp`, `domain_joined`, `os_version`, `disk_encryption`, `firewall`, `client_certificate`, `client_certificate_v2`, `workspace_one`, `unique_client_id`, `crowdstrike_s2s`, `sentinelone`, `kolide`, `tanium_s2s`, `intune`, `sentinelone_s2s`, `custom_s2s`.
*/
@JvmName("txesnvoabagtsnej")
public suspend fun type(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> args0 })
this.type = mapped
}
internal fun build(): GetDevicePostureRulesPlainArgs = GetDevicePostureRulesPlainArgs(
accountId = accountId ?: throw PulumiNullFieldException("accountId"),
name = name,
type = type,
)
}