
com.pulumi.gcp.networksecurity.kotlin.inputs.AuthzPolicyTargetArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.networksecurity.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.networksecurity.inputs.AuthzPolicyTargetArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property loadBalancingScheme All gateways and forwarding rules referenced by this policy and extensions must share the same load balancing scheme.
* For more information, refer to [Backend services overview](https://cloud.google.com/load-balancing/docs/backend-service).
* Possible values are: `INTERNAL_MANAGED`, `EXTERNAL_MANAGED`, `INTERNAL_SELF_MANAGED`.
* @property resources A list of references to the Forwarding Rules on which this policy will be applied.
* - - -
*/
public data class AuthzPolicyTargetArgs(
public val loadBalancingScheme: Output,
public val resources: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.networksecurity.inputs.AuthzPolicyTargetArgs =
com.pulumi.gcp.networksecurity.inputs.AuthzPolicyTargetArgs.builder()
.loadBalancingScheme(loadBalancingScheme.applyValue({ args0 -> args0 }))
.resources(resources?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [AuthzPolicyTargetArgs].
*/
@PulumiTagMarker
public class AuthzPolicyTargetArgsBuilder internal constructor() {
private var loadBalancingScheme: Output? = null
private var resources: Output>? = null
/**
* @param value All gateways and forwarding rules referenced by this policy and extensions must share the same load balancing scheme.
* For more information, refer to [Backend services overview](https://cloud.google.com/load-balancing/docs/backend-service).
* Possible values are: `INTERNAL_MANAGED`, `EXTERNAL_MANAGED`, `INTERNAL_SELF_MANAGED`.
*/
@JvmName("qjbdoxnasscldytm")
public suspend fun loadBalancingScheme(`value`: Output) {
this.loadBalancingScheme = value
}
/**
* @param value A list of references to the Forwarding Rules on which this policy will be applied.
* - - -
*/
@JvmName("ecrwdvuvahrtkphl")
public suspend fun resources(`value`: Output>) {
this.resources = value
}
@JvmName("ewvbdisedsccflmo")
public suspend fun resources(vararg values: Output) {
this.resources = Output.all(values.asList())
}
/**
* @param values A list of references to the Forwarding Rules on which this policy will be applied.
* - - -
*/
@JvmName("hpvvmgsgwcjtiohk")
public suspend fun resources(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy