com.pulumi.azure.apimanagement.kotlin.inputs.ApiOperationRequestArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-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.azure.apimanagement.kotlin.inputs
import com.pulumi.azure.apimanagement.inputs.ApiOperationRequestArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
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 A description of the HTTP Request, which may include HTML tags.
* @property headers One or more `header` blocks as defined above.
* @property queryParameters One or more `query_parameter` blocks as defined above.
* @property representations One or more `representation` blocks as defined below.
*/
public data class ApiOperationRequestArgs(
public val description: Output? = null,
public val headers: Output>? = null,
public val queryParameters: Output>? = null,
public val representations: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.apimanagement.inputs.ApiOperationRequestArgs =
com.pulumi.azure.apimanagement.inputs.ApiOperationRequestArgs.builder()
.description(description?.applyValue({ args0 -> args0 }))
.headers(
headers?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.queryParameters(
queryParameters?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.representations(
representations?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [ApiOperationRequestArgs].
*/
@PulumiTagMarker
public class ApiOperationRequestArgsBuilder internal constructor() {
private var description: Output? = null
private var headers: Output>? = null
private var queryParameters: Output>? = null
private var representations: Output>? = null
/**
* @param value A description of the HTTP Request, which may include HTML tags.
*/
@JvmName("akphqvbysggjtahk")
public suspend fun description(`value`: Output) {
this.description = value
}
/**
* @param value One or more `header` blocks as defined above.
*/
@JvmName("xddlhfeslfirmcmd")
public suspend fun headers(`value`: Output>) {
this.headers = value
}
@JvmName("lnoiwifrvudcbbqg")
public suspend fun headers(vararg values: Output) {
this.headers = Output.all(values.asList())
}
/**
* @param values One or more `header` blocks as defined above.
*/
@JvmName("wouxiiycciofpwgp")
public suspend fun headers(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy