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

com.pulumi.azure.storage.kotlin.inputs.AccountQueuePropertiesMinuteMetricsArgs.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: 6.21.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.storage.kotlin.inputs

import com.pulumi.azure.storage.inputs.AccountQueuePropertiesMinuteMetricsArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property enabled Indicates whether minute metrics are enabled for the Queue service.
 * @property includeApis Indicates whether metrics should generate summary statistics for called API operations.
 * @property retentionPolicyDays Specifies the number of days that logs will be retained.
 * @property version The version of storage analytics to configure.
 */
public data class AccountQueuePropertiesMinuteMetricsArgs(
    public val enabled: Output,
    public val includeApis: Output? = null,
    public val retentionPolicyDays: Output? = null,
    public val version: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.storage.inputs.AccountQueuePropertiesMinuteMetricsArgs =
        com.pulumi.azure.storage.inputs.AccountQueuePropertiesMinuteMetricsArgs.builder()
            .enabled(enabled.applyValue({ args0 -> args0 }))
            .includeApis(includeApis?.applyValue({ args0 -> args0 }))
            .retentionPolicyDays(retentionPolicyDays?.applyValue({ args0 -> args0 }))
            .version(version.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [AccountQueuePropertiesMinuteMetricsArgs].
 */
@PulumiTagMarker
public class AccountQueuePropertiesMinuteMetricsArgsBuilder internal constructor() {
    private var enabled: Output? = null

    private var includeApis: Output? = null

    private var retentionPolicyDays: Output? = null

    private var version: Output? = null

    /**
     * @param value Indicates whether minute metrics are enabled for the Queue service.
     */
    @JvmName("dgtuxmaxjtheewul")
    public suspend fun enabled(`value`: Output) {
        this.enabled = value
    }

    /**
     * @param value Indicates whether metrics should generate summary statistics for called API operations.
     */
    @JvmName("wobnhthtnmbiduho")
    public suspend fun includeApis(`value`: Output) {
        this.includeApis = value
    }

    /**
     * @param value Specifies the number of days that logs will be retained.
     */
    @JvmName("weqyilhoexxlyjhi")
    public suspend fun retentionPolicyDays(`value`: Output) {
        this.retentionPolicyDays = value
    }

    /**
     * @param value The version of storage analytics to configure.
     */
    @JvmName("ainuddpeyofkwkbu")
    public suspend fun version(`value`: Output) {
        this.version = value
    }

    /**
     * @param value Indicates whether minute metrics are enabled for the Queue service.
     */
    @JvmName("ltreuiucpiywbfkc")
    public suspend fun enabled(`value`: Boolean) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.enabled = mapped
    }

    /**
     * @param value Indicates whether metrics should generate summary statistics for called API operations.
     */
    @JvmName("ilwcqojqcmakdsql")
    public suspend fun includeApis(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.includeApis = mapped
    }

    /**
     * @param value Specifies the number of days that logs will be retained.
     */
    @JvmName("lymctiaiwgrtatkm")
    public suspend fun retentionPolicyDays(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.retentionPolicyDays = mapped
    }

    /**
     * @param value The version of storage analytics to configure.
     */
    @JvmName("jgymoiurypqnkxxd")
    public suspend fun version(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.version = mapped
    }

    internal fun build(): AccountQueuePropertiesMinuteMetricsArgs =
        AccountQueuePropertiesMinuteMetricsArgs(
            enabled = enabled ?: throw PulumiNullFieldException("enabled"),
            includeApis = includeApis,
            retentionPolicyDays = retentionPolicyDays,
            version = version ?: throw PulumiNullFieldException("version"),
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy