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

com.pulumi.gcp.pubsub.kotlin.outputs.LiteTopicPartitionConfigCapacity.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: 8.10.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.pubsub.kotlin.outputs

import kotlin.Int
import kotlin.Suppress

/**
 *
 * @property publishMibPerSec Subscribe throughput capacity per partition in MiB/s. Must be >= 4 and <= 16.
 * @property subscribeMibPerSec Publish throughput capacity per partition in MiB/s. Must be >= 4 and <= 16.
 */
public data class LiteTopicPartitionConfigCapacity(
    public val publishMibPerSec: Int,
    public val subscribeMibPerSec: Int,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.pubsub.outputs.LiteTopicPartitionConfigCapacity): LiteTopicPartitionConfigCapacity = LiteTopicPartitionConfigCapacity(
            publishMibPerSec = javaType.publishMibPerSec(),
            subscribeMibPerSec = javaType.subscribeMibPerSec(),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy