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

com.pulumi.gcp.networksecurity.kotlin.outputs.AuthzPolicyCustomProvider.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: 8.13.1.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.networksecurity.kotlin.outputs

import kotlin.Suppress

/**
 *
 * @property authzExtension Delegate authorization decision to user authored Service Extension. Only one of cloudIap or authzExtension can be specified.
 * Structure is documented below.
 * @property cloudIap Delegates authorization decisions to Cloud IAP. Applicable only for managed load balancers. Enabling Cloud IAP at the AuthzPolicy level is not compatible with Cloud IAP settings in the BackendService. Enabling IAP in both places will result in request failure. Ensure that IAP is enabled in either the AuthzPolicy or the BackendService but not in both places.
 * Structure is documented below.
 */
public data class AuthzPolicyCustomProvider(
    public val authzExtension: AuthzPolicyCustomProviderAuthzExtension? = null,
    public val cloudIap: AuthzPolicyCustomProviderCloudIap? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.networksecurity.outputs.AuthzPolicyCustomProvider): AuthzPolicyCustomProvider = AuthzPolicyCustomProvider(
            authzExtension = javaType.authzExtension().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.networksecurity.kotlin.outputs.AuthzPolicyCustomProviderAuthzExtension.Companion.toKotlin(args0)
                })
            }).orElse(null),
            cloudIap = javaType.cloudIap().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.networksecurity.kotlin.outputs.AuthzPolicyCustomProviderCloudIap.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy