Represents a {@link https://registry.terraform.io/providers/hashicorp/vsphere/2.11.0/docs/resources/datastore_cluster vsphere_datastore_cluster}.
using HashiCorp.Cdktf.Providers.Vsphere;
new DatastoreCluster(Construct Scope, string Id, DatastoreClusterConfig Config);
Name | Type | Description |
---|---|---|
Scope |
Constructs.Construct |
The scope in which to define this construct. |
Id |
string |
The scoped construct ID. |
Config |
DatastoreClusterConfig |
No description. |
- Type: Constructs.Construct
The scope in which to define this construct.
- Type: string
The scoped construct ID.
Must be unique amongst siblings in the same scope
- Type: DatastoreClusterConfig
Name | Description |
---|---|
ToString |
Returns a string representation of this construct. |
AddOverride |
No description. |
OverrideLogicalId |
Overrides the auto-generated logical ID with a specific ID. |
ResetOverrideLogicalId |
Resets a previously passed logical Id to use the auto-generated logical id again. |
ToHclTerraform |
No description. |
ToMetadata |
No description. |
ToTerraform |
Adds this resource to the terraform JSON output. |
AddMoveTarget |
Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. |
GetAnyMapAttribute |
No description. |
GetBooleanAttribute |
No description. |
GetBooleanMapAttribute |
No description. |
GetListAttribute |
No description. |
GetNumberAttribute |
No description. |
GetNumberListAttribute |
No description. |
GetNumberMapAttribute |
No description. |
GetStringAttribute |
No description. |
GetStringMapAttribute |
No description. |
HasResourceMove |
No description. |
ImportFrom |
No description. |
InterpolationForAttribute |
No description. |
MoveFromId |
Move the resource corresponding to "id" to this resource. |
MoveTo |
Moves this resource to the target resource given by moveTarget. |
MoveToId |
Moves this resource to the resource corresponding to "id". |
ResetCustomAttributes |
No description. |
ResetFolder |
No description. |
ResetId |
No description. |
ResetSdrsAdvancedOptions |
No description. |
ResetSdrsAutomationLevel |
No description. |
ResetSdrsDefaultIntraVmAffinity |
No description. |
ResetSdrsEnabled |
No description. |
ResetSdrsFreeSpaceThreshold |
No description. |
ResetSdrsFreeSpaceThresholdMode |
No description. |
ResetSdrsFreeSpaceUtilizationDifference |
No description. |
ResetSdrsIoBalanceAutomationLevel |
No description. |
ResetSdrsIoLatencyThreshold |
No description. |
ResetSdrsIoLoadBalanceEnabled |
No description. |
ResetSdrsIoLoadImbalanceThreshold |
No description. |
ResetSdrsIoReservableIopsThreshold |
No description. |
ResetSdrsIoReservablePercentThreshold |
No description. |
ResetSdrsIoReservableThresholdMode |
No description. |
ResetSdrsLoadBalanceInterval |
No description. |
ResetSdrsPolicyEnforcementAutomationLevel |
No description. |
ResetSdrsRuleEnforcementAutomationLevel |
No description. |
ResetSdrsSpaceBalanceAutomationLevel |
No description. |
ResetSdrsSpaceUtilizationThreshold |
No description. |
ResetSdrsVmEvacuationAutomationLevel |
No description. |
ResetTags |
No description. |
private string ToString()
Returns a string representation of this construct.
private void AddOverride(string Path, object Value)
- Type: string
- Type: object
private void OverrideLogicalId(string NewLogicalId)
Overrides the auto-generated logical ID with a specific ID.
- Type: string
The new logical ID to use for this stack element.
private void ResetOverrideLogicalId()
Resets a previously passed logical Id to use the auto-generated logical id again.
private object ToHclTerraform()
private object ToMetadata()
private object ToTerraform()
Adds this resource to the terraform JSON output.
private void AddMoveTarget(string MoveTarget)
Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move.
- Type: string
The string move target that will correspond to this resource.
private System.Collections.Generic.IDictionary<string, object> GetAnyMapAttribute(string TerraformAttribute)
- Type: string
private IResolvable GetBooleanAttribute(string TerraformAttribute)
- Type: string
private System.Collections.Generic.IDictionary<string, bool> GetBooleanMapAttribute(string TerraformAttribute)
- Type: string
private string[] GetListAttribute(string TerraformAttribute)
- Type: string
private double GetNumberAttribute(string TerraformAttribute)
- Type: string
private double[] GetNumberListAttribute(string TerraformAttribute)
- Type: string
private System.Collections.Generic.IDictionary<string, double> GetNumberMapAttribute(string TerraformAttribute)
- Type: string
private string GetStringAttribute(string TerraformAttribute)
- Type: string
private System.Collections.Generic.IDictionary<string, string> GetStringMapAttribute(string TerraformAttribute)
- Type: string
private object HasResourceMove()
private void ImportFrom(string Id, TerraformProvider Provider = null)
- Type: string
- Type: HashiCorp.Cdktf.TerraformProvider
private IResolvable InterpolationForAttribute(string TerraformAttribute)
- Type: string
private void MoveFromId(string Id)
Move the resource corresponding to "id" to this resource.
Note that the resource being moved from must be marked as moved using it's instance function.
- Type: string
Full id of resource being moved from, e.g. "aws_s3_bucket.example".
private void MoveTo(string MoveTarget, object Index = null)
Moves this resource to the target resource given by moveTarget.
- Type: string
The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to.
- Type: object
Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to.
private void MoveToId(string Id)
Moves this resource to the resource corresponding to "id".
- Type: string
Full id of resource to move to, e.g. "aws_s3_bucket.example".
private void ResetCustomAttributes()
private void ResetFolder()
private void ResetId()
private void ResetSdrsAdvancedOptions()
private void ResetSdrsAutomationLevel()
private void ResetSdrsDefaultIntraVmAffinity()
private void ResetSdrsEnabled()
private void ResetSdrsFreeSpaceThreshold()
private void ResetSdrsFreeSpaceThresholdMode()
private void ResetSdrsFreeSpaceUtilizationDifference()
private void ResetSdrsIoBalanceAutomationLevel()
private void ResetSdrsIoLatencyThreshold()
private void ResetSdrsIoLoadBalanceEnabled()
private void ResetSdrsIoLoadImbalanceThreshold()
private void ResetSdrsIoReservableIopsThreshold()
private void ResetSdrsIoReservablePercentThreshold()
private void ResetSdrsIoReservableThresholdMode()
private void ResetSdrsLoadBalanceInterval()
private void ResetSdrsPolicyEnforcementAutomationLevel()
private void ResetSdrsRuleEnforcementAutomationLevel()
private void ResetSdrsSpaceBalanceAutomationLevel()
private void ResetSdrsSpaceUtilizationThreshold()
private void ResetSdrsVmEvacuationAutomationLevel()
private void ResetTags()
Name | Description |
---|---|
IsConstruct |
Checks if x is a construct. |
IsTerraformElement |
No description. |
IsTerraformResource |
No description. |
GenerateConfigForImport |
Generates CDKTF code for importing a DatastoreCluster resource upon running "cdktf plan ". |
using HashiCorp.Cdktf.Providers.Vsphere;
DatastoreCluster.IsConstruct(object X);
Checks if x
is a construct.
Use this method instead of instanceof
to properly detect Construct
instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the constructs
library on
disk are seen as independent, completely different libraries. As a
consequence, the class Construct
in each copy of the constructs
library
is seen as a different class, and an instance of one class will not test as
instanceof
the other class. npm install
will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the constructs
library can be accidentally installed, and instanceof
will behave
unpredictably. It is safest to avoid using instanceof
, and using
this type-testing method instead.
- Type: object
Any object.
using HashiCorp.Cdktf.Providers.Vsphere;
DatastoreCluster.IsTerraformElement(object X);
- Type: object
using HashiCorp.Cdktf.Providers.Vsphere;
DatastoreCluster.IsTerraformResource(object X);
- Type: object
using HashiCorp.Cdktf.Providers.Vsphere;
DatastoreCluster.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null);
Generates CDKTF code for importing a DatastoreCluster resource upon running "cdktf plan ".
- Type: Constructs.Construct
The scope in which to define this construct.
- Type: string
The construct id used in the generated config for the DatastoreCluster to import.
- Type: string
The id of the existing DatastoreCluster that should be imported.
Refer to the {@link https://registry.terraform.io/providers/hashicorp/vsphere/2.11.0/docs/resources/datastore_cluster#import import section} in the documentation of this resource for the id to use
- Type: HashiCorp.Cdktf.TerraformProvider
? Optional instance of the provider where the DatastoreCluster to import is found.
Name | Type | Description |
---|---|---|
Node |
Constructs.Node |
The tree node. |
CdktfStack |
HashiCorp.Cdktf.TerraformStack |
No description. |
Fqn |
string |
No description. |
FriendlyUniqueId |
string |
No description. |
TerraformMetaArguments |
System.Collections.Generic.IDictionary<string, object> |
No description. |
TerraformResourceType |
string |
No description. |
TerraformGeneratorMetadata |
HashiCorp.Cdktf.TerraformProviderGeneratorMetadata |
No description. |
Connection |
object |
No description. |
Count |
object |
No description. |
DependsOn |
string[] |
No description. |
ForEach |
HashiCorp.Cdktf.ITerraformIterator |
No description. |
Lifecycle |
HashiCorp.Cdktf.TerraformResourceLifecycle |
No description. |
Provider |
HashiCorp.Cdktf.TerraformProvider |
No description. |
Provisioners |
object[] |
No description. |
CustomAttributesInput |
System.Collections.Generic.IDictionary<string, string> |
No description. |
DatacenterIdInput |
string |
No description. |
FolderInput |
string |
No description. |
IdInput |
string |
No description. |
NameInput |
string |
No description. |
SdrsAdvancedOptionsInput |
System.Collections.Generic.IDictionary<string, string> |
No description. |
SdrsAutomationLevelInput |
string |
No description. |
SdrsDefaultIntraVmAffinityInput |
object |
No description. |
SdrsEnabledInput |
object |
No description. |
SdrsFreeSpaceThresholdInput |
double |
No description. |
SdrsFreeSpaceThresholdModeInput |
string |
No description. |
SdrsFreeSpaceUtilizationDifferenceInput |
double |
No description. |
SdrsIoBalanceAutomationLevelInput |
string |
No description. |
SdrsIoLatencyThresholdInput |
double |
No description. |
SdrsIoLoadBalanceEnabledInput |
object |
No description. |
SdrsIoLoadImbalanceThresholdInput |
double |
No description. |
SdrsIoReservableIopsThresholdInput |
double |
No description. |
SdrsIoReservablePercentThresholdInput |
double |
No description. |
SdrsIoReservableThresholdModeInput |
string |
No description. |
SdrsLoadBalanceIntervalInput |
double |
No description. |
SdrsPolicyEnforcementAutomationLevelInput |
string |
No description. |
SdrsRuleEnforcementAutomationLevelInput |
string |
No description. |
SdrsSpaceBalanceAutomationLevelInput |
string |
No description. |
SdrsSpaceUtilizationThresholdInput |
double |
No description. |
SdrsVmEvacuationAutomationLevelInput |
string |
No description. |
TagsInput |
string[] |
No description. |
CustomAttributes |
System.Collections.Generic.IDictionary<string, string> |
No description. |
DatacenterId |
string |
No description. |
Folder |
string |
No description. |
Id |
string |
No description. |
Name |
string |
No description. |
SdrsAdvancedOptions |
System.Collections.Generic.IDictionary<string, string> |
No description. |
SdrsAutomationLevel |
string |
No description. |
SdrsDefaultIntraVmAffinity |
object |
No description. |
SdrsEnabled |
object |
No description. |
SdrsFreeSpaceThreshold |
double |
No description. |
SdrsFreeSpaceThresholdMode |
string |
No description. |
SdrsFreeSpaceUtilizationDifference |
double |
No description. |
SdrsIoBalanceAutomationLevel |
string |
No description. |
SdrsIoLatencyThreshold |
double |
No description. |
SdrsIoLoadBalanceEnabled |
object |
No description. |
SdrsIoLoadImbalanceThreshold |
double |
No description. |
SdrsIoReservableIopsThreshold |
double |
No description. |
SdrsIoReservablePercentThreshold |
double |
No description. |
SdrsIoReservableThresholdMode |
string |
No description. |
SdrsLoadBalanceInterval |
double |
No description. |
SdrsPolicyEnforcementAutomationLevel |
string |
No description. |
SdrsRuleEnforcementAutomationLevel |
string |
No description. |
SdrsSpaceBalanceAutomationLevel |
string |
No description. |
SdrsSpaceUtilizationThreshold |
double |
No description. |
SdrsVmEvacuationAutomationLevel |
string |
No description. |
Tags |
string[] |
No description. |
public Node Node { get; }
- Type: Constructs.Node
The tree node.
public TerraformStack CdktfStack { get; }
- Type: HashiCorp.Cdktf.TerraformStack
public string Fqn { get; }
- Type: string
public string FriendlyUniqueId { get; }
- Type: string
public System.Collections.Generic.IDictionary<string, object> TerraformMetaArguments { get; }
- Type: System.Collections.Generic.IDictionary<string, object>
public string TerraformResourceType { get; }
- Type: string
public TerraformProviderGeneratorMetadata TerraformGeneratorMetadata { get; }
- Type: HashiCorp.Cdktf.TerraformProviderGeneratorMetadata
public object Connection { get; }
- Type: object
public object Count { get; }
- Type: object
public string[] DependsOn { get; }
- Type: string[]
public ITerraformIterator ForEach { get; }
- Type: HashiCorp.Cdktf.ITerraformIterator
public TerraformResourceLifecycle Lifecycle { get; }
- Type: HashiCorp.Cdktf.TerraformResourceLifecycle
public TerraformProvider Provider { get; }
- Type: HashiCorp.Cdktf.TerraformProvider
public object[] Provisioners { get; }
- Type: object[]
public System.Collections.Generic.IDictionary<string, string> CustomAttributesInput { get; }
- Type: System.Collections.Generic.IDictionary<string, string>
public string DatacenterIdInput { get; }
- Type: string
public string FolderInput { get; }
- Type: string
public string IdInput { get; }
- Type: string
public string NameInput { get; }
- Type: string
public System.Collections.Generic.IDictionary<string, string> SdrsAdvancedOptionsInput { get; }
- Type: System.Collections.Generic.IDictionary<string, string>
public string SdrsAutomationLevelInput { get; }
- Type: string
public object SdrsDefaultIntraVmAffinityInput { get; }
- Type: object
public object SdrsEnabledInput { get; }
- Type: object
public double SdrsFreeSpaceThresholdInput { get; }
- Type: double
public string SdrsFreeSpaceThresholdModeInput { get; }
- Type: string
public double SdrsFreeSpaceUtilizationDifferenceInput { get; }
- Type: double
public string SdrsIoBalanceAutomationLevelInput { get; }
- Type: string
public double SdrsIoLatencyThresholdInput { get; }
- Type: double
public object SdrsIoLoadBalanceEnabledInput { get; }
- Type: object
public double SdrsIoLoadImbalanceThresholdInput { get; }
- Type: double
public double SdrsIoReservableIopsThresholdInput { get; }
- Type: double
public double SdrsIoReservablePercentThresholdInput { get; }
- Type: double
public string SdrsIoReservableThresholdModeInput { get; }
- Type: string
public double SdrsLoadBalanceIntervalInput { get; }
- Type: double
public string SdrsPolicyEnforcementAutomationLevelInput { get; }
- Type: string
public string SdrsRuleEnforcementAutomationLevelInput { get; }
- Type: string
public string SdrsSpaceBalanceAutomationLevelInput { get; }
- Type: string
public double SdrsSpaceUtilizationThresholdInput { get; }
- Type: double
public string SdrsVmEvacuationAutomationLevelInput { get; }
- Type: string
public string[] TagsInput { get; }
- Type: string[]
public System.Collections.Generic.IDictionary<string, string> CustomAttributes { get; }
- Type: System.Collections.Generic.IDictionary<string, string>
public string DatacenterId { get; }
- Type: string
public string Folder { get; }
- Type: string
public string Id { get; }
- Type: string
public string Name { get; }
- Type: string
public System.Collections.Generic.IDictionary<string, string> SdrsAdvancedOptions { get; }
- Type: System.Collections.Generic.IDictionary<string, string>
public string SdrsAutomationLevel { get; }
- Type: string
public object SdrsDefaultIntraVmAffinity { get; }
- Type: object
public object SdrsEnabled { get; }
- Type: object
public double SdrsFreeSpaceThreshold { get; }
- Type: double
public string SdrsFreeSpaceThresholdMode { get; }
- Type: string
public double SdrsFreeSpaceUtilizationDifference { get; }
- Type: double
public string SdrsIoBalanceAutomationLevel { get; }
- Type: string
public double SdrsIoLatencyThreshold { get; }
- Type: double
public object SdrsIoLoadBalanceEnabled { get; }
- Type: object
public double SdrsIoLoadImbalanceThreshold { get; }
- Type: double
public double SdrsIoReservableIopsThreshold { get; }
- Type: double
public double SdrsIoReservablePercentThreshold { get; }
- Type: double
public string SdrsIoReservableThresholdMode { get; }
- Type: string
public double SdrsLoadBalanceInterval { get; }
- Type: double
public string SdrsPolicyEnforcementAutomationLevel { get; }
- Type: string
public string SdrsRuleEnforcementAutomationLevel { get; }
- Type: string
public string SdrsSpaceBalanceAutomationLevel { get; }
- Type: string
public double SdrsSpaceUtilizationThreshold { get; }
- Type: double
public string SdrsVmEvacuationAutomationLevel { get; }
- Type: string
public string[] Tags { get; }
- Type: string[]
Name | Type | Description |
---|---|---|
TfResourceType |
string |
No description. |
public string TfResourceType { get; }
- Type: string
using HashiCorp.Cdktf.Providers.Vsphere;
new DatastoreClusterConfig {
object Connection = null,
object Count = null,
ITerraformDependable[] DependsOn = null,
ITerraformIterator ForEach = null,
TerraformResourceLifecycle Lifecycle = null,
TerraformProvider Provider = null,
object[] Provisioners = null,
string DatacenterId,
string Name,
System.Collections.Generic.IDictionary<string, string> CustomAttributes = null,
string Folder = null,
string Id = null,
System.Collections.Generic.IDictionary<string, string> SdrsAdvancedOptions = null,
string SdrsAutomationLevel = null,
object SdrsDefaultIntraVmAffinity = null,
object SdrsEnabled = null,
double SdrsFreeSpaceThreshold = null,
string SdrsFreeSpaceThresholdMode = null,
double SdrsFreeSpaceUtilizationDifference = null,
string SdrsIoBalanceAutomationLevel = null,
double SdrsIoLatencyThreshold = null,
object SdrsIoLoadBalanceEnabled = null,
double SdrsIoLoadImbalanceThreshold = null,
double SdrsIoReservableIopsThreshold = null,
double SdrsIoReservablePercentThreshold = null,
string SdrsIoReservableThresholdMode = null,
double SdrsLoadBalanceInterval = null,
string SdrsPolicyEnforcementAutomationLevel = null,
string SdrsRuleEnforcementAutomationLevel = null,
string SdrsSpaceBalanceAutomationLevel = null,
double SdrsSpaceUtilizationThreshold = null,
string SdrsVmEvacuationAutomationLevel = null,
string[] Tags = null
};
Name | Type | Description |
---|---|---|
Connection |
object |
No description. |
Count |
object |
No description. |
DependsOn |
HashiCorp.Cdktf.ITerraformDependable[] |
No description. |
ForEach |
HashiCorp.Cdktf.ITerraformIterator |
No description. |
Lifecycle |
HashiCorp.Cdktf.TerraformResourceLifecycle |
No description. |
Provider |
HashiCorp.Cdktf.TerraformProvider |
No description. |
Provisioners |
object[] |
No description. |
DatacenterId |
string |
The managed object ID of the datacenter to put the datastore cluster in. |
Name |
string |
Name for the new storage pod. |
CustomAttributes |
System.Collections.Generic.IDictionary<string, string> |
A list of custom attributes to set on this resource. |
Folder |
string |
The name of the folder to locate the datastore cluster in. |
Id |
string |
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vsphere/2.11.0/docs/resources/datastore_cluster#id DatastoreCluster#id}. |
SdrsAdvancedOptions |
System.Collections.Generic.IDictionary<string, string> |
Advanced configuration options for storage DRS. |
SdrsAutomationLevel |
string |
The default automation level for all virtual machines in this storage cluster. |
SdrsDefaultIntraVmAffinity |
object |
When true, storage DRS keeps VMDKs for individual VMs on the same datastore by default. |
SdrsEnabled |
object |
Enable storage DRS for this datastore cluster. |
SdrsFreeSpaceThreshold |
double |
The threshold, in GB, that storage DRS uses to make decisions to migrate VMs out of a datastore. |
SdrsFreeSpaceThresholdMode |
string |
The free space threshold to use. |
SdrsFreeSpaceUtilizationDifference |
double |
The threshold, in percent, of difference between space utilization in datastores before storage DRS makes decisions to balance the space. |
SdrsIoBalanceAutomationLevel |
string |
Overrides the default automation settings when correcting I/O load imbalances. |
SdrsIoLatencyThreshold |
double |
The I/O latency threshold, in milliseconds, that storage DRS uses to make recommendations to move disks from this datastore. |
SdrsIoLoadBalanceEnabled |
object |
Enable I/O load balancing for this datastore cluster. |
SdrsIoLoadImbalanceThreshold |
double |
The difference between load in datastores in the cluster before storage DRS makes recommendations to balance the load. |
SdrsIoReservableIopsThreshold |
double |
The threshold of reservable IOPS of all virtual machines on the datastore before storage DRS makes recommendations to move VMs off of a datastore. |
SdrsIoReservablePercentThreshold |
double |
The threshold, in percent, of actual estimated performance of the datastore (in IOPS) that storage DRS uses to make recommendations to move VMs off of a datastore when the total reservable IOPS exceeds the threshold. |
SdrsIoReservableThresholdMode |
string |
The reservable IOPS threshold to use, percent in the event of automatic, or manual threshold in the event of manual. |
SdrsLoadBalanceInterval |
double |
The storage DRS poll interval, in minutes. |
SdrsPolicyEnforcementAutomationLevel |
string |
Overrides the default automation settings when correcting storage and VM policy violations. |
SdrsRuleEnforcementAutomationLevel |
string |
Overrides the default automation settings when correcting affinity rule violations. |
SdrsSpaceBalanceAutomationLevel |
string |
Overrides the default automation settings when correcting disk space imbalances. |
SdrsSpaceUtilizationThreshold |
double |
The threshold, in percent of used space, that storage DRS uses to make decisions to migrate VMs out of a datastore. |
SdrsVmEvacuationAutomationLevel |
string |
Overrides the default automation settings when generating recommendations for datastore evacuation. |
Tags |
string[] |
A list of tag IDs to apply to this object. |
public object Connection { get; set; }
- Type: object
public object Count { get; set; }
- Type: object
public ITerraformDependable[] DependsOn { get; set; }
- Type: HashiCorp.Cdktf.ITerraformDependable[]
public ITerraformIterator ForEach { get; set; }
- Type: HashiCorp.Cdktf.ITerraformIterator
public TerraformResourceLifecycle Lifecycle { get; set; }
- Type: HashiCorp.Cdktf.TerraformResourceLifecycle
public TerraformProvider Provider { get; set; }
- Type: HashiCorp.Cdktf.TerraformProvider
public object[] Provisioners { get; set; }
- Type: object[]
public string DatacenterId { get; set; }
- Type: string
The managed object ID of the datacenter to put the datastore cluster in.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vsphere/2.11.0/docs/resources/datastore_cluster#datacenter_id DatastoreCluster#datacenter_id}
public string Name { get; set; }
- Type: string
Name for the new storage pod.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vsphere/2.11.0/docs/resources/datastore_cluster#name DatastoreCluster#name}
public System.Collections.Generic.IDictionary<string, string> CustomAttributes { get; set; }
- Type: System.Collections.Generic.IDictionary<string, string>
A list of custom attributes to set on this resource.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vsphere/2.11.0/docs/resources/datastore_cluster#custom_attributes DatastoreCluster#custom_attributes}
public string Folder { get; set; }
- Type: string
The name of the folder to locate the datastore cluster in.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vsphere/2.11.0/docs/resources/datastore_cluster#folder DatastoreCluster#folder}
public string Id { get; set; }
- Type: string
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vsphere/2.11.0/docs/resources/datastore_cluster#id DatastoreCluster#id}.
Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
public System.Collections.Generic.IDictionary<string, string> SdrsAdvancedOptions { get; set; }
- Type: System.Collections.Generic.IDictionary<string, string>
Advanced configuration options for storage DRS.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vsphere/2.11.0/docs/resources/datastore_cluster#sdrs_advanced_options DatastoreCluster#sdrs_advanced_options}
public string SdrsAutomationLevel { get; set; }
- Type: string
The default automation level for all virtual machines in this storage cluster.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vsphere/2.11.0/docs/resources/datastore_cluster#sdrs_automation_level DatastoreCluster#sdrs_automation_level}
public object SdrsDefaultIntraVmAffinity { get; set; }
- Type: object
When true, storage DRS keeps VMDKs for individual VMs on the same datastore by default.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vsphere/2.11.0/docs/resources/datastore_cluster#sdrs_default_intra_vm_affinity DatastoreCluster#sdrs_default_intra_vm_affinity}
public object SdrsEnabled { get; set; }
- Type: object
Enable storage DRS for this datastore cluster.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vsphere/2.11.0/docs/resources/datastore_cluster#sdrs_enabled DatastoreCluster#sdrs_enabled}
public double SdrsFreeSpaceThreshold { get; set; }
- Type: double
The threshold, in GB, that storage DRS uses to make decisions to migrate VMs out of a datastore.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vsphere/2.11.0/docs/resources/datastore_cluster#sdrs_free_space_threshold DatastoreCluster#sdrs_free_space_threshold}
public string SdrsFreeSpaceThresholdMode { get; set; }
- Type: string
The free space threshold to use.
When set to utilization, drs_space_utilization_threshold is used, and when set to freeSpace, drs_free_space_threshold is used.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vsphere/2.11.0/docs/resources/datastore_cluster#sdrs_free_space_threshold_mode DatastoreCluster#sdrs_free_space_threshold_mode}
public double SdrsFreeSpaceUtilizationDifference { get; set; }
- Type: double
The threshold, in percent, of difference between space utilization in datastores before storage DRS makes decisions to balance the space.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vsphere/2.11.0/docs/resources/datastore_cluster#sdrs_free_space_utilization_difference DatastoreCluster#sdrs_free_space_utilization_difference}
public string SdrsIoBalanceAutomationLevel { get; set; }
- Type: string
Overrides the default automation settings when correcting I/O load imbalances.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vsphere/2.11.0/docs/resources/datastore_cluster#sdrs_io_balance_automation_level DatastoreCluster#sdrs_io_balance_automation_level}
public double SdrsIoLatencyThreshold { get; set; }
- Type: double
The I/O latency threshold, in milliseconds, that storage DRS uses to make recommendations to move disks from this datastore.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vsphere/2.11.0/docs/resources/datastore_cluster#sdrs_io_latency_threshold DatastoreCluster#sdrs_io_latency_threshold}
public object SdrsIoLoadBalanceEnabled { get; set; }
- Type: object
Enable I/O load balancing for this datastore cluster.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vsphere/2.11.0/docs/resources/datastore_cluster#sdrs_io_load_balance_enabled DatastoreCluster#sdrs_io_load_balance_enabled}
public double SdrsIoLoadImbalanceThreshold { get; set; }
- Type: double
The difference between load in datastores in the cluster before storage DRS makes recommendations to balance the load.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vsphere/2.11.0/docs/resources/datastore_cluster#sdrs_io_load_imbalance_threshold DatastoreCluster#sdrs_io_load_imbalance_threshold}
public double SdrsIoReservableIopsThreshold { get; set; }
- Type: double
The threshold of reservable IOPS of all virtual machines on the datastore before storage DRS makes recommendations to move VMs off of a datastore.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vsphere/2.11.0/docs/resources/datastore_cluster#sdrs_io_reservable_iops_threshold DatastoreCluster#sdrs_io_reservable_iops_threshold}
public double SdrsIoReservablePercentThreshold { get; set; }
- Type: double
The threshold, in percent, of actual estimated performance of the datastore (in IOPS) that storage DRS uses to make recommendations to move VMs off of a datastore when the total reservable IOPS exceeds the threshold.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vsphere/2.11.0/docs/resources/datastore_cluster#sdrs_io_reservable_percent_threshold DatastoreCluster#sdrs_io_reservable_percent_threshold}
public string SdrsIoReservableThresholdMode { get; set; }
- Type: string
The reservable IOPS threshold to use, percent in the event of automatic, or manual threshold in the event of manual.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vsphere/2.11.0/docs/resources/datastore_cluster#sdrs_io_reservable_threshold_mode DatastoreCluster#sdrs_io_reservable_threshold_mode}
public double SdrsLoadBalanceInterval { get; set; }
- Type: double
The storage DRS poll interval, in minutes.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vsphere/2.11.0/docs/resources/datastore_cluster#sdrs_load_balance_interval DatastoreCluster#sdrs_load_balance_interval}
public string SdrsPolicyEnforcementAutomationLevel { get; set; }
- Type: string
Overrides the default automation settings when correcting storage and VM policy violations.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vsphere/2.11.0/docs/resources/datastore_cluster#sdrs_policy_enforcement_automation_level DatastoreCluster#sdrs_policy_enforcement_automation_level}
public string SdrsRuleEnforcementAutomationLevel { get; set; }
- Type: string
Overrides the default automation settings when correcting affinity rule violations.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vsphere/2.11.0/docs/resources/datastore_cluster#sdrs_rule_enforcement_automation_level DatastoreCluster#sdrs_rule_enforcement_automation_level}
public string SdrsSpaceBalanceAutomationLevel { get; set; }
- Type: string
Overrides the default automation settings when correcting disk space imbalances.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vsphere/2.11.0/docs/resources/datastore_cluster#sdrs_space_balance_automation_level DatastoreCluster#sdrs_space_balance_automation_level}
public double SdrsSpaceUtilizationThreshold { get; set; }
- Type: double
The threshold, in percent of used space, that storage DRS uses to make decisions to migrate VMs out of a datastore.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vsphere/2.11.0/docs/resources/datastore_cluster#sdrs_space_utilization_threshold DatastoreCluster#sdrs_space_utilization_threshold}
public string SdrsVmEvacuationAutomationLevel { get; set; }
- Type: string
Overrides the default automation settings when generating recommendations for datastore evacuation.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vsphere/2.11.0/docs/resources/datastore_cluster#sdrs_vm_evacuation_automation_level DatastoreCluster#sdrs_vm_evacuation_automation_level}
public string[] Tags { get; set; }
- Type: string[]
A list of tag IDs to apply to this object.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vsphere/2.11.0/docs/resources/datastore_cluster#tags DatastoreCluster#tags}