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

com.pulumi.azurenative.machinelearningservices.kotlin.outputs.DataFactoryResponse.kt Maven / Gradle / Ivy

@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

/**
 * A DataFactory compute.
 * @property computeLocation Location for the underlying compute
 * @property computeType The type of compute
 * Expected value is 'DataFactory'.
 * @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 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 DataFactoryResponse(
    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 provisioningErrors: List,
    public val provisioningState: String,
    public val resourceId: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azurenative.machinelearningservices.outputs.DataFactoryResponse): DataFactoryResponse = DataFactoryResponse(
            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(),
            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