com.pulumi.azure.siterecovery.kotlin.outputs.VmwareReplicatedVmNetworkInterface.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.String
import kotlin.Suppress
/**
*
* @property isPrimary Whether this `network_interface` is primary for the replicated VM.
* @property sourceMacAddress Mac address of the network interface of source VM.
* @property targetStaticIp Static IP to assign when a failover is done.
* @property targetSubnetName Name of the subnet to use when a failover is done.
* @property testSubnetName Name of the subnet to use when a test failover is done.
*/
public data class VmwareReplicatedVmNetworkInterface(
public val isPrimary: Boolean,
public val sourceMacAddress: String,
public val targetStaticIp: String? = null,
public val targetSubnetName: String? = null,
public val testSubnetName: String? = null,
) {
public companion object {
public
fun toKotlin(javaType: com.pulumi.azure.siterecovery.outputs.VmwareReplicatedVmNetworkInterface):
VmwareReplicatedVmNetworkInterface = VmwareReplicatedVmNetworkInterface(
isPrimary = javaType.isPrimary(),
sourceMacAddress = javaType.sourceMacAddress(),
targetStaticIp = javaType.targetStaticIp().map({ args0 -> args0 }).orElse(null),
targetSubnetName = javaType.targetSubnetName().map({ args0 -> args0 }).orElse(null),
testSubnetName = javaType.testSubnetName().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy