VmHostPlacementPolicyPropertiesArgs

data class VmHostPlacementPolicyPropertiesArgs(val affinityStrength: Output<Either<String, AffinityStrength>>? = null, val affinityType: Output<Either<String, AffinityType>>, val azureHybridBenefitType: Output<Either<String, AzureHybridBenefitType>>? = null, 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(affinityStrength: Output<Either<String, AffinityStrength>>? = null, affinityType: Output<Either<String, AffinityType>>, azureHybridBenefitType: Output<Either<String, AzureHybridBenefitType>>? = null, 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 affinityStrength: Output<Either<String, AffinityStrength>>? = null

vm-host placement policy affinity strength (should/must)

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

placement policy affinity type

Link copied to clipboard

placement policy azure hybrid benefit opt-in 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