pulumi-vsphere 4.16.0a1755845322__py3-none-any.whl → 4.16.1__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 +10 -0
- pulumi_vsphere/compute_cluster.py +203 -462
- pulumi_vsphere/configuration_profile.py +286 -0
- pulumi_vsphere/datastore_cluster.py +35 -70
- pulumi_vsphere/distributed_port_group.py +21 -42
- pulumi_vsphere/distributed_virtual_switch.py +42 -77
- pulumi_vsphere/get_configuration_profile.py +145 -0
- pulumi_vsphere/get_guest_os_customization.py +4 -0
- pulumi_vsphere/get_ovf_vm_template.py +2 -2
- pulumi_vsphere/ha_vm_override.py +77 -161
- pulumi_vsphere/host_port_group.py +21 -42
- pulumi_vsphere/host_virtual_switch.py +21 -42
- pulumi_vsphere/pulumi-plugin.json +1 -1
- pulumi_vsphere/virtual_machine.py +98 -203
- {pulumi_vsphere-4.16.0a1755845322.dist-info → pulumi_vsphere-4.16.1.dist-info}/METADATA +1 -1
- {pulumi_vsphere-4.16.0a1755845322.dist-info → pulumi_vsphere-4.16.1.dist-info}/RECORD +18 -16
- {pulumi_vsphere-4.16.0a1755845322.dist-info → pulumi_vsphere-4.16.1.dist-info}/WHEEL +0 -0
- {pulumi_vsphere-4.16.0a1755845322.dist-info → pulumi_vsphere-4.16.1.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,286 @@
|
|
|
1
|
+
# coding=utf-8
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
|
|
5
|
+
import builtins as _builtins
|
|
6
|
+
import warnings
|
|
7
|
+
import sys
|
|
8
|
+
import pulumi
|
|
9
|
+
import pulumi.runtime
|
|
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
|
|
15
|
+
from . import _utilities
|
|
16
|
+
|
|
17
|
+
__all__ = ['ConfigurationProfileArgs', 'ConfigurationProfile']
|
|
18
|
+
|
|
19
|
+
@pulumi.input_type
|
|
20
|
+
class ConfigurationProfileArgs:
|
|
21
|
+
def __init__(__self__, *,
|
|
22
|
+
cluster_id: pulumi.Input[_builtins.str],
|
|
23
|
+
configuration: Optional[pulumi.Input[_builtins.str]] = None,
|
|
24
|
+
reference_host_id: Optional[pulumi.Input[_builtins.str]] = None):
|
|
25
|
+
"""
|
|
26
|
+
The set of arguments for constructing a ConfigurationProfile resource.
|
|
27
|
+
:param pulumi.Input[_builtins.str] cluster_id: The identifier of the cluster.
|
|
28
|
+
:param pulumi.Input[_builtins.str] configuration: The configuration JSON provided as a plain string. This argument can only be specified if `reference_host_id` is not set.
|
|
29
|
+
:param pulumi.Input[_builtins.str] reference_host_id: The identifier of the host to use as a configuration source.
|
|
30
|
+
The host needs to be a member of the cluster identified by `cluster_id`. This argument can only be specified if
|
|
31
|
+
`configuration` is not set.
|
|
32
|
+
"""
|
|
33
|
+
pulumi.set(__self__, "cluster_id", cluster_id)
|
|
34
|
+
if configuration is not None:
|
|
35
|
+
pulumi.set(__self__, "configuration", configuration)
|
|
36
|
+
if reference_host_id is not None:
|
|
37
|
+
pulumi.set(__self__, "reference_host_id", reference_host_id)
|
|
38
|
+
|
|
39
|
+
@_builtins.property
|
|
40
|
+
@pulumi.getter(name="clusterId")
|
|
41
|
+
def cluster_id(self) -> pulumi.Input[_builtins.str]:
|
|
42
|
+
"""
|
|
43
|
+
The identifier of the cluster.
|
|
44
|
+
"""
|
|
45
|
+
return pulumi.get(self, "cluster_id")
|
|
46
|
+
|
|
47
|
+
@cluster_id.setter
|
|
48
|
+
def cluster_id(self, value: pulumi.Input[_builtins.str]):
|
|
49
|
+
pulumi.set(self, "cluster_id", value)
|
|
50
|
+
|
|
51
|
+
@_builtins.property
|
|
52
|
+
@pulumi.getter
|
|
53
|
+
def configuration(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
54
|
+
"""
|
|
55
|
+
The configuration JSON provided as a plain string. This argument can only be specified if `reference_host_id` is not set.
|
|
56
|
+
"""
|
|
57
|
+
return pulumi.get(self, "configuration")
|
|
58
|
+
|
|
59
|
+
@configuration.setter
|
|
60
|
+
def configuration(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
61
|
+
pulumi.set(self, "configuration", value)
|
|
62
|
+
|
|
63
|
+
@_builtins.property
|
|
64
|
+
@pulumi.getter(name="referenceHostId")
|
|
65
|
+
def reference_host_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
66
|
+
"""
|
|
67
|
+
The identifier of the host to use as a configuration source.
|
|
68
|
+
The host needs to be a member of the cluster identified by `cluster_id`. This argument can only be specified if
|
|
69
|
+
`configuration` is not set.
|
|
70
|
+
"""
|
|
71
|
+
return pulumi.get(self, "reference_host_id")
|
|
72
|
+
|
|
73
|
+
@reference_host_id.setter
|
|
74
|
+
def reference_host_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
75
|
+
pulumi.set(self, "reference_host_id", value)
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
@pulumi.input_type
|
|
79
|
+
class _ConfigurationProfileState:
|
|
80
|
+
def __init__(__self__, *,
|
|
81
|
+
cluster_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
82
|
+
configuration: Optional[pulumi.Input[_builtins.str]] = None,
|
|
83
|
+
reference_host_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
84
|
+
schema: Optional[pulumi.Input[_builtins.str]] = None):
|
|
85
|
+
"""
|
|
86
|
+
Input properties used for looking up and filtering ConfigurationProfile resources.
|
|
87
|
+
:param pulumi.Input[_builtins.str] cluster_id: The identifier of the cluster.
|
|
88
|
+
:param pulumi.Input[_builtins.str] configuration: The configuration JSON provided as a plain string. This argument can only be specified if `reference_host_id` is not set.
|
|
89
|
+
:param pulumi.Input[_builtins.str] reference_host_id: The identifier of the host to use as a configuration source.
|
|
90
|
+
The host needs to be a member of the cluster identified by `cluster_id`. This argument can only be specified if
|
|
91
|
+
`configuration` is not set.
|
|
92
|
+
:param pulumi.Input[_builtins.str] schema: The JSON schema for the profile.
|
|
93
|
+
"""
|
|
94
|
+
if cluster_id is not None:
|
|
95
|
+
pulumi.set(__self__, "cluster_id", cluster_id)
|
|
96
|
+
if configuration is not None:
|
|
97
|
+
pulumi.set(__self__, "configuration", configuration)
|
|
98
|
+
if reference_host_id is not None:
|
|
99
|
+
pulumi.set(__self__, "reference_host_id", reference_host_id)
|
|
100
|
+
if schema is not None:
|
|
101
|
+
pulumi.set(__self__, "schema", schema)
|
|
102
|
+
|
|
103
|
+
@_builtins.property
|
|
104
|
+
@pulumi.getter(name="clusterId")
|
|
105
|
+
def cluster_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
106
|
+
"""
|
|
107
|
+
The identifier of the cluster.
|
|
108
|
+
"""
|
|
109
|
+
return pulumi.get(self, "cluster_id")
|
|
110
|
+
|
|
111
|
+
@cluster_id.setter
|
|
112
|
+
def cluster_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
113
|
+
pulumi.set(self, "cluster_id", value)
|
|
114
|
+
|
|
115
|
+
@_builtins.property
|
|
116
|
+
@pulumi.getter
|
|
117
|
+
def configuration(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
118
|
+
"""
|
|
119
|
+
The configuration JSON provided as a plain string. This argument can only be specified if `reference_host_id` is not set.
|
|
120
|
+
"""
|
|
121
|
+
return pulumi.get(self, "configuration")
|
|
122
|
+
|
|
123
|
+
@configuration.setter
|
|
124
|
+
def configuration(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
125
|
+
pulumi.set(self, "configuration", value)
|
|
126
|
+
|
|
127
|
+
@_builtins.property
|
|
128
|
+
@pulumi.getter(name="referenceHostId")
|
|
129
|
+
def reference_host_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
130
|
+
"""
|
|
131
|
+
The identifier of the host to use as a configuration source.
|
|
132
|
+
The host needs to be a member of the cluster identified by `cluster_id`. This argument can only be specified if
|
|
133
|
+
`configuration` is not set.
|
|
134
|
+
"""
|
|
135
|
+
return pulumi.get(self, "reference_host_id")
|
|
136
|
+
|
|
137
|
+
@reference_host_id.setter
|
|
138
|
+
def reference_host_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
139
|
+
pulumi.set(self, "reference_host_id", value)
|
|
140
|
+
|
|
141
|
+
@_builtins.property
|
|
142
|
+
@pulumi.getter
|
|
143
|
+
def schema(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
144
|
+
"""
|
|
145
|
+
The JSON schema for the profile.
|
|
146
|
+
"""
|
|
147
|
+
return pulumi.get(self, "schema")
|
|
148
|
+
|
|
149
|
+
@schema.setter
|
|
150
|
+
def schema(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
151
|
+
pulumi.set(self, "schema", value)
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
@pulumi.type_token("vsphere:index/configurationProfile:ConfigurationProfile")
|
|
155
|
+
class ConfigurationProfile(pulumi.CustomResource):
|
|
156
|
+
@overload
|
|
157
|
+
def __init__(__self__,
|
|
158
|
+
resource_name: str,
|
|
159
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
160
|
+
cluster_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
161
|
+
configuration: Optional[pulumi.Input[_builtins.str]] = None,
|
|
162
|
+
reference_host_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
163
|
+
__props__=None):
|
|
164
|
+
"""
|
|
165
|
+
Create a ConfigurationProfile resource with the given unique name, props, and options.
|
|
166
|
+
:param str resource_name: The name of the resource.
|
|
167
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
168
|
+
:param pulumi.Input[_builtins.str] cluster_id: The identifier of the cluster.
|
|
169
|
+
:param pulumi.Input[_builtins.str] configuration: The configuration JSON provided as a plain string. This argument can only be specified if `reference_host_id` is not set.
|
|
170
|
+
:param pulumi.Input[_builtins.str] reference_host_id: The identifier of the host to use as a configuration source.
|
|
171
|
+
The host needs to be a member of the cluster identified by `cluster_id`. This argument can only be specified if
|
|
172
|
+
`configuration` is not set.
|
|
173
|
+
"""
|
|
174
|
+
...
|
|
175
|
+
@overload
|
|
176
|
+
def __init__(__self__,
|
|
177
|
+
resource_name: str,
|
|
178
|
+
args: ConfigurationProfileArgs,
|
|
179
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
|
180
|
+
"""
|
|
181
|
+
Create a ConfigurationProfile resource with the given unique name, props, and options.
|
|
182
|
+
:param str resource_name: The name of the resource.
|
|
183
|
+
:param ConfigurationProfileArgs args: The arguments to use to populate this resource's properties.
|
|
184
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
185
|
+
"""
|
|
186
|
+
...
|
|
187
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
|
188
|
+
resource_args, opts = _utilities.get_resource_args_opts(ConfigurationProfileArgs, pulumi.ResourceOptions, *args, **kwargs)
|
|
189
|
+
if resource_args is not None:
|
|
190
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
|
191
|
+
else:
|
|
192
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
|
193
|
+
|
|
194
|
+
def _internal_init(__self__,
|
|
195
|
+
resource_name: str,
|
|
196
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
197
|
+
cluster_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
198
|
+
configuration: Optional[pulumi.Input[_builtins.str]] = None,
|
|
199
|
+
reference_host_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
200
|
+
__props__=None):
|
|
201
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
202
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
|
203
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
|
204
|
+
if opts.id is None:
|
|
205
|
+
if __props__ is not None:
|
|
206
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
207
|
+
__props__ = ConfigurationProfileArgs.__new__(ConfigurationProfileArgs)
|
|
208
|
+
|
|
209
|
+
if cluster_id is None and not opts.urn:
|
|
210
|
+
raise TypeError("Missing required property 'cluster_id'")
|
|
211
|
+
__props__.__dict__["cluster_id"] = cluster_id
|
|
212
|
+
__props__.__dict__["configuration"] = configuration
|
|
213
|
+
__props__.__dict__["reference_host_id"] = reference_host_id
|
|
214
|
+
__props__.__dict__["schema"] = None
|
|
215
|
+
super(ConfigurationProfile, __self__).__init__(
|
|
216
|
+
'vsphere:index/configurationProfile:ConfigurationProfile',
|
|
217
|
+
resource_name,
|
|
218
|
+
__props__,
|
|
219
|
+
opts)
|
|
220
|
+
|
|
221
|
+
@staticmethod
|
|
222
|
+
def get(resource_name: str,
|
|
223
|
+
id: pulumi.Input[str],
|
|
224
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
225
|
+
cluster_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
226
|
+
configuration: Optional[pulumi.Input[_builtins.str]] = None,
|
|
227
|
+
reference_host_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
228
|
+
schema: Optional[pulumi.Input[_builtins.str]] = None) -> 'ConfigurationProfile':
|
|
229
|
+
"""
|
|
230
|
+
Get an existing ConfigurationProfile resource's state with the given name, id, and optional extra
|
|
231
|
+
properties used to qualify the lookup.
|
|
232
|
+
|
|
233
|
+
:param str resource_name: The unique name of the resulting resource.
|
|
234
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
235
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
236
|
+
:param pulumi.Input[_builtins.str] cluster_id: The identifier of the cluster.
|
|
237
|
+
:param pulumi.Input[_builtins.str] configuration: The configuration JSON provided as a plain string. This argument can only be specified if `reference_host_id` is not set.
|
|
238
|
+
:param pulumi.Input[_builtins.str] reference_host_id: The identifier of the host to use as a configuration source.
|
|
239
|
+
The host needs to be a member of the cluster identified by `cluster_id`. This argument can only be specified if
|
|
240
|
+
`configuration` is not set.
|
|
241
|
+
:param pulumi.Input[_builtins.str] schema: The JSON schema for the profile.
|
|
242
|
+
"""
|
|
243
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
244
|
+
|
|
245
|
+
__props__ = _ConfigurationProfileState.__new__(_ConfigurationProfileState)
|
|
246
|
+
|
|
247
|
+
__props__.__dict__["cluster_id"] = cluster_id
|
|
248
|
+
__props__.__dict__["configuration"] = configuration
|
|
249
|
+
__props__.__dict__["reference_host_id"] = reference_host_id
|
|
250
|
+
__props__.__dict__["schema"] = schema
|
|
251
|
+
return ConfigurationProfile(resource_name, opts=opts, __props__=__props__)
|
|
252
|
+
|
|
253
|
+
@_builtins.property
|
|
254
|
+
@pulumi.getter(name="clusterId")
|
|
255
|
+
def cluster_id(self) -> pulumi.Output[_builtins.str]:
|
|
256
|
+
"""
|
|
257
|
+
The identifier of the cluster.
|
|
258
|
+
"""
|
|
259
|
+
return pulumi.get(self, "cluster_id")
|
|
260
|
+
|
|
261
|
+
@_builtins.property
|
|
262
|
+
@pulumi.getter
|
|
263
|
+
def configuration(self) -> pulumi.Output[_builtins.str]:
|
|
264
|
+
"""
|
|
265
|
+
The configuration JSON provided as a plain string. This argument can only be specified if `reference_host_id` is not set.
|
|
266
|
+
"""
|
|
267
|
+
return pulumi.get(self, "configuration")
|
|
268
|
+
|
|
269
|
+
@_builtins.property
|
|
270
|
+
@pulumi.getter(name="referenceHostId")
|
|
271
|
+
def reference_host_id(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
272
|
+
"""
|
|
273
|
+
The identifier of the host to use as a configuration source.
|
|
274
|
+
The host needs to be a member of the cluster identified by `cluster_id`. This argument can only be specified if
|
|
275
|
+
`configuration` is not set.
|
|
276
|
+
"""
|
|
277
|
+
return pulumi.get(self, "reference_host_id")
|
|
278
|
+
|
|
279
|
+
@_builtins.property
|
|
280
|
+
@pulumi.getter
|
|
281
|
+
def schema(self) -> pulumi.Output[_builtins.str]:
|
|
282
|
+
"""
|
|
283
|
+
The JSON schema for the profile.
|
|
284
|
+
"""
|
|
285
|
+
return pulumi.get(self, "schema")
|
|
286
|
+
|
|
@@ -72,19 +72,14 @@ class DatastoreClusterArgs:
|
|
|
72
72
|
:param pulumi.Input[_builtins.bool] sdrs_enabled: Enable Storage DRS for this datastore cluster.
|
|
73
73
|
Default: `false`.
|
|
74
74
|
:param pulumi.Input[_builtins.int] sdrs_free_space_threshold: The threshold, in GB, that storage DRS uses to make decisions to migrate VMs out of a datastore.
|
|
75
|
-
:param pulumi.Input[_builtins.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
|
|
76
|
-
|
|
77
|
-
:param pulumi.Input[_builtins.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.
|
|
75
|
+
:param pulumi.Input[_builtins.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 freeSpace, drs_free_space_threshold is used.
|
|
76
|
+
:param pulumi.Input[_builtins.int] sdrs_free_space_utilization_difference: The threshold, in percent, of difference between space utilization in datastores before storage DRS makes decisions to balance the space.
|
|
79
77
|
:param pulumi.Input[_builtins.str] sdrs_io_balance_automation_level: Overrides the default automation settings when correcting I/O load imbalances.
|
|
80
|
-
:param pulumi.Input[_builtins.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.
|
|
78
|
+
:param pulumi.Input[_builtins.int] sdrs_io_latency_threshold: The I/O latency threshold, in milliseconds, that storage DRS uses to make recommendations to move disks from this datastore.
|
|
82
79
|
:param pulumi.Input[_builtins.bool] sdrs_io_load_balance_enabled: Enable I/O load balancing for this datastore cluster.
|
|
83
80
|
:param pulumi.Input[_builtins.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[_builtins.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
|
-
|
|
86
|
-
:param pulumi.Input[_builtins.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.
|
|
81
|
+
:param pulumi.Input[_builtins.int] sdrs_io_reservable_iops_threshold: The threshold of reservable IOPS of all virtual machines on the datastore before storage DRS makes recommendations to move VMs off of a datastore.
|
|
82
|
+
:param pulumi.Input[_builtins.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 recommendations to move VMs off of a datastore when the total reservable IOPS exceeds the threshold.
|
|
88
83
|
:param pulumi.Input[_builtins.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
84
|
:param pulumi.Input[_builtins.int] sdrs_load_balance_interval: The storage DRS poll interval, in minutes.
|
|
90
85
|
:param pulumi.Input[_builtins.str] sdrs_policy_enforcement_automation_level: Overrides the default automation settings when correcting storage and VM policy violations.
|
|
@@ -273,8 +268,7 @@ class DatastoreClusterArgs:
|
|
|
273
268
|
@pulumi.getter(name="sdrsFreeSpaceThresholdMode")
|
|
274
269
|
def sdrs_free_space_threshold_mode(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
275
270
|
"""
|
|
276
|
-
The free space threshold to use. When set to utilization, drs_space_utilization_threshold is used, and when set to
|
|
277
|
-
freeSpace, drs_free_space_threshold is used.
|
|
271
|
+
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.
|
|
278
272
|
"""
|
|
279
273
|
return pulumi.get(self, "sdrs_free_space_threshold_mode")
|
|
280
274
|
|
|
@@ -286,8 +280,7 @@ class DatastoreClusterArgs:
|
|
|
286
280
|
@pulumi.getter(name="sdrsFreeSpaceUtilizationDifference")
|
|
287
281
|
def sdrs_free_space_utilization_difference(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
288
282
|
"""
|
|
289
|
-
The threshold, in percent, of difference between space utilization in datastores before storage DRS makes decisions to
|
|
290
|
-
balance the space.
|
|
283
|
+
The threshold, in percent, of difference between space utilization in datastores before storage DRS makes decisions to balance the space.
|
|
291
284
|
"""
|
|
292
285
|
return pulumi.get(self, "sdrs_free_space_utilization_difference")
|
|
293
286
|
|
|
@@ -311,8 +304,7 @@ class DatastoreClusterArgs:
|
|
|
311
304
|
@pulumi.getter(name="sdrsIoLatencyThreshold")
|
|
312
305
|
def sdrs_io_latency_threshold(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
313
306
|
"""
|
|
314
|
-
The I/O latency threshold, in milliseconds, that storage DRS uses to make recommendations to move disks from this
|
|
315
|
-
datastore.
|
|
307
|
+
The I/O latency threshold, in milliseconds, that storage DRS uses to make recommendations to move disks from this datastore.
|
|
316
308
|
"""
|
|
317
309
|
return pulumi.get(self, "sdrs_io_latency_threshold")
|
|
318
310
|
|
|
@@ -348,8 +340,7 @@ class DatastoreClusterArgs:
|
|
|
348
340
|
@pulumi.getter(name="sdrsIoReservableIopsThreshold")
|
|
349
341
|
def sdrs_io_reservable_iops_threshold(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
350
342
|
"""
|
|
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.
|
|
343
|
+
The threshold of reservable IOPS of all virtual machines on the datastore before storage DRS makes recommendations to move VMs off of a datastore.
|
|
353
344
|
"""
|
|
354
345
|
return pulumi.get(self, "sdrs_io_reservable_iops_threshold")
|
|
355
346
|
|
|
@@ -361,8 +352,7 @@ class DatastoreClusterArgs:
|
|
|
361
352
|
@pulumi.getter(name="sdrsIoReservablePercentThreshold")
|
|
362
353
|
def sdrs_io_reservable_percent_threshold(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
363
354
|
"""
|
|
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.
|
|
355
|
+
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.
|
|
366
356
|
"""
|
|
367
357
|
return pulumi.get(self, "sdrs_io_reservable_percent_threshold")
|
|
368
358
|
|
|
@@ -523,19 +513,14 @@ class _DatastoreClusterState:
|
|
|
523
513
|
:param pulumi.Input[_builtins.bool] sdrs_enabled: Enable Storage DRS for this datastore cluster.
|
|
524
514
|
Default: `false`.
|
|
525
515
|
:param pulumi.Input[_builtins.int] sdrs_free_space_threshold: The threshold, in GB, that storage DRS uses to make decisions to migrate VMs out of a datastore.
|
|
526
|
-
:param pulumi.Input[_builtins.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
|
|
527
|
-
|
|
528
|
-
:param pulumi.Input[_builtins.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.
|
|
516
|
+
:param pulumi.Input[_builtins.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 freeSpace, drs_free_space_threshold is used.
|
|
517
|
+
:param pulumi.Input[_builtins.int] sdrs_free_space_utilization_difference: The threshold, in percent, of difference between space utilization in datastores before storage DRS makes decisions to balance the space.
|
|
530
518
|
:param pulumi.Input[_builtins.str] sdrs_io_balance_automation_level: Overrides the default automation settings when correcting I/O load imbalances.
|
|
531
|
-
:param pulumi.Input[_builtins.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.
|
|
519
|
+
:param pulumi.Input[_builtins.int] sdrs_io_latency_threshold: The I/O latency threshold, in milliseconds, that storage DRS uses to make recommendations to move disks from this datastore.
|
|
533
520
|
:param pulumi.Input[_builtins.bool] sdrs_io_load_balance_enabled: Enable I/O load balancing for this datastore cluster.
|
|
534
521
|
:param pulumi.Input[_builtins.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[_builtins.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
|
-
|
|
537
|
-
:param pulumi.Input[_builtins.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.
|
|
522
|
+
:param pulumi.Input[_builtins.int] sdrs_io_reservable_iops_threshold: The threshold of reservable IOPS of all virtual machines on the datastore before storage DRS makes recommendations to move VMs off of a datastore.
|
|
523
|
+
:param pulumi.Input[_builtins.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 recommendations to move VMs off of a datastore when the total reservable IOPS exceeds the threshold.
|
|
539
524
|
:param pulumi.Input[_builtins.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
525
|
:param pulumi.Input[_builtins.int] sdrs_load_balance_interval: The storage DRS poll interval, in minutes.
|
|
541
526
|
:param pulumi.Input[_builtins.str] sdrs_policy_enforcement_automation_level: Overrides the default automation settings when correcting storage and VM policy violations.
|
|
@@ -725,8 +710,7 @@ class _DatastoreClusterState:
|
|
|
725
710
|
@pulumi.getter(name="sdrsFreeSpaceThresholdMode")
|
|
726
711
|
def sdrs_free_space_threshold_mode(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
727
712
|
"""
|
|
728
|
-
The free space threshold to use. When set to utilization, drs_space_utilization_threshold is used, and when set to
|
|
729
|
-
freeSpace, drs_free_space_threshold is used.
|
|
713
|
+
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.
|
|
730
714
|
"""
|
|
731
715
|
return pulumi.get(self, "sdrs_free_space_threshold_mode")
|
|
732
716
|
|
|
@@ -738,8 +722,7 @@ class _DatastoreClusterState:
|
|
|
738
722
|
@pulumi.getter(name="sdrsFreeSpaceUtilizationDifference")
|
|
739
723
|
def sdrs_free_space_utilization_difference(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
740
724
|
"""
|
|
741
|
-
The threshold, in percent, of difference between space utilization in datastores before storage DRS makes decisions to
|
|
742
|
-
balance the space.
|
|
725
|
+
The threshold, in percent, of difference between space utilization in datastores before storage DRS makes decisions to balance the space.
|
|
743
726
|
"""
|
|
744
727
|
return pulumi.get(self, "sdrs_free_space_utilization_difference")
|
|
745
728
|
|
|
@@ -763,8 +746,7 @@ class _DatastoreClusterState:
|
|
|
763
746
|
@pulumi.getter(name="sdrsIoLatencyThreshold")
|
|
764
747
|
def sdrs_io_latency_threshold(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
765
748
|
"""
|
|
766
|
-
The I/O latency threshold, in milliseconds, that storage DRS uses to make recommendations to move disks from this
|
|
767
|
-
datastore.
|
|
749
|
+
The I/O latency threshold, in milliseconds, that storage DRS uses to make recommendations to move disks from this datastore.
|
|
768
750
|
"""
|
|
769
751
|
return pulumi.get(self, "sdrs_io_latency_threshold")
|
|
770
752
|
|
|
@@ -800,8 +782,7 @@ class _DatastoreClusterState:
|
|
|
800
782
|
@pulumi.getter(name="sdrsIoReservableIopsThreshold")
|
|
801
783
|
def sdrs_io_reservable_iops_threshold(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
802
784
|
"""
|
|
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.
|
|
785
|
+
The threshold of reservable IOPS of all virtual machines on the datastore before storage DRS makes recommendations to move VMs off of a datastore.
|
|
805
786
|
"""
|
|
806
787
|
return pulumi.get(self, "sdrs_io_reservable_iops_threshold")
|
|
807
788
|
|
|
@@ -813,8 +794,7 @@ class _DatastoreClusterState:
|
|
|
813
794
|
@pulumi.getter(name="sdrsIoReservablePercentThreshold")
|
|
814
795
|
def sdrs_io_reservable_percent_threshold(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
815
796
|
"""
|
|
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.
|
|
797
|
+
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.
|
|
818
798
|
"""
|
|
819
799
|
return pulumi.get(self, "sdrs_io_reservable_percent_threshold")
|
|
820
800
|
|
|
@@ -1053,19 +1033,14 @@ class DatastoreCluster(pulumi.CustomResource):
|
|
|
1053
1033
|
:param pulumi.Input[_builtins.bool] sdrs_enabled: Enable Storage DRS for this datastore cluster.
|
|
1054
1034
|
Default: `false`.
|
|
1055
1035
|
:param pulumi.Input[_builtins.int] sdrs_free_space_threshold: The threshold, in GB, that storage DRS uses to make decisions to migrate VMs out of a datastore.
|
|
1056
|
-
:param pulumi.Input[_builtins.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
|
|
1057
|
-
|
|
1058
|
-
:param pulumi.Input[_builtins.int] sdrs_free_space_utilization_difference: The threshold, in percent, of difference between space utilization in datastores before storage DRS makes decisions to
|
|
1059
|
-
balance the space.
|
|
1036
|
+
:param pulumi.Input[_builtins.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 freeSpace, drs_free_space_threshold is used.
|
|
1037
|
+
:param pulumi.Input[_builtins.int] sdrs_free_space_utilization_difference: The threshold, in percent, of difference between space utilization in datastores before storage DRS makes decisions to balance the space.
|
|
1060
1038
|
:param pulumi.Input[_builtins.str] sdrs_io_balance_automation_level: Overrides the default automation settings when correcting I/O load imbalances.
|
|
1061
|
-
:param pulumi.Input[_builtins.int] sdrs_io_latency_threshold: The I/O latency threshold, in milliseconds, that storage DRS uses to make recommendations to move disks from this
|
|
1062
|
-
datastore.
|
|
1039
|
+
:param pulumi.Input[_builtins.int] sdrs_io_latency_threshold: The I/O latency threshold, in milliseconds, that storage DRS uses to make recommendations to move disks from this datastore.
|
|
1063
1040
|
:param pulumi.Input[_builtins.bool] sdrs_io_load_balance_enabled: Enable I/O load balancing for this datastore cluster.
|
|
1064
1041
|
:param pulumi.Input[_builtins.int] sdrs_io_load_imbalance_threshold: The difference between load in datastores in the cluster before storage DRS makes recommendations to balance the load.
|
|
1065
|
-
:param pulumi.Input[_builtins.int] sdrs_io_reservable_iops_threshold: The threshold of reservable IOPS of all virtual machines on the datastore before storage DRS makes recommendations to
|
|
1066
|
-
|
|
1067
|
-
:param pulumi.Input[_builtins.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
|
|
1068
|
-
recommendations to move VMs off of a datastore when the total reservable IOPS exceeds the threshold.
|
|
1042
|
+
:param pulumi.Input[_builtins.int] sdrs_io_reservable_iops_threshold: The threshold of reservable IOPS of all virtual machines on the datastore before storage DRS makes recommendations to move VMs off of a datastore.
|
|
1043
|
+
:param pulumi.Input[_builtins.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 recommendations to move VMs off of a datastore when the total reservable IOPS exceeds the threshold.
|
|
1069
1044
|
:param pulumi.Input[_builtins.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.
|
|
1070
1045
|
:param pulumi.Input[_builtins.int] sdrs_load_balance_interval: The storage DRS poll interval, in minutes.
|
|
1071
1046
|
:param pulumi.Input[_builtins.str] sdrs_policy_enforcement_automation_level: Overrides the default automation settings when correcting storage and VM policy violations.
|
|
@@ -1299,19 +1274,14 @@ class DatastoreCluster(pulumi.CustomResource):
|
|
|
1299
1274
|
:param pulumi.Input[_builtins.bool] sdrs_enabled: Enable Storage DRS for this datastore cluster.
|
|
1300
1275
|
Default: `false`.
|
|
1301
1276
|
:param pulumi.Input[_builtins.int] sdrs_free_space_threshold: The threshold, in GB, that storage DRS uses to make decisions to migrate VMs out of a datastore.
|
|
1302
|
-
:param pulumi.Input[_builtins.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
|
|
1303
|
-
|
|
1304
|
-
:param pulumi.Input[_builtins.int] sdrs_free_space_utilization_difference: The threshold, in percent, of difference between space utilization in datastores before storage DRS makes decisions to
|
|
1305
|
-
balance the space.
|
|
1277
|
+
:param pulumi.Input[_builtins.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 freeSpace, drs_free_space_threshold is used.
|
|
1278
|
+
:param pulumi.Input[_builtins.int] sdrs_free_space_utilization_difference: The threshold, in percent, of difference between space utilization in datastores before storage DRS makes decisions to balance the space.
|
|
1306
1279
|
:param pulumi.Input[_builtins.str] sdrs_io_balance_automation_level: Overrides the default automation settings when correcting I/O load imbalances.
|
|
1307
|
-
:param pulumi.Input[_builtins.int] sdrs_io_latency_threshold: The I/O latency threshold, in milliseconds, that storage DRS uses to make recommendations to move disks from this
|
|
1308
|
-
datastore.
|
|
1280
|
+
:param pulumi.Input[_builtins.int] sdrs_io_latency_threshold: The I/O latency threshold, in milliseconds, that storage DRS uses to make recommendations to move disks from this datastore.
|
|
1309
1281
|
:param pulumi.Input[_builtins.bool] sdrs_io_load_balance_enabled: Enable I/O load balancing for this datastore cluster.
|
|
1310
1282
|
:param pulumi.Input[_builtins.int] sdrs_io_load_imbalance_threshold: The difference between load in datastores in the cluster before storage DRS makes recommendations to balance the load.
|
|
1311
|
-
:param pulumi.Input[_builtins.int] sdrs_io_reservable_iops_threshold: The threshold of reservable IOPS of all virtual machines on the datastore before storage DRS makes recommendations to
|
|
1312
|
-
|
|
1313
|
-
:param pulumi.Input[_builtins.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
|
|
1314
|
-
recommendations to move VMs off of a datastore when the total reservable IOPS exceeds the threshold.
|
|
1283
|
+
:param pulumi.Input[_builtins.int] sdrs_io_reservable_iops_threshold: The threshold of reservable IOPS of all virtual machines on the datastore before storage DRS makes recommendations to move VMs off of a datastore.
|
|
1284
|
+
:param pulumi.Input[_builtins.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 recommendations to move VMs off of a datastore when the total reservable IOPS exceeds the threshold.
|
|
1315
1285
|
:param pulumi.Input[_builtins.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.
|
|
1316
1286
|
:param pulumi.Input[_builtins.int] sdrs_load_balance_interval: The storage DRS poll interval, in minutes.
|
|
1317
1287
|
:param pulumi.Input[_builtins.str] sdrs_policy_enforcement_automation_level: Overrides the default automation settings when correcting storage and VM policy violations.
|
|
@@ -1445,8 +1415,7 @@ class DatastoreCluster(pulumi.CustomResource):
|
|
|
1445
1415
|
@pulumi.getter(name="sdrsFreeSpaceThresholdMode")
|
|
1446
1416
|
def sdrs_free_space_threshold_mode(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
1447
1417
|
"""
|
|
1448
|
-
The free space threshold to use. When set to utilization, drs_space_utilization_threshold is used, and when set to
|
|
1449
|
-
freeSpace, drs_free_space_threshold is used.
|
|
1418
|
+
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.
|
|
1450
1419
|
"""
|
|
1451
1420
|
return pulumi.get(self, "sdrs_free_space_threshold_mode")
|
|
1452
1421
|
|
|
@@ -1454,8 +1423,7 @@ class DatastoreCluster(pulumi.CustomResource):
|
|
|
1454
1423
|
@pulumi.getter(name="sdrsFreeSpaceUtilizationDifference")
|
|
1455
1424
|
def sdrs_free_space_utilization_difference(self) -> pulumi.Output[Optional[_builtins.int]]:
|
|
1456
1425
|
"""
|
|
1457
|
-
The threshold, in percent, of difference between space utilization in datastores before storage DRS makes decisions to
|
|
1458
|
-
balance the space.
|
|
1426
|
+
The threshold, in percent, of difference between space utilization in datastores before storage DRS makes decisions to balance the space.
|
|
1459
1427
|
"""
|
|
1460
1428
|
return pulumi.get(self, "sdrs_free_space_utilization_difference")
|
|
1461
1429
|
|
|
@@ -1471,8 +1439,7 @@ class DatastoreCluster(pulumi.CustomResource):
|
|
|
1471
1439
|
@pulumi.getter(name="sdrsIoLatencyThreshold")
|
|
1472
1440
|
def sdrs_io_latency_threshold(self) -> pulumi.Output[Optional[_builtins.int]]:
|
|
1473
1441
|
"""
|
|
1474
|
-
The I/O latency threshold, in milliseconds, that storage DRS uses to make recommendations to move disks from this
|
|
1475
|
-
datastore.
|
|
1442
|
+
The I/O latency threshold, in milliseconds, that storage DRS uses to make recommendations to move disks from this datastore.
|
|
1476
1443
|
"""
|
|
1477
1444
|
return pulumi.get(self, "sdrs_io_latency_threshold")
|
|
1478
1445
|
|
|
@@ -1496,8 +1463,7 @@ class DatastoreCluster(pulumi.CustomResource):
|
|
|
1496
1463
|
@pulumi.getter(name="sdrsIoReservableIopsThreshold")
|
|
1497
1464
|
def sdrs_io_reservable_iops_threshold(self) -> pulumi.Output[Optional[_builtins.int]]:
|
|
1498
1465
|
"""
|
|
1499
|
-
The threshold of reservable IOPS of all virtual machines on the datastore before storage DRS makes recommendations to
|
|
1500
|
-
move VMs off of a datastore.
|
|
1466
|
+
The threshold of reservable IOPS of all virtual machines on the datastore before storage DRS makes recommendations to move VMs off of a datastore.
|
|
1501
1467
|
"""
|
|
1502
1468
|
return pulumi.get(self, "sdrs_io_reservable_iops_threshold")
|
|
1503
1469
|
|
|
@@ -1505,8 +1471,7 @@ class DatastoreCluster(pulumi.CustomResource):
|
|
|
1505
1471
|
@pulumi.getter(name="sdrsIoReservablePercentThreshold")
|
|
1506
1472
|
def sdrs_io_reservable_percent_threshold(self) -> pulumi.Output[Optional[_builtins.int]]:
|
|
1507
1473
|
"""
|
|
1508
|
-
The threshold, in percent, of actual estimated performance of the datastore (in IOPS) that storage DRS uses to make
|
|
1509
|
-
recommendations to move VMs off of a datastore when the total reservable IOPS exceeds the threshold.
|
|
1474
|
+
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.
|
|
1510
1475
|
"""
|
|
1511
1476
|
return pulumi.get(self, "sdrs_io_reservable_percent_threshold")
|
|
1512
1477
|
|