
com.pulumi.azurenative.testbase.kotlin.inputs.DraftPackageIntuneAppMetadataItemArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.testbase.kotlin.inputs
import com.pulumi.azurenative.testbase.inputs.DraftPackageIntuneAppMetadataItemArgs.builder
import com.pulumi.azurenative.testbase.kotlin.enums.IntuneExtractStatus
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.PulumiTagMarker
import kotlin.Double
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* The Metadata of a single Intune App.
* @property appId Intune app id.
* @property appName Intune app name.
* @property createDate Creation date of the app.
* @property dependencyIds Ids of dependency apps.
* @property dependentAppCount Count of dependency apps.
* @property description Description of the app.
* @property expectedExitCodes Expected exit codes returned from Intune App.
* @property installCommand Install command.
* @property lastProcessed last processed time tickets.
* @property minimumSupportedOS Minimum supported OS. The OS version must be greater than this version to run this app.
* @property owner Owner of the app.
* @property publisher Publisher of the app.
* @property setupFile Setup file path.
* @property status Extract status.
* @property uninstallCommand Uninstall command.
* @property version Intune app version.
*/
public data class DraftPackageIntuneAppMetadataItemArgs(
public val appId: Output? = null,
public val appName: Output? = null,
public val createDate: Output? = null,
public val dependencyIds: Output>? = null,
public val dependentAppCount: Output? = null,
public val description: Output? = null,
public val expectedExitCodes: Output>? = null,
public val installCommand: Output? = null,
public val lastProcessed: Output? = null,
public val minimumSupportedOS: Output? = null,
public val owner: Output? = null,
public val publisher: Output? = null,
public val setupFile: Output? = null,
public val status: Output>? = null,
public val uninstallCommand: Output? = null,
public val version: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.testbase.inputs.DraftPackageIntuneAppMetadataItemArgs =
com.pulumi.azurenative.testbase.inputs.DraftPackageIntuneAppMetadataItemArgs.builder()
.appId(appId?.applyValue({ args0 -> args0 }))
.appName(appName?.applyValue({ args0 -> args0 }))
.createDate(createDate?.applyValue({ args0 -> args0 }))
.dependencyIds(dependencyIds?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.dependentAppCount(dependentAppCount?.applyValue({ args0 -> args0 }))
.description(description?.applyValue({ args0 -> args0 }))
.expectedExitCodes(expectedExitCodes?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.installCommand(installCommand?.applyValue({ args0 -> args0 }))
.lastProcessed(lastProcessed?.applyValue({ args0 -> args0 }))
.minimumSupportedOS(minimumSupportedOS?.applyValue({ args0 -> args0 }))
.owner(owner?.applyValue({ args0 -> args0 }))
.publisher(publisher?.applyValue({ args0 -> args0 }))
.setupFile(setupFile?.applyValue({ args0 -> args0 }))
.status(
status?.applyValue({ args0 ->
args0.transform({ args0 -> args0 }, { args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
)
.uninstallCommand(uninstallCommand?.applyValue({ args0 -> args0 }))
.version(version?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [DraftPackageIntuneAppMetadataItemArgs].
*/
@PulumiTagMarker
public class DraftPackageIntuneAppMetadataItemArgsBuilder internal constructor() {
private var appId: Output? = null
private var appName: Output? = null
private var createDate: Output? = null
private var dependencyIds: Output>? = null
private var dependentAppCount: Output? = null
private var description: Output? = null
private var expectedExitCodes: Output>? = null
private var installCommand: Output? = null
private var lastProcessed: Output? = null
private var minimumSupportedOS: Output? = null
private var owner: Output? = null
private var publisher: Output? = null
private var setupFile: Output? = null
private var status: Output>? = null
private var uninstallCommand: Output? = null
private var version: Output? = null
/**
* @param value Intune app id.
*/
@JvmName("rkmqcdojekwtaeyc")
public suspend fun appId(`value`: Output) {
this.appId = value
}
/**
* @param value Intune app name.
*/
@JvmName("lonbjviltiebjnxa")
public suspend fun appName(`value`: Output) {
this.appName = value
}
/**
* @param value Creation date of the app.
*/
@JvmName("npualympvsrelioh")
public suspend fun createDate(`value`: Output) {
this.createDate = value
}
/**
* @param value Ids of dependency apps.
*/
@JvmName("tvrlshhfipebxauv")
public suspend fun dependencyIds(`value`: Output>) {
this.dependencyIds = value
}
@JvmName("ogdydlkdsvtcpsux")
public suspend fun dependencyIds(vararg values: Output) {
this.dependencyIds = Output.all(values.asList())
}
/**
* @param values Ids of dependency apps.
*/
@JvmName("ntusroatyxwqeiee")
public suspend fun dependencyIds(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy