Show / Hide Table of Contents

Class DatastoreClusterVmAntiAffinityRuleState

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

Constructors

View Source

DatastoreClusterVmAntiAffinityRuleState()

Declaration
public DatastoreClusterVmAntiAffinityRuleState()

Properties

View Source

DatastoreClusterId

The managed object reference ID of the datastore cluster to put the group in. Forces a new resource if changed.

Declaration
public Input<string> DatastoreClusterId { 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 different datastores from each other.

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