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

com.pulumi.azurenative.netapp.kotlin.outputs.QuotaReportResponse.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 2.82.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.netapp.kotlin.outputs

import kotlin.Boolean
import kotlin.Double
import kotlin.String
import kotlin.Suppress

/**
 * Quota report record properties
 * @property isDerivedQuota Flag to indicate whether the quota is derived from default quota.
 * @property percentageUsed Percentage of used size compared to total size.
 * @property quotaLimitTotalInKiBs Specifies the total size limit in kibibytes for the user/group quota.
 * @property quotaLimitUsedInKiBs Specifies the current usage in kibibytes for the user/group quota.
 * @property quotaTarget UserID/GroupID/SID based on the quota target type. UserID and groupID can be found by running ‘id’ or ‘getent’ command for the user or group and SID can be found by running 
 * @property quotaType Type of quota
 */
public data class QuotaReportResponse(
    public val isDerivedQuota: Boolean? = null,
    public val percentageUsed: Double? = null,
    public val quotaLimitTotalInKiBs: Double? = null,
    public val quotaLimitUsedInKiBs: Double? = null,
    public val quotaTarget: String? = null,
    public val quotaType: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azurenative.netapp.outputs.QuotaReportResponse): QuotaReportResponse = QuotaReportResponse(
            isDerivedQuota = javaType.isDerivedQuota().map({ args0 -> args0 }).orElse(null),
            percentageUsed = javaType.percentageUsed().map({ args0 -> args0 }).orElse(null),
            quotaLimitTotalInKiBs = javaType.quotaLimitTotalInKiBs().map({ args0 -> args0 }).orElse(null),
            quotaLimitUsedInKiBs = javaType.quotaLimitUsedInKiBs().map({ args0 -> args0 }).orElse(null),
            quotaTarget = javaType.quotaTarget().map({ args0 -> args0 }).orElse(null),
            quotaType = javaType.quotaType().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy