Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.datafactory.kotlin.inputs
import com.pulumi.azurenative.datafactory.inputs.AzureMLUpdateResourceActivityArgs.builder
import com.pulumi.azurenative.datafactory.kotlin.enums.ActivityOnInactiveMarkAs
import com.pulumi.azurenative.datafactory.kotlin.enums.ActivityState
import com.pulumi.core.Either
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Any
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Azure ML Update Resource management activity.
* @property dependsOn Activity depends on condition.
* @property description Activity description.
* @property linkedServiceName Linked service reference.
* @property name Activity name.
* @property onInactiveMarkAs Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default.
* @property policy Activity policy.
* @property state Activity state. This is an optional property and if not provided, the state will be Active by default.
* @property trainedModelFilePath The relative file path in trainedModelLinkedService to represent the .ilearner file that will be uploaded by the update operation. Type: string (or Expression with resultType string).
* @property trainedModelLinkedServiceName Name of Azure Storage linked service holding the .ilearner file that will be uploaded by the update operation.
* @property trainedModelName Name of the Trained Model module in the Web Service experiment to be updated. Type: string (or Expression with resultType string).
* @property type Type of activity.
* Expected value is 'AzureMLUpdateResource'.
* @property userProperties Activity user properties.
*/
public data class AzureMLUpdateResourceActivityArgs(
public val dependsOn: Output>? = null,
public val description: Output? = null,
public val linkedServiceName: Output? = null,
public val name: Output,
public val onInactiveMarkAs: Output>? = null,
public val policy: Output? = null,
public val state: Output>? = null,
public val trainedModelFilePath: Output,
public val trainedModelLinkedServiceName: Output,
public val trainedModelName: Output,
public val type: Output,
public val userProperties: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.datafactory.inputs.AzureMLUpdateResourceActivityArgs = com.pulumi.azurenative.datafactory.inputs.AzureMLUpdateResourceActivityArgs.builder()
.dependsOn(
dependsOn?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.description(description?.applyValue({ args0 -> args0 }))
.linkedServiceName(linkedServiceName?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.name(name.applyValue({ args0 -> args0 }))
.onInactiveMarkAs(
onInactiveMarkAs?.applyValue({ args0 ->
args0.transform(
{ args0 -> args0 },
{ args0 -> args0.let({ args0 -> args0.toJava() }) },
)
}),
)
.policy(policy?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.state(
state?.applyValue({ args0 ->
args0.transform({ args0 -> args0 }, { args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.trainedModelFilePath(trainedModelFilePath.applyValue({ args0 -> args0 }))
.trainedModelLinkedServiceName(
trainedModelLinkedServiceName.applyValue({ args0 ->
args0.let({ args0 -> args0.toJava() })
}),
)
.trainedModelName(trainedModelName.applyValue({ args0 -> args0 }))
.type(type.applyValue({ args0 -> args0 }))
.userProperties(
userProperties?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [AzureMLUpdateResourceActivityArgs].
*/
@PulumiTagMarker
public class AzureMLUpdateResourceActivityArgsBuilder internal constructor() {
private var dependsOn: Output>? = null
private var description: Output? = null
private var linkedServiceName: Output? = null
private var name: Output? = null
private var onInactiveMarkAs: Output>? = null
private var policy: Output? = null
private var state: Output>? = null
private var trainedModelFilePath: Output? = null
private var trainedModelLinkedServiceName: Output? = null
private var trainedModelName: Output? = null
private var type: Output? = null
private var userProperties: Output>? = null
/**
* @param value Activity depends on condition.
*/
@JvmName("srcomasvvtpjwxql")
public suspend fun dependsOn(`value`: Output>) {
this.dependsOn = value
}
@JvmName("osodfalblhcemjab")
public suspend fun dependsOn(vararg values: Output) {
this.dependsOn = Output.all(values.asList())
}
/**
* @param values Activity depends on condition.
*/
@JvmName("nckdiuxqfhefbeml")
public suspend fun dependsOn(values: List