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

com.pulumi.cloudflare.kotlin.inputs.ZeroTrustDevicePostureIntegrationConfigArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 5.47.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.cloudflare.kotlin.inputs

import com.pulumi.cloudflare.inputs.ZeroTrustDevicePostureIntegrationConfigArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property accessClientId The Access client ID to be used as the `Cf-Access-Client-ID` header when making a request to the `api_url`.
 * @property accessClientSecret The Access client secret to be used as the `Cf-Access-Client-Secret` header when making a request to the `api_url`.
 * @property apiUrl The third-party API's URL.
 * @property authUrl The third-party authorization API URL.
 * @property clientId The client identifier for authenticating API calls.
 * @property clientKey The client key for authenticating API calls.
 * @property clientSecret The client secret for authenticating API calls.
 * @property customerId The customer identifier for authenticating API calls.
 */
public data class ZeroTrustDevicePostureIntegrationConfigArgs(
    public val accessClientId: Output? = null,
    public val accessClientSecret: Output? = null,
    public val apiUrl: Output? = null,
    public val authUrl: Output? = null,
    public val clientId: Output? = null,
    public val clientKey: Output? = null,
    public val clientSecret: Output? = null,
    public val customerId: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.cloudflare.inputs.ZeroTrustDevicePostureIntegrationConfigArgs =
        com.pulumi.cloudflare.inputs.ZeroTrustDevicePostureIntegrationConfigArgs.builder()
            .accessClientId(accessClientId?.applyValue({ args0 -> args0 }))
            .accessClientSecret(accessClientSecret?.applyValue({ args0 -> args0 }))
            .apiUrl(apiUrl?.applyValue({ args0 -> args0 }))
            .authUrl(authUrl?.applyValue({ args0 -> args0 }))
            .clientId(clientId?.applyValue({ args0 -> args0 }))
            .clientKey(clientKey?.applyValue({ args0 -> args0 }))
            .clientSecret(clientSecret?.applyValue({ args0 -> args0 }))
            .customerId(customerId?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ZeroTrustDevicePostureIntegrationConfigArgs].
 */
@PulumiTagMarker
public class ZeroTrustDevicePostureIntegrationConfigArgsBuilder internal constructor() {
    private var accessClientId: Output? = null

    private var accessClientSecret: Output? = null

    private var apiUrl: Output? = null

    private var authUrl: Output? = null

    private var clientId: Output? = null

    private var clientKey: Output? = null

    private var clientSecret: Output? = null

    private var customerId: Output? = null

    /**
     * @param value The Access client ID to be used as the `Cf-Access-Client-ID` header when making a request to the `api_url`.
     */
    @JvmName("rcvcpyeeqvsvahxb")
    public suspend fun accessClientId(`value`: Output) {
        this.accessClientId = value
    }

    /**
     * @param value The Access client secret to be used as the `Cf-Access-Client-Secret` header when making a request to the `api_url`.
     */
    @JvmName("aqrafrttxwtrwpnx")
    public suspend fun accessClientSecret(`value`: Output) {
        this.accessClientSecret = value
    }

    /**
     * @param value The third-party API's URL.
     */
    @JvmName("luxawwflfiamgjti")
    public suspend fun apiUrl(`value`: Output) {
        this.apiUrl = value
    }

    /**
     * @param value The third-party authorization API URL.
     */
    @JvmName("ijyfsbdwnrlxjjvu")
    public suspend fun authUrl(`value`: Output) {
        this.authUrl = value
    }

    /**
     * @param value The client identifier for authenticating API calls.
     */
    @JvmName("xtgrqfwfgbpsqqso")
    public suspend fun clientId(`value`: Output) {
        this.clientId = value
    }

    /**
     * @param value The client key for authenticating API calls.
     */
    @JvmName("qojnffqkmotmvtpp")
    public suspend fun clientKey(`value`: Output) {
        this.clientKey = value
    }

    /**
     * @param value The client secret for authenticating API calls.
     */
    @JvmName("agvjeijmyfftegjj")
    public suspend fun clientSecret(`value`: Output) {
        this.clientSecret = value
    }

    /**
     * @param value The customer identifier for authenticating API calls.
     */
    @JvmName("jnpigpvcvljrrrmf")
    public suspend fun customerId(`value`: Output) {
        this.customerId = value
    }

    /**
     * @param value The Access client ID to be used as the `Cf-Access-Client-ID` header when making a request to the `api_url`.
     */
    @JvmName("eeibdwhfeerwnmga")
    public suspend fun accessClientId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.accessClientId = mapped
    }

    /**
     * @param value The Access client secret to be used as the `Cf-Access-Client-Secret` header when making a request to the `api_url`.
     */
    @JvmName("gwkufxeqrdswxgrx")
    public suspend fun accessClientSecret(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.accessClientSecret = mapped
    }

    /**
     * @param value The third-party API's URL.
     */
    @JvmName("inlaygrmadbcfpvh")
    public suspend fun apiUrl(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.apiUrl = mapped
    }

    /**
     * @param value The third-party authorization API URL.
     */
    @JvmName("yjiolbyoyursjjxw")
    public suspend fun authUrl(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.authUrl = mapped
    }

    /**
     * @param value The client identifier for authenticating API calls.
     */
    @JvmName("xrgmblumyoxhskyf")
    public suspend fun clientId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.clientId = mapped
    }

    /**
     * @param value The client key for authenticating API calls.
     */
    @JvmName("lkhgumbinglfknrc")
    public suspend fun clientKey(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.clientKey = mapped
    }

    /**
     * @param value The client secret for authenticating API calls.
     */
    @JvmName("keonqeqaeebyuwcn")
    public suspend fun clientSecret(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.clientSecret = mapped
    }

    /**
     * @param value The customer identifier for authenticating API calls.
     */
    @JvmName("cjgeowixtwjfuthk")
    public suspend fun customerId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.customerId = mapped
    }

    internal fun build(): ZeroTrustDevicePostureIntegrationConfigArgs =
        ZeroTrustDevicePostureIntegrationConfigArgs(
            accessClientId = accessClientId,
            accessClientSecret = accessClientSecret,
            apiUrl = apiUrl,
            authUrl = authUrl,
            clientId = clientId,
            clientKey = clientKey,
            clientSecret = clientSecret,
            customerId = customerId,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy