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

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

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

package com.pulumi.azurenative.intune.kotlin

import com.pulumi.azurenative.intune.AndroidMAMPolicyByNameArgs.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

/**
 * Android 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:AndroidMAMPolicyByName myresource1 /providers/Microsoft.Intune/locations/{hostName}/androidPolicies/{policyName}
 * ```
 * @property accessRecheckOfflineTimeout
 * @property accessRecheckOnlineTimeout
 * @property appSharingFromLevel
 * @property appSharingToLevel
 * @property authentication
 * @property clipboardSharingLevel
 * @property dataBackup
 * @property description
 * @property deviceCompliance
 * @property fileEncryption
 * @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 screenCapture
 * @property tags Resource Tags
 */
public data class AndroidMAMPolicyByNameArgs(
    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 fileEncryption: 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 screenCapture: Output? = null,
    public val tags: Output>? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.intune.AndroidMAMPolicyByNameArgs =
        com.pulumi.azurenative.intune.AndroidMAMPolicyByNameArgs.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 }))
            .fileEncryption(fileEncryption?.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 }))
            .screenCapture(screenCapture?.applyValue({ args0 -> args0 }))
            .tags(
                tags?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.key.to(args0.value)
                    }).toMap()
                }),
            ).build()
}

/**
 * Builder for [AndroidMAMPolicyByNameArgs].
 */
@PulumiTagMarker
public class AndroidMAMPolicyByNameArgsBuilder 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 fileEncryption: 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 screenCapture: Output? = null

    private var tags: Output>? = null

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @param value
     */
    @JvmName("tmcwcdewqslqahva")
    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("ipehtldswvbtkyji")
    public suspend fun hostName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.hostName = mapped
    }

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

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

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

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

    /**
     * @param value
     */
    @JvmName("evmbotecrtoxowqo")
    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("vsobgyhcuewjcrds")
    public suspend fun policyName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.policyName = mapped
    }

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

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

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy