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

com.pulumi.cloudflare.kotlin.outputs.DevicePostureIntegrationConfig.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.40.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.cloudflare.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @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 DevicePostureIntegrationConfig(
    public val accessClientId: String? = null,
    public val accessClientSecret: String? = null,
    public val apiUrl: String? = null,
    public val authUrl: String? = null,
    public val clientId: String? = null,
    public val clientKey: String? = null,
    public val clientSecret: String? = null,
    public val customerId: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.cloudflare.outputs.DevicePostureIntegrationConfig): DevicePostureIntegrationConfig = DevicePostureIntegrationConfig(
            accessClientId = javaType.accessClientId().map({ args0 -> args0 }).orElse(null),
            accessClientSecret = javaType.accessClientSecret().map({ args0 -> args0 }).orElse(null),
            apiUrl = javaType.apiUrl().map({ args0 -> args0 }).orElse(null),
            authUrl = javaType.authUrl().map({ args0 -> args0 }).orElse(null),
            clientId = javaType.clientId().map({ args0 -> args0 }).orElse(null),
            clientKey = javaType.clientKey().map({ args0 -> args0 }).orElse(null),
            clientSecret = javaType.clientSecret().map({ args0 -> args0 }).orElse(null),
            customerId = javaType.customerId().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy