![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.cloudflare.kotlin.outputs.GetDevicePostureRulesRule.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.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.cloudflare.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property description
* @property expiration Expire posture results after the specified amount of time. Must be in the format `1h` or `30m`. Valid units are `h` and `m`.
* @property id ID of the Device Posture Rule.
* @property name Name of the device posture rule.
* @property schedule Tells the client when to run the device posture check. Must be in the format `1h` or `30m`. Valid units are `h` and `m`.
* @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 GetDevicePostureRulesRule(
public val description: String? = null,
public val expiration: String? = null,
public val id: String,
public val name: String? = null,
public val schedule: String? = null,
public val type: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.cloudflare.outputs.GetDevicePostureRulesRule): GetDevicePostureRulesRule = GetDevicePostureRulesRule(
description = javaType.description().map({ args0 -> args0 }).orElse(null),
expiration = javaType.expiration().map({ args0 -> args0 }).orElse(null),
id = javaType.id(),
name = javaType.name().map({ args0 -> args0 }).orElse(null),
schedule = javaType.schedule().map({ args0 -> args0 }).orElse(null),
type = javaType.type(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy