Class DatastoreClusterArgs
Inherited Members
Namespace: Pulumi.VSphere
Assembly: Pulumi.VSphere.dll
Syntax
public sealed class DatastoreClusterArgs : ResourceArgs
Constructors
View SourceDatastoreClusterArgs()
Declaration
public DatastoreClusterArgs()
Properties
View SourceCustomAttributes
A map of custom attribute ids to attribute value strings to set for the datastore cluster. See [here][docs-setting-custom-attributes] for a reference on how to set values for custom attributes.
Declaration
public InputMap<string> CustomAttributes { get; set; }
Property Value
| Type | Description |
|---|---|
| InputMap<System.String> |
DatacenterId
The managed object ID of the datacenter to create the datastore cluster in. Forces a new resource if changed.
Declaration
public Input<string> DatacenterId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Folder
The relative path to a folder to put this datastore
cluster in. This is a path relative to the datacenter you are deploying the
datastore to. Example: for the dc1 datacenter, and a provided folder of
foo/bar, The provider will place a datastore cluster named
datastore-cluster-test in a datastore folder located at
/dc1/datastore/foo/bar, with the final inventory path being
/dc1/datastore/foo/bar/datastore-cluster-test.
Declaration
public Input<string> Folder { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Name
The name of the datastore cluster.
Declaration
public Input<string> Name { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
SdrsAdvancedOptions
A key/value map of advanced Storage DRS settings that are not exposed via the provider or the vSphere client.
Declaration
public InputMap<string> SdrsAdvancedOptions { get; set; }
Property Value
| Type | Description |
|---|---|
| InputMap<System.String> |
SdrsAutomationLevel
The global automation level for all
virtual machines in this datastore cluster. Default: manual.
Declaration
public Input<string> SdrsAutomationLevel { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
SdrsDefaultIntraVmAffinity
When true, all disks in a
single virtual machine will be kept on the same datastore. Default: true.
Declaration
public Input<bool> SdrsDefaultIntraVmAffinity { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
SdrsEnabled
Enable Storage DRS for this datastore cluster.
Default: false.
Declaration
public Input<bool> SdrsEnabled { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
SdrsFreeSpaceThreshold
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. Default:
utilization.
Declaration
public Input<int> SdrsFreeSpaceThreshold { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
SdrsFreeSpaceThresholdMode
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.
Declaration
public Input<string> SdrsFreeSpaceThresholdMode { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
SdrsFreeSpaceUtilizationDifference
The threshold, in
percent, of difference between space utilization in datastores before storage
DRS makes decisions to balance the space. Default: 5 percent.
Declaration
public Input<int> SdrsFreeSpaceUtilizationDifference { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
SdrsIoBalanceAutomationLevel
Overrides the default automation settings when correcting I/O load imbalances.
Declaration
public Input<string> SdrsIoBalanceAutomationLevel { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
SdrsIoLatencyThreshold
The I/O latency threshold, in
milliseconds, that storage DRS uses to make recommendations to move disks
from this datastore. Default: 15 seconds.
Declaration
public Input<int> SdrsIoLatencyThreshold { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
SdrsIoLoadBalanceEnabled
Enable I/O load balancing for
this datastore cluster. Default: true.
Declaration
public Input<bool> SdrsIoLoadBalanceEnabled { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
SdrsIoLoadImbalanceThreshold
The difference between load
in datastores in the cluster before storage DRS makes recommendations to
balance the load. Default: 5 percent.
Declaration
public Input<int> SdrsIoLoadImbalanceThreshold { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
SdrsIoReservableIopsThreshold
The threshold of reservable
IOPS of all virtual machines on the datastore before storage DRS makes
recommendations to move VMs off of a datastore. Note that this setting should
only be set if sdrs_io_reservable_percent_threshold cannot make an accurate
estimate of the capacity of the datastores in your cluster, and should be set
to roughly 50-60% of the worst case peak performance of the backing LUNs.
Declaration
public Input<int> SdrsIoReservableIopsThreshold { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
SdrsIoReservablePercentThreshold
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. Default: 60 percent.
Declaration
public Input<int> SdrsIoReservablePercentThreshold { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
SdrsIoReservableThresholdMode
The reservable IOPS
threshold setting to use, sdrs_io_reservable_percent_threshold in the event
of automatic, or sdrs_io_reservable_iops_threshold in the event of
manual. Default: automatic.
Declaration
public Input<string> SdrsIoReservableThresholdMode { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
SdrsLoadBalanceInterval
The storage DRS poll interval, in
minutes. Default: 480 minutes.
Declaration
public Input<int> SdrsLoadBalanceInterval { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
SdrsPolicyEnforcementAutomationLevel
Overrides the default automation settings when correcting storage and VM policy violations.
Declaration
public Input<string> SdrsPolicyEnforcementAutomationLevel { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
SdrsRuleEnforcementAutomationLevel
Overrides the default automation settings when correcting affinity rule violations.
Declaration
public Input<string> SdrsRuleEnforcementAutomationLevel { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
SdrsSpaceBalanceAutomationLevel
Overrides the default automation settings when correcting disk space imbalances.
Declaration
public Input<string> SdrsSpaceBalanceAutomationLevel { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
SdrsSpaceUtilizationThreshold
The threshold, in percent of used space, that storage DRS uses to make decisions to migrate VMs out of a datastore.
Declaration
public Input<int> SdrsSpaceUtilizationThreshold { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
SdrsVmEvacuationAutomationLevel
Overrides the default automation settings when generating recommendations for datastore evacuation.
Declaration
public Input<string> SdrsVmEvacuationAutomationLevel { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Tags
The IDs of any tags to attach to this resource.
Declaration
public InputList<string> Tags { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |