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

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

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

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property headerAction The action to be taken on the specified `header_name`. Possible values include `Append`, `Overwrite` or `Delete`.
 * > **NOTE:** `Append` causes the specified header to be added to the request with the specified value. If the header is already present, the value is appended to the existing header value using string concatenation. No delimiters are added. `Overwrite` causes specified header to be added to the request with the specified value. If the header is already present, the specified value overwrites the existing value. `Delete` causes the header to be deleted from the request.
 * @property headerName The name of the header to modify.
 * @property value The value to append or overwrite.
 * ->**NOTE:** `value` is required if the `header_action` is set to `Append` or `Overwrite`.
 */
public data class FrontdoorRuleActionsRequestHeaderAction(
    public val headerAction: String,
    public val headerName: String,
    public val `value`: String? = null,
) {
    public companion object {
        public
        fun toKotlin(javaType: com.pulumi.azure.cdn.outputs.FrontdoorRuleActionsRequestHeaderAction):
            FrontdoorRuleActionsRequestHeaderAction = FrontdoorRuleActionsRequestHeaderAction(
            headerAction = javaType.headerAction(),
            headerName = javaType.headerName(),
            `value` = javaType.`value`().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy