com.pulumi.gcp.networkservices.kotlin.outputs.EndpointPolicyEndpointMatcherMetadataLabelMatcher.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.networkservices.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property metadataLabelMatchCriteria Specifies how matching should be done.
* Possible values are: `MATCH_ANY`, `MATCH_ALL`.
* @property metadataLabels The list of label value pairs that must match labels in the provided metadata based on filterMatchCriteria
* Structure is documented below.
*/
public data class EndpointPolicyEndpointMatcherMetadataLabelMatcher(
public val metadataLabelMatchCriteria: String,
public val metadataLabels: List? =
null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.networkservices.outputs.EndpointPolicyEndpointMatcherMetadataLabelMatcher): EndpointPolicyEndpointMatcherMetadataLabelMatcher =
EndpointPolicyEndpointMatcherMetadataLabelMatcher(
metadataLabelMatchCriteria = javaType.metadataLabelMatchCriteria(),
metadataLabels = javaType.metadataLabels().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.networkservices.kotlin.outputs.EndpointPolicyEndpointMatcherMetadataLabelMatcherMetadataLabel.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy