VmHostPlacementPolicyPropertiesArgs

data class VmHostPlacementPolicyPropertiesArgs(val affinityType: Output<Either<String, AffinityType>>, val displayName: Output<String>? = null, val hostMembers: Output<List<String>>, val state: Output<Either<String, PlacementPolicyState>>? = null, val type: Output<String>, val vmMembers: Output<List<String>>) : ConvertibleToJava<VmHostPlacementPolicyPropertiesArgs>

VM-Host placement policy properties

Constructors

Link copied to clipboard
constructor(affinityType: Output<Either<String, AffinityType>>, displayName: Output<String>? = null, hostMembers: Output<List<String>>, state: Output<Either<String, PlacementPolicyState>>? = null, type: Output<String>, vmMembers: Output<List<String>>)

Properties

Link copied to clipboard
val affinityType: Output<Either<String, AffinityType>>

placement policy affinity type

Link copied to clipboard
val displayName: Output<String>? = null

Display name of the placement policy

Link copied to clipboard
val hostMembers: Output<List<String>>

Host members list

Link copied to clipboard
val state: Output<Either<String, PlacementPolicyState>>? = null

Whether the placement policy is enabled or disabled

Link copied to clipboard
val type: Output<String>

placement policy type Expected value is 'VmHost'.

Link copied to clipboard
val vmMembers: Output<List<String>>

Virtual machine members list

Functions

Link copied to clipboard
open override fun toJava(): VmHostPlacementPolicyPropertiesArgs