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

com.pulumi.azurenative.intune.kotlin.IoMAMPolicyByNameArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.azurenative.intune.kotlin

import com.pulumi.azurenative.intune.IoMAMPolicyByNameArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Int
import kotlin.Pair
import kotlin.String
import kotlin.Suppress
import kotlin.collections.Map
import kotlin.jvm.JvmName

/**
 * iOS Policy entity for Intune MAM.
 * Azure REST API version: 2015-01-14-preview. Prior API version in Azure Native 1.x: 2015-01-14-preview.
 * Other available API versions: 2015-01-14-privatepreview.
 * ## Import
 * An existing resource can be imported using its type token, name, and identifier, e.g.
 * ```sh
 * $ pulumi import azure-native:intune:IoMAMPolicyByName myresource1 /providers/Microsoft.Intune/locations/{hostName}/iosPolicies/{policyName}
 * ```
 * @property accessRecheckOfflineTimeout
 * @property accessRecheckOnlineTimeout
 * @property appSharingFromLevel
 * @property appSharingToLevel
 * @property authentication
 * @property clipboardSharingLevel
 * @property dataBackup
 * @property description
 * @property deviceCompliance
 * @property fileEncryptionLevel
 * @property fileSharingSaveAs
 * @property friendlyName
 * @property hostName Location hostName for the tenant
 * @property location Resource Location
 * @property managedBrowser
 * @property offlineWipeTimeout
 * @property pin
 * @property pinNumRetry
 * @property policyName Unique name for the policy
 * @property tags Resource Tags
 * @property touchId
 */
public data class IoMAMPolicyByNameArgs(
    public val accessRecheckOfflineTimeout: Output? = null,
    public val accessRecheckOnlineTimeout: Output? = null,
    public val appSharingFromLevel: Output? = null,
    public val appSharingToLevel: Output? = null,
    public val authentication: Output? = null,
    public val clipboardSharingLevel: Output? = null,
    public val dataBackup: Output? = null,
    public val description: Output? = null,
    public val deviceCompliance: Output? = null,
    public val fileEncryptionLevel: Output? = null,
    public val fileSharingSaveAs: Output? = null,
    public val friendlyName: Output? = null,
    public val hostName: Output? = null,
    public val location: Output? = null,
    public val managedBrowser: Output? = null,
    public val offlineWipeTimeout: Output? = null,
    public val pin: Output? = null,
    public val pinNumRetry: Output? = null,
    public val policyName: Output? = null,
    public val tags: Output>? = null,
    public val touchId: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.intune.IoMAMPolicyByNameArgs =
        com.pulumi.azurenative.intune.IoMAMPolicyByNameArgs.builder()
            .accessRecheckOfflineTimeout(accessRecheckOfflineTimeout?.applyValue({ args0 -> args0 }))
            .accessRecheckOnlineTimeout(accessRecheckOnlineTimeout?.applyValue({ args0 -> args0 }))
            .appSharingFromLevel(appSharingFromLevel?.applyValue({ args0 -> args0 }))
            .appSharingToLevel(appSharingToLevel?.applyValue({ args0 -> args0 }))
            .authentication(authentication?.applyValue({ args0 -> args0 }))
            .clipboardSharingLevel(clipboardSharingLevel?.applyValue({ args0 -> args0 }))
            .dataBackup(dataBackup?.applyValue({ args0 -> args0 }))
            .description(description?.applyValue({ args0 -> args0 }))
            .deviceCompliance(deviceCompliance?.applyValue({ args0 -> args0 }))
            .fileEncryptionLevel(fileEncryptionLevel?.applyValue({ args0 -> args0 }))
            .fileSharingSaveAs(fileSharingSaveAs?.applyValue({ args0 -> args0 }))
            .friendlyName(friendlyName?.applyValue({ args0 -> args0 }))
            .hostName(hostName?.applyValue({ args0 -> args0 }))
            .location(location?.applyValue({ args0 -> args0 }))
            .managedBrowser(managedBrowser?.applyValue({ args0 -> args0 }))
            .offlineWipeTimeout(offlineWipeTimeout?.applyValue({ args0 -> args0 }))
            .pin(pin?.applyValue({ args0 -> args0 }))
            .pinNumRetry(pinNumRetry?.applyValue({ args0 -> args0 }))
            .policyName(policyName?.applyValue({ args0 -> args0 }))
            .tags(tags?.applyValue({ args0 -> args0.map({ args0 -> args0.key.to(args0.value) }).toMap() }))
            .touchId(touchId?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [IoMAMPolicyByNameArgs].
 */
@PulumiTagMarker
public class IoMAMPolicyByNameArgsBuilder internal constructor() {
    private var accessRecheckOfflineTimeout: Output? = null

    private var accessRecheckOnlineTimeout: Output? = null

    private var appSharingFromLevel: Output? = null

    private var appSharingToLevel: Output? = null

    private var authentication: Output? = null

    private var clipboardSharingLevel: Output? = null

    private var dataBackup: Output? = null

    private var description: Output? = null

    private var deviceCompliance: Output? = null

    private var fileEncryptionLevel: Output? = null

    private var fileSharingSaveAs: Output? = null

    private var friendlyName: Output? = null

    private var hostName: Output? = null

    private var location: Output? = null

    private var managedBrowser: Output? = null

    private var offlineWipeTimeout: Output? = null

    private var pin: Output? = null

    private var pinNumRetry: Output? = null

    private var policyName: Output? = null

    private var tags: Output>? = null

    private var touchId: Output? = null

    /**
     * @param value
     */
    @JvmName("aukoptnspjmowsxj")
    public suspend fun accessRecheckOfflineTimeout(`value`: Output) {
        this.accessRecheckOfflineTimeout = value
    }

    /**
     * @param value
     */
    @JvmName("gfmmffahrueaysik")
    public suspend fun accessRecheckOnlineTimeout(`value`: Output) {
        this.accessRecheckOnlineTimeout = value
    }

    /**
     * @param value
     */
    @JvmName("bcgpvwswkdwothhy")
    public suspend fun appSharingFromLevel(`value`: Output) {
        this.appSharingFromLevel = value
    }

    /**
     * @param value
     */
    @JvmName("hgevvhypbfjfiwda")
    public suspend fun appSharingToLevel(`value`: Output) {
        this.appSharingToLevel = value
    }

    /**
     * @param value
     */
    @JvmName("rnnivpwmlggvrrcd")
    public suspend fun authentication(`value`: Output) {
        this.authentication = value
    }

    /**
     * @param value
     */
    @JvmName("tgginlqlxtcqemfq")
    public suspend fun clipboardSharingLevel(`value`: Output) {
        this.clipboardSharingLevel = value
    }

    /**
     * @param value
     */
    @JvmName("ensswwpaxhcxifjp")
    public suspend fun dataBackup(`value`: Output) {
        this.dataBackup = value
    }

    /**
     * @param value
     */
    @JvmName("cinudlwbleldgydb")
    public suspend fun description(`value`: Output) {
        this.description = value
    }

    /**
     * @param value
     */
    @JvmName("titfdnhhiwpuxugw")
    public suspend fun deviceCompliance(`value`: Output) {
        this.deviceCompliance = value
    }

    /**
     * @param value
     */
    @JvmName("xqsiobgqmrsacsas")
    public suspend fun fileEncryptionLevel(`value`: Output) {
        this.fileEncryptionLevel = value
    }

    /**
     * @param value
     */
    @JvmName("rteupdcrqcxiqaur")
    public suspend fun fileSharingSaveAs(`value`: Output) {
        this.fileSharingSaveAs = value
    }

    /**
     * @param value
     */
    @JvmName("bympabgvtlpucdvs")
    public suspend fun friendlyName(`value`: Output) {
        this.friendlyName = value
    }

    /**
     * @param value Location hostName for the tenant
     */
    @JvmName("fpexuxixojkcukok")
    public suspend fun hostName(`value`: Output) {
        this.hostName = value
    }

    /**
     * @param value Resource Location
     */
    @JvmName("rycuvspdvnsnhdhb")
    public suspend fun location(`value`: Output) {
        this.location = value
    }

    /**
     * @param value
     */
    @JvmName("xpywdfnsvuywmawq")
    public suspend fun managedBrowser(`value`: Output) {
        this.managedBrowser = value
    }

    /**
     * @param value
     */
    @JvmName("iudwgvgphaqpdcpo")
    public suspend fun offlineWipeTimeout(`value`: Output) {
        this.offlineWipeTimeout = value
    }

    /**
     * @param value
     */
    @JvmName("sitbdnlgdeqnohdc")
    public suspend fun pin(`value`: Output) {
        this.pin = value
    }

    /**
     * @param value
     */
    @JvmName("jlwcutmqmpecihpf")
    public suspend fun pinNumRetry(`value`: Output) {
        this.pinNumRetry = value
    }

    /**
     * @param value Unique name for the policy
     */
    @JvmName("tmxwjxeblrqepegl")
    public suspend fun policyName(`value`: Output) {
        this.policyName = value
    }

    /**
     * @param value Resource Tags
     */
    @JvmName("qspxnahaxgdymnlc")
    public suspend fun tags(`value`: Output>) {
        this.tags = value
    }

    /**
     * @param value
     */
    @JvmName("yiklxxtsrxeismvy")
    public suspend fun touchId(`value`: Output) {
        this.touchId = value
    }

    /**
     * @param value
     */
    @JvmName("yfhcneouydamvviv")
    public suspend fun accessRecheckOfflineTimeout(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.accessRecheckOfflineTimeout = mapped
    }

    /**
     * @param value
     */
    @JvmName("niyjdmqcapwvtnvd")
    public suspend fun accessRecheckOnlineTimeout(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.accessRecheckOnlineTimeout = mapped
    }

    /**
     * @param value
     */
    @JvmName("qlufaqvdwjuiojpr")
    public suspend fun appSharingFromLevel(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.appSharingFromLevel = mapped
    }

    /**
     * @param value
     */
    @JvmName("ciyomqgceyspbrxp")
    public suspend fun appSharingToLevel(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.appSharingToLevel = mapped
    }

    /**
     * @param value
     */
    @JvmName("fxasmcrhtthxuftt")
    public suspend fun authentication(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.authentication = mapped
    }

    /**
     * @param value
     */
    @JvmName("vdnllxpjiumlycfe")
    public suspend fun clipboardSharingLevel(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.clipboardSharingLevel = mapped
    }

    /**
     * @param value
     */
    @JvmName("wwcqhmajtokbmwiu")
    public suspend fun dataBackup(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.dataBackup = mapped
    }

    /**
     * @param value
     */
    @JvmName("qtwtdexhtwhjhnyq")
    public suspend fun description(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.description = mapped
    }

    /**
     * @param value
     */
    @JvmName("smmttticjcgukmlt")
    public suspend fun deviceCompliance(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.deviceCompliance = mapped
    }

    /**
     * @param value
     */
    @JvmName("lgmtsmgrrutkgaly")
    public suspend fun fileEncryptionLevel(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.fileEncryptionLevel = mapped
    }

    /**
     * @param value
     */
    @JvmName("pvtekplvhptvbqku")
    public suspend fun fileSharingSaveAs(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.fileSharingSaveAs = mapped
    }

    /**
     * @param value
     */
    @JvmName("ufccuvqmwxvbecly")
    public suspend fun friendlyName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.friendlyName = mapped
    }

    /**
     * @param value Location hostName for the tenant
     */
    @JvmName("yuyivoqpeljuwklr")
    public suspend fun hostName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.hostName = mapped
    }

    /**
     * @param value Resource Location
     */
    @JvmName("wwopwsgkybjbekqx")
    public suspend fun location(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.location = mapped
    }

    /**
     * @param value
     */
    @JvmName("ductqaevmoycbtap")
    public suspend fun managedBrowser(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.managedBrowser = mapped
    }

    /**
     * @param value
     */
    @JvmName("lftwbikwoiepdxdj")
    public suspend fun offlineWipeTimeout(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.offlineWipeTimeout = mapped
    }

    /**
     * @param value
     */
    @JvmName("lknyqbssybcfnljq")
    public suspend fun pin(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.pin = mapped
    }

    /**
     * @param value
     */
    @JvmName("fauifcqncshkuedw")
    public suspend fun pinNumRetry(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.pinNumRetry = mapped
    }

    /**
     * @param value Unique name for the policy
     */
    @JvmName("xwuswyrnipapmdct")
    public suspend fun policyName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.policyName = mapped
    }

    /**
     * @param value Resource Tags
     */
    @JvmName("bgkyexqnkfitpmot")
    public suspend fun tags(`value`: Map?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.tags = mapped
    }

    /**
     * @param values Resource Tags
     */
    @JvmName("vvliuvfkfeysoppw")
    public fun tags(vararg values: Pair) {
        val toBeMapped = values.toMap()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.tags = mapped
    }

    /**
     * @param value
     */
    @JvmName("ckyhtbfwgjetcymx")
    public suspend fun touchId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.touchId = mapped
    }

    internal fun build(): IoMAMPolicyByNameArgs = IoMAMPolicyByNameArgs(
        accessRecheckOfflineTimeout = accessRecheckOfflineTimeout,
        accessRecheckOnlineTimeout = accessRecheckOnlineTimeout,
        appSharingFromLevel = appSharingFromLevel,
        appSharingToLevel = appSharingToLevel,
        authentication = authentication,
        clipboardSharingLevel = clipboardSharingLevel,
        dataBackup = dataBackup,
        description = description,
        deviceCompliance = deviceCompliance,
        fileEncryptionLevel = fileEncryptionLevel,
        fileSharingSaveAs = fileSharingSaveAs,
        friendlyName = friendlyName,
        hostName = hostName,
        location = location,
        managedBrowser = managedBrowser,
        offlineWipeTimeout = offlineWipeTimeout,
        pin = pin,
        pinNumRetry = pinNumRetry,
        policyName = policyName,
        tags = tags,
        touchId = touchId,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy