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

com.pulumi.awsnative.workspacesthinclient.kotlin.outputs.GetEnvironmentResult.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.workspacesthinclient.kotlin.outputs

import com.pulumi.awsnative.kotlin.outputs.Tag
import com.pulumi.awsnative.workspacesthinclient.kotlin.enums.EnvironmentDesktopType
import com.pulumi.awsnative.workspacesthinclient.kotlin.enums.EnvironmentSoftwareSetComplianceStatus
import com.pulumi.awsnative.workspacesthinclient.kotlin.enums.EnvironmentSoftwareSetUpdateMode
import com.pulumi.awsnative.workspacesthinclient.kotlin.enums.EnvironmentSoftwareSetUpdateSchedule
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property activationCode Activation code for devices associated with environment.
 * @property arn The environment ARN.
 * @property createdAt The timestamp in unix epoch format when environment was created.
 * @property desiredSoftwareSetId The ID of the software set to apply.
 * @property desktopEndpoint The URL for the identity provider login (only for environments that use AppStream 2.0).
 * @property desktopType The type of VDI.
 * @property deviceCreationTags An array of key-value pairs to apply to the newly created devices for this environment.
 * @property id Unique identifier of the environment.
 * @property maintenanceWindow A specification for a time window to apply software updates.
 * @property name The name of the environment.
 * @property pendingSoftwareSetId The ID of the software set that is pending to be installed.
 * @property pendingSoftwareSetVersion The version of the software set that is pending to be installed.
 * @property registeredDevicesCount Number of devices registered to the environment.
 * @property softwareSetComplianceStatus Describes if the software currently installed on all devices in the environment is a supported version.
 * @property softwareSetUpdateMode An option to define which software updates to apply.
 * @property softwareSetUpdateSchedule An option to define if software updates should be applied within a maintenance window.
 * @property tags An array of key-value pairs to apply to this resource.
 * @property updatedAt The timestamp in unix epoch format when environment was last updated.
 */
public data class GetEnvironmentResult(
    public val activationCode: String? = null,
    public val arn: String? = null,
    public val createdAt: String? = null,
    public val desiredSoftwareSetId: String? = null,
    public val desktopEndpoint: String? = null,
    public val desktopType: EnvironmentDesktopType? = null,
    public val deviceCreationTags: List? = null,
    public val id: String? = null,
    public val maintenanceWindow: EnvironmentMaintenanceWindow? = null,
    public val name: String? = null,
    public val pendingSoftwareSetId: String? = null,
    public val pendingSoftwareSetVersion: String? = null,
    public val registeredDevicesCount: Int? = null,
    public val softwareSetComplianceStatus: EnvironmentSoftwareSetComplianceStatus? = null,
    public val softwareSetUpdateMode: EnvironmentSoftwareSetUpdateMode? = null,
    public val softwareSetUpdateSchedule: EnvironmentSoftwareSetUpdateSchedule? = null,
    public val tags: List? = null,
    public val updatedAt: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.workspacesthinclient.outputs.GetEnvironmentResult): GetEnvironmentResult = GetEnvironmentResult(
            activationCode = javaType.activationCode().map({ args0 -> args0 }).orElse(null),
            arn = javaType.arn().map({ args0 -> args0 }).orElse(null),
            createdAt = javaType.createdAt().map({ args0 -> args0 }).orElse(null),
            desiredSoftwareSetId = javaType.desiredSoftwareSetId().map({ args0 -> args0 }).orElse(null),
            desktopEndpoint = javaType.desktopEndpoint().map({ args0 -> args0 }).orElse(null),
            desktopType = javaType.desktopType().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.workspacesthinclient.kotlin.enums.EnvironmentDesktopType.Companion.toKotlin(args0)
                })
            }).orElse(null),
            deviceCreationTags = javaType.deviceCreationTags().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.workspacesthinclient.kotlin.outputs.EnvironmentTag.Companion.toKotlin(args0)
                })
            }),
            id = javaType.id().map({ args0 -> args0 }).orElse(null),
            maintenanceWindow = javaType.maintenanceWindow().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.workspacesthinclient.kotlin.outputs.EnvironmentMaintenanceWindow.Companion.toKotlin(args0)
                })
            }).orElse(null),
            name = javaType.name().map({ args0 -> args0 }).orElse(null),
            pendingSoftwareSetId = javaType.pendingSoftwareSetId().map({ args0 -> args0 }).orElse(null),
            pendingSoftwareSetVersion = javaType.pendingSoftwareSetVersion().map({ args0 ->
                args0
            }).orElse(null),
            registeredDevicesCount = javaType.registeredDevicesCount().map({ args0 -> args0 }).orElse(null),
            softwareSetComplianceStatus = javaType.softwareSetComplianceStatus().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.workspacesthinclient.kotlin.enums.EnvironmentSoftwareSetComplianceStatus.Companion.toKotlin(args0)
                })
            }).orElse(null),
            softwareSetUpdateMode = javaType.softwareSetUpdateMode().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.workspacesthinclient.kotlin.enums.EnvironmentSoftwareSetUpdateMode.Companion.toKotlin(args0)
                })
            }).orElse(null),
            softwareSetUpdateSchedule = javaType.softwareSetUpdateSchedule().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.workspacesthinclient.kotlin.enums.EnvironmentSoftwareSetUpdateSchedule.Companion.toKotlin(args0)
                })
            }).orElse(null),
            tags = javaType.tags().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.kotlin.outputs.Tag.Companion.toKotlin(args0)
                })
            }),
            updatedAt = javaType.updatedAt().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy