pulumi-vsphere 4.10.0a1710245029__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.

Files changed (85) hide show
  1. pulumi_vsphere/__init__.py +28 -0
  2. pulumi_vsphere/_inputs.py +1816 -277
  3. pulumi_vsphere/_utilities.py +41 -5
  4. pulumi_vsphere/compute_cluster.py +937 -1488
  5. pulumi_vsphere/compute_cluster_host_group.py +67 -2
  6. pulumi_vsphere/compute_cluster_vm_affinity_rule.py +69 -34
  7. pulumi_vsphere/compute_cluster_vm_anti_affinity_rule.py +41 -2
  8. pulumi_vsphere/compute_cluster_vm_dependency_rule.py +205 -2
  9. pulumi_vsphere/compute_cluster_vm_group.py +198 -2
  10. pulumi_vsphere/compute_cluster_vm_host_rule.py +73 -2
  11. pulumi_vsphere/config/__init__.pyi +5 -0
  12. pulumi_vsphere/config/vars.py +5 -0
  13. pulumi_vsphere/content_library.py +113 -12
  14. pulumi_vsphere/content_library_item.py +143 -2
  15. pulumi_vsphere/custom_attribute.py +77 -2
  16. pulumi_vsphere/datacenter.py +48 -40
  17. pulumi_vsphere/datastore_cluster.py +217 -366
  18. pulumi_vsphere/datastore_cluster_vm_anti_affinity_rule.py +159 -2
  19. pulumi_vsphere/distributed_port_group.py +416 -189
  20. pulumi_vsphere/distributed_virtual_switch.py +571 -830
  21. pulumi_vsphere/dpm_host_override.py +63 -2
  22. pulumi_vsphere/drs_vm_override.py +67 -2
  23. pulumi_vsphere/entity_permissions.py +64 -38
  24. pulumi_vsphere/file.py +21 -24
  25. pulumi_vsphere/folder.py +148 -30
  26. pulumi_vsphere/get_compute_cluster.py +16 -9
  27. pulumi_vsphere/get_compute_cluster_host_group.py +36 -25
  28. pulumi_vsphere/get_content_library.py +23 -15
  29. pulumi_vsphere/get_content_library_item.py +29 -13
  30. pulumi_vsphere/get_custom_attribute.py +14 -9
  31. pulumi_vsphere/get_datacenter.py +30 -12
  32. pulumi_vsphere/get_datastore.py +29 -21
  33. pulumi_vsphere/get_datastore_cluster.py +31 -10
  34. pulumi_vsphere/get_datastore_stats.py +63 -57
  35. pulumi_vsphere/get_distributed_virtual_switch.py +18 -9
  36. pulumi_vsphere/get_dynamic.py +35 -25
  37. pulumi_vsphere/get_folder.py +23 -11
  38. pulumi_vsphere/get_guest_os_customization.py +26 -52
  39. pulumi_vsphere/get_host.py +16 -9
  40. pulumi_vsphere/get_host_base_images.py +104 -0
  41. pulumi_vsphere/get_host_pci_device.py +28 -19
  42. pulumi_vsphere/get_host_thumbprint.py +41 -25
  43. pulumi_vsphere/get_host_vgpu_profile.py +20 -15
  44. pulumi_vsphere/get_license.py +20 -10
  45. pulumi_vsphere/get_network.py +80 -24
  46. pulumi_vsphere/get_ovf_vm_template.py +56 -5
  47. pulumi_vsphere/get_policy.py +13 -9
  48. pulumi_vsphere/get_resource_pool.py +29 -23
  49. pulumi_vsphere/get_role.py +23 -13
  50. pulumi_vsphere/get_tag.py +16 -9
  51. pulumi_vsphere/get_tag_category.py +16 -9
  52. pulumi_vsphere/get_vapp_container.py +15 -9
  53. pulumi_vsphere/get_virtual_machine.py +205 -48
  54. pulumi_vsphere/get_vmfs_disks.py +18 -9
  55. pulumi_vsphere/guest_os_customization.py +60 -5
  56. pulumi_vsphere/ha_vm_override.py +352 -380
  57. pulumi_vsphere/host.py +244 -64
  58. pulumi_vsphere/host_port_group.py +27 -24
  59. pulumi_vsphere/host_virtual_switch.py +209 -289
  60. pulumi_vsphere/license.py +5 -32
  61. pulumi_vsphere/nas_datastore.py +74 -9
  62. pulumi_vsphere/offline_software_depot.py +185 -0
  63. pulumi_vsphere/outputs.py +717 -270
  64. pulumi_vsphere/provider.py +7 -6
  65. pulumi_vsphere/pulumi-plugin.json +2 -1
  66. pulumi_vsphere/resource_pool.py +168 -411
  67. pulumi_vsphere/role.py +33 -2
  68. pulumi_vsphere/storage_drs_vm_override.py +133 -2
  69. pulumi_vsphere/supervisor.py +967 -0
  70. pulumi_vsphere/tag.py +159 -2
  71. pulumi_vsphere/tag_category.py +83 -2
  72. pulumi_vsphere/vapp_container.py +163 -2
  73. pulumi_vsphere/vapp_entity.py +147 -2
  74. pulumi_vsphere/virtual_disk.py +123 -36
  75. pulumi_vsphere/virtual_machine.py +698 -829
  76. pulumi_vsphere/virtual_machine_class.py +447 -0
  77. pulumi_vsphere/virtual_machine_snapshot.py +13 -12
  78. pulumi_vsphere/vm_storage_policy.py +120 -127
  79. pulumi_vsphere/vmfs_datastore.py +271 -2
  80. pulumi_vsphere/vnic.py +104 -105
  81. {pulumi_vsphere-4.10.0a1710245029.dist-info → pulumi_vsphere-4.13.0a1736836157.dist-info}/METADATA +7 -6
  82. pulumi_vsphere-4.13.0a1736836157.dist-info/RECORD +86 -0
  83. {pulumi_vsphere-4.10.0a1710245029.dist-info → pulumi_vsphere-4.13.0a1736836157.dist-info}/WHEEL +1 -1
  84. pulumi_vsphere-4.10.0a1710245029.dist-info/RECORD +0 -82
  85. {pulumi_vsphere-4.10.0a1710245029.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__ = ['ResourcePoolArgs', 'ResourcePool']
@@ -31,50 +36,30 @@ class ResourcePoolArgs:
31
36
  tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
32
37
  """
33
38
  The set of arguments for constructing a ResourcePool resource.
34
- :param pulumi.Input[str] parent_resource_pool_id: The managed object ID
35
- of the parent resource pool. This can be the root resource pool for a cluster
36
- or standalone host, or a resource pool itself. When moving a resource pool
37
- from one parent resource pool to another, both must share a common root
38
- resource pool.
39
- :param pulumi.Input[bool] cpu_expandable: Determines if the reservation on a resource
40
- pool can grow beyond the specified value if the parent resource pool has
41
- unreserved resources. Default: `true`
42
- :param pulumi.Input[int] cpu_limit: The CPU utilization of a resource pool will not
43
- exceed this limit, even if there are available resources. Set to `-1` for
44
- unlimited. Default: `-1`
45
- :param pulumi.Input[int] cpu_reservation: Amount of CPU (MHz) that is guaranteed
46
- available to the resource pool. Default: `0`
47
- :param pulumi.Input[str] cpu_share_level: The CPU allocation level. The level is a
48
- simplified view of shares. Levels map to a pre-determined set of numeric
49
- values for shares. Can be one of `low`, `normal`, `high`, or `custom`. When
50
- `low`, `normal`, or `high` are specified values in `cpu_shares` will be
51
- ignored. Default: `normal`
52
- :param pulumi.Input[int] cpu_shares: The number of shares allocated for CPU. Used to
53
- determine resource allocation in case of resource contention. If this is set,
54
- `cpu_share_level` must be `custom`.
39
+ :param pulumi.Input[str] parent_resource_pool_id: The ID of the root resource pool of the compute resource the resource pool is in.
40
+ :param pulumi.Input[bool] cpu_expandable: Determines if the reservation on a resource pool can grow beyond the specified value, if the parent resource pool has
41
+ unreserved resources.
42
+ :param pulumi.Input[int] cpu_limit: The utilization of a resource pool will not exceed this limit, even if there are available resources. Set to -1 for
43
+ unlimited.
44
+ :param pulumi.Input[int] cpu_reservation: Amount of CPU (MHz) that is guaranteed available to the resource pool.
45
+ :param pulumi.Input[str] cpu_share_level: The allocation level. The level is a simplified view of shares. Levels map to a pre-determined set of numeric values for
46
+ shares. Can be one of low, normal, high, or custom.
47
+ :param pulumi.Input[int] cpu_shares: The number of shares allocated. Used to determine resource allocation in case of resource contention. If this is set,
48
+ cpu_share_level must be custom.
55
49
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] custom_attributes: A list of custom attributes to set on this resource.
56
- :param pulumi.Input[bool] memory_expandable: Determines if the reservation on a resource
57
- pool can grow beyond the specified value if the parent resource pool has
58
- unreserved resources. Default: `true`
59
- :param pulumi.Input[int] memory_limit: The CPU utilization of a resource pool will not
60
- exceed this limit, even if there are available resources. Set to `-1` for
61
- unlimited. Default: `-1`
62
- :param pulumi.Input[int] memory_reservation: Amount of CPU (MHz) that is guaranteed
63
- available to the resource pool. Default: `0`
64
- :param pulumi.Input[str] memory_share_level: The CPU allocation level. The level is a
65
- simplified view of shares. Levels map to a pre-determined set of numeric
66
- values for shares. Can be one of `low`, `normal`, `high`, or `custom`. When
67
- `low`, `normal`, or `high` are specified values in `memory_shares` will be
68
- ignored. Default: `normal`
69
- :param pulumi.Input[int] memory_shares: The number of shares allocated for CPU. Used to
70
- determine resource allocation in case of resource contention. If this is set,
71
- `memory_share_level` must be `custom`.
72
- :param pulumi.Input[str] name: The name of the resource pool.
73
- :param pulumi.Input[str] scale_descendants_shares: Determines if the shares of all
74
- descendants of the resource pool are scaled up or down when the shares
75
- of the resource pool are scaled up or down. Can be one of `disabled` or
76
- `scaleCpuAndMemoryShares`. Default: `disabled`.
77
- :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The IDs of any tags to attach to this resource.
50
+ :param pulumi.Input[bool] memory_expandable: Determines if the reservation on a resource pool can grow beyond the specified value, if the parent resource pool has
51
+ unreserved resources.
52
+ :param pulumi.Input[int] memory_limit: The utilization of a resource pool will not exceed this limit, even if there are available resources. Set to -1 for
53
+ unlimited.
54
+ :param pulumi.Input[int] memory_reservation: Amount of memory (MB) that is guaranteed available to the resource pool.
55
+ :param pulumi.Input[str] memory_share_level: The allocation level. The level is a simplified view of shares. Levels map to a pre-determined set of numeric values for
56
+ shares. Can be one of low, normal, high, or custom.
57
+ :param pulumi.Input[int] memory_shares: The number of shares allocated. Used to determine resource allocation in case of resource contention. If this is set,
58
+ memory_share_level must be custom.
59
+ :param pulumi.Input[str] name: Name of resource pool.
60
+ :param pulumi.Input[str] scale_descendants_shares: Determines if the shares of all descendants of the resource pool are scaled up or down when the shares of the resource
61
+ pool are scaled up or down.
62
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: A list of tag IDs to apply to this object.
78
63
  """
79
64
  pulumi.set(__self__, "parent_resource_pool_id", parent_resource_pool_id)
80
65
  if cpu_expandable is not None:
@@ -110,11 +95,7 @@ class ResourcePoolArgs:
110
95
  @pulumi.getter(name="parentResourcePoolId")
111
96
  def parent_resource_pool_id(self) -> pulumi.Input[str]:
112
97
  """
113
- The managed object ID
114
- of the parent resource pool. This can be the root resource pool for a cluster
115
- or standalone host, or a resource pool itself. When moving a resource pool
116
- from one parent resource pool to another, both must share a common root
117
- resource pool.
98
+ The ID of the root resource pool of the compute resource the resource pool is in.
118
99
  """
119
100
  return pulumi.get(self, "parent_resource_pool_id")
120
101
 
@@ -126,9 +107,8 @@ class ResourcePoolArgs:
126
107
  @pulumi.getter(name="cpuExpandable")
127
108
  def cpu_expandable(self) -> Optional[pulumi.Input[bool]]:
128
109
  """
129
- Determines if the reservation on a resource
130
- pool can grow beyond the specified value if the parent resource pool has
131
- unreserved resources. Default: `true`
110
+ Determines if the reservation on a resource pool can grow beyond the specified value, if the parent resource pool has
111
+ unreserved resources.
132
112
  """
133
113
  return pulumi.get(self, "cpu_expandable")
134
114
 
@@ -140,9 +120,8 @@ class ResourcePoolArgs:
140
120
  @pulumi.getter(name="cpuLimit")
141
121
  def cpu_limit(self) -> Optional[pulumi.Input[int]]:
142
122
  """
143
- The CPU utilization of a resource pool will not
144
- exceed this limit, even if there are available resources. Set to `-1` for
145
- unlimited. Default: `-1`
123
+ The utilization of a resource pool will not exceed this limit, even if there are available resources. Set to -1 for
124
+ unlimited.
146
125
  """
147
126
  return pulumi.get(self, "cpu_limit")
148
127
 
@@ -154,8 +133,7 @@ class ResourcePoolArgs:
154
133
  @pulumi.getter(name="cpuReservation")
155
134
  def cpu_reservation(self) -> Optional[pulumi.Input[int]]:
156
135
  """
157
- Amount of CPU (MHz) that is guaranteed
158
- available to the resource pool. Default: `0`
136
+ Amount of CPU (MHz) that is guaranteed available to the resource pool.
159
137
  """
160
138
  return pulumi.get(self, "cpu_reservation")
161
139
 
@@ -167,11 +145,8 @@ class ResourcePoolArgs:
167
145
  @pulumi.getter(name="cpuShareLevel")
168
146
  def cpu_share_level(self) -> Optional[pulumi.Input[str]]:
169
147
  """
170
- The CPU allocation level. The level is a
171
- simplified view of shares. Levels map to a pre-determined set of numeric
172
- values for shares. Can be one of `low`, `normal`, `high`, or `custom`. When
173
- `low`, `normal`, or `high` are specified values in `cpu_shares` will be
174
- ignored. Default: `normal`
148
+ The allocation level. The level is a simplified view of shares. Levels map to a pre-determined set of numeric values for
149
+ shares. Can be one of low, normal, high, or custom.
175
150
  """
176
151
  return pulumi.get(self, "cpu_share_level")
177
152
 
@@ -183,9 +158,8 @@ class ResourcePoolArgs:
183
158
  @pulumi.getter(name="cpuShares")
184
159
  def cpu_shares(self) -> Optional[pulumi.Input[int]]:
185
160
  """
186
- The number of shares allocated for CPU. Used to
187
- determine resource allocation in case of resource contention. If this is set,
188
- `cpu_share_level` must be `custom`.
161
+ The number of shares allocated. Used to determine resource allocation in case of resource contention. If this is set,
162
+ cpu_share_level must be custom.
189
163
  """
190
164
  return pulumi.get(self, "cpu_shares")
191
165
 
@@ -209,9 +183,8 @@ class ResourcePoolArgs:
209
183
  @pulumi.getter(name="memoryExpandable")
210
184
  def memory_expandable(self) -> Optional[pulumi.Input[bool]]:
211
185
  """
212
- Determines if the reservation on a resource
213
- pool can grow beyond the specified value if the parent resource pool has
214
- unreserved resources. Default: `true`
186
+ Determines if the reservation on a resource pool can grow beyond the specified value, if the parent resource pool has
187
+ unreserved resources.
215
188
  """
216
189
  return pulumi.get(self, "memory_expandable")
217
190
 
@@ -223,9 +196,8 @@ class ResourcePoolArgs:
223
196
  @pulumi.getter(name="memoryLimit")
224
197
  def memory_limit(self) -> Optional[pulumi.Input[int]]:
225
198
  """
226
- The CPU utilization of a resource pool will not
227
- exceed this limit, even if there are available resources. Set to `-1` for
228
- unlimited. Default: `-1`
199
+ The utilization of a resource pool will not exceed this limit, even if there are available resources. Set to -1 for
200
+ unlimited.
229
201
  """
230
202
  return pulumi.get(self, "memory_limit")
231
203
 
@@ -237,8 +209,7 @@ class ResourcePoolArgs:
237
209
  @pulumi.getter(name="memoryReservation")
238
210
  def memory_reservation(self) -> Optional[pulumi.Input[int]]:
239
211
  """
240
- Amount of CPU (MHz) that is guaranteed
241
- available to the resource pool. Default: `0`
212
+ Amount of memory (MB) that is guaranteed available to the resource pool.
242
213
  """
243
214
  return pulumi.get(self, "memory_reservation")
244
215
 
@@ -250,11 +221,8 @@ class ResourcePoolArgs:
250
221
  @pulumi.getter(name="memoryShareLevel")
251
222
  def memory_share_level(self) -> Optional[pulumi.Input[str]]:
252
223
  """
253
- The CPU allocation level. The level is a
254
- simplified view of shares. Levels map to a pre-determined set of numeric
255
- values for shares. Can be one of `low`, `normal`, `high`, or `custom`. When
256
- `low`, `normal`, or `high` are specified values in `memory_shares` will be
257
- ignored. Default: `normal`
224
+ The allocation level. The level is a simplified view of shares. Levels map to a pre-determined set of numeric values for
225
+ shares. Can be one of low, normal, high, or custom.
258
226
  """
259
227
  return pulumi.get(self, "memory_share_level")
260
228
 
@@ -266,9 +234,8 @@ class ResourcePoolArgs:
266
234
  @pulumi.getter(name="memoryShares")
267
235
  def memory_shares(self) -> Optional[pulumi.Input[int]]:
268
236
  """
269
- The number of shares allocated for CPU. Used to
270
- determine resource allocation in case of resource contention. If this is set,
271
- `memory_share_level` must be `custom`.
237
+ The number of shares allocated. Used to determine resource allocation in case of resource contention. If this is set,
238
+ memory_share_level must be custom.
272
239
  """
273
240
  return pulumi.get(self, "memory_shares")
274
241
 
@@ -280,7 +247,7 @@ class ResourcePoolArgs:
280
247
  @pulumi.getter
281
248
  def name(self) -> Optional[pulumi.Input[str]]:
282
249
  """
283
- The name of the resource pool.
250
+ Name of resource pool.
284
251
  """
285
252
  return pulumi.get(self, "name")
286
253
 
@@ -292,10 +259,8 @@ class ResourcePoolArgs:
292
259
  @pulumi.getter(name="scaleDescendantsShares")
293
260
  def scale_descendants_shares(self) -> Optional[pulumi.Input[str]]:
294
261
  """
295
- Determines if the shares of all
296
- descendants of the resource pool are scaled up or down when the shares
297
- of the resource pool are scaled up or down. Can be one of `disabled` or
298
- `scaleCpuAndMemoryShares`. Default: `disabled`.
262
+ Determines if the shares of all descendants of the resource pool are scaled up or down when the shares of the resource
263
+ pool are scaled up or down.
299
264
  """
300
265
  return pulumi.get(self, "scale_descendants_shares")
301
266
 
@@ -307,7 +272,7 @@ class ResourcePoolArgs:
307
272
  @pulumi.getter
308
273
  def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
309
274
  """
310
- The IDs of any tags to attach to this resource.
275
+ A list of tag IDs to apply to this object.
311
276
  """
312
277
  return pulumi.get(self, "tags")
313
278
 
@@ -336,50 +301,30 @@ class _ResourcePoolState:
336
301
  tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
337
302
  """
338
303
  Input properties used for looking up and filtering ResourcePool resources.
339
- :param pulumi.Input[bool] cpu_expandable: Determines if the reservation on a resource
340
- pool can grow beyond the specified value if the parent resource pool has
341
- unreserved resources. Default: `true`
342
- :param pulumi.Input[int] cpu_limit: The CPU utilization of a resource pool will not
343
- exceed this limit, even if there are available resources. Set to `-1` for
344
- unlimited. Default: `-1`
345
- :param pulumi.Input[int] cpu_reservation: Amount of CPU (MHz) that is guaranteed
346
- available to the resource pool. Default: `0`
347
- :param pulumi.Input[str] cpu_share_level: The CPU allocation level. The level is a
348
- simplified view of shares. Levels map to a pre-determined set of numeric
349
- values for shares. Can be one of `low`, `normal`, `high`, or `custom`. When
350
- `low`, `normal`, or `high` are specified values in `cpu_shares` will be
351
- ignored. Default: `normal`
352
- :param pulumi.Input[int] cpu_shares: The number of shares allocated for CPU. Used to
353
- determine resource allocation in case of resource contention. If this is set,
354
- `cpu_share_level` must be `custom`.
304
+ :param pulumi.Input[bool] cpu_expandable: Determines if the reservation on a resource pool can grow beyond the specified value, if the parent resource pool has
305
+ unreserved resources.
306
+ :param pulumi.Input[int] cpu_limit: The utilization of a resource pool will not exceed this limit, even if there are available resources. Set to -1 for
307
+ unlimited.
308
+ :param pulumi.Input[int] cpu_reservation: Amount of CPU (MHz) that is guaranteed available to the resource pool.
309
+ :param pulumi.Input[str] cpu_share_level: The allocation level. The level is a simplified view of shares. Levels map to a pre-determined set of numeric values for
310
+ shares. Can be one of low, normal, high, or custom.
311
+ :param pulumi.Input[int] cpu_shares: The number of shares allocated. Used to determine resource allocation in case of resource contention. If this is set,
312
+ cpu_share_level must be custom.
355
313
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] custom_attributes: A list of custom attributes to set on this resource.
356
- :param pulumi.Input[bool] memory_expandable: Determines if the reservation on a resource
357
- pool can grow beyond the specified value if the parent resource pool has
358
- unreserved resources. Default: `true`
359
- :param pulumi.Input[int] memory_limit: The CPU utilization of a resource pool will not
360
- exceed this limit, even if there are available resources. Set to `-1` for
361
- unlimited. Default: `-1`
362
- :param pulumi.Input[int] memory_reservation: Amount of CPU (MHz) that is guaranteed
363
- available to the resource pool. Default: `0`
364
- :param pulumi.Input[str] memory_share_level: The CPU allocation level. The level is a
365
- simplified view of shares. Levels map to a pre-determined set of numeric
366
- values for shares. Can be one of `low`, `normal`, `high`, or `custom`. When
367
- `low`, `normal`, or `high` are specified values in `memory_shares` will be
368
- ignored. Default: `normal`
369
- :param pulumi.Input[int] memory_shares: The number of shares allocated for CPU. Used to
370
- determine resource allocation in case of resource contention. If this is set,
371
- `memory_share_level` must be `custom`.
372
- :param pulumi.Input[str] name: The name of the resource pool.
373
- :param pulumi.Input[str] parent_resource_pool_id: The managed object ID
374
- of the parent resource pool. This can be the root resource pool for a cluster
375
- or standalone host, or a resource pool itself. When moving a resource pool
376
- from one parent resource pool to another, both must share a common root
377
- resource pool.
378
- :param pulumi.Input[str] scale_descendants_shares: Determines if the shares of all
379
- descendants of the resource pool are scaled up or down when the shares
380
- of the resource pool are scaled up or down. Can be one of `disabled` or
381
- `scaleCpuAndMemoryShares`. Default: `disabled`.
382
- :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The IDs of any tags to attach to this resource.
314
+ :param pulumi.Input[bool] memory_expandable: Determines if the reservation on a resource pool can grow beyond the specified value, if the parent resource pool has
315
+ unreserved resources.
316
+ :param pulumi.Input[int] memory_limit: The utilization of a resource pool will not exceed this limit, even if there are available resources. Set to -1 for
317
+ unlimited.
318
+ :param pulumi.Input[int] memory_reservation: Amount of memory (MB) that is guaranteed available to the resource pool.
319
+ :param pulumi.Input[str] memory_share_level: The allocation level. The level is a simplified view of shares. Levels map to a pre-determined set of numeric values for
320
+ shares. Can be one of low, normal, high, or custom.
321
+ :param pulumi.Input[int] memory_shares: The number of shares allocated. Used to determine resource allocation in case of resource contention. If this is set,
322
+ memory_share_level must be custom.
323
+ :param pulumi.Input[str] name: Name of resource pool.
324
+ :param pulumi.Input[str] parent_resource_pool_id: The ID of the root resource pool of the compute resource the resource pool is in.
325
+ :param pulumi.Input[str] scale_descendants_shares: Determines if the shares of all descendants of the resource pool are scaled up or down when the shares of the resource
326
+ pool are scaled up or down.
327
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: A list of tag IDs to apply to this object.
383
328
  """
384
329
  if cpu_expandable is not None:
385
330
  pulumi.set(__self__, "cpu_expandable", cpu_expandable)
@@ -416,9 +361,8 @@ class _ResourcePoolState:
416
361
  @pulumi.getter(name="cpuExpandable")
417
362
  def cpu_expandable(self) -> Optional[pulumi.Input[bool]]:
418
363
  """
419
- Determines if the reservation on a resource
420
- pool can grow beyond the specified value if the parent resource pool has
421
- unreserved resources. Default: `true`
364
+ Determines if the reservation on a resource pool can grow beyond the specified value, if the parent resource pool has
365
+ unreserved resources.
422
366
  """
423
367
  return pulumi.get(self, "cpu_expandable")
424
368
 
@@ -430,9 +374,8 @@ class _ResourcePoolState:
430
374
  @pulumi.getter(name="cpuLimit")
431
375
  def cpu_limit(self) -> Optional[pulumi.Input[int]]:
432
376
  """
433
- The CPU utilization of a resource pool will not
434
- exceed this limit, even if there are available resources. Set to `-1` for
435
- unlimited. Default: `-1`
377
+ The utilization of a resource pool will not exceed this limit, even if there are available resources. Set to -1 for
378
+ unlimited.
436
379
  """
437
380
  return pulumi.get(self, "cpu_limit")
438
381
 
@@ -444,8 +387,7 @@ class _ResourcePoolState:
444
387
  @pulumi.getter(name="cpuReservation")
445
388
  def cpu_reservation(self) -> Optional[pulumi.Input[int]]:
446
389
  """
447
- Amount of CPU (MHz) that is guaranteed
448
- available to the resource pool. Default: `0`
390
+ Amount of CPU (MHz) that is guaranteed available to the resource pool.
449
391
  """
450
392
  return pulumi.get(self, "cpu_reservation")
451
393
 
@@ -457,11 +399,8 @@ class _ResourcePoolState:
457
399
  @pulumi.getter(name="cpuShareLevel")
458
400
  def cpu_share_level(self) -> Optional[pulumi.Input[str]]:
459
401
  """
460
- The CPU allocation level. The level is a
461
- simplified view of shares. Levels map to a pre-determined set of numeric
462
- values for shares. Can be one of `low`, `normal`, `high`, or `custom`. When
463
- `low`, `normal`, or `high` are specified values in `cpu_shares` will be
464
- ignored. Default: `normal`
402
+ The allocation level. The level is a simplified view of shares. Levels map to a pre-determined set of numeric values for
403
+ shares. Can be one of low, normal, high, or custom.
465
404
  """
466
405
  return pulumi.get(self, "cpu_share_level")
467
406
 
@@ -473,9 +412,8 @@ class _ResourcePoolState:
473
412
  @pulumi.getter(name="cpuShares")
474
413
  def cpu_shares(self) -> Optional[pulumi.Input[int]]:
475
414
  """
476
- The number of shares allocated for CPU. Used to
477
- determine resource allocation in case of resource contention. If this is set,
478
- `cpu_share_level` must be `custom`.
415
+ The number of shares allocated. Used to determine resource allocation in case of resource contention. If this is set,
416
+ cpu_share_level must be custom.
479
417
  """
480
418
  return pulumi.get(self, "cpu_shares")
481
419
 
@@ -499,9 +437,8 @@ class _ResourcePoolState:
499
437
  @pulumi.getter(name="memoryExpandable")
500
438
  def memory_expandable(self) -> Optional[pulumi.Input[bool]]:
501
439
  """
502
- Determines if the reservation on a resource
503
- pool can grow beyond the specified value if the parent resource pool has
504
- unreserved resources. Default: `true`
440
+ Determines if the reservation on a resource pool can grow beyond the specified value, if the parent resource pool has
441
+ unreserved resources.
505
442
  """
506
443
  return pulumi.get(self, "memory_expandable")
507
444
 
@@ -513,9 +450,8 @@ class _ResourcePoolState:
513
450
  @pulumi.getter(name="memoryLimit")
514
451
  def memory_limit(self) -> Optional[pulumi.Input[int]]:
515
452
  """
516
- The CPU utilization of a resource pool will not
517
- exceed this limit, even if there are available resources. Set to `-1` for
518
- unlimited. Default: `-1`
453
+ The utilization of a resource pool will not exceed this limit, even if there are available resources. Set to -1 for
454
+ unlimited.
519
455
  """
520
456
  return pulumi.get(self, "memory_limit")
521
457
 
@@ -527,8 +463,7 @@ class _ResourcePoolState:
527
463
  @pulumi.getter(name="memoryReservation")
528
464
  def memory_reservation(self) -> Optional[pulumi.Input[int]]:
529
465
  """
530
- Amount of CPU (MHz) that is guaranteed
531
- available to the resource pool. Default: `0`
466
+ Amount of memory (MB) that is guaranteed available to the resource pool.
532
467
  """
533
468
  return pulumi.get(self, "memory_reservation")
534
469
 
@@ -540,11 +475,8 @@ class _ResourcePoolState:
540
475
  @pulumi.getter(name="memoryShareLevel")
541
476
  def memory_share_level(self) -> Optional[pulumi.Input[str]]:
542
477
  """
543
- The CPU allocation level. The level is a
544
- simplified view of shares. Levels map to a pre-determined set of numeric
545
- values for shares. Can be one of `low`, `normal`, `high`, or `custom`. When
546
- `low`, `normal`, or `high` are specified values in `memory_shares` will be
547
- ignored. Default: `normal`
478
+ The allocation level. The level is a simplified view of shares. Levels map to a pre-determined set of numeric values for
479
+ shares. Can be one of low, normal, high, or custom.
548
480
  """
549
481
  return pulumi.get(self, "memory_share_level")
550
482
 
@@ -556,9 +488,8 @@ class _ResourcePoolState:
556
488
  @pulumi.getter(name="memoryShares")
557
489
  def memory_shares(self) -> Optional[pulumi.Input[int]]:
558
490
  """
559
- The number of shares allocated for CPU. Used to
560
- determine resource allocation in case of resource contention. If this is set,
561
- `memory_share_level` must be `custom`.
491
+ The number of shares allocated. Used to determine resource allocation in case of resource contention. If this is set,
492
+ memory_share_level must be custom.
562
493
  """
563
494
  return pulumi.get(self, "memory_shares")
564
495
 
@@ -570,7 +501,7 @@ class _ResourcePoolState:
570
501
  @pulumi.getter
571
502
  def name(self) -> Optional[pulumi.Input[str]]:
572
503
  """
573
- The name of the resource pool.
504
+ Name of resource pool.
574
505
  """
575
506
  return pulumi.get(self, "name")
576
507
 
@@ -582,11 +513,7 @@ class _ResourcePoolState:
582
513
  @pulumi.getter(name="parentResourcePoolId")
583
514
  def parent_resource_pool_id(self) -> Optional[pulumi.Input[str]]:
584
515
  """
585
- The managed object ID
586
- of the parent resource pool. This can be the root resource pool for a cluster
587
- or standalone host, or a resource pool itself. When moving a resource pool
588
- from one parent resource pool to another, both must share a common root
589
- resource pool.
516
+ The ID of the root resource pool of the compute resource the resource pool is in.
590
517
  """
591
518
  return pulumi.get(self, "parent_resource_pool_id")
592
519
 
@@ -598,10 +525,8 @@ class _ResourcePoolState:
598
525
  @pulumi.getter(name="scaleDescendantsShares")
599
526
  def scale_descendants_shares(self) -> Optional[pulumi.Input[str]]:
600
527
  """
601
- Determines if the shares of all
602
- descendants of the resource pool are scaled up or down when the shares
603
- of the resource pool are scaled up or down. Can be one of `disabled` or
604
- `scaleCpuAndMemoryShares`. Default: `disabled`.
528
+ Determines if the shares of all descendants of the resource pool are scaled up or down when the shares of the resource
529
+ pool are scaled up or down.
605
530
  """
606
531
  return pulumi.get(self, "scale_descendants_shares")
607
532
 
@@ -613,7 +538,7 @@ class _ResourcePoolState:
613
538
  @pulumi.getter
614
539
  def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
615
540
  """
616
- The IDs of any tags to attach to this resource.
541
+ A list of tag IDs to apply to this object.
617
542
  """
618
543
  return pulumi.get(self, "tags")
619
544
 
@@ -644,107 +569,33 @@ class ResourcePool(pulumi.CustomResource):
644
569
  tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
645
570
  __props__=None):
646
571
  """
647
- The `ResourcePool` resource can be used to create and manage
648
- resource pools on DRS-enabled vSphere clusters or standalone ESXi hosts.
649
-
650
- For more information on vSphere resource pools, please refer to the
651
- [product documentation][ref-vsphere-resource_pools].
652
-
653
- [ref-vsphere-resource_pools]: https://docs.vmware.com/en/VMware-vSphere/7.0/com.vmware.vsphere.resmgmt.doc/GUID-60077B40-66FF-4625-934A-641703ED7601.html
654
-
655
- ## Example Usage
656
-
657
- The following example sets up a resource pool in an existing compute cluster
658
- with the default settings for CPU and memory reservations, shares, and limits.
659
-
660
- <!--Start PulumiCodeChooser -->
661
- ```python
662
- import pulumi
663
- import pulumi_vsphere as vsphere
664
-
665
- datacenter = vsphere.get_datacenter(name="dc-01")
666
- compute_cluster = vsphere.get_compute_cluster(name="cluster-01",
667
- datacenter_id=datacenter.id)
668
- resource_pool = vsphere.ResourcePool("resourcePool", parent_resource_pool_id=compute_cluster.resource_pool_id)
669
- ```
670
- <!--End PulumiCodeChooser -->
671
-
672
- A virtual machine resource could be targeted to use the default resource pool
673
- of the cluster using the following:
674
-
675
- <!--Start PulumiCodeChooser -->
676
- ```python
677
- import pulumi
678
- import pulumi_vsphere as vsphere
679
-
680
- vm = vsphere.VirtualMachine("vm", resource_pool_id=data["vsphere_compute_cluster"]["cluster"]["resource_pool_id"])
681
- # ... other configuration ...
682
- ```
683
- <!--End PulumiCodeChooser -->
684
-
685
- The following example sets up a parent resource pool in an existing compute cluster
686
- with a child resource pool nested below. Each resource pool is configured with
687
- the default settings for CPU and memory reservations, shares, and limits.
688
-
689
- <!--Start PulumiCodeChooser -->
690
- ```python
691
- import pulumi
692
- import pulumi_vsphere as vsphere
693
-
694
- datacenter = vsphere.get_datacenter(name="dc-01")
695
- compute_cluster = vsphere.get_compute_cluster(name="cluster-01",
696
- datacenter_id=datacenter.id)
697
- resource_pool_parent = vsphere.ResourcePool("resourcePoolParent", parent_resource_pool_id=compute_cluster.resource_pool_id)
698
- resource_pool_child = vsphere.ResourcePool("resourcePoolChild", parent_resource_pool_id=resource_pool_parent.id)
699
- ```
700
- <!--End PulumiCodeChooser -->
701
-
572
+ Create a ResourcePool resource with the given unique name, props, and options.
702
573
  :param str resource_name: The name of the resource.
703
574
  :param pulumi.ResourceOptions opts: Options for the resource.
704
- :param pulumi.Input[bool] cpu_expandable: Determines if the reservation on a resource
705
- pool can grow beyond the specified value if the parent resource pool has
706
- unreserved resources. Default: `true`
707
- :param pulumi.Input[int] cpu_limit: The CPU utilization of a resource pool will not
708
- exceed this limit, even if there are available resources. Set to `-1` for
709
- unlimited. Default: `-1`
710
- :param pulumi.Input[int] cpu_reservation: Amount of CPU (MHz) that is guaranteed
711
- available to the resource pool. Default: `0`
712
- :param pulumi.Input[str] cpu_share_level: The CPU allocation level. The level is a
713
- simplified view of shares. Levels map to a pre-determined set of numeric
714
- values for shares. Can be one of `low`, `normal`, `high`, or `custom`. When
715
- `low`, `normal`, or `high` are specified values in `cpu_shares` will be
716
- ignored. Default: `normal`
717
- :param pulumi.Input[int] cpu_shares: The number of shares allocated for CPU. Used to
718
- determine resource allocation in case of resource contention. If this is set,
719
- `cpu_share_level` must be `custom`.
575
+ :param pulumi.Input[bool] cpu_expandable: Determines if the reservation on a resource pool can grow beyond the specified value, if the parent resource pool has
576
+ unreserved resources.
577
+ :param pulumi.Input[int] cpu_limit: The utilization of a resource pool will not exceed this limit, even if there are available resources. Set to -1 for
578
+ unlimited.
579
+ :param pulumi.Input[int] cpu_reservation: Amount of CPU (MHz) that is guaranteed available to the resource pool.
580
+ :param pulumi.Input[str] cpu_share_level: The allocation level. The level is a simplified view of shares. Levels map to a pre-determined set of numeric values for
581
+ shares. Can be one of low, normal, high, or custom.
582
+ :param pulumi.Input[int] cpu_shares: The number of shares allocated. Used to determine resource allocation in case of resource contention. If this is set,
583
+ cpu_share_level must be custom.
720
584
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] custom_attributes: A list of custom attributes to set on this resource.
721
- :param pulumi.Input[bool] memory_expandable: Determines if the reservation on a resource
722
- pool can grow beyond the specified value if the parent resource pool has
723
- unreserved resources. Default: `true`
724
- :param pulumi.Input[int] memory_limit: The CPU utilization of a resource pool will not
725
- exceed this limit, even if there are available resources. Set to `-1` for
726
- unlimited. Default: `-1`
727
- :param pulumi.Input[int] memory_reservation: Amount of CPU (MHz) that is guaranteed
728
- available to the resource pool. Default: `0`
729
- :param pulumi.Input[str] memory_share_level: The CPU allocation level. The level is a
730
- simplified view of shares. Levels map to a pre-determined set of numeric
731
- values for shares. Can be one of `low`, `normal`, `high`, or `custom`. When
732
- `low`, `normal`, or `high` are specified values in `memory_shares` will be
733
- ignored. Default: `normal`
734
- :param pulumi.Input[int] memory_shares: The number of shares allocated for CPU. Used to
735
- determine resource allocation in case of resource contention. If this is set,
736
- `memory_share_level` must be `custom`.
737
- :param pulumi.Input[str] name: The name of the resource pool.
738
- :param pulumi.Input[str] parent_resource_pool_id: The managed object ID
739
- of the parent resource pool. This can be the root resource pool for a cluster
740
- or standalone host, or a resource pool itself. When moving a resource pool
741
- from one parent resource pool to another, both must share a common root
742
- resource pool.
743
- :param pulumi.Input[str] scale_descendants_shares: Determines if the shares of all
744
- descendants of the resource pool are scaled up or down when the shares
745
- of the resource pool are scaled up or down. Can be one of `disabled` or
746
- `scaleCpuAndMemoryShares`. Default: `disabled`.
747
- :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The IDs of any tags to attach to this resource.
585
+ :param pulumi.Input[bool] memory_expandable: Determines if the reservation on a resource pool can grow beyond the specified value, if the parent resource pool has
586
+ unreserved resources.
587
+ :param pulumi.Input[int] memory_limit: The utilization of a resource pool will not exceed this limit, even if there are available resources. Set to -1 for
588
+ unlimited.
589
+ :param pulumi.Input[int] memory_reservation: Amount of memory (MB) that is guaranteed available to the resource pool.
590
+ :param pulumi.Input[str] memory_share_level: The allocation level. The level is a simplified view of shares. Levels map to a pre-determined set of numeric values for
591
+ shares. Can be one of low, normal, high, or custom.
592
+ :param pulumi.Input[int] memory_shares: The number of shares allocated. Used to determine resource allocation in case of resource contention. If this is set,
593
+ memory_share_level must be custom.
594
+ :param pulumi.Input[str] name: Name of resource pool.
595
+ :param pulumi.Input[str] parent_resource_pool_id: The ID of the root resource pool of the compute resource the resource pool is in.
596
+ :param pulumi.Input[str] scale_descendants_shares: Determines if the shares of all descendants of the resource pool are scaled up or down when the shares of the resource
597
+ pool are scaled up or down.
598
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: A list of tag IDs to apply to this object.
748
599
  """
749
600
  ...
750
601
  @overload
@@ -753,61 +604,7 @@ class ResourcePool(pulumi.CustomResource):
753
604
  args: ResourcePoolArgs,
754
605
  opts: Optional[pulumi.ResourceOptions] = None):
755
606
  """
756
- The `ResourcePool` resource can be used to create and manage
757
- resource pools on DRS-enabled vSphere clusters or standalone ESXi hosts.
758
-
759
- For more information on vSphere resource pools, please refer to the
760
- [product documentation][ref-vsphere-resource_pools].
761
-
762
- [ref-vsphere-resource_pools]: https://docs.vmware.com/en/VMware-vSphere/7.0/com.vmware.vsphere.resmgmt.doc/GUID-60077B40-66FF-4625-934A-641703ED7601.html
763
-
764
- ## Example Usage
765
-
766
- The following example sets up a resource pool in an existing compute cluster
767
- with the default settings for CPU and memory reservations, shares, and limits.
768
-
769
- <!--Start PulumiCodeChooser -->
770
- ```python
771
- import pulumi
772
- import pulumi_vsphere as vsphere
773
-
774
- datacenter = vsphere.get_datacenter(name="dc-01")
775
- compute_cluster = vsphere.get_compute_cluster(name="cluster-01",
776
- datacenter_id=datacenter.id)
777
- resource_pool = vsphere.ResourcePool("resourcePool", parent_resource_pool_id=compute_cluster.resource_pool_id)
778
- ```
779
- <!--End PulumiCodeChooser -->
780
-
781
- A virtual machine resource could be targeted to use the default resource pool
782
- of the cluster using the following:
783
-
784
- <!--Start PulumiCodeChooser -->
785
- ```python
786
- import pulumi
787
- import pulumi_vsphere as vsphere
788
-
789
- vm = vsphere.VirtualMachine("vm", resource_pool_id=data["vsphere_compute_cluster"]["cluster"]["resource_pool_id"])
790
- # ... other configuration ...
791
- ```
792
- <!--End PulumiCodeChooser -->
793
-
794
- The following example sets up a parent resource pool in an existing compute cluster
795
- with a child resource pool nested below. Each resource pool is configured with
796
- the default settings for CPU and memory reservations, shares, and limits.
797
-
798
- <!--Start PulumiCodeChooser -->
799
- ```python
800
- import pulumi
801
- import pulumi_vsphere as vsphere
802
-
803
- datacenter = vsphere.get_datacenter(name="dc-01")
804
- compute_cluster = vsphere.get_compute_cluster(name="cluster-01",
805
- datacenter_id=datacenter.id)
806
- resource_pool_parent = vsphere.ResourcePool("resourcePoolParent", parent_resource_pool_id=compute_cluster.resource_pool_id)
807
- resource_pool_child = vsphere.ResourcePool("resourcePoolChild", parent_resource_pool_id=resource_pool_parent.id)
808
- ```
809
- <!--End PulumiCodeChooser -->
810
-
607
+ Create a ResourcePool resource with the given unique name, props, and options.
811
608
  :param str resource_name: The name of the resource.
812
609
  :param ResourcePoolArgs args: The arguments to use to populate this resource's properties.
813
610
  :param pulumi.ResourceOptions opts: Options for the resource.
@@ -896,50 +693,30 @@ class ResourcePool(pulumi.CustomResource):
896
693
  :param str resource_name: The unique name of the resulting resource.
897
694
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
898
695
  :param pulumi.ResourceOptions opts: Options for the resource.
899
- :param pulumi.Input[bool] cpu_expandable: Determines if the reservation on a resource
900
- pool can grow beyond the specified value if the parent resource pool has
901
- unreserved resources. Default: `true`
902
- :param pulumi.Input[int] cpu_limit: The CPU utilization of a resource pool will not
903
- exceed this limit, even if there are available resources. Set to `-1` for
904
- unlimited. Default: `-1`
905
- :param pulumi.Input[int] cpu_reservation: Amount of CPU (MHz) that is guaranteed
906
- available to the resource pool. Default: `0`
907
- :param pulumi.Input[str] cpu_share_level: The CPU allocation level. The level is a
908
- simplified view of shares. Levels map to a pre-determined set of numeric
909
- values for shares. Can be one of `low`, `normal`, `high`, or `custom`. When
910
- `low`, `normal`, or `high` are specified values in `cpu_shares` will be
911
- ignored. Default: `normal`
912
- :param pulumi.Input[int] cpu_shares: The number of shares allocated for CPU. Used to
913
- determine resource allocation in case of resource contention. If this is set,
914
- `cpu_share_level` must be `custom`.
696
+ :param pulumi.Input[bool] cpu_expandable: Determines if the reservation on a resource pool can grow beyond the specified value, if the parent resource pool has
697
+ unreserved resources.
698
+ :param pulumi.Input[int] cpu_limit: The utilization of a resource pool will not exceed this limit, even if there are available resources. Set to -1 for
699
+ unlimited.
700
+ :param pulumi.Input[int] cpu_reservation: Amount of CPU (MHz) that is guaranteed available to the resource pool.
701
+ :param pulumi.Input[str] cpu_share_level: The allocation level. The level is a simplified view of shares. Levels map to a pre-determined set of numeric values for
702
+ shares. Can be one of low, normal, high, or custom.
703
+ :param pulumi.Input[int] cpu_shares: The number of shares allocated. Used to determine resource allocation in case of resource contention. If this is set,
704
+ cpu_share_level must be custom.
915
705
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] custom_attributes: A list of custom attributes to set on this resource.
916
- :param pulumi.Input[bool] memory_expandable: Determines if the reservation on a resource
917
- pool can grow beyond the specified value if the parent resource pool has
918
- unreserved resources. Default: `true`
919
- :param pulumi.Input[int] memory_limit: The CPU utilization of a resource pool will not
920
- exceed this limit, even if there are available resources. Set to `-1` for
921
- unlimited. Default: `-1`
922
- :param pulumi.Input[int] memory_reservation: Amount of CPU (MHz) that is guaranteed
923
- available to the resource pool. Default: `0`
924
- :param pulumi.Input[str] memory_share_level: The CPU allocation level. The level is a
925
- simplified view of shares. Levels map to a pre-determined set of numeric
926
- values for shares. Can be one of `low`, `normal`, `high`, or `custom`. When
927
- `low`, `normal`, or `high` are specified values in `memory_shares` will be
928
- ignored. Default: `normal`
929
- :param pulumi.Input[int] memory_shares: The number of shares allocated for CPU. Used to
930
- determine resource allocation in case of resource contention. If this is set,
931
- `memory_share_level` must be `custom`.
932
- :param pulumi.Input[str] name: The name of the resource pool.
933
- :param pulumi.Input[str] parent_resource_pool_id: The managed object ID
934
- of the parent resource pool. This can be the root resource pool for a cluster
935
- or standalone host, or a resource pool itself. When moving a resource pool
936
- from one parent resource pool to another, both must share a common root
937
- resource pool.
938
- :param pulumi.Input[str] scale_descendants_shares: Determines if the shares of all
939
- descendants of the resource pool are scaled up or down when the shares
940
- of the resource pool are scaled up or down. Can be one of `disabled` or
941
- `scaleCpuAndMemoryShares`. Default: `disabled`.
942
- :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The IDs of any tags to attach to this resource.
706
+ :param pulumi.Input[bool] memory_expandable: Determines if the reservation on a resource pool can grow beyond the specified value, if the parent resource pool has
707
+ unreserved resources.
708
+ :param pulumi.Input[int] memory_limit: The utilization of a resource pool will not exceed this limit, even if there are available resources. Set to -1 for
709
+ unlimited.
710
+ :param pulumi.Input[int] memory_reservation: Amount of memory (MB) that is guaranteed available to the resource pool.
711
+ :param pulumi.Input[str] memory_share_level: The allocation level. The level is a simplified view of shares. Levels map to a pre-determined set of numeric values for
712
+ shares. Can be one of low, normal, high, or custom.
713
+ :param pulumi.Input[int] memory_shares: The number of shares allocated. Used to determine resource allocation in case of resource contention. If this is set,
714
+ memory_share_level must be custom.
715
+ :param pulumi.Input[str] name: Name of resource pool.
716
+ :param pulumi.Input[str] parent_resource_pool_id: The ID of the root resource pool of the compute resource the resource pool is in.
717
+ :param pulumi.Input[str] scale_descendants_shares: Determines if the shares of all descendants of the resource pool are scaled up or down when the shares of the resource
718
+ pool are scaled up or down.
719
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: A list of tag IDs to apply to this object.
943
720
  """
944
721
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
945
722
 
@@ -966,9 +743,8 @@ class ResourcePool(pulumi.CustomResource):
966
743
  @pulumi.getter(name="cpuExpandable")
967
744
  def cpu_expandable(self) -> pulumi.Output[Optional[bool]]:
968
745
  """
969
- Determines if the reservation on a resource
970
- pool can grow beyond the specified value if the parent resource pool has
971
- unreserved resources. Default: `true`
746
+ Determines if the reservation on a resource pool can grow beyond the specified value, if the parent resource pool has
747
+ unreserved resources.
972
748
  """
973
749
  return pulumi.get(self, "cpu_expandable")
974
750
 
@@ -976,9 +752,8 @@ class ResourcePool(pulumi.CustomResource):
976
752
  @pulumi.getter(name="cpuLimit")
977
753
  def cpu_limit(self) -> pulumi.Output[Optional[int]]:
978
754
  """
979
- The CPU utilization of a resource pool will not
980
- exceed this limit, even if there are available resources. Set to `-1` for
981
- unlimited. Default: `-1`
755
+ The utilization of a resource pool will not exceed this limit, even if there are available resources. Set to -1 for
756
+ unlimited.
982
757
  """
983
758
  return pulumi.get(self, "cpu_limit")
984
759
 
@@ -986,8 +761,7 @@ class ResourcePool(pulumi.CustomResource):
986
761
  @pulumi.getter(name="cpuReservation")
987
762
  def cpu_reservation(self) -> pulumi.Output[Optional[int]]:
988
763
  """
989
- Amount of CPU (MHz) that is guaranteed
990
- available to the resource pool. Default: `0`
764
+ Amount of CPU (MHz) that is guaranteed available to the resource pool.
991
765
  """
992
766
  return pulumi.get(self, "cpu_reservation")
993
767
 
@@ -995,11 +769,8 @@ class ResourcePool(pulumi.CustomResource):
995
769
  @pulumi.getter(name="cpuShareLevel")
996
770
  def cpu_share_level(self) -> pulumi.Output[Optional[str]]:
997
771
  """
998
- The CPU allocation level. The level is a
999
- simplified view of shares. Levels map to a pre-determined set of numeric
1000
- values for shares. Can be one of `low`, `normal`, `high`, or `custom`. When
1001
- `low`, `normal`, or `high` are specified values in `cpu_shares` will be
1002
- ignored. Default: `normal`
772
+ The allocation level. The level is a simplified view of shares. Levels map to a pre-determined set of numeric values for
773
+ shares. Can be one of low, normal, high, or custom.
1003
774
  """
1004
775
  return pulumi.get(self, "cpu_share_level")
1005
776
 
@@ -1007,9 +778,8 @@ class ResourcePool(pulumi.CustomResource):
1007
778
  @pulumi.getter(name="cpuShares")
1008
779
  def cpu_shares(self) -> pulumi.Output[int]:
1009
780
  """
1010
- The number of shares allocated for CPU. Used to
1011
- determine resource allocation in case of resource contention. If this is set,
1012
- `cpu_share_level` must be `custom`.
781
+ The number of shares allocated. Used to determine resource allocation in case of resource contention. If this is set,
782
+ cpu_share_level must be custom.
1013
783
  """
1014
784
  return pulumi.get(self, "cpu_shares")
1015
785
 
@@ -1025,9 +795,8 @@ class ResourcePool(pulumi.CustomResource):
1025
795
  @pulumi.getter(name="memoryExpandable")
1026
796
  def memory_expandable(self) -> pulumi.Output[Optional[bool]]:
1027
797
  """
1028
- Determines if the reservation on a resource
1029
- pool can grow beyond the specified value if the parent resource pool has
1030
- unreserved resources. Default: `true`
798
+ Determines if the reservation on a resource pool can grow beyond the specified value, if the parent resource pool has
799
+ unreserved resources.
1031
800
  """
1032
801
  return pulumi.get(self, "memory_expandable")
1033
802
 
@@ -1035,9 +804,8 @@ class ResourcePool(pulumi.CustomResource):
1035
804
  @pulumi.getter(name="memoryLimit")
1036
805
  def memory_limit(self) -> pulumi.Output[Optional[int]]:
1037
806
  """
1038
- The CPU utilization of a resource pool will not
1039
- exceed this limit, even if there are available resources. Set to `-1` for
1040
- unlimited. Default: `-1`
807
+ The utilization of a resource pool will not exceed this limit, even if there are available resources. Set to -1 for
808
+ unlimited.
1041
809
  """
1042
810
  return pulumi.get(self, "memory_limit")
1043
811
 
@@ -1045,8 +813,7 @@ class ResourcePool(pulumi.CustomResource):
1045
813
  @pulumi.getter(name="memoryReservation")
1046
814
  def memory_reservation(self) -> pulumi.Output[Optional[int]]:
1047
815
  """
1048
- Amount of CPU (MHz) that is guaranteed
1049
- available to the resource pool. Default: `0`
816
+ Amount of memory (MB) that is guaranteed available to the resource pool.
1050
817
  """
1051
818
  return pulumi.get(self, "memory_reservation")
1052
819
 
@@ -1054,11 +821,8 @@ class ResourcePool(pulumi.CustomResource):
1054
821
  @pulumi.getter(name="memoryShareLevel")
1055
822
  def memory_share_level(self) -> pulumi.Output[Optional[str]]:
1056
823
  """
1057
- The CPU allocation level. The level is a
1058
- simplified view of shares. Levels map to a pre-determined set of numeric
1059
- values for shares. Can be one of `low`, `normal`, `high`, or `custom`. When
1060
- `low`, `normal`, or `high` are specified values in `memory_shares` will be
1061
- ignored. Default: `normal`
824
+ The allocation level. The level is a simplified view of shares. Levels map to a pre-determined set of numeric values for
825
+ shares. Can be one of low, normal, high, or custom.
1062
826
  """
1063
827
  return pulumi.get(self, "memory_share_level")
1064
828
 
@@ -1066,9 +830,8 @@ class ResourcePool(pulumi.CustomResource):
1066
830
  @pulumi.getter(name="memoryShares")
1067
831
  def memory_shares(self) -> pulumi.Output[int]:
1068
832
  """
1069
- The number of shares allocated for CPU. Used to
1070
- determine resource allocation in case of resource contention. If this is set,
1071
- `memory_share_level` must be `custom`.
833
+ The number of shares allocated. Used to determine resource allocation in case of resource contention. If this is set,
834
+ memory_share_level must be custom.
1072
835
  """
1073
836
  return pulumi.get(self, "memory_shares")
1074
837
 
@@ -1076,7 +839,7 @@ class ResourcePool(pulumi.CustomResource):
1076
839
  @pulumi.getter
1077
840
  def name(self) -> pulumi.Output[str]:
1078
841
  """
1079
- The name of the resource pool.
842
+ Name of resource pool.
1080
843
  """
1081
844
  return pulumi.get(self, "name")
1082
845
 
@@ -1084,11 +847,7 @@ class ResourcePool(pulumi.CustomResource):
1084
847
  @pulumi.getter(name="parentResourcePoolId")
1085
848
  def parent_resource_pool_id(self) -> pulumi.Output[str]:
1086
849
  """
1087
- The managed object ID
1088
- of the parent resource pool. This can be the root resource pool for a cluster
1089
- or standalone host, or a resource pool itself. When moving a resource pool
1090
- from one parent resource pool to another, both must share a common root
1091
- resource pool.
850
+ The ID of the root resource pool of the compute resource the resource pool is in.
1092
851
  """
1093
852
  return pulumi.get(self, "parent_resource_pool_id")
1094
853
 
@@ -1096,10 +855,8 @@ class ResourcePool(pulumi.CustomResource):
1096
855
  @pulumi.getter(name="scaleDescendantsShares")
1097
856
  def scale_descendants_shares(self) -> pulumi.Output[Optional[str]]:
1098
857
  """
1099
- Determines if the shares of all
1100
- descendants of the resource pool are scaled up or down when the shares
1101
- of the resource pool are scaled up or down. Can be one of `disabled` or
1102
- `scaleCpuAndMemoryShares`. Default: `disabled`.
858
+ Determines if the shares of all descendants of the resource pool are scaled up or down when the shares of the resource
859
+ pool are scaled up or down.
1103
860
  """
1104
861
  return pulumi.get(self, "scale_descendants_shares")
1105
862
 
@@ -1107,7 +864,7 @@ class ResourcePool(pulumi.CustomResource):
1107
864
  @pulumi.getter
1108
865
  def tags(self) -> pulumi.Output[Optional[Sequence[str]]]:
1109
866
  """
1110
- The IDs of any tags to attach to this resource.
867
+ A list of tag IDs to apply to this object.
1111
868
  """
1112
869
  return pulumi.get(self, "tags")
1113
870