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

com.pulumi.azurenative.securityinsights.kotlin.outputs.DeploymentResponse.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: 2.82.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.securityinsights.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 * Description about a deployment.
 * @property deploymentId Deployment identifier.
 * @property deploymentLogsUrl Url to access repository action logs.
 * @property deploymentResult The outcome of the deployment.
 * @property deploymentState Current status of the deployment.
 * @property deploymentTime The time when the deployment finished.
 */
public data class DeploymentResponse(
    public val deploymentId: String? = null,
    public val deploymentLogsUrl: String? = null,
    public val deploymentResult: String? = null,
    public val deploymentState: String? = null,
    public val deploymentTime: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azurenative.securityinsights.outputs.DeploymentResponse): DeploymentResponse = DeploymentResponse(
            deploymentId = javaType.deploymentId().map({ args0 -> args0 }).orElse(null),
            deploymentLogsUrl = javaType.deploymentLogsUrl().map({ args0 -> args0 }).orElse(null),
            deploymentResult = javaType.deploymentResult().map({ args0 -> args0 }).orElse(null),
            deploymentState = javaType.deploymentState().map({ args0 -> args0 }).orElse(null),
            deploymentTime = javaType.deploymentTime().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy