![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.appplatform.kotlin.outputs.GetAppResult.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.appplatform.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
* App resource payload
* @property id Fully qualified resource Id for the resource.
* @property identity The Managed Identity type of the app resource
* @property location The GEO location of the application, always the same with its parent resource
* @property name The name of the resource.
* @property properties Properties of the App resource
* @property systemData Metadata pertaining to creation and last modification of the resource.
* @property type The type of the resource.
*/
public data class GetAppResult(
public val id: String,
public val identity: ManagedIdentityPropertiesResponse? = null,
public val location: String? = null,
public val name: String,
public val properties: AppResourcePropertiesResponse,
public val systemData: SystemDataResponse,
public val type: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.appplatform.outputs.GetAppResult): GetAppResult = GetAppResult(
id = javaType.id(),
identity = javaType.identity().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azurenative.appplatform.kotlin.outputs.ManagedIdentityPropertiesResponse.Companion.toKotlin(args0)
})
}).orElse(null),
location = javaType.location().map({ args0 -> args0 }).orElse(null),
name = javaType.name(),
properties = javaType.properties().let({ args0 ->
com.pulumi.azurenative.appplatform.kotlin.outputs.AppResourcePropertiesResponse.Companion.toKotlin(args0)
}),
systemData = javaType.systemData().let({ args0 ->
com.pulumi.azurenative.appplatform.kotlin.outputs.SystemDataResponse.Companion.toKotlin(args0)
}),
type = javaType.type(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy