All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.gcp.dataplex.kotlin.outputs.ZoneAssetStatus.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.dataplex.kotlin.outputs

import kotlin.Int
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property activeAssets Number of active assets.
 * @property securityPolicyApplyingAssets Number of assets that are in process of updating the security policy on attached resources.
 * @property updateTime Output only. The time when the zone was last updated.
 */
public data class ZoneAssetStatus(
    public val activeAssets: Int? = null,
    public val securityPolicyApplyingAssets: Int? = null,
    public val updateTime: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.dataplex.outputs.ZoneAssetStatus): ZoneAssetStatus = ZoneAssetStatus(
            activeAssets = javaType.activeAssets().map({ args0 -> args0 }).orElse(null),
            securityPolicyApplyingAssets = javaType.securityPolicyApplyingAssets().map({ args0 ->
                args0
            }).orElse(null),
            updateTime = javaType.updateTime().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy