pulumi-vsphere 4.10.0a1710160860__py3-none-any.whl → 4.13.0a1736836157__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-vsphere might be problematic. Click here for more details.
- pulumi_vsphere/__init__.py +30 -0
- pulumi_vsphere/_inputs.py +1816 -277
- pulumi_vsphere/_utilities.py +41 -5
- pulumi_vsphere/compute_cluster.py +937 -1488
- pulumi_vsphere/compute_cluster_host_group.py +67 -2
- pulumi_vsphere/compute_cluster_vm_affinity_rule.py +69 -34
- pulumi_vsphere/compute_cluster_vm_anti_affinity_rule.py +41 -2
- pulumi_vsphere/compute_cluster_vm_dependency_rule.py +205 -2
- pulumi_vsphere/compute_cluster_vm_group.py +198 -2
- pulumi_vsphere/compute_cluster_vm_host_rule.py +73 -2
- pulumi_vsphere/config/__init__.pyi +5 -0
- pulumi_vsphere/config/vars.py +5 -0
- pulumi_vsphere/content_library.py +113 -12
- pulumi_vsphere/content_library_item.py +143 -2
- pulumi_vsphere/custom_attribute.py +77 -2
- pulumi_vsphere/datacenter.py +48 -40
- pulumi_vsphere/datastore_cluster.py +217 -366
- pulumi_vsphere/datastore_cluster_vm_anti_affinity_rule.py +159 -2
- pulumi_vsphere/distributed_port_group.py +416 -189
- pulumi_vsphere/distributed_virtual_switch.py +571 -830
- pulumi_vsphere/dpm_host_override.py +63 -2
- pulumi_vsphere/drs_vm_override.py +67 -2
- pulumi_vsphere/entity_permissions.py +64 -38
- pulumi_vsphere/file.py +21 -24
- pulumi_vsphere/folder.py +148 -30
- pulumi_vsphere/get_compute_cluster.py +16 -9
- pulumi_vsphere/get_compute_cluster_host_group.py +36 -25
- pulumi_vsphere/get_content_library.py +23 -15
- pulumi_vsphere/get_content_library_item.py +29 -13
- pulumi_vsphere/get_custom_attribute.py +14 -9
- pulumi_vsphere/get_datacenter.py +30 -12
- pulumi_vsphere/get_datastore.py +44 -12
- pulumi_vsphere/get_datastore_cluster.py +31 -10
- pulumi_vsphere/get_datastore_stats.py +208 -0
- pulumi_vsphere/get_distributed_virtual_switch.py +18 -9
- pulumi_vsphere/get_dynamic.py +35 -25
- pulumi_vsphere/get_folder.py +23 -11
- pulumi_vsphere/get_guest_os_customization.py +26 -52
- pulumi_vsphere/get_host.py +16 -9
- pulumi_vsphere/get_host_base_images.py +104 -0
- pulumi_vsphere/get_host_pci_device.py +28 -19
- pulumi_vsphere/get_host_thumbprint.py +41 -25
- pulumi_vsphere/get_host_vgpu_profile.py +195 -0
- pulumi_vsphere/get_license.py +20 -10
- pulumi_vsphere/get_network.py +80 -24
- pulumi_vsphere/get_ovf_vm_template.py +56 -5
- pulumi_vsphere/get_policy.py +13 -9
- pulumi_vsphere/get_resource_pool.py +29 -23
- pulumi_vsphere/get_role.py +23 -13
- pulumi_vsphere/get_tag.py +16 -9
- pulumi_vsphere/get_tag_category.py +16 -9
- pulumi_vsphere/get_vapp_container.py +15 -9
- pulumi_vsphere/get_virtual_machine.py +233 -48
- pulumi_vsphere/get_vmfs_disks.py +18 -9
- pulumi_vsphere/guest_os_customization.py +60 -5
- pulumi_vsphere/ha_vm_override.py +352 -380
- pulumi_vsphere/host.py +244 -64
- pulumi_vsphere/host_port_group.py +27 -24
- pulumi_vsphere/host_virtual_switch.py +209 -289
- pulumi_vsphere/license.py +5 -32
- pulumi_vsphere/nas_datastore.py +74 -9
- pulumi_vsphere/offline_software_depot.py +185 -0
- pulumi_vsphere/outputs.py +774 -256
- pulumi_vsphere/provider.py +7 -6
- pulumi_vsphere/pulumi-plugin.json +2 -1
- pulumi_vsphere/resource_pool.py +168 -411
- pulumi_vsphere/role.py +33 -2
- pulumi_vsphere/storage_drs_vm_override.py +133 -2
- pulumi_vsphere/supervisor.py +967 -0
- pulumi_vsphere/tag.py +159 -2
- pulumi_vsphere/tag_category.py +83 -2
- pulumi_vsphere/vapp_container.py +163 -2
- pulumi_vsphere/vapp_entity.py +147 -2
- pulumi_vsphere/virtual_disk.py +123 -36
- pulumi_vsphere/virtual_machine.py +759 -829
- pulumi_vsphere/virtual_machine_class.py +447 -0
- pulumi_vsphere/virtual_machine_snapshot.py +13 -12
- pulumi_vsphere/vm_storage_policy.py +120 -127
- pulumi_vsphere/vmfs_datastore.py +271 -2
- pulumi_vsphere/vnic.py +104 -105
- {pulumi_vsphere-4.10.0a1710160860.dist-info → pulumi_vsphere-4.13.0a1736836157.dist-info}/METADATA +7 -6
- pulumi_vsphere-4.13.0a1736836157.dist-info/RECORD +86 -0
- {pulumi_vsphere-4.10.0a1710160860.dist-info → pulumi_vsphere-4.13.0a1736836157.dist-info}/WHEEL +1 -1
- pulumi_vsphere-4.10.0a1710160860.dist-info/RECORD +0 -80
- {pulumi_vsphere-4.10.0a1710160860.dist-info → pulumi_vsphere-4.13.0a1736836157.dist-info}/top_level.txt +0 -0
|
@@ -4,9 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
10
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
10
15
|
from . import _utilities
|
|
11
16
|
|
|
12
17
|
__all__ = ['DatastoreClusterArgs', 'DatastoreCluster']
|
|
@@ -61,63 +66,33 @@ class DatastoreClusterArgs:
|
|
|
61
66
|
`/dc1/datastore/foo/bar`, with the final inventory path being
|
|
62
67
|
`/dc1/datastore/foo/bar/datastore-cluster-test`.
|
|
63
68
|
:param pulumi.Input[str] name: The name of the datastore cluster.
|
|
64
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] sdrs_advanced_options:
|
|
65
|
-
|
|
66
|
-
:param pulumi.Input[
|
|
67
|
-
virtual machines in this datastore cluster. Default: `manual`.
|
|
68
|
-
:param pulumi.Input[bool] sdrs_default_intra_vm_affinity: When `true`, all disks in a
|
|
69
|
-
single virtual machine will be kept on the same datastore. Default: `true`.
|
|
69
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] sdrs_advanced_options: Advanced configuration options for storage DRS.
|
|
70
|
+
:param pulumi.Input[str] sdrs_automation_level: The default automation level for all virtual machines in this storage cluster.
|
|
71
|
+
:param pulumi.Input[bool] sdrs_default_intra_vm_affinity: When true, storage DRS keeps VMDKs for individual VMs on the same datastore by default.
|
|
70
72
|
:param pulumi.Input[bool] sdrs_enabled: Enable Storage DRS for this datastore cluster.
|
|
71
73
|
Default: `false`.
|
|
72
|
-
:param pulumi.Input[int] sdrs_free_space_threshold: The
|
|
73
|
-
When set to `utilization`, `drs_space_utilization_threshold` is used, and
|
|
74
|
-
when set to `freeSpace`, `drs_free_space_threshold` is used. Default:
|
|
75
|
-
`utilization`.
|
|
74
|
+
:param pulumi.Input[int] sdrs_free_space_threshold: The threshold, in GB, that storage DRS uses to make decisions to migrate VMs out of a datastore.
|
|
76
75
|
:param pulumi.Input[str] sdrs_free_space_threshold_mode: The free space threshold to use. When set to utilization, drs_space_utilization_threshold is used, and when set to
|
|
77
76
|
freeSpace, drs_free_space_threshold is used.
|
|
78
|
-
:param pulumi.Input[int] sdrs_free_space_utilization_difference: The threshold, in
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
:param pulumi.Input[
|
|
82
|
-
|
|
83
|
-
:param pulumi.Input[
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
:param pulumi.Input[
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
to roughly 50-60%!o(MISSING)f the worst case peak performance of the backing LUNs.
|
|
97
|
-
:param pulumi.Input[int] sdrs_io_reservable_percent_threshold: The threshold, in
|
|
98
|
-
percent, of actual estimated performance of the datastore (in IOPS) that
|
|
99
|
-
storage DRS uses to make recommendations to move VMs off of a datastore when
|
|
100
|
-
the total reservable IOPS exceeds the threshold. Default: `60` percent.
|
|
101
|
-
:param pulumi.Input[str] sdrs_io_reservable_threshold_mode: The reservable IOPS
|
|
102
|
-
threshold setting to use, `sdrs_io_reservable_percent_threshold` in the event
|
|
103
|
-
of `automatic`, or `sdrs_io_reservable_iops_threshold` in the event of
|
|
104
|
-
`manual`. Default: `automatic`.
|
|
105
|
-
:param pulumi.Input[int] sdrs_load_balance_interval: The storage DRS poll interval, in
|
|
106
|
-
minutes. Default: `480` minutes.
|
|
107
|
-
:param pulumi.Input[str] sdrs_policy_enforcement_automation_level: Overrides the default
|
|
108
|
-
automation settings when correcting storage and VM policy violations.
|
|
109
|
-
:param pulumi.Input[str] sdrs_rule_enforcement_automation_level: Overrides the default
|
|
110
|
-
automation settings when correcting affinity rule violations.
|
|
111
|
-
:param pulumi.Input[str] sdrs_space_balance_automation_level: Overrides the default
|
|
112
|
-
automation settings when correcting disk space imbalances.
|
|
113
|
-
:param pulumi.Input[int] sdrs_space_utilization_threshold: Runtime thresholds govern
|
|
114
|
-
when Storage DRS performs or recommends migrations
|
|
115
|
-
(based on the selected automation level). Default: `80` percent.
|
|
116
|
-
:param pulumi.Input[str] sdrs_vm_evacuation_automation_level: Overrides the default
|
|
117
|
-
automation settings when generating recommendations for datastore evacuation.
|
|
77
|
+
:param pulumi.Input[int] sdrs_free_space_utilization_difference: The threshold, in percent, of difference between space utilization in datastores before storage DRS makes decisions to
|
|
78
|
+
balance the space.
|
|
79
|
+
:param pulumi.Input[str] sdrs_io_balance_automation_level: Overrides the default automation settings when correcting I/O load imbalances.
|
|
80
|
+
:param pulumi.Input[int] sdrs_io_latency_threshold: The I/O latency threshold, in milliseconds, that storage DRS uses to make recommendations to move disks from this
|
|
81
|
+
datastore.
|
|
82
|
+
:param pulumi.Input[bool] sdrs_io_load_balance_enabled: Enable I/O load balancing for this datastore cluster.
|
|
83
|
+
:param pulumi.Input[int] sdrs_io_load_imbalance_threshold: The difference between load in datastores in the cluster before storage DRS makes recommendations to balance the load.
|
|
84
|
+
:param pulumi.Input[int] sdrs_io_reservable_iops_threshold: The threshold of reservable IOPS of all virtual machines on the datastore before storage DRS makes recommendations to
|
|
85
|
+
move VMs off of a datastore.
|
|
86
|
+
:param pulumi.Input[int] sdrs_io_reservable_percent_threshold: The threshold, in percent, of actual estimated performance of the datastore (in IOPS) that storage DRS uses to make
|
|
87
|
+
recommendations to move VMs off of a datastore when the total reservable IOPS exceeds the threshold.
|
|
88
|
+
:param pulumi.Input[str] sdrs_io_reservable_threshold_mode: The reservable IOPS threshold to use, percent in the event of automatic, or manual threshold in the event of manual.
|
|
89
|
+
:param pulumi.Input[int] sdrs_load_balance_interval: The storage DRS poll interval, in minutes.
|
|
90
|
+
:param pulumi.Input[str] sdrs_policy_enforcement_automation_level: Overrides the default automation settings when correcting storage and VM policy violations.
|
|
91
|
+
:param pulumi.Input[str] sdrs_rule_enforcement_automation_level: Overrides the default automation settings when correcting affinity rule violations.
|
|
92
|
+
:param pulumi.Input[str] sdrs_space_balance_automation_level: Overrides the default automation settings when correcting disk space imbalances.
|
|
93
|
+
:param pulumi.Input[int] sdrs_space_utilization_threshold: The threshold, in percent of used space, that storage DRS uses to make decisions to migrate VMs out of a datastore.
|
|
94
|
+
:param pulumi.Input[str] sdrs_vm_evacuation_automation_level: Overrides the default automation settings when generating recommendations for datastore evacuation.
|
|
118
95
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The IDs of any tags to attach to this resource.
|
|
119
|
-
|
|
120
|
-
> **NOTE:** Tagging support requires vCenter 6.0 or higher.
|
|
121
96
|
"""
|
|
122
97
|
pulumi.set(__self__, "datacenter_id", datacenter_id)
|
|
123
98
|
if custom_attributes is not None:
|
|
@@ -237,8 +212,7 @@ class DatastoreClusterArgs:
|
|
|
237
212
|
@pulumi.getter(name="sdrsAdvancedOptions")
|
|
238
213
|
def sdrs_advanced_options(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
239
214
|
"""
|
|
240
|
-
|
|
241
|
-
settings that are not exposed via the provider or the vSphere client.
|
|
215
|
+
Advanced configuration options for storage DRS.
|
|
242
216
|
"""
|
|
243
217
|
return pulumi.get(self, "sdrs_advanced_options")
|
|
244
218
|
|
|
@@ -250,8 +224,7 @@ class DatastoreClusterArgs:
|
|
|
250
224
|
@pulumi.getter(name="sdrsAutomationLevel")
|
|
251
225
|
def sdrs_automation_level(self) -> Optional[pulumi.Input[str]]:
|
|
252
226
|
"""
|
|
253
|
-
The
|
|
254
|
-
virtual machines in this datastore cluster. Default: `manual`.
|
|
227
|
+
The default automation level for all virtual machines in this storage cluster.
|
|
255
228
|
"""
|
|
256
229
|
return pulumi.get(self, "sdrs_automation_level")
|
|
257
230
|
|
|
@@ -263,8 +236,7 @@ class DatastoreClusterArgs:
|
|
|
263
236
|
@pulumi.getter(name="sdrsDefaultIntraVmAffinity")
|
|
264
237
|
def sdrs_default_intra_vm_affinity(self) -> Optional[pulumi.Input[bool]]:
|
|
265
238
|
"""
|
|
266
|
-
When
|
|
267
|
-
single virtual machine will be kept on the same datastore. Default: `true`.
|
|
239
|
+
When true, storage DRS keeps VMDKs for individual VMs on the same datastore by default.
|
|
268
240
|
"""
|
|
269
241
|
return pulumi.get(self, "sdrs_default_intra_vm_affinity")
|
|
270
242
|
|
|
@@ -289,10 +261,7 @@ class DatastoreClusterArgs:
|
|
|
289
261
|
@pulumi.getter(name="sdrsFreeSpaceThreshold")
|
|
290
262
|
def sdrs_free_space_threshold(self) -> Optional[pulumi.Input[int]]:
|
|
291
263
|
"""
|
|
292
|
-
The
|
|
293
|
-
When set to `utilization`, `drs_space_utilization_threshold` is used, and
|
|
294
|
-
when set to `freeSpace`, `drs_free_space_threshold` is used. Default:
|
|
295
|
-
`utilization`.
|
|
264
|
+
The threshold, in GB, that storage DRS uses to make decisions to migrate VMs out of a datastore.
|
|
296
265
|
"""
|
|
297
266
|
return pulumi.get(self, "sdrs_free_space_threshold")
|
|
298
267
|
|
|
@@ -317,9 +286,8 @@ class DatastoreClusterArgs:
|
|
|
317
286
|
@pulumi.getter(name="sdrsFreeSpaceUtilizationDifference")
|
|
318
287
|
def sdrs_free_space_utilization_difference(self) -> Optional[pulumi.Input[int]]:
|
|
319
288
|
"""
|
|
320
|
-
The threshold, in
|
|
321
|
-
|
|
322
|
-
DRS makes decisions to balance the space. Default: `5` percent.
|
|
289
|
+
The threshold, in percent, of difference between space utilization in datastores before storage DRS makes decisions to
|
|
290
|
+
balance the space.
|
|
323
291
|
"""
|
|
324
292
|
return pulumi.get(self, "sdrs_free_space_utilization_difference")
|
|
325
293
|
|
|
@@ -331,8 +299,7 @@ class DatastoreClusterArgs:
|
|
|
331
299
|
@pulumi.getter(name="sdrsIoBalanceAutomationLevel")
|
|
332
300
|
def sdrs_io_balance_automation_level(self) -> Optional[pulumi.Input[str]]:
|
|
333
301
|
"""
|
|
334
|
-
Overrides the default
|
|
335
|
-
automation settings when correcting I/O load imbalances.
|
|
302
|
+
Overrides the default automation settings when correcting I/O load imbalances.
|
|
336
303
|
"""
|
|
337
304
|
return pulumi.get(self, "sdrs_io_balance_automation_level")
|
|
338
305
|
|
|
@@ -344,9 +311,8 @@ class DatastoreClusterArgs:
|
|
|
344
311
|
@pulumi.getter(name="sdrsIoLatencyThreshold")
|
|
345
312
|
def sdrs_io_latency_threshold(self) -> Optional[pulumi.Input[int]]:
|
|
346
313
|
"""
|
|
347
|
-
The I/O latency threshold, in
|
|
348
|
-
|
|
349
|
-
from this datastore. Default: `15` seconds.
|
|
314
|
+
The I/O latency threshold, in milliseconds, that storage DRS uses to make recommendations to move disks from this
|
|
315
|
+
datastore.
|
|
350
316
|
"""
|
|
351
317
|
return pulumi.get(self, "sdrs_io_latency_threshold")
|
|
352
318
|
|
|
@@ -358,8 +324,7 @@ class DatastoreClusterArgs:
|
|
|
358
324
|
@pulumi.getter(name="sdrsIoLoadBalanceEnabled")
|
|
359
325
|
def sdrs_io_load_balance_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
360
326
|
"""
|
|
361
|
-
Enable I/O load balancing for
|
|
362
|
-
this datastore cluster. Default: `true`.
|
|
327
|
+
Enable I/O load balancing for this datastore cluster.
|
|
363
328
|
"""
|
|
364
329
|
return pulumi.get(self, "sdrs_io_load_balance_enabled")
|
|
365
330
|
|
|
@@ -371,9 +336,7 @@ class DatastoreClusterArgs:
|
|
|
371
336
|
@pulumi.getter(name="sdrsIoLoadImbalanceThreshold")
|
|
372
337
|
def sdrs_io_load_imbalance_threshold(self) -> Optional[pulumi.Input[int]]:
|
|
373
338
|
"""
|
|
374
|
-
The difference between load
|
|
375
|
-
in datastores in the cluster before storage DRS makes recommendations to
|
|
376
|
-
balance the load. Default: `5` percent.
|
|
339
|
+
The difference between load in datastores in the cluster before storage DRS makes recommendations to balance the load.
|
|
377
340
|
"""
|
|
378
341
|
return pulumi.get(self, "sdrs_io_load_imbalance_threshold")
|
|
379
342
|
|
|
@@ -385,12 +348,8 @@ class DatastoreClusterArgs:
|
|
|
385
348
|
@pulumi.getter(name="sdrsIoReservableIopsThreshold")
|
|
386
349
|
def sdrs_io_reservable_iops_threshold(self) -> Optional[pulumi.Input[int]]:
|
|
387
350
|
"""
|
|
388
|
-
The threshold of reservable
|
|
389
|
-
|
|
390
|
-
recommendations to move VMs off of a datastore. Note that this setting should
|
|
391
|
-
only be set if `sdrs_io_reservable_percent_threshold` cannot make an accurate
|
|
392
|
-
estimate of the capacity of the datastores in your cluster, and should be set
|
|
393
|
-
to roughly 50-60%!o(MISSING)f the worst case peak performance of the backing LUNs.
|
|
351
|
+
The threshold of reservable IOPS of all virtual machines on the datastore before storage DRS makes recommendations to
|
|
352
|
+
move VMs off of a datastore.
|
|
394
353
|
"""
|
|
395
354
|
return pulumi.get(self, "sdrs_io_reservable_iops_threshold")
|
|
396
355
|
|
|
@@ -402,10 +361,8 @@ class DatastoreClusterArgs:
|
|
|
402
361
|
@pulumi.getter(name="sdrsIoReservablePercentThreshold")
|
|
403
362
|
def sdrs_io_reservable_percent_threshold(self) -> Optional[pulumi.Input[int]]:
|
|
404
363
|
"""
|
|
405
|
-
The threshold, in
|
|
406
|
-
|
|
407
|
-
storage DRS uses to make recommendations to move VMs off of a datastore when
|
|
408
|
-
the total reservable IOPS exceeds the threshold. Default: `60` percent.
|
|
364
|
+
The threshold, in percent, of actual estimated performance of the datastore (in IOPS) that storage DRS uses to make
|
|
365
|
+
recommendations to move VMs off of a datastore when the total reservable IOPS exceeds the threshold.
|
|
409
366
|
"""
|
|
410
367
|
return pulumi.get(self, "sdrs_io_reservable_percent_threshold")
|
|
411
368
|
|
|
@@ -417,10 +374,7 @@ class DatastoreClusterArgs:
|
|
|
417
374
|
@pulumi.getter(name="sdrsIoReservableThresholdMode")
|
|
418
375
|
def sdrs_io_reservable_threshold_mode(self) -> Optional[pulumi.Input[str]]:
|
|
419
376
|
"""
|
|
420
|
-
The reservable IOPS
|
|
421
|
-
threshold setting to use, `sdrs_io_reservable_percent_threshold` in the event
|
|
422
|
-
of `automatic`, or `sdrs_io_reservable_iops_threshold` in the event of
|
|
423
|
-
`manual`. Default: `automatic`.
|
|
377
|
+
The reservable IOPS threshold to use, percent in the event of automatic, or manual threshold in the event of manual.
|
|
424
378
|
"""
|
|
425
379
|
return pulumi.get(self, "sdrs_io_reservable_threshold_mode")
|
|
426
380
|
|
|
@@ -432,8 +386,7 @@ class DatastoreClusterArgs:
|
|
|
432
386
|
@pulumi.getter(name="sdrsLoadBalanceInterval")
|
|
433
387
|
def sdrs_load_balance_interval(self) -> Optional[pulumi.Input[int]]:
|
|
434
388
|
"""
|
|
435
|
-
The storage DRS poll interval, in
|
|
436
|
-
minutes. Default: `480` minutes.
|
|
389
|
+
The storage DRS poll interval, in minutes.
|
|
437
390
|
"""
|
|
438
391
|
return pulumi.get(self, "sdrs_load_balance_interval")
|
|
439
392
|
|
|
@@ -445,8 +398,7 @@ class DatastoreClusterArgs:
|
|
|
445
398
|
@pulumi.getter(name="sdrsPolicyEnforcementAutomationLevel")
|
|
446
399
|
def sdrs_policy_enforcement_automation_level(self) -> Optional[pulumi.Input[str]]:
|
|
447
400
|
"""
|
|
448
|
-
Overrides the default
|
|
449
|
-
automation settings when correcting storage and VM policy violations.
|
|
401
|
+
Overrides the default automation settings when correcting storage and VM policy violations.
|
|
450
402
|
"""
|
|
451
403
|
return pulumi.get(self, "sdrs_policy_enforcement_automation_level")
|
|
452
404
|
|
|
@@ -458,8 +410,7 @@ class DatastoreClusterArgs:
|
|
|
458
410
|
@pulumi.getter(name="sdrsRuleEnforcementAutomationLevel")
|
|
459
411
|
def sdrs_rule_enforcement_automation_level(self) -> Optional[pulumi.Input[str]]:
|
|
460
412
|
"""
|
|
461
|
-
Overrides the default
|
|
462
|
-
automation settings when correcting affinity rule violations.
|
|
413
|
+
Overrides the default automation settings when correcting affinity rule violations.
|
|
463
414
|
"""
|
|
464
415
|
return pulumi.get(self, "sdrs_rule_enforcement_automation_level")
|
|
465
416
|
|
|
@@ -471,8 +422,7 @@ class DatastoreClusterArgs:
|
|
|
471
422
|
@pulumi.getter(name="sdrsSpaceBalanceAutomationLevel")
|
|
472
423
|
def sdrs_space_balance_automation_level(self) -> Optional[pulumi.Input[str]]:
|
|
473
424
|
"""
|
|
474
|
-
Overrides the default
|
|
475
|
-
automation settings when correcting disk space imbalances.
|
|
425
|
+
Overrides the default automation settings when correcting disk space imbalances.
|
|
476
426
|
"""
|
|
477
427
|
return pulumi.get(self, "sdrs_space_balance_automation_level")
|
|
478
428
|
|
|
@@ -484,9 +434,7 @@ class DatastoreClusterArgs:
|
|
|
484
434
|
@pulumi.getter(name="sdrsSpaceUtilizationThreshold")
|
|
485
435
|
def sdrs_space_utilization_threshold(self) -> Optional[pulumi.Input[int]]:
|
|
486
436
|
"""
|
|
487
|
-
|
|
488
|
-
when Storage DRS performs or recommends migrations
|
|
489
|
-
(based on the selected automation level). Default: `80` percent.
|
|
437
|
+
The threshold, in percent of used space, that storage DRS uses to make decisions to migrate VMs out of a datastore.
|
|
490
438
|
"""
|
|
491
439
|
return pulumi.get(self, "sdrs_space_utilization_threshold")
|
|
492
440
|
|
|
@@ -498,8 +446,7 @@ class DatastoreClusterArgs:
|
|
|
498
446
|
@pulumi.getter(name="sdrsVmEvacuationAutomationLevel")
|
|
499
447
|
def sdrs_vm_evacuation_automation_level(self) -> Optional[pulumi.Input[str]]:
|
|
500
448
|
"""
|
|
501
|
-
Overrides the default
|
|
502
|
-
automation settings when generating recommendations for datastore evacuation.
|
|
449
|
+
Overrides the default automation settings when generating recommendations for datastore evacuation.
|
|
503
450
|
"""
|
|
504
451
|
return pulumi.get(self, "sdrs_vm_evacuation_automation_level")
|
|
505
452
|
|
|
@@ -512,8 +459,6 @@ class DatastoreClusterArgs:
|
|
|
512
459
|
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
513
460
|
"""
|
|
514
461
|
The IDs of any tags to attach to this resource.
|
|
515
|
-
|
|
516
|
-
> **NOTE:** Tagging support requires vCenter 6.0 or higher.
|
|
517
462
|
"""
|
|
518
463
|
return pulumi.get(self, "tags")
|
|
519
464
|
|
|
@@ -572,63 +517,33 @@ class _DatastoreClusterState:
|
|
|
572
517
|
`/dc1/datastore/foo/bar`, with the final inventory path being
|
|
573
518
|
`/dc1/datastore/foo/bar/datastore-cluster-test`.
|
|
574
519
|
:param pulumi.Input[str] name: The name of the datastore cluster.
|
|
575
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] sdrs_advanced_options:
|
|
576
|
-
|
|
577
|
-
:param pulumi.Input[
|
|
578
|
-
virtual machines in this datastore cluster. Default: `manual`.
|
|
579
|
-
:param pulumi.Input[bool] sdrs_default_intra_vm_affinity: When `true`, all disks in a
|
|
580
|
-
single virtual machine will be kept on the same datastore. Default: `true`.
|
|
520
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] sdrs_advanced_options: Advanced configuration options for storage DRS.
|
|
521
|
+
:param pulumi.Input[str] sdrs_automation_level: The default automation level for all virtual machines in this storage cluster.
|
|
522
|
+
:param pulumi.Input[bool] sdrs_default_intra_vm_affinity: When true, storage DRS keeps VMDKs for individual VMs on the same datastore by default.
|
|
581
523
|
:param pulumi.Input[bool] sdrs_enabled: Enable Storage DRS for this datastore cluster.
|
|
582
524
|
Default: `false`.
|
|
583
|
-
:param pulumi.Input[int] sdrs_free_space_threshold: The
|
|
584
|
-
When set to `utilization`, `drs_space_utilization_threshold` is used, and
|
|
585
|
-
when set to `freeSpace`, `drs_free_space_threshold` is used. Default:
|
|
586
|
-
`utilization`.
|
|
525
|
+
:param pulumi.Input[int] sdrs_free_space_threshold: The threshold, in GB, that storage DRS uses to make decisions to migrate VMs out of a datastore.
|
|
587
526
|
:param pulumi.Input[str] sdrs_free_space_threshold_mode: The free space threshold to use. When set to utilization, drs_space_utilization_threshold is used, and when set to
|
|
588
527
|
freeSpace, drs_free_space_threshold is used.
|
|
589
|
-
:param pulumi.Input[int] sdrs_free_space_utilization_difference: The threshold, in
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
:param pulumi.Input[
|
|
593
|
-
|
|
594
|
-
:param pulumi.Input[
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
:param pulumi.Input[
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
to roughly 50-60%!o(MISSING)f the worst case peak performance of the backing LUNs.
|
|
608
|
-
:param pulumi.Input[int] sdrs_io_reservable_percent_threshold: The threshold, in
|
|
609
|
-
percent, of actual estimated performance of the datastore (in IOPS) that
|
|
610
|
-
storage DRS uses to make recommendations to move VMs off of a datastore when
|
|
611
|
-
the total reservable IOPS exceeds the threshold. Default: `60` percent.
|
|
612
|
-
:param pulumi.Input[str] sdrs_io_reservable_threshold_mode: The reservable IOPS
|
|
613
|
-
threshold setting to use, `sdrs_io_reservable_percent_threshold` in the event
|
|
614
|
-
of `automatic`, or `sdrs_io_reservable_iops_threshold` in the event of
|
|
615
|
-
`manual`. Default: `automatic`.
|
|
616
|
-
:param pulumi.Input[int] sdrs_load_balance_interval: The storage DRS poll interval, in
|
|
617
|
-
minutes. Default: `480` minutes.
|
|
618
|
-
:param pulumi.Input[str] sdrs_policy_enforcement_automation_level: Overrides the default
|
|
619
|
-
automation settings when correcting storage and VM policy violations.
|
|
620
|
-
:param pulumi.Input[str] sdrs_rule_enforcement_automation_level: Overrides the default
|
|
621
|
-
automation settings when correcting affinity rule violations.
|
|
622
|
-
:param pulumi.Input[str] sdrs_space_balance_automation_level: Overrides the default
|
|
623
|
-
automation settings when correcting disk space imbalances.
|
|
624
|
-
:param pulumi.Input[int] sdrs_space_utilization_threshold: Runtime thresholds govern
|
|
625
|
-
when Storage DRS performs or recommends migrations
|
|
626
|
-
(based on the selected automation level). Default: `80` percent.
|
|
627
|
-
:param pulumi.Input[str] sdrs_vm_evacuation_automation_level: Overrides the default
|
|
628
|
-
automation settings when generating recommendations for datastore evacuation.
|
|
528
|
+
:param pulumi.Input[int] sdrs_free_space_utilization_difference: The threshold, in percent, of difference between space utilization in datastores before storage DRS makes decisions to
|
|
529
|
+
balance the space.
|
|
530
|
+
:param pulumi.Input[str] sdrs_io_balance_automation_level: Overrides the default automation settings when correcting I/O load imbalances.
|
|
531
|
+
:param pulumi.Input[int] sdrs_io_latency_threshold: The I/O latency threshold, in milliseconds, that storage DRS uses to make recommendations to move disks from this
|
|
532
|
+
datastore.
|
|
533
|
+
:param pulumi.Input[bool] sdrs_io_load_balance_enabled: Enable I/O load balancing for this datastore cluster.
|
|
534
|
+
:param pulumi.Input[int] sdrs_io_load_imbalance_threshold: The difference between load in datastores in the cluster before storage DRS makes recommendations to balance the load.
|
|
535
|
+
:param pulumi.Input[int] sdrs_io_reservable_iops_threshold: The threshold of reservable IOPS of all virtual machines on the datastore before storage DRS makes recommendations to
|
|
536
|
+
move VMs off of a datastore.
|
|
537
|
+
:param pulumi.Input[int] sdrs_io_reservable_percent_threshold: The threshold, in percent, of actual estimated performance of the datastore (in IOPS) that storage DRS uses to make
|
|
538
|
+
recommendations to move VMs off of a datastore when the total reservable IOPS exceeds the threshold.
|
|
539
|
+
:param pulumi.Input[str] sdrs_io_reservable_threshold_mode: The reservable IOPS threshold to use, percent in the event of automatic, or manual threshold in the event of manual.
|
|
540
|
+
:param pulumi.Input[int] sdrs_load_balance_interval: The storage DRS poll interval, in minutes.
|
|
541
|
+
:param pulumi.Input[str] sdrs_policy_enforcement_automation_level: Overrides the default automation settings when correcting storage and VM policy violations.
|
|
542
|
+
:param pulumi.Input[str] sdrs_rule_enforcement_automation_level: Overrides the default automation settings when correcting affinity rule violations.
|
|
543
|
+
:param pulumi.Input[str] sdrs_space_balance_automation_level: Overrides the default automation settings when correcting disk space imbalances.
|
|
544
|
+
:param pulumi.Input[int] sdrs_space_utilization_threshold: The threshold, in percent of used space, that storage DRS uses to make decisions to migrate VMs out of a datastore.
|
|
545
|
+
:param pulumi.Input[str] sdrs_vm_evacuation_automation_level: Overrides the default automation settings when generating recommendations for datastore evacuation.
|
|
629
546
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The IDs of any tags to attach to this resource.
|
|
630
|
-
|
|
631
|
-
> **NOTE:** Tagging support requires vCenter 6.0 or higher.
|
|
632
547
|
"""
|
|
633
548
|
if custom_attributes is not None:
|
|
634
549
|
pulumi.set(__self__, "custom_attributes", custom_attributes)
|
|
@@ -749,8 +664,7 @@ class _DatastoreClusterState:
|
|
|
749
664
|
@pulumi.getter(name="sdrsAdvancedOptions")
|
|
750
665
|
def sdrs_advanced_options(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
751
666
|
"""
|
|
752
|
-
|
|
753
|
-
settings that are not exposed via the provider or the vSphere client.
|
|
667
|
+
Advanced configuration options for storage DRS.
|
|
754
668
|
"""
|
|
755
669
|
return pulumi.get(self, "sdrs_advanced_options")
|
|
756
670
|
|
|
@@ -762,8 +676,7 @@ class _DatastoreClusterState:
|
|
|
762
676
|
@pulumi.getter(name="sdrsAutomationLevel")
|
|
763
677
|
def sdrs_automation_level(self) -> Optional[pulumi.Input[str]]:
|
|
764
678
|
"""
|
|
765
|
-
The
|
|
766
|
-
virtual machines in this datastore cluster. Default: `manual`.
|
|
679
|
+
The default automation level for all virtual machines in this storage cluster.
|
|
767
680
|
"""
|
|
768
681
|
return pulumi.get(self, "sdrs_automation_level")
|
|
769
682
|
|
|
@@ -775,8 +688,7 @@ class _DatastoreClusterState:
|
|
|
775
688
|
@pulumi.getter(name="sdrsDefaultIntraVmAffinity")
|
|
776
689
|
def sdrs_default_intra_vm_affinity(self) -> Optional[pulumi.Input[bool]]:
|
|
777
690
|
"""
|
|
778
|
-
When
|
|
779
|
-
single virtual machine will be kept on the same datastore. Default: `true`.
|
|
691
|
+
When true, storage DRS keeps VMDKs for individual VMs on the same datastore by default.
|
|
780
692
|
"""
|
|
781
693
|
return pulumi.get(self, "sdrs_default_intra_vm_affinity")
|
|
782
694
|
|
|
@@ -801,10 +713,7 @@ class _DatastoreClusterState:
|
|
|
801
713
|
@pulumi.getter(name="sdrsFreeSpaceThreshold")
|
|
802
714
|
def sdrs_free_space_threshold(self) -> Optional[pulumi.Input[int]]:
|
|
803
715
|
"""
|
|
804
|
-
The
|
|
805
|
-
When set to `utilization`, `drs_space_utilization_threshold` is used, and
|
|
806
|
-
when set to `freeSpace`, `drs_free_space_threshold` is used. Default:
|
|
807
|
-
`utilization`.
|
|
716
|
+
The threshold, in GB, that storage DRS uses to make decisions to migrate VMs out of a datastore.
|
|
808
717
|
"""
|
|
809
718
|
return pulumi.get(self, "sdrs_free_space_threshold")
|
|
810
719
|
|
|
@@ -829,9 +738,8 @@ class _DatastoreClusterState:
|
|
|
829
738
|
@pulumi.getter(name="sdrsFreeSpaceUtilizationDifference")
|
|
830
739
|
def sdrs_free_space_utilization_difference(self) -> Optional[pulumi.Input[int]]:
|
|
831
740
|
"""
|
|
832
|
-
The threshold, in
|
|
833
|
-
|
|
834
|
-
DRS makes decisions to balance the space. Default: `5` percent.
|
|
741
|
+
The threshold, in percent, of difference between space utilization in datastores before storage DRS makes decisions to
|
|
742
|
+
balance the space.
|
|
835
743
|
"""
|
|
836
744
|
return pulumi.get(self, "sdrs_free_space_utilization_difference")
|
|
837
745
|
|
|
@@ -843,8 +751,7 @@ class _DatastoreClusterState:
|
|
|
843
751
|
@pulumi.getter(name="sdrsIoBalanceAutomationLevel")
|
|
844
752
|
def sdrs_io_balance_automation_level(self) -> Optional[pulumi.Input[str]]:
|
|
845
753
|
"""
|
|
846
|
-
Overrides the default
|
|
847
|
-
automation settings when correcting I/O load imbalances.
|
|
754
|
+
Overrides the default automation settings when correcting I/O load imbalances.
|
|
848
755
|
"""
|
|
849
756
|
return pulumi.get(self, "sdrs_io_balance_automation_level")
|
|
850
757
|
|
|
@@ -856,9 +763,8 @@ class _DatastoreClusterState:
|
|
|
856
763
|
@pulumi.getter(name="sdrsIoLatencyThreshold")
|
|
857
764
|
def sdrs_io_latency_threshold(self) -> Optional[pulumi.Input[int]]:
|
|
858
765
|
"""
|
|
859
|
-
The I/O latency threshold, in
|
|
860
|
-
|
|
861
|
-
from this datastore. Default: `15` seconds.
|
|
766
|
+
The I/O latency threshold, in milliseconds, that storage DRS uses to make recommendations to move disks from this
|
|
767
|
+
datastore.
|
|
862
768
|
"""
|
|
863
769
|
return pulumi.get(self, "sdrs_io_latency_threshold")
|
|
864
770
|
|
|
@@ -870,8 +776,7 @@ class _DatastoreClusterState:
|
|
|
870
776
|
@pulumi.getter(name="sdrsIoLoadBalanceEnabled")
|
|
871
777
|
def sdrs_io_load_balance_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
872
778
|
"""
|
|
873
|
-
Enable I/O load balancing for
|
|
874
|
-
this datastore cluster. Default: `true`.
|
|
779
|
+
Enable I/O load balancing for this datastore cluster.
|
|
875
780
|
"""
|
|
876
781
|
return pulumi.get(self, "sdrs_io_load_balance_enabled")
|
|
877
782
|
|
|
@@ -883,9 +788,7 @@ class _DatastoreClusterState:
|
|
|
883
788
|
@pulumi.getter(name="sdrsIoLoadImbalanceThreshold")
|
|
884
789
|
def sdrs_io_load_imbalance_threshold(self) -> Optional[pulumi.Input[int]]:
|
|
885
790
|
"""
|
|
886
|
-
The difference between load
|
|
887
|
-
in datastores in the cluster before storage DRS makes recommendations to
|
|
888
|
-
balance the load. Default: `5` percent.
|
|
791
|
+
The difference between load in datastores in the cluster before storage DRS makes recommendations to balance the load.
|
|
889
792
|
"""
|
|
890
793
|
return pulumi.get(self, "sdrs_io_load_imbalance_threshold")
|
|
891
794
|
|
|
@@ -897,12 +800,8 @@ class _DatastoreClusterState:
|
|
|
897
800
|
@pulumi.getter(name="sdrsIoReservableIopsThreshold")
|
|
898
801
|
def sdrs_io_reservable_iops_threshold(self) -> Optional[pulumi.Input[int]]:
|
|
899
802
|
"""
|
|
900
|
-
The threshold of reservable
|
|
901
|
-
|
|
902
|
-
recommendations to move VMs off of a datastore. Note that this setting should
|
|
903
|
-
only be set if `sdrs_io_reservable_percent_threshold` cannot make an accurate
|
|
904
|
-
estimate of the capacity of the datastores in your cluster, and should be set
|
|
905
|
-
to roughly 50-60%!o(MISSING)f the worst case peak performance of the backing LUNs.
|
|
803
|
+
The threshold of reservable IOPS of all virtual machines on the datastore before storage DRS makes recommendations to
|
|
804
|
+
move VMs off of a datastore.
|
|
906
805
|
"""
|
|
907
806
|
return pulumi.get(self, "sdrs_io_reservable_iops_threshold")
|
|
908
807
|
|
|
@@ -914,10 +813,8 @@ class _DatastoreClusterState:
|
|
|
914
813
|
@pulumi.getter(name="sdrsIoReservablePercentThreshold")
|
|
915
814
|
def sdrs_io_reservable_percent_threshold(self) -> Optional[pulumi.Input[int]]:
|
|
916
815
|
"""
|
|
917
|
-
The threshold, in
|
|
918
|
-
|
|
919
|
-
storage DRS uses to make recommendations to move VMs off of a datastore when
|
|
920
|
-
the total reservable IOPS exceeds the threshold. Default: `60` percent.
|
|
816
|
+
The threshold, in percent, of actual estimated performance of the datastore (in IOPS) that storage DRS uses to make
|
|
817
|
+
recommendations to move VMs off of a datastore when the total reservable IOPS exceeds the threshold.
|
|
921
818
|
"""
|
|
922
819
|
return pulumi.get(self, "sdrs_io_reservable_percent_threshold")
|
|
923
820
|
|
|
@@ -929,10 +826,7 @@ class _DatastoreClusterState:
|
|
|
929
826
|
@pulumi.getter(name="sdrsIoReservableThresholdMode")
|
|
930
827
|
def sdrs_io_reservable_threshold_mode(self) -> Optional[pulumi.Input[str]]:
|
|
931
828
|
"""
|
|
932
|
-
The reservable IOPS
|
|
933
|
-
threshold setting to use, `sdrs_io_reservable_percent_threshold` in the event
|
|
934
|
-
of `automatic`, or `sdrs_io_reservable_iops_threshold` in the event of
|
|
935
|
-
`manual`. Default: `automatic`.
|
|
829
|
+
The reservable IOPS threshold to use, percent in the event of automatic, or manual threshold in the event of manual.
|
|
936
830
|
"""
|
|
937
831
|
return pulumi.get(self, "sdrs_io_reservable_threshold_mode")
|
|
938
832
|
|
|
@@ -944,8 +838,7 @@ class _DatastoreClusterState:
|
|
|
944
838
|
@pulumi.getter(name="sdrsLoadBalanceInterval")
|
|
945
839
|
def sdrs_load_balance_interval(self) -> Optional[pulumi.Input[int]]:
|
|
946
840
|
"""
|
|
947
|
-
The storage DRS poll interval, in
|
|
948
|
-
minutes. Default: `480` minutes.
|
|
841
|
+
The storage DRS poll interval, in minutes.
|
|
949
842
|
"""
|
|
950
843
|
return pulumi.get(self, "sdrs_load_balance_interval")
|
|
951
844
|
|
|
@@ -957,8 +850,7 @@ class _DatastoreClusterState:
|
|
|
957
850
|
@pulumi.getter(name="sdrsPolicyEnforcementAutomationLevel")
|
|
958
851
|
def sdrs_policy_enforcement_automation_level(self) -> Optional[pulumi.Input[str]]:
|
|
959
852
|
"""
|
|
960
|
-
Overrides the default
|
|
961
|
-
automation settings when correcting storage and VM policy violations.
|
|
853
|
+
Overrides the default automation settings when correcting storage and VM policy violations.
|
|
962
854
|
"""
|
|
963
855
|
return pulumi.get(self, "sdrs_policy_enforcement_automation_level")
|
|
964
856
|
|
|
@@ -970,8 +862,7 @@ class _DatastoreClusterState:
|
|
|
970
862
|
@pulumi.getter(name="sdrsRuleEnforcementAutomationLevel")
|
|
971
863
|
def sdrs_rule_enforcement_automation_level(self) -> Optional[pulumi.Input[str]]:
|
|
972
864
|
"""
|
|
973
|
-
Overrides the default
|
|
974
|
-
automation settings when correcting affinity rule violations.
|
|
865
|
+
Overrides the default automation settings when correcting affinity rule violations.
|
|
975
866
|
"""
|
|
976
867
|
return pulumi.get(self, "sdrs_rule_enforcement_automation_level")
|
|
977
868
|
|
|
@@ -983,8 +874,7 @@ class _DatastoreClusterState:
|
|
|
983
874
|
@pulumi.getter(name="sdrsSpaceBalanceAutomationLevel")
|
|
984
875
|
def sdrs_space_balance_automation_level(self) -> Optional[pulumi.Input[str]]:
|
|
985
876
|
"""
|
|
986
|
-
Overrides the default
|
|
987
|
-
automation settings when correcting disk space imbalances.
|
|
877
|
+
Overrides the default automation settings when correcting disk space imbalances.
|
|
988
878
|
"""
|
|
989
879
|
return pulumi.get(self, "sdrs_space_balance_automation_level")
|
|
990
880
|
|
|
@@ -996,9 +886,7 @@ class _DatastoreClusterState:
|
|
|
996
886
|
@pulumi.getter(name="sdrsSpaceUtilizationThreshold")
|
|
997
887
|
def sdrs_space_utilization_threshold(self) -> Optional[pulumi.Input[int]]:
|
|
998
888
|
"""
|
|
999
|
-
|
|
1000
|
-
when Storage DRS performs or recommends migrations
|
|
1001
|
-
(based on the selected automation level). Default: `80` percent.
|
|
889
|
+
The threshold, in percent of used space, that storage DRS uses to make decisions to migrate VMs out of a datastore.
|
|
1002
890
|
"""
|
|
1003
891
|
return pulumi.get(self, "sdrs_space_utilization_threshold")
|
|
1004
892
|
|
|
@@ -1010,8 +898,7 @@ class _DatastoreClusterState:
|
|
|
1010
898
|
@pulumi.getter(name="sdrsVmEvacuationAutomationLevel")
|
|
1011
899
|
def sdrs_vm_evacuation_automation_level(self) -> Optional[pulumi.Input[str]]:
|
|
1012
900
|
"""
|
|
1013
|
-
Overrides the default
|
|
1014
|
-
automation settings when generating recommendations for datastore evacuation.
|
|
901
|
+
Overrides the default automation settings when generating recommendations for datastore evacuation.
|
|
1015
902
|
"""
|
|
1016
903
|
return pulumi.get(self, "sdrs_vm_evacuation_automation_level")
|
|
1017
904
|
|
|
@@ -1024,8 +911,6 @@ class _DatastoreClusterState:
|
|
|
1024
911
|
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
1025
912
|
"""
|
|
1026
913
|
The IDs of any tags to attach to this resource.
|
|
1027
|
-
|
|
1028
|
-
> **NOTE:** Tagging support requires vCenter 6.0 or higher.
|
|
1029
914
|
"""
|
|
1030
915
|
return pulumi.get(self, "tags")
|
|
1031
916
|
|
|
@@ -1066,7 +951,35 @@ class DatastoreCluster(pulumi.CustomResource):
|
|
|
1066
951
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1067
952
|
__props__=None):
|
|
1068
953
|
"""
|
|
1069
|
-
|
|
954
|
+
The `DatastoreCluster` resource can be used to create and manage
|
|
955
|
+
datastore clusters. This can be used to create groups of datastores with a
|
|
956
|
+
shared management interface, allowing for resource control and load balancing
|
|
957
|
+
through Storage DRS.
|
|
958
|
+
|
|
959
|
+
For more information on vSphere datastore clusters and Storage DRS, see [this
|
|
960
|
+
page][ref-vsphere-datastore-clusters].
|
|
961
|
+
|
|
962
|
+
[ref-vsphere-datastore-clusters]: https://docs.vmware.com/en/VMware-vSphere/8.0/vsphere-resource-management/GUID-598DF695-107E-406B-9C95-0AF961FC227A.html
|
|
963
|
+
|
|
964
|
+
> **NOTE:** This resource requires vCenter and is not available on direct ESXi
|
|
965
|
+
connections.
|
|
966
|
+
|
|
967
|
+
> **NOTE:** Storage DRS requires a vSphere Enterprise Plus license.
|
|
968
|
+
|
|
969
|
+
## Import
|
|
970
|
+
|
|
971
|
+
An existing datastore cluster can be imported into this resource
|
|
972
|
+
|
|
973
|
+
via the path to the cluster, via the following command:
|
|
974
|
+
|
|
975
|
+
```sh
|
|
976
|
+
$ pulumi import vsphere:index/datastoreCluster:DatastoreCluster datastore_cluster /dc1/datastore/ds-cluster
|
|
977
|
+
```
|
|
978
|
+
|
|
979
|
+
The above would import the datastore cluster named `ds-cluster` that is located
|
|
980
|
+
|
|
981
|
+
in the `dc1` datacenter.
|
|
982
|
+
|
|
1070
983
|
:param str resource_name: The name of the resource.
|
|
1071
984
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
1072
985
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] custom_attributes: A map of custom attribute ids to attribute
|
|
@@ -1089,63 +1002,33 @@ class DatastoreCluster(pulumi.CustomResource):
|
|
|
1089
1002
|
`/dc1/datastore/foo/bar`, with the final inventory path being
|
|
1090
1003
|
`/dc1/datastore/foo/bar/datastore-cluster-test`.
|
|
1091
1004
|
:param pulumi.Input[str] name: The name of the datastore cluster.
|
|
1092
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] sdrs_advanced_options:
|
|
1093
|
-
|
|
1094
|
-
:param pulumi.Input[
|
|
1095
|
-
virtual machines in this datastore cluster. Default: `manual`.
|
|
1096
|
-
:param pulumi.Input[bool] sdrs_default_intra_vm_affinity: When `true`, all disks in a
|
|
1097
|
-
single virtual machine will be kept on the same datastore. Default: `true`.
|
|
1005
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] sdrs_advanced_options: Advanced configuration options for storage DRS.
|
|
1006
|
+
:param pulumi.Input[str] sdrs_automation_level: The default automation level for all virtual machines in this storage cluster.
|
|
1007
|
+
:param pulumi.Input[bool] sdrs_default_intra_vm_affinity: When true, storage DRS keeps VMDKs for individual VMs on the same datastore by default.
|
|
1098
1008
|
:param pulumi.Input[bool] sdrs_enabled: Enable Storage DRS for this datastore cluster.
|
|
1099
1009
|
Default: `false`.
|
|
1100
|
-
:param pulumi.Input[int] sdrs_free_space_threshold: The
|
|
1101
|
-
When set to `utilization`, `drs_space_utilization_threshold` is used, and
|
|
1102
|
-
when set to `freeSpace`, `drs_free_space_threshold` is used. Default:
|
|
1103
|
-
`utilization`.
|
|
1010
|
+
:param pulumi.Input[int] sdrs_free_space_threshold: The threshold, in GB, that storage DRS uses to make decisions to migrate VMs out of a datastore.
|
|
1104
1011
|
:param pulumi.Input[str] sdrs_free_space_threshold_mode: The free space threshold to use. When set to utilization, drs_space_utilization_threshold is used, and when set to
|
|
1105
1012
|
freeSpace, drs_free_space_threshold is used.
|
|
1106
|
-
:param pulumi.Input[int] sdrs_free_space_utilization_difference: The threshold, in
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
:param pulumi.Input[
|
|
1110
|
-
|
|
1111
|
-
:param pulumi.Input[
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
:param pulumi.Input[
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
to roughly 50-60%!o(MISSING)f the worst case peak performance of the backing LUNs.
|
|
1125
|
-
:param pulumi.Input[int] sdrs_io_reservable_percent_threshold: The threshold, in
|
|
1126
|
-
percent, of actual estimated performance of the datastore (in IOPS) that
|
|
1127
|
-
storage DRS uses to make recommendations to move VMs off of a datastore when
|
|
1128
|
-
the total reservable IOPS exceeds the threshold. Default: `60` percent.
|
|
1129
|
-
:param pulumi.Input[str] sdrs_io_reservable_threshold_mode: The reservable IOPS
|
|
1130
|
-
threshold setting to use, `sdrs_io_reservable_percent_threshold` in the event
|
|
1131
|
-
of `automatic`, or `sdrs_io_reservable_iops_threshold` in the event of
|
|
1132
|
-
`manual`. Default: `automatic`.
|
|
1133
|
-
:param pulumi.Input[int] sdrs_load_balance_interval: The storage DRS poll interval, in
|
|
1134
|
-
minutes. Default: `480` minutes.
|
|
1135
|
-
:param pulumi.Input[str] sdrs_policy_enforcement_automation_level: Overrides the default
|
|
1136
|
-
automation settings when correcting storage and VM policy violations.
|
|
1137
|
-
:param pulumi.Input[str] sdrs_rule_enforcement_automation_level: Overrides the default
|
|
1138
|
-
automation settings when correcting affinity rule violations.
|
|
1139
|
-
:param pulumi.Input[str] sdrs_space_balance_automation_level: Overrides the default
|
|
1140
|
-
automation settings when correcting disk space imbalances.
|
|
1141
|
-
:param pulumi.Input[int] sdrs_space_utilization_threshold: Runtime thresholds govern
|
|
1142
|
-
when Storage DRS performs or recommends migrations
|
|
1143
|
-
(based on the selected automation level). Default: `80` percent.
|
|
1144
|
-
:param pulumi.Input[str] sdrs_vm_evacuation_automation_level: Overrides the default
|
|
1145
|
-
automation settings when generating recommendations for datastore evacuation.
|
|
1013
|
+
:param pulumi.Input[int] sdrs_free_space_utilization_difference: The threshold, in percent, of difference between space utilization in datastores before storage DRS makes decisions to
|
|
1014
|
+
balance the space.
|
|
1015
|
+
:param pulumi.Input[str] sdrs_io_balance_automation_level: Overrides the default automation settings when correcting I/O load imbalances.
|
|
1016
|
+
:param pulumi.Input[int] sdrs_io_latency_threshold: The I/O latency threshold, in milliseconds, that storage DRS uses to make recommendations to move disks from this
|
|
1017
|
+
datastore.
|
|
1018
|
+
:param pulumi.Input[bool] sdrs_io_load_balance_enabled: Enable I/O load balancing for this datastore cluster.
|
|
1019
|
+
:param pulumi.Input[int] sdrs_io_load_imbalance_threshold: The difference between load in datastores in the cluster before storage DRS makes recommendations to balance the load.
|
|
1020
|
+
:param pulumi.Input[int] sdrs_io_reservable_iops_threshold: The threshold of reservable IOPS of all virtual machines on the datastore before storage DRS makes recommendations to
|
|
1021
|
+
move VMs off of a datastore.
|
|
1022
|
+
:param pulumi.Input[int] sdrs_io_reservable_percent_threshold: The threshold, in percent, of actual estimated performance of the datastore (in IOPS) that storage DRS uses to make
|
|
1023
|
+
recommendations to move VMs off of a datastore when the total reservable IOPS exceeds the threshold.
|
|
1024
|
+
:param pulumi.Input[str] sdrs_io_reservable_threshold_mode: The reservable IOPS threshold to use, percent in the event of automatic, or manual threshold in the event of manual.
|
|
1025
|
+
:param pulumi.Input[int] sdrs_load_balance_interval: The storage DRS poll interval, in minutes.
|
|
1026
|
+
:param pulumi.Input[str] sdrs_policy_enforcement_automation_level: Overrides the default automation settings when correcting storage and VM policy violations.
|
|
1027
|
+
:param pulumi.Input[str] sdrs_rule_enforcement_automation_level: Overrides the default automation settings when correcting affinity rule violations.
|
|
1028
|
+
:param pulumi.Input[str] sdrs_space_balance_automation_level: Overrides the default automation settings when correcting disk space imbalances.
|
|
1029
|
+
:param pulumi.Input[int] sdrs_space_utilization_threshold: The threshold, in percent of used space, that storage DRS uses to make decisions to migrate VMs out of a datastore.
|
|
1030
|
+
:param pulumi.Input[str] sdrs_vm_evacuation_automation_level: Overrides the default automation settings when generating recommendations for datastore evacuation.
|
|
1146
1031
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The IDs of any tags to attach to this resource.
|
|
1147
|
-
|
|
1148
|
-
> **NOTE:** Tagging support requires vCenter 6.0 or higher.
|
|
1149
1032
|
"""
|
|
1150
1033
|
...
|
|
1151
1034
|
@overload
|
|
@@ -1154,7 +1037,35 @@ class DatastoreCluster(pulumi.CustomResource):
|
|
|
1154
1037
|
args: DatastoreClusterArgs,
|
|
1155
1038
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
1156
1039
|
"""
|
|
1157
|
-
|
|
1040
|
+
The `DatastoreCluster` resource can be used to create and manage
|
|
1041
|
+
datastore clusters. This can be used to create groups of datastores with a
|
|
1042
|
+
shared management interface, allowing for resource control and load balancing
|
|
1043
|
+
through Storage DRS.
|
|
1044
|
+
|
|
1045
|
+
For more information on vSphere datastore clusters and Storage DRS, see [this
|
|
1046
|
+
page][ref-vsphere-datastore-clusters].
|
|
1047
|
+
|
|
1048
|
+
[ref-vsphere-datastore-clusters]: https://docs.vmware.com/en/VMware-vSphere/8.0/vsphere-resource-management/GUID-598DF695-107E-406B-9C95-0AF961FC227A.html
|
|
1049
|
+
|
|
1050
|
+
> **NOTE:** This resource requires vCenter and is not available on direct ESXi
|
|
1051
|
+
connections.
|
|
1052
|
+
|
|
1053
|
+
> **NOTE:** Storage DRS requires a vSphere Enterprise Plus license.
|
|
1054
|
+
|
|
1055
|
+
## Import
|
|
1056
|
+
|
|
1057
|
+
An existing datastore cluster can be imported into this resource
|
|
1058
|
+
|
|
1059
|
+
via the path to the cluster, via the following command:
|
|
1060
|
+
|
|
1061
|
+
```sh
|
|
1062
|
+
$ pulumi import vsphere:index/datastoreCluster:DatastoreCluster datastore_cluster /dc1/datastore/ds-cluster
|
|
1063
|
+
```
|
|
1064
|
+
|
|
1065
|
+
The above would import the datastore cluster named `ds-cluster` that is located
|
|
1066
|
+
|
|
1067
|
+
in the `dc1` datacenter.
|
|
1068
|
+
|
|
1158
1069
|
:param str resource_name: The name of the resource.
|
|
1159
1070
|
:param DatastoreClusterArgs args: The arguments to use to populate this resource's properties.
|
|
1160
1071
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
@@ -1293,63 +1204,33 @@ class DatastoreCluster(pulumi.CustomResource):
|
|
|
1293
1204
|
`/dc1/datastore/foo/bar`, with the final inventory path being
|
|
1294
1205
|
`/dc1/datastore/foo/bar/datastore-cluster-test`.
|
|
1295
1206
|
:param pulumi.Input[str] name: The name of the datastore cluster.
|
|
1296
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] sdrs_advanced_options:
|
|
1297
|
-
|
|
1298
|
-
:param pulumi.Input[
|
|
1299
|
-
virtual machines in this datastore cluster. Default: `manual`.
|
|
1300
|
-
:param pulumi.Input[bool] sdrs_default_intra_vm_affinity: When `true`, all disks in a
|
|
1301
|
-
single virtual machine will be kept on the same datastore. Default: `true`.
|
|
1207
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] sdrs_advanced_options: Advanced configuration options for storage DRS.
|
|
1208
|
+
:param pulumi.Input[str] sdrs_automation_level: The default automation level for all virtual machines in this storage cluster.
|
|
1209
|
+
:param pulumi.Input[bool] sdrs_default_intra_vm_affinity: When true, storage DRS keeps VMDKs for individual VMs on the same datastore by default.
|
|
1302
1210
|
:param pulumi.Input[bool] sdrs_enabled: Enable Storage DRS for this datastore cluster.
|
|
1303
1211
|
Default: `false`.
|
|
1304
|
-
:param pulumi.Input[int] sdrs_free_space_threshold: The
|
|
1305
|
-
When set to `utilization`, `drs_space_utilization_threshold` is used, and
|
|
1306
|
-
when set to `freeSpace`, `drs_free_space_threshold` is used. Default:
|
|
1307
|
-
`utilization`.
|
|
1212
|
+
:param pulumi.Input[int] sdrs_free_space_threshold: The threshold, in GB, that storage DRS uses to make decisions to migrate VMs out of a datastore.
|
|
1308
1213
|
:param pulumi.Input[str] sdrs_free_space_threshold_mode: The free space threshold to use. When set to utilization, drs_space_utilization_threshold is used, and when set to
|
|
1309
1214
|
freeSpace, drs_free_space_threshold is used.
|
|
1310
|
-
:param pulumi.Input[int] sdrs_free_space_utilization_difference: The threshold, in
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
:param pulumi.Input[
|
|
1314
|
-
|
|
1315
|
-
:param pulumi.Input[
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
:param pulumi.Input[
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
to roughly 50-60%!o(MISSING)f the worst case peak performance of the backing LUNs.
|
|
1329
|
-
:param pulumi.Input[int] sdrs_io_reservable_percent_threshold: The threshold, in
|
|
1330
|
-
percent, of actual estimated performance of the datastore (in IOPS) that
|
|
1331
|
-
storage DRS uses to make recommendations to move VMs off of a datastore when
|
|
1332
|
-
the total reservable IOPS exceeds the threshold. Default: `60` percent.
|
|
1333
|
-
:param pulumi.Input[str] sdrs_io_reservable_threshold_mode: The reservable IOPS
|
|
1334
|
-
threshold setting to use, `sdrs_io_reservable_percent_threshold` in the event
|
|
1335
|
-
of `automatic`, or `sdrs_io_reservable_iops_threshold` in the event of
|
|
1336
|
-
`manual`. Default: `automatic`.
|
|
1337
|
-
:param pulumi.Input[int] sdrs_load_balance_interval: The storage DRS poll interval, in
|
|
1338
|
-
minutes. Default: `480` minutes.
|
|
1339
|
-
:param pulumi.Input[str] sdrs_policy_enforcement_automation_level: Overrides the default
|
|
1340
|
-
automation settings when correcting storage and VM policy violations.
|
|
1341
|
-
:param pulumi.Input[str] sdrs_rule_enforcement_automation_level: Overrides the default
|
|
1342
|
-
automation settings when correcting affinity rule violations.
|
|
1343
|
-
:param pulumi.Input[str] sdrs_space_balance_automation_level: Overrides the default
|
|
1344
|
-
automation settings when correcting disk space imbalances.
|
|
1345
|
-
:param pulumi.Input[int] sdrs_space_utilization_threshold: Runtime thresholds govern
|
|
1346
|
-
when Storage DRS performs or recommends migrations
|
|
1347
|
-
(based on the selected automation level). Default: `80` percent.
|
|
1348
|
-
:param pulumi.Input[str] sdrs_vm_evacuation_automation_level: Overrides the default
|
|
1349
|
-
automation settings when generating recommendations for datastore evacuation.
|
|
1215
|
+
:param pulumi.Input[int] sdrs_free_space_utilization_difference: The threshold, in percent, of difference between space utilization in datastores before storage DRS makes decisions to
|
|
1216
|
+
balance the space.
|
|
1217
|
+
:param pulumi.Input[str] sdrs_io_balance_automation_level: Overrides the default automation settings when correcting I/O load imbalances.
|
|
1218
|
+
:param pulumi.Input[int] sdrs_io_latency_threshold: The I/O latency threshold, in milliseconds, that storage DRS uses to make recommendations to move disks from this
|
|
1219
|
+
datastore.
|
|
1220
|
+
:param pulumi.Input[bool] sdrs_io_load_balance_enabled: Enable I/O load balancing for this datastore cluster.
|
|
1221
|
+
:param pulumi.Input[int] sdrs_io_load_imbalance_threshold: The difference between load in datastores in the cluster before storage DRS makes recommendations to balance the load.
|
|
1222
|
+
:param pulumi.Input[int] sdrs_io_reservable_iops_threshold: The threshold of reservable IOPS of all virtual machines on the datastore before storage DRS makes recommendations to
|
|
1223
|
+
move VMs off of a datastore.
|
|
1224
|
+
:param pulumi.Input[int] sdrs_io_reservable_percent_threshold: The threshold, in percent, of actual estimated performance of the datastore (in IOPS) that storage DRS uses to make
|
|
1225
|
+
recommendations to move VMs off of a datastore when the total reservable IOPS exceeds the threshold.
|
|
1226
|
+
:param pulumi.Input[str] sdrs_io_reservable_threshold_mode: The reservable IOPS threshold to use, percent in the event of automatic, or manual threshold in the event of manual.
|
|
1227
|
+
:param pulumi.Input[int] sdrs_load_balance_interval: The storage DRS poll interval, in minutes.
|
|
1228
|
+
:param pulumi.Input[str] sdrs_policy_enforcement_automation_level: Overrides the default automation settings when correcting storage and VM policy violations.
|
|
1229
|
+
:param pulumi.Input[str] sdrs_rule_enforcement_automation_level: Overrides the default automation settings when correcting affinity rule violations.
|
|
1230
|
+
:param pulumi.Input[str] sdrs_space_balance_automation_level: Overrides the default automation settings when correcting disk space imbalances.
|
|
1231
|
+
:param pulumi.Input[int] sdrs_space_utilization_threshold: The threshold, in percent of used space, that storage DRS uses to make decisions to migrate VMs out of a datastore.
|
|
1232
|
+
:param pulumi.Input[str] sdrs_vm_evacuation_automation_level: Overrides the default automation settings when generating recommendations for datastore evacuation.
|
|
1350
1233
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The IDs of any tags to attach to this resource.
|
|
1351
|
-
|
|
1352
|
-
> **NOTE:** Tagging support requires vCenter 6.0 or higher.
|
|
1353
1234
|
"""
|
|
1354
1235
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
1355
1236
|
|
|
@@ -1434,8 +1315,7 @@ class DatastoreCluster(pulumi.CustomResource):
|
|
|
1434
1315
|
@pulumi.getter(name="sdrsAdvancedOptions")
|
|
1435
1316
|
def sdrs_advanced_options(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
|
|
1436
1317
|
"""
|
|
1437
|
-
|
|
1438
|
-
settings that are not exposed via the provider or the vSphere client.
|
|
1318
|
+
Advanced configuration options for storage DRS.
|
|
1439
1319
|
"""
|
|
1440
1320
|
return pulumi.get(self, "sdrs_advanced_options")
|
|
1441
1321
|
|
|
@@ -1443,8 +1323,7 @@ class DatastoreCluster(pulumi.CustomResource):
|
|
|
1443
1323
|
@pulumi.getter(name="sdrsAutomationLevel")
|
|
1444
1324
|
def sdrs_automation_level(self) -> pulumi.Output[Optional[str]]:
|
|
1445
1325
|
"""
|
|
1446
|
-
The
|
|
1447
|
-
virtual machines in this datastore cluster. Default: `manual`.
|
|
1326
|
+
The default automation level for all virtual machines in this storage cluster.
|
|
1448
1327
|
"""
|
|
1449
1328
|
return pulumi.get(self, "sdrs_automation_level")
|
|
1450
1329
|
|
|
@@ -1452,8 +1331,7 @@ class DatastoreCluster(pulumi.CustomResource):
|
|
|
1452
1331
|
@pulumi.getter(name="sdrsDefaultIntraVmAffinity")
|
|
1453
1332
|
def sdrs_default_intra_vm_affinity(self) -> pulumi.Output[Optional[bool]]:
|
|
1454
1333
|
"""
|
|
1455
|
-
When
|
|
1456
|
-
single virtual machine will be kept on the same datastore. Default: `true`.
|
|
1334
|
+
When true, storage DRS keeps VMDKs for individual VMs on the same datastore by default.
|
|
1457
1335
|
"""
|
|
1458
1336
|
return pulumi.get(self, "sdrs_default_intra_vm_affinity")
|
|
1459
1337
|
|
|
@@ -1470,10 +1348,7 @@ class DatastoreCluster(pulumi.CustomResource):
|
|
|
1470
1348
|
@pulumi.getter(name="sdrsFreeSpaceThreshold")
|
|
1471
1349
|
def sdrs_free_space_threshold(self) -> pulumi.Output[Optional[int]]:
|
|
1472
1350
|
"""
|
|
1473
|
-
The
|
|
1474
|
-
When set to `utilization`, `drs_space_utilization_threshold` is used, and
|
|
1475
|
-
when set to `freeSpace`, `drs_free_space_threshold` is used. Default:
|
|
1476
|
-
`utilization`.
|
|
1351
|
+
The threshold, in GB, that storage DRS uses to make decisions to migrate VMs out of a datastore.
|
|
1477
1352
|
"""
|
|
1478
1353
|
return pulumi.get(self, "sdrs_free_space_threshold")
|
|
1479
1354
|
|
|
@@ -1490,9 +1365,8 @@ class DatastoreCluster(pulumi.CustomResource):
|
|
|
1490
1365
|
@pulumi.getter(name="sdrsFreeSpaceUtilizationDifference")
|
|
1491
1366
|
def sdrs_free_space_utilization_difference(self) -> pulumi.Output[Optional[int]]:
|
|
1492
1367
|
"""
|
|
1493
|
-
The threshold, in
|
|
1494
|
-
|
|
1495
|
-
DRS makes decisions to balance the space. Default: `5` percent.
|
|
1368
|
+
The threshold, in percent, of difference between space utilization in datastores before storage DRS makes decisions to
|
|
1369
|
+
balance the space.
|
|
1496
1370
|
"""
|
|
1497
1371
|
return pulumi.get(self, "sdrs_free_space_utilization_difference")
|
|
1498
1372
|
|
|
@@ -1500,8 +1374,7 @@ class DatastoreCluster(pulumi.CustomResource):
|
|
|
1500
1374
|
@pulumi.getter(name="sdrsIoBalanceAutomationLevel")
|
|
1501
1375
|
def sdrs_io_balance_automation_level(self) -> pulumi.Output[Optional[str]]:
|
|
1502
1376
|
"""
|
|
1503
|
-
Overrides the default
|
|
1504
|
-
automation settings when correcting I/O load imbalances.
|
|
1377
|
+
Overrides the default automation settings when correcting I/O load imbalances.
|
|
1505
1378
|
"""
|
|
1506
1379
|
return pulumi.get(self, "sdrs_io_balance_automation_level")
|
|
1507
1380
|
|
|
@@ -1509,9 +1382,8 @@ class DatastoreCluster(pulumi.CustomResource):
|
|
|
1509
1382
|
@pulumi.getter(name="sdrsIoLatencyThreshold")
|
|
1510
1383
|
def sdrs_io_latency_threshold(self) -> pulumi.Output[Optional[int]]:
|
|
1511
1384
|
"""
|
|
1512
|
-
The I/O latency threshold, in
|
|
1513
|
-
|
|
1514
|
-
from this datastore. Default: `15` seconds.
|
|
1385
|
+
The I/O latency threshold, in milliseconds, that storage DRS uses to make recommendations to move disks from this
|
|
1386
|
+
datastore.
|
|
1515
1387
|
"""
|
|
1516
1388
|
return pulumi.get(self, "sdrs_io_latency_threshold")
|
|
1517
1389
|
|
|
@@ -1519,8 +1391,7 @@ class DatastoreCluster(pulumi.CustomResource):
|
|
|
1519
1391
|
@pulumi.getter(name="sdrsIoLoadBalanceEnabled")
|
|
1520
1392
|
def sdrs_io_load_balance_enabled(self) -> pulumi.Output[Optional[bool]]:
|
|
1521
1393
|
"""
|
|
1522
|
-
Enable I/O load balancing for
|
|
1523
|
-
this datastore cluster. Default: `true`.
|
|
1394
|
+
Enable I/O load balancing for this datastore cluster.
|
|
1524
1395
|
"""
|
|
1525
1396
|
return pulumi.get(self, "sdrs_io_load_balance_enabled")
|
|
1526
1397
|
|
|
@@ -1528,9 +1399,7 @@ class DatastoreCluster(pulumi.CustomResource):
|
|
|
1528
1399
|
@pulumi.getter(name="sdrsIoLoadImbalanceThreshold")
|
|
1529
1400
|
def sdrs_io_load_imbalance_threshold(self) -> pulumi.Output[Optional[int]]:
|
|
1530
1401
|
"""
|
|
1531
|
-
The difference between load
|
|
1532
|
-
in datastores in the cluster before storage DRS makes recommendations to
|
|
1533
|
-
balance the load. Default: `5` percent.
|
|
1402
|
+
The difference between load in datastores in the cluster before storage DRS makes recommendations to balance the load.
|
|
1534
1403
|
"""
|
|
1535
1404
|
return pulumi.get(self, "sdrs_io_load_imbalance_threshold")
|
|
1536
1405
|
|
|
@@ -1538,12 +1407,8 @@ class DatastoreCluster(pulumi.CustomResource):
|
|
|
1538
1407
|
@pulumi.getter(name="sdrsIoReservableIopsThreshold")
|
|
1539
1408
|
def sdrs_io_reservable_iops_threshold(self) -> pulumi.Output[Optional[int]]:
|
|
1540
1409
|
"""
|
|
1541
|
-
The threshold of reservable
|
|
1542
|
-
|
|
1543
|
-
recommendations to move VMs off of a datastore. Note that this setting should
|
|
1544
|
-
only be set if `sdrs_io_reservable_percent_threshold` cannot make an accurate
|
|
1545
|
-
estimate of the capacity of the datastores in your cluster, and should be set
|
|
1546
|
-
to roughly 50-60%!o(MISSING)f the worst case peak performance of the backing LUNs.
|
|
1410
|
+
The threshold of reservable IOPS of all virtual machines on the datastore before storage DRS makes recommendations to
|
|
1411
|
+
move VMs off of a datastore.
|
|
1547
1412
|
"""
|
|
1548
1413
|
return pulumi.get(self, "sdrs_io_reservable_iops_threshold")
|
|
1549
1414
|
|
|
@@ -1551,10 +1416,8 @@ class DatastoreCluster(pulumi.CustomResource):
|
|
|
1551
1416
|
@pulumi.getter(name="sdrsIoReservablePercentThreshold")
|
|
1552
1417
|
def sdrs_io_reservable_percent_threshold(self) -> pulumi.Output[Optional[int]]:
|
|
1553
1418
|
"""
|
|
1554
|
-
The threshold, in
|
|
1555
|
-
|
|
1556
|
-
storage DRS uses to make recommendations to move VMs off of a datastore when
|
|
1557
|
-
the total reservable IOPS exceeds the threshold. Default: `60` percent.
|
|
1419
|
+
The threshold, in percent, of actual estimated performance of the datastore (in IOPS) that storage DRS uses to make
|
|
1420
|
+
recommendations to move VMs off of a datastore when the total reservable IOPS exceeds the threshold.
|
|
1558
1421
|
"""
|
|
1559
1422
|
return pulumi.get(self, "sdrs_io_reservable_percent_threshold")
|
|
1560
1423
|
|
|
@@ -1562,10 +1425,7 @@ class DatastoreCluster(pulumi.CustomResource):
|
|
|
1562
1425
|
@pulumi.getter(name="sdrsIoReservableThresholdMode")
|
|
1563
1426
|
def sdrs_io_reservable_threshold_mode(self) -> pulumi.Output[Optional[str]]:
|
|
1564
1427
|
"""
|
|
1565
|
-
The reservable IOPS
|
|
1566
|
-
threshold setting to use, `sdrs_io_reservable_percent_threshold` in the event
|
|
1567
|
-
of `automatic`, or `sdrs_io_reservable_iops_threshold` in the event of
|
|
1568
|
-
`manual`. Default: `automatic`.
|
|
1428
|
+
The reservable IOPS threshold to use, percent in the event of automatic, or manual threshold in the event of manual.
|
|
1569
1429
|
"""
|
|
1570
1430
|
return pulumi.get(self, "sdrs_io_reservable_threshold_mode")
|
|
1571
1431
|
|
|
@@ -1573,8 +1433,7 @@ class DatastoreCluster(pulumi.CustomResource):
|
|
|
1573
1433
|
@pulumi.getter(name="sdrsLoadBalanceInterval")
|
|
1574
1434
|
def sdrs_load_balance_interval(self) -> pulumi.Output[Optional[int]]:
|
|
1575
1435
|
"""
|
|
1576
|
-
The storage DRS poll interval, in
|
|
1577
|
-
minutes. Default: `480` minutes.
|
|
1436
|
+
The storage DRS poll interval, in minutes.
|
|
1578
1437
|
"""
|
|
1579
1438
|
return pulumi.get(self, "sdrs_load_balance_interval")
|
|
1580
1439
|
|
|
@@ -1582,8 +1441,7 @@ class DatastoreCluster(pulumi.CustomResource):
|
|
|
1582
1441
|
@pulumi.getter(name="sdrsPolicyEnforcementAutomationLevel")
|
|
1583
1442
|
def sdrs_policy_enforcement_automation_level(self) -> pulumi.Output[Optional[str]]:
|
|
1584
1443
|
"""
|
|
1585
|
-
Overrides the default
|
|
1586
|
-
automation settings when correcting storage and VM policy violations.
|
|
1444
|
+
Overrides the default automation settings when correcting storage and VM policy violations.
|
|
1587
1445
|
"""
|
|
1588
1446
|
return pulumi.get(self, "sdrs_policy_enforcement_automation_level")
|
|
1589
1447
|
|
|
@@ -1591,8 +1449,7 @@ class DatastoreCluster(pulumi.CustomResource):
|
|
|
1591
1449
|
@pulumi.getter(name="sdrsRuleEnforcementAutomationLevel")
|
|
1592
1450
|
def sdrs_rule_enforcement_automation_level(self) -> pulumi.Output[Optional[str]]:
|
|
1593
1451
|
"""
|
|
1594
|
-
Overrides the default
|
|
1595
|
-
automation settings when correcting affinity rule violations.
|
|
1452
|
+
Overrides the default automation settings when correcting affinity rule violations.
|
|
1596
1453
|
"""
|
|
1597
1454
|
return pulumi.get(self, "sdrs_rule_enforcement_automation_level")
|
|
1598
1455
|
|
|
@@ -1600,8 +1457,7 @@ class DatastoreCluster(pulumi.CustomResource):
|
|
|
1600
1457
|
@pulumi.getter(name="sdrsSpaceBalanceAutomationLevel")
|
|
1601
1458
|
def sdrs_space_balance_automation_level(self) -> pulumi.Output[Optional[str]]:
|
|
1602
1459
|
"""
|
|
1603
|
-
Overrides the default
|
|
1604
|
-
automation settings when correcting disk space imbalances.
|
|
1460
|
+
Overrides the default automation settings when correcting disk space imbalances.
|
|
1605
1461
|
"""
|
|
1606
1462
|
return pulumi.get(self, "sdrs_space_balance_automation_level")
|
|
1607
1463
|
|
|
@@ -1609,9 +1465,7 @@ class DatastoreCluster(pulumi.CustomResource):
|
|
|
1609
1465
|
@pulumi.getter(name="sdrsSpaceUtilizationThreshold")
|
|
1610
1466
|
def sdrs_space_utilization_threshold(self) -> pulumi.Output[Optional[int]]:
|
|
1611
1467
|
"""
|
|
1612
|
-
|
|
1613
|
-
when Storage DRS performs or recommends migrations
|
|
1614
|
-
(based on the selected automation level). Default: `80` percent.
|
|
1468
|
+
The threshold, in percent of used space, that storage DRS uses to make decisions to migrate VMs out of a datastore.
|
|
1615
1469
|
"""
|
|
1616
1470
|
return pulumi.get(self, "sdrs_space_utilization_threshold")
|
|
1617
1471
|
|
|
@@ -1619,8 +1473,7 @@ class DatastoreCluster(pulumi.CustomResource):
|
|
|
1619
1473
|
@pulumi.getter(name="sdrsVmEvacuationAutomationLevel")
|
|
1620
1474
|
def sdrs_vm_evacuation_automation_level(self) -> pulumi.Output[Optional[str]]:
|
|
1621
1475
|
"""
|
|
1622
|
-
Overrides the default
|
|
1623
|
-
automation settings when generating recommendations for datastore evacuation.
|
|
1476
|
+
Overrides the default automation settings when generating recommendations for datastore evacuation.
|
|
1624
1477
|
"""
|
|
1625
1478
|
return pulumi.get(self, "sdrs_vm_evacuation_automation_level")
|
|
1626
1479
|
|
|
@@ -1629,8 +1482,6 @@ class DatastoreCluster(pulumi.CustomResource):
|
|
|
1629
1482
|
def tags(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
1630
1483
|
"""
|
|
1631
1484
|
The IDs of any tags to attach to this resource.
|
|
1632
|
-
|
|
1633
|
-
> **NOTE:** Tagging support requires vCenter 6.0 or higher.
|
|
1634
1485
|
"""
|
|
1635
1486
|
return pulumi.get(self, "tags")
|
|
1636
1487
|
|