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

com.pulumi.azurenative.machinelearningservices.kotlin.outputs.ComputeInstanceResponse.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.machinelearningservices.kotlin.outputs

import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 * An Azure Machine Learning compute instance.
 * @property computeLocation Location for the underlying compute
 * @property computeType The type of compute
 * Expected value is 'ComputeInstance'.
 * @property createdOn The time at which the compute was created.
 * @property description The description of the Machine Learning compute.
 * @property disableLocalAuth Opt-out of local authentication and ensure customers can use only MSI and AAD exclusively for authentication.
 * @property isAttachedCompute Indicating whether the compute was provisioned by user and brought from outside if true, or machine learning service provisioned it if false.
 * @property modifiedOn The time at which the compute was last modified.
 * @property properties Properties of ComputeInstance
 * @property provisioningErrors Errors during provisioning
 * @property provisioningState The provision state of the cluster. Valid values are Unknown, Updating, Provisioning, Succeeded, and Failed.
 * @property resourceId ARM resource id of the underlying compute
 */
public data class ComputeInstanceResponse(
    public val computeLocation: String? = null,
    public val computeType: String,
    public val createdOn: String,
    public val description: String? = null,
    public val disableLocalAuth: Boolean? = null,
    public val isAttachedCompute: Boolean,
    public val modifiedOn: String,
    public val properties: ComputeInstancePropertiesResponse? = null,
    public val provisioningErrors: List,
    public val provisioningState: String,
    public val resourceId: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azurenative.machinelearningservices.outputs.ComputeInstanceResponse): ComputeInstanceResponse = ComputeInstanceResponse(
            computeLocation = javaType.computeLocation().map({ args0 -> args0 }).orElse(null),
            computeType = javaType.computeType(),
            createdOn = javaType.createdOn(),
            description = javaType.description().map({ args0 -> args0 }).orElse(null),
            disableLocalAuth = javaType.disableLocalAuth().map({ args0 -> args0 }).orElse(null),
            isAttachedCompute = javaType.isAttachedCompute(),
            modifiedOn = javaType.modifiedOn(),
            properties = javaType.properties().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azurenative.machinelearningservices.kotlin.outputs.ComputeInstancePropertiesResponse.Companion.toKotlin(args0)
                })
            }).orElse(null),
            provisioningErrors = javaType.provisioningErrors().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azurenative.machinelearningservices.kotlin.outputs.ErrorResponseResponse.Companion.toKotlin(args0)
                })
            }),
            provisioningState = javaType.provisioningState(),
            resourceId = javaType.resourceId().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy