com.pulumi.googlenative.compute.v1.kotlin.enums.InterconnectAttachmentEdgeAvailabilityDomain.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.googlenative.compute.v1.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* Desired availability domain for the attachment. Only available for type PARTNER, at creation time, and can take one of the following values: - AVAILABILITY_DOMAIN_ANY - AVAILABILITY_DOMAIN_1 - AVAILABILITY_DOMAIN_2 For improved reliability, customers should configure a pair of attachments, one per availability domain. The selected availability domain will be provided to the Partner via the pairing key, so that the provisioned circuit will lie in the specified domain. If not specified, the value will default to AVAILABILITY_DOMAIN_ANY.
*/
public enum class InterconnectAttachmentEdgeAvailabilityDomain(
public val javaValue: com.pulumi.googlenative.compute.v1.enums.InterconnectAttachmentEdgeAvailabilityDomain,
) :
ConvertibleToJava {
AvailabilityDomain1(com.pulumi.googlenative.compute.v1.enums.InterconnectAttachmentEdgeAvailabilityDomain.AvailabilityDomain1),
AvailabilityDomain2(com.pulumi.googlenative.compute.v1.enums.InterconnectAttachmentEdgeAvailabilityDomain.AvailabilityDomain2),
AvailabilityDomainAny(com.pulumi.googlenative.compute.v1.enums.InterconnectAttachmentEdgeAvailabilityDomain.AvailabilityDomainAny),
;
override fun toJava(): com.pulumi.googlenative.compute.v1.enums.InterconnectAttachmentEdgeAvailabilityDomain =
javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.googlenative.compute.v1.enums.InterconnectAttachmentEdgeAvailabilityDomain): InterconnectAttachmentEdgeAvailabilityDomain =
InterconnectAttachmentEdgeAvailabilityDomain.values().first { it.javaValue == javaType }
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy