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

com.pulumi.azurenative.iotoperations.kotlin.outputs.FrontendResponse.kt Maven / Gradle / Ivy

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

package com.pulumi.azurenative.iotoperations.kotlin.outputs

import kotlin.Int
import kotlin.Suppress

/**
 * The desired properties of the frontend instances of the Broker
 * @property replicas The desired number of frontend instances (pods).
 * @property workers Number of logical frontend workers per instance (pod).
 */
public data class FrontendResponse(
    public val replicas: Int,
    public val workers: Int? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azurenative.iotoperations.outputs.FrontendResponse): FrontendResponse = FrontendResponse(
            replicas = javaType.replicas(),
            workers = javaType.workers().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy