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

com.pulumi.azure.containerapp.kotlin.outputs.AppDapr.kt Maven / Gradle / Ivy

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

package com.pulumi.azure.containerapp.kotlin.outputs

import kotlin.Int
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property appId The Dapr Application Identifier.
 * @property appPort The port which the application is listening on. This is the same as the `ingress` port.
 * @property appProtocol The protocol for the app. Possible values include `http` and `grpc`. Defaults to `http`.
 */
public data class AppDapr(
    public val appId: String,
    public val appPort: Int? = null,
    public val appProtocol: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.containerapp.outputs.AppDapr): AppDapr = AppDapr(
            appId = javaType.appId(),
            appPort = javaType.appPort().map({ args0 -> args0 }).orElse(null),
            appProtocol = javaType.appProtocol().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy