Show / Hide Table of Contents

Class ComputeClusterVmHostRuleState

Inheritance
System.Object
InputArgs
ResourceArgs
ComputeClusterVmHostRuleState
Inherited Members
ResourceArgs.Empty
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 ComputeClusterVmHostRuleState : ResourceArgs

Constructors

View Source

ComputeClusterVmHostRuleState()

Declaration
public ComputeClusterVmHostRuleState()

Properties

View Source

AffinityHostGroupName

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>
View Source

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>
View Source

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>
View Source

Enabled

Enable this rule in the cluster. Default: true.

Declaration
public Input<bool> Enabled { get; set; }
Property Value
Type Description
Input<System.Boolean>
View Source

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>
View Source

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>
View Source

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>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.