![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.netapp.kotlin.outputs.QuotaReportResponse.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-native-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.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