Class ComputeClusterVmAntiAffinityRuleArgs
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.VSphere
Assembly: Pulumi.VSphere.dll
Syntax
public sealed class ComputeClusterVmAntiAffinityRuleArgs : ResourceArgs
Constructors
View SourceComputeClusterVmAntiAffinityRuleArgs()
Declaration
public ComputeClusterVmAntiAffinityRuleArgs()
Properties
View SourceComputeClusterId
The managed object reference ID of the cluster to put the group in. Forces a new resource if changed.
Declaration
public Input<string> ComputeClusterId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Enabled
Enable this rule in the cluster. Default: true.
Declaration
public Input<bool> Enabled { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
Mandatory
When this value is true, prevents any virtual
machine operations that may violate this rule. Default: false.
Declaration
public Input<bool> Mandatory { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
Name
The name of the rule. This must be unique in the cluster.
Declaration
public Input<string> Name { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
VirtualMachineIds
The UUIDs of the virtual machines to run on hosts different from each other.
Declaration
public InputList<string> VirtualMachineIds { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |