com.pulumi.azure.siterecovery.kotlin.outputs.ReplicatedVMNetworkInterface.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.siterecovery.kotlin.outputs
import kotlin.Boolean
import kotlin.Deprecated
import kotlin.String
import kotlin.Suppress
/**
*
* @property failoverTestPublicIpAddressId Id of the public IP object to use when a test failover is done.
* @property failoverTestStaticIp Static IP to assign when a test failover is done.
* @property failoverTestSubnetName Name of the subnet to to use when a test failover is done.
* @property isPrimary
* @property recoveryPublicIpAddressId Id of the public IP object to use when a failover is done.
* @property sourceNetworkInterfaceId (Required if the network_interface block is specified) Id source network interface.
* @property targetStaticIp Static IP to assign when a failover is done.
* @property targetSubnetName Name of the subnet to to use when a failover is done.
*/
public data class ReplicatedVMNetworkInterface(
public val failoverTestPublicIpAddressId: String? = null,
public val failoverTestStaticIp: String? = null,
public val failoverTestSubnetName: String? = null,
@Deprecated(
message = """
this property is not used and will be removed in version 4.0 of the provider
""",
)
public val isPrimary: Boolean? = null,
public val recoveryPublicIpAddressId: String? = null,
public val sourceNetworkInterfaceId: String? = null,
public val targetStaticIp: String? = null,
public val targetSubnetName: String? = null,
) {
public companion object {
public
fun toKotlin(javaType: com.pulumi.azure.siterecovery.outputs.ReplicatedVMNetworkInterface):
ReplicatedVMNetworkInterface = ReplicatedVMNetworkInterface(
failoverTestPublicIpAddressId = javaType.failoverTestPublicIpAddressId().map({ args0 ->
args0
}).orElse(null),
failoverTestStaticIp = javaType.failoverTestStaticIp().map({ args0 -> args0 }).orElse(null),
failoverTestSubnetName = javaType.failoverTestSubnetName().map({ args0 -> args0 }).orElse(null),
isPrimary = javaType.isPrimary().map({ args0 -> args0 }).orElse(null),
recoveryPublicIpAddressId = javaType.recoveryPublicIpAddressId().map({ args0 ->
args0
}).orElse(null),
sourceNetworkInterfaceId = javaType.sourceNetworkInterfaceId().map({ args0 -> args0 }).orElse(null),
targetStaticIp = javaType.targetStaticIp().map({ args0 -> args0 }).orElse(null),
targetSubnetName = javaType.targetSubnetName().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy