Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.network.kotlin.inputs
import com.pulumi.azure.network.inputs.FirewallApplicationRuleCollectionRuleArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property description Specifies a description for the rule.
* @property fqdnTags A list of FQDN tags. Possible values are `AppServiceEnvironment`, `AzureBackup`, `AzureKubernetesService`, `HDInsight`, `MicrosoftActiveProtectionService`, `WindowsDiagnostics`, `WindowsUpdate` and `WindowsVirtualDesktop`.
* @property name Specifies the name of the rule.
* @property protocols One or more `protocol` blocks as defined below.
* @property sourceAddresses A list of source IP addresses and/or IP ranges.
* @property sourceIpGroups A list of source IP Group IDs for the rule.
* > **NOTE** At least one of `source_addresses` and `source_ip_groups` must be specified for a rule.
* @property targetFqdns A list of FQDNs.
*/
public data class FirewallApplicationRuleCollectionRuleArgs(
public val description: Output? = null,
public val fqdnTags: Output>? = null,
public val name: Output,
public val protocols: Output>? = null,
public val sourceAddresses: Output>? = null,
public val sourceIpGroups: Output>? = null,
public val targetFqdns: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.network.inputs.FirewallApplicationRuleCollectionRuleArgs =
com.pulumi.azure.network.inputs.FirewallApplicationRuleCollectionRuleArgs.builder()
.description(description?.applyValue({ args0 -> args0 }))
.fqdnTags(fqdnTags?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.name(name.applyValue({ args0 -> args0 }))
.protocols(
protocols?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.sourceAddresses(sourceAddresses?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.sourceIpGroups(sourceIpGroups?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.targetFqdns(targetFqdns?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [FirewallApplicationRuleCollectionRuleArgs].
*/
@PulumiTagMarker
public class FirewallApplicationRuleCollectionRuleArgsBuilder internal constructor() {
private var description: Output? = null
private var fqdnTags: Output>? = null
private var name: Output? = null
private var protocols: Output>? = null
private var sourceAddresses: Output>? = null
private var sourceIpGroups: Output>? = null
private var targetFqdns: Output>? = null
/**
* @param value Specifies a description for the rule.
*/
@JvmName("lqfvmoqrlunkchrg")
public suspend fun description(`value`: Output) {
this.description = value
}
/**
* @param value A list of FQDN tags. Possible values are `AppServiceEnvironment`, `AzureBackup`, `AzureKubernetesService`, `HDInsight`, `MicrosoftActiveProtectionService`, `WindowsDiagnostics`, `WindowsUpdate` and `WindowsVirtualDesktop`.
*/
@JvmName("hcxixfcknkobvnjx")
public suspend fun fqdnTags(`value`: Output>) {
this.fqdnTags = value
}
@JvmName("efpnyhadtaajqxwu")
public suspend fun fqdnTags(vararg values: Output) {
this.fqdnTags = Output.all(values.asList())
}
/**
* @param values A list of FQDN tags. Possible values are `AppServiceEnvironment`, `AzureBackup`, `AzureKubernetesService`, `HDInsight`, `MicrosoftActiveProtectionService`, `WindowsDiagnostics`, `WindowsUpdate` and `WindowsVirtualDesktop`.
*/
@JvmName("jwjovtplesiknvhd")
public suspend fun fqdnTags(values: List