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

com.pulumi.azure.cdn.kotlin.outputs.FrontdoorRuleConditions.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: 6.14.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.cdn.kotlin.outputs

import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property clientPortConditions A `client_port_condition` block as defined below.
 * @property cookiesConditions A `cookies_condition` block as defined below.
 * @property hostNameConditions A `host_name_condition` block as defined below.
 * @property httpVersionConditions A `http_version_condition` block as defined below.
 * @property isDeviceConditions A `is_device_condition` block as defined below.
 * @property postArgsConditions A `post_args_condition` block as defined below.
 * @property queryStringConditions A `query_string_condition` block as defined below.
 * @property remoteAddressConditions A `remote_address_condition` block as defined below.
 * @property requestBodyConditions A `request_body_condition` block as defined below.
 * @property requestHeaderConditions A `request_header_condition` block as defined below.
 * @property requestMethodConditions A `request_method_condition` block as defined below.
 * @property requestSchemeConditions A `request_scheme_condition` block as defined below.
 * @property requestUriConditions A `request_uri_condition` block as defined below.
 * @property serverPortConditions A `server_port_condition` block as defined below.
 * @property socketAddressConditions A `socket_address_condition` block as defined below.
 * @property sslProtocolConditions A `ssl_protocol_condition` block as defined below.
 * @property urlFileExtensionConditions A `url_file_extension_condition` block as defined below.
 * @property urlFilenameConditions A `url_filename_condition` block as defined below.
 * @property urlPathConditions A `url_path_condition` block as defined below.
 */
public data class FrontdoorRuleConditions(
    public val clientPortConditions: List? = null,
    public val cookiesConditions: List? = null,
    public val hostNameConditions: List? = null,
    public val httpVersionConditions: List? = null,
    public val isDeviceConditions: List? = null,
    public val postArgsConditions: List? = null,
    public val queryStringConditions: List? = null,
    public val remoteAddressConditions: List? = null,
    public val requestBodyConditions: List? = null,
    public val requestHeaderConditions: List? = null,
    public val requestMethodConditions: List? = null,
    public val requestSchemeConditions: List? = null,
    public val requestUriConditions: List? = null,
    public val serverPortConditions: List? = null,
    public val socketAddressConditions: List? = null,
    public val sslProtocolConditions: List? = null,
    public val urlFileExtensionConditions: List? =
        null,
    public val urlFilenameConditions: List? = null,
    public val urlPathConditions: List? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.cdn.outputs.FrontdoorRuleConditions):
            FrontdoorRuleConditions = FrontdoorRuleConditions(
            clientPortConditions = javaType.clientPortConditions().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.cdn.kotlin.outputs.FrontdoorRuleConditionsClientPortCondition.Companion.toKotlin(args0)
                })
            }),
            cookiesConditions = javaType.cookiesConditions().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.cdn.kotlin.outputs.FrontdoorRuleConditionsCookiesCondition.Companion.toKotlin(args0)
                })
            }),
            hostNameConditions = javaType.hostNameConditions().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.cdn.kotlin.outputs.FrontdoorRuleConditionsHostNameCondition.Companion.toKotlin(args0)
                })
            }),
            httpVersionConditions = javaType.httpVersionConditions().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.cdn.kotlin.outputs.FrontdoorRuleConditionsHttpVersionCondition.Companion.toKotlin(args0)
                })
            }),
            isDeviceConditions = javaType.isDeviceConditions().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.cdn.kotlin.outputs.FrontdoorRuleConditionsIsDeviceCondition.Companion.toKotlin(args0)
                })
            }),
            postArgsConditions = javaType.postArgsConditions().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.cdn.kotlin.outputs.FrontdoorRuleConditionsPostArgsCondition.Companion.toKotlin(args0)
                })
            }),
            queryStringConditions = javaType.queryStringConditions().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.cdn.kotlin.outputs.FrontdoorRuleConditionsQueryStringCondition.Companion.toKotlin(args0)
                })
            }),
            remoteAddressConditions = javaType.remoteAddressConditions().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.cdn.kotlin.outputs.FrontdoorRuleConditionsRemoteAddressCondition.Companion.toKotlin(args0)
                })
            }),
            requestBodyConditions = javaType.requestBodyConditions().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.cdn.kotlin.outputs.FrontdoorRuleConditionsRequestBodyCondition.Companion.toKotlin(args0)
                })
            }),
            requestHeaderConditions = javaType.requestHeaderConditions().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.cdn.kotlin.outputs.FrontdoorRuleConditionsRequestHeaderCondition.Companion.toKotlin(args0)
                })
            }),
            requestMethodConditions = javaType.requestMethodConditions().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.cdn.kotlin.outputs.FrontdoorRuleConditionsRequestMethodCondition.Companion.toKotlin(args0)
                })
            }),
            requestSchemeConditions = javaType.requestSchemeConditions().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.cdn.kotlin.outputs.FrontdoorRuleConditionsRequestSchemeCondition.Companion.toKotlin(args0)
                })
            }),
            requestUriConditions = javaType.requestUriConditions().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.cdn.kotlin.outputs.FrontdoorRuleConditionsRequestUriCondition.Companion.toKotlin(args0)
                })
            }),
            serverPortConditions = javaType.serverPortConditions().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.cdn.kotlin.outputs.FrontdoorRuleConditionsServerPortCondition.Companion.toKotlin(args0)
                })
            }),
            socketAddressConditions = javaType.socketAddressConditions().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.cdn.kotlin.outputs.FrontdoorRuleConditionsSocketAddressCondition.Companion.toKotlin(args0)
                })
            }),
            sslProtocolConditions = javaType.sslProtocolConditions().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.cdn.kotlin.outputs.FrontdoorRuleConditionsSslProtocolCondition.Companion.toKotlin(args0)
                })
            }),
            urlFileExtensionConditions = javaType.urlFileExtensionConditions().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.cdn.kotlin.outputs.FrontdoorRuleConditionsUrlFileExtensionCondition.Companion.toKotlin(args0)
                })
            }),
            urlFilenameConditions = javaType.urlFilenameConditions().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.cdn.kotlin.outputs.FrontdoorRuleConditionsUrlFilenameCondition.Companion.toKotlin(args0)
                })
            }),
            urlPathConditions = javaType.urlPathConditions().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.cdn.kotlin.outputs.FrontdoorRuleConditionsUrlPathCondition.Companion.toKotlin(args0)
                })
            }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy