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

com.pulumi.gcp.networksecurity.kotlin.outputs.AuthzPolicyHttpRuleFromSourceResource.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 iamServiceAccount An IAM service account to match against the source service account of the VM sending the request.
 * Structure is documented below.
 * @property tagValueIdSet A list of resource tag value permanent IDs to match against the resource manager tags value associated with the source VM of a request.
 * Structure is documented below.
 */
public data class AuthzPolicyHttpRuleFromSourceResource(
    public val iamServiceAccount: AuthzPolicyHttpRuleFromSourceResourceIamServiceAccount? = null,
    public val tagValueIdSet: AuthzPolicyHttpRuleFromSourceResourceTagValueIdSet? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.networksecurity.outputs.AuthzPolicyHttpRuleFromSourceResource): AuthzPolicyHttpRuleFromSourceResource = AuthzPolicyHttpRuleFromSourceResource(
            iamServiceAccount = javaType.iamServiceAccount().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.networksecurity.kotlin.outputs.AuthzPolicyHttpRuleFromSourceResourceIamServiceAccount.Companion.toKotlin(args0)
                })
            }).orElse(null),
            tagValueIdSet = javaType.tagValueIdSet().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.networksecurity.kotlin.outputs.AuthzPolicyHttpRuleFromSourceResourceTagValueIdSet.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy