Class ComputeClusterVmHostRuleArgs
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 ComputeClusterVmHostRuleArgs : ResourceArgs
Constructors
View SourceComputeClusterVmHostRuleArgs()
Declaration
public ComputeClusterVmHostRuleArgs()
Properties
View SourceAffinityHostGroupName
When this field is used, the virtual
machines defined in vm_group_name will be run on the
hosts defined in this host group.
Declaration
public Input<string> AffinityHostGroupName { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
AntiAffinityHostGroupName
When this field is used, the
virtual machines defined in vm_group_name will not be
run on the hosts defined in this host group.
Declaration
public Input<string> AntiAffinityHostGroupName { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
ComputeClusterId
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> |
VmGroupName
The name of the virtual machine group to use with this rule.
Declaration
public Input<string> VmGroupName { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |