Show / Hide Table of Contents

Class ComputeClusterVmAffinityRuleArgs

Inheritance
System.Object
InputArgs
ResourceArgs
ComputeClusterVmAffinityRuleArgs
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 ComputeClusterVmAffinityRuleArgs : ResourceArgs

Constructors

View Source

ComputeClusterVmAffinityRuleArgs()

Declaration
public ComputeClusterVmAffinityRuleArgs()

Properties

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

VirtualMachineIds

The UUIDs of the virtual machines to run on the same host together.

Declaration
public InputList<string> VirtualMachineIds { get; set; }
Property Value
Type Description
InputList<System.String>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.