Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.datareplication.kotlin.inputs
import com.pulumi.azurenative.datareplication.inputs.HyperVToAzStackHCIProtectedItemModelCustomPropertiesArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Boolean
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* HyperV to AzStackHCI Protected item model custom properties.
* @property customLocationRegion Gets or sets the location of Azure Arc HCI custom location resource.
* @property disksToInclude Gets or sets the list of disks to replicate.
* @property dynamicMemoryConfig Protected item dynamic memory config.
* @property fabricDiscoveryMachineId Gets or sets the ARM Id of the discovered machine.
* @property hyperVGeneration Gets or sets the hypervisor generation of the virtual machine.
* @property instanceType Gets or sets the instance type.
* Expected value is 'HyperVToAzStackHCI'.
* @property isDynamicRam Gets or sets a value indicating whether memory is dynamical.
* @property nicsToInclude Gets or sets the list of VM NIC to replicate.
* @property runAsAccountId Gets or sets the Run As account Id.
* @property sourceDraName Gets or sets the source DRA name.
* @property storageContainerId Gets or sets the target storage container ARM Id.
* @property targetArcClusterCustomLocationId Gets or sets the Target Arc Cluster Custom Location ARM Id.
* @property targetCpuCores Gets or sets the target CPU cores.
* @property targetDraName Gets or sets the target DRA name.
* @property targetHciClusterId Gets or sets the Target HCI Cluster ARM Id.
* @property targetMemoryInMegaBytes Gets or sets the target memory in mega-bytes.
* @property targetNetworkId Gets or sets the target network Id within AzStackHCI Cluster.
* @property targetResourceGroupId Gets or sets the target resource group ARM Id.
* @property targetVmName Gets or sets the target VM display name.
* @property testNetworkId Gets or sets the target test network Id within AzStackHCI Cluster.
*/
public data class HyperVToAzStackHCIProtectedItemModelCustomPropertiesArgs(
public val customLocationRegion: Output,
public val disksToInclude: Output>,
public val dynamicMemoryConfig: Output? = null,
public val fabricDiscoveryMachineId: Output,
public val hyperVGeneration: Output,
public val instanceType: Output,
public val isDynamicRam: Output? = null,
public val nicsToInclude: Output>,
public val runAsAccountId: Output,
public val sourceDraName: Output,
public val storageContainerId: Output,
public val targetArcClusterCustomLocationId: Output,
public val targetCpuCores: Output? = null,
public val targetDraName: Output,
public val targetHciClusterId: Output,
public val targetMemoryInMegaBytes: Output? = null,
public val targetNetworkId: Output? = null,
public val targetResourceGroupId: Output,
public val targetVmName: Output? = null,
public val testNetworkId: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.datareplication.inputs.HyperVToAzStackHCIProtectedItemModelCustomPropertiesArgs =
com.pulumi.azurenative.datareplication.inputs.HyperVToAzStackHCIProtectedItemModelCustomPropertiesArgs.builder()
.customLocationRegion(customLocationRegion.applyValue({ args0 -> args0 }))
.disksToInclude(
disksToInclude.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.dynamicMemoryConfig(
dynamicMemoryConfig?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.fabricDiscoveryMachineId(fabricDiscoveryMachineId.applyValue({ args0 -> args0 }))
.hyperVGeneration(hyperVGeneration.applyValue({ args0 -> args0 }))
.instanceType(instanceType.applyValue({ args0 -> args0 }))
.isDynamicRam(isDynamicRam?.applyValue({ args0 -> args0 }))
.nicsToInclude(
nicsToInclude.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.runAsAccountId(runAsAccountId.applyValue({ args0 -> args0 }))
.sourceDraName(sourceDraName.applyValue({ args0 -> args0 }))
.storageContainerId(storageContainerId.applyValue({ args0 -> args0 }))
.targetArcClusterCustomLocationId(targetArcClusterCustomLocationId.applyValue({ args0 -> args0 }))
.targetCpuCores(targetCpuCores?.applyValue({ args0 -> args0 }))
.targetDraName(targetDraName.applyValue({ args0 -> args0 }))
.targetHciClusterId(targetHciClusterId.applyValue({ args0 -> args0 }))
.targetMemoryInMegaBytes(targetMemoryInMegaBytes?.applyValue({ args0 -> args0 }))
.targetNetworkId(targetNetworkId?.applyValue({ args0 -> args0 }))
.targetResourceGroupId(targetResourceGroupId.applyValue({ args0 -> args0 }))
.targetVmName(targetVmName?.applyValue({ args0 -> args0 }))
.testNetworkId(testNetworkId?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [HyperVToAzStackHCIProtectedItemModelCustomPropertiesArgs].
*/
@PulumiTagMarker
public class HyperVToAzStackHCIProtectedItemModelCustomPropertiesArgsBuilder internal constructor() {
private var customLocationRegion: Output? = null
private var disksToInclude: Output>? = null
private var dynamicMemoryConfig: Output? = null
private var fabricDiscoveryMachineId: Output? = null
private var hyperVGeneration: Output? = null
private var instanceType: Output? = null
private var isDynamicRam: Output? = null
private var nicsToInclude: Output>? = null
private var runAsAccountId: Output? = null
private var sourceDraName: Output? = null
private var storageContainerId: Output? = null
private var targetArcClusterCustomLocationId: Output? = null
private var targetCpuCores: Output? = null
private var targetDraName: Output? = null
private var targetHciClusterId: Output? = null
private var targetMemoryInMegaBytes: Output? = null
private var targetNetworkId: Output? = null
private var targetResourceGroupId: Output? = null
private var targetVmName: Output? = null
private var testNetworkId: Output? = null
/**
* @param value Gets or sets the location of Azure Arc HCI custom location resource.
*/
@JvmName("kitouktsmfsxurjy")
public suspend fun customLocationRegion(`value`: Output) {
this.customLocationRegion = value
}
/**
* @param value Gets or sets the list of disks to replicate.
*/
@JvmName("ejsvvtepoiielgaa")
public suspend fun disksToInclude(`value`: Output>) {
this.disksToInclude = value
}
@JvmName("ogkacuqchtdibgua")
public suspend fun disksToInclude(vararg values: Output) {
this.disksToInclude = Output.all(values.asList())
}
/**
* @param values Gets or sets the list of disks to replicate.
*/
@JvmName("knkdstdydhvfpfay")
public suspend fun disksToInclude(values: List