com.pulumi.gcp.compute.kotlin.outputs.BackendServiceLocalityLbPolicyCustomPolicy.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.compute.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property data An optional, arbitrary JSON object with configuration data, understood
* by a locally installed custom policy implementation.
* @property name Identifies the custom policy.
* The value should match the type the custom implementation is registered
* with on the gRPC clients. It should follow protocol buffer
* message naming conventions and include the full path (e.g.
* myorg.CustomLbPolicy). The maximum length is 256 characters.
* Note that specifying the same custom policy more than once for a
* backend is not a valid configuration and will be rejected.
*/
public data class BackendServiceLocalityLbPolicyCustomPolicy(
public val `data`: String? = null,
public val name: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.compute.outputs.BackendServiceLocalityLbPolicyCustomPolicy): BackendServiceLocalityLbPolicyCustomPolicy = BackendServiceLocalityLbPolicyCustomPolicy(
`data` = javaType.`data`().map({ args0 -> args0 }).orElse(null),
name = javaType.name(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy