pulumi-vsphere 4.12.0a1728108869__py3-none-any.whl → 4.12.0a1728591024__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 (84) hide show
  1. pulumi_vsphere/_inputs.py +1061 -0
  2. pulumi_vsphere/_utilities.py +1 -1
  3. pulumi_vsphere/compute_cluster.py +5 -0
  4. pulumi_vsphere/compute_cluster_host_group.py +5 -0
  5. pulumi_vsphere/compute_cluster_vm_affinity_rule.py +5 -0
  6. pulumi_vsphere/compute_cluster_vm_anti_affinity_rule.py +5 -0
  7. pulumi_vsphere/compute_cluster_vm_dependency_rule.py +5 -0
  8. pulumi_vsphere/compute_cluster_vm_group.py +5 -0
  9. pulumi_vsphere/compute_cluster_vm_host_rule.py +5 -0
  10. pulumi_vsphere/config/__init__.pyi +5 -0
  11. pulumi_vsphere/config/vars.py +5 -0
  12. pulumi_vsphere/content_library.py +5 -0
  13. pulumi_vsphere/content_library_item.py +5 -0
  14. pulumi_vsphere/custom_attribute.py +5 -0
  15. pulumi_vsphere/datacenter.py +5 -0
  16. pulumi_vsphere/datastore_cluster.py +5 -0
  17. pulumi_vsphere/datastore_cluster_vm_anti_affinity_rule.py +5 -0
  18. pulumi_vsphere/distributed_port_group.py +5 -0
  19. pulumi_vsphere/distributed_virtual_switch.py +5 -0
  20. pulumi_vsphere/dpm_host_override.py +5 -0
  21. pulumi_vsphere/drs_vm_override.py +5 -0
  22. pulumi_vsphere/entity_permissions.py +5 -0
  23. pulumi_vsphere/file.py +5 -0
  24. pulumi_vsphere/folder.py +5 -0
  25. pulumi_vsphere/get_compute_cluster.py +15 -4
  26. pulumi_vsphere/get_compute_cluster_host_group.py +15 -4
  27. pulumi_vsphere/get_content_library.py +12 -4
  28. pulumi_vsphere/get_content_library_item.py +16 -4
  29. pulumi_vsphere/get_custom_attribute.py +13 -4
  30. pulumi_vsphere/get_datacenter.py +12 -4
  31. pulumi_vsphere/get_datastore.py +16 -4
  32. pulumi_vsphere/get_datastore_cluster.py +14 -4
  33. pulumi_vsphere/get_datastore_stats.py +16 -4
  34. pulumi_vsphere/get_distributed_virtual_switch.py +15 -4
  35. pulumi_vsphere/get_dynamic.py +16 -4
  36. pulumi_vsphere/get_folder.py +12 -4
  37. pulumi_vsphere/get_guest_os_customization.py +17 -4
  38. pulumi_vsphere/get_host.py +15 -4
  39. pulumi_vsphere/get_host_base_images.py +11 -4
  40. pulumi_vsphere/get_host_pci_device.py +19 -4
  41. pulumi_vsphere/get_host_thumbprint.py +34 -14
  42. pulumi_vsphere/get_host_vgpu_profile.py +15 -4
  43. pulumi_vsphere/get_license.py +17 -4
  44. pulumi_vsphere/get_network.py +17 -4
  45. pulumi_vsphere/get_ovf_vm_template.py +55 -4
  46. pulumi_vsphere/get_policy.py +12 -4
  47. pulumi_vsphere/get_resource_pool.py +14 -4
  48. pulumi_vsphere/get_role.py +18 -4
  49. pulumi_vsphere/get_tag.py +15 -4
  50. pulumi_vsphere/get_tag_category.py +15 -4
  51. pulumi_vsphere/get_vapp_container.py +14 -4
  52. pulumi_vsphere/get_virtual_machine.py +130 -4
  53. pulumi_vsphere/get_vmfs_disks.py +17 -4
  54. pulumi_vsphere/guest_os_customization.py +5 -0
  55. pulumi_vsphere/ha_vm_override.py +5 -0
  56. pulumi_vsphere/host.py +19 -14
  57. pulumi_vsphere/host_port_group.py +5 -0
  58. pulumi_vsphere/host_virtual_switch.py +5 -0
  59. pulumi_vsphere/license.py +5 -0
  60. pulumi_vsphere/nas_datastore.py +5 -0
  61. pulumi_vsphere/offline_software_depot.py +5 -0
  62. pulumi_vsphere/outputs.py +5 -0
  63. pulumi_vsphere/provider.py +5 -0
  64. pulumi_vsphere/pulumi-plugin.json +1 -1
  65. pulumi_vsphere/resource_pool.py +168 -425
  66. pulumi_vsphere/role.py +5 -0
  67. pulumi_vsphere/storage_drs_vm_override.py +5 -0
  68. pulumi_vsphere/supervisor.py +5 -0
  69. pulumi_vsphere/tag.py +5 -0
  70. pulumi_vsphere/tag_category.py +5 -0
  71. pulumi_vsphere/vapp_container.py +5 -0
  72. pulumi_vsphere/vapp_entity.py +5 -0
  73. pulumi_vsphere/virtual_disk.py +5 -0
  74. pulumi_vsphere/virtual_machine.py +7 -2
  75. pulumi_vsphere/virtual_machine_class.py +5 -0
  76. pulumi_vsphere/virtual_machine_snapshot.py +5 -0
  77. pulumi_vsphere/vm_storage_policy.py +5 -0
  78. pulumi_vsphere/vmfs_datastore.py +5 -0
  79. pulumi_vsphere/vnic.py +5 -0
  80. {pulumi_vsphere-4.12.0a1728108869.dist-info → pulumi_vsphere-4.12.0a1728591024.dist-info}/METADATA +3 -2
  81. pulumi_vsphere-4.12.0a1728591024.dist-info/RECORD +86 -0
  82. pulumi_vsphere-4.12.0a1728108869.dist-info/RECORD +0 -86
  83. {pulumi_vsphere-4.12.0a1728108869.dist-info → pulumi_vsphere-4.12.0a1728591024.dist-info}/WHEEL +0 -0
  84. {pulumi_vsphere-4.12.0a1728108869.dist-info → pulumi_vsphere-4.12.0a1728591024.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,114 +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/8.0/vsphere-resource-management/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
- ```python
661
- import pulumi
662
- import pulumi_vsphere as vsphere
663
-
664
- datacenter = vsphere.get_datacenter(name="dc-01")
665
- compute_cluster = vsphere.get_compute_cluster(name="cluster-01",
666
- datacenter_id=datacenter.id)
667
- resource_pool = vsphere.ResourcePool("resource_pool",
668
- name="resource-pool-01",
669
- parent_resource_pool_id=compute_cluster.resource_pool_id)
670
- ```
671
-
672
- A virtual machine resource could be targeted to use the default resource pool
673
- of the cluster using the following:
674
-
675
- ```python
676
- import pulumi
677
- import pulumi_vsphere as vsphere
678
-
679
- vm = vsphere.VirtualMachine("vm", resource_pool_id=cluster["resourcePoolId"])
680
- ```
681
-
682
- The following example sets up a parent resource pool in an existing compute cluster
683
- with a child resource pool nested below. Each resource pool is configured with
684
- the default settings for CPU and memory reservations, shares, and limits.
685
-
686
- ```python
687
- import pulumi
688
- import pulumi_vsphere as vsphere
689
-
690
- datacenter = vsphere.get_datacenter(name="dc-01")
691
- compute_cluster = vsphere.get_compute_cluster(name="cluster-01",
692
- datacenter_id=datacenter.id)
693
- resource_pool_parent = vsphere.ResourcePool("resource_pool_parent",
694
- name="parent",
695
- parent_resource_pool_id=compute_cluster.resource_pool_id)
696
- resource_pool_child = vsphere.ResourcePool("resource_pool_child",
697
- name="child",
698
- parent_resource_pool_id=resource_pool_parent.id)
699
- ```
700
-
701
- ## Import
702
-
703
- ### Settings that Require vSphere 7.0 or higher
704
-
705
- These settings require vSphere 7.0 or higher:
706
-
707
- * [`scale_descendants_shares`](#scale_descendants_shares)
708
-
572
+ Create a ResourcePool resource with the given unique name, props, and options.
709
573
  :param str resource_name: The name of the resource.
710
574
  :param pulumi.ResourceOptions opts: Options for the resource.
711
- :param pulumi.Input[bool] cpu_expandable: Determines if the reservation on a resource
712
- pool can grow beyond the specified value if the parent resource pool has
713
- unreserved resources. Default: `true`
714
- :param pulumi.Input[int] cpu_limit: The CPU utilization of a resource pool will not
715
- exceed this limit, even if there are available resources. Set to `-1` for
716
- unlimited. Default: `-1`
717
- :param pulumi.Input[int] cpu_reservation: Amount of CPU (MHz) that is guaranteed
718
- available to the resource pool. Default: `0`
719
- :param pulumi.Input[str] cpu_share_level: The CPU allocation level. The level is a
720
- simplified view of shares. Levels map to a pre-determined set of numeric
721
- values for shares. Can be one of `low`, `normal`, `high`, or `custom`. When
722
- `low`, `normal`, or `high` are specified values in `cpu_shares` will be
723
- ignored. Default: `normal`
724
- :param pulumi.Input[int] cpu_shares: The number of shares allocated for CPU. Used to
725
- determine resource allocation in case of resource contention. If this is set,
726
- `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.
727
584
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] custom_attributes: A list of custom attributes to set on this resource.
728
- :param pulumi.Input[bool] memory_expandable: Determines if the reservation on a resource
729
- pool can grow beyond the specified value if the parent resource pool has
730
- unreserved resources. Default: `true`
731
- :param pulumi.Input[int] memory_limit: The CPU utilization of a resource pool will not
732
- exceed this limit, even if there are available resources. Set to `-1` for
733
- unlimited. Default: `-1`
734
- :param pulumi.Input[int] memory_reservation: Amount of CPU (MHz) that is guaranteed
735
- available to the resource pool. Default: `0`
736
- :param pulumi.Input[str] memory_share_level: The CPU allocation level. The level is a
737
- simplified view of shares. Levels map to a pre-determined set of numeric
738
- values for shares. Can be one of `low`, `normal`, `high`, or `custom`. When
739
- `low`, `normal`, or `high` are specified values in `memory_shares` will be
740
- ignored. Default: `normal`
741
- :param pulumi.Input[int] memory_shares: The number of shares allocated for CPU. Used to
742
- determine resource allocation in case of resource contention. If this is set,
743
- `memory_share_level` must be `custom`.
744
- :param pulumi.Input[str] name: The name of the resource pool.
745
- :param pulumi.Input[str] parent_resource_pool_id: The managed object ID
746
- of the parent resource pool. This can be the root resource pool for a cluster
747
- or standalone host, or a resource pool itself. When moving a resource pool
748
- from one parent resource pool to another, both must share a common root
749
- resource pool.
750
- :param pulumi.Input[str] scale_descendants_shares: Determines if the shares of all
751
- descendants of the resource pool are scaled up or down when the shares
752
- of the resource pool are scaled up or down. Can be one of `disabled` or
753
- `scaleCpuAndMemoryShares`. Default: `disabled`.
754
- :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.
755
599
  """
756
600
  ...
757
601
  @overload
@@ -760,68 +604,7 @@ class ResourcePool(pulumi.CustomResource):
760
604
  args: ResourcePoolArgs,
761
605
  opts: Optional[pulumi.ResourceOptions] = None):
762
606
  """
763
- The `ResourcePool` resource can be used to create and manage
764
- resource pools on DRS-enabled vSphere clusters or standalone ESXi hosts.
765
-
766
- For more information on vSphere resource pools, please refer to the
767
- [product documentation][ref-vsphere-resource_pools].
768
-
769
- [ref-vsphere-resource_pools]: https://docs.vmware.com/en/VMware-vSphere/8.0/vsphere-resource-management/GUID-60077B40-66FF-4625-934A-641703ED7601.html
770
-
771
- ## Example Usage
772
-
773
- The following example sets up a resource pool in an existing compute cluster
774
- with the default settings for CPU and memory reservations, shares, and limits.
775
-
776
- ```python
777
- import pulumi
778
- import pulumi_vsphere as vsphere
779
-
780
- datacenter = vsphere.get_datacenter(name="dc-01")
781
- compute_cluster = vsphere.get_compute_cluster(name="cluster-01",
782
- datacenter_id=datacenter.id)
783
- resource_pool = vsphere.ResourcePool("resource_pool",
784
- name="resource-pool-01",
785
- parent_resource_pool_id=compute_cluster.resource_pool_id)
786
- ```
787
-
788
- A virtual machine resource could be targeted to use the default resource pool
789
- of the cluster using the following:
790
-
791
- ```python
792
- import pulumi
793
- import pulumi_vsphere as vsphere
794
-
795
- vm = vsphere.VirtualMachine("vm", resource_pool_id=cluster["resourcePoolId"])
796
- ```
797
-
798
- The following example sets up a parent resource pool in an existing compute cluster
799
- with a child resource pool nested below. Each resource pool is configured with
800
- the default settings for CPU and memory reservations, shares, and limits.
801
-
802
- ```python
803
- import pulumi
804
- import pulumi_vsphere as vsphere
805
-
806
- datacenter = vsphere.get_datacenter(name="dc-01")
807
- compute_cluster = vsphere.get_compute_cluster(name="cluster-01",
808
- datacenter_id=datacenter.id)
809
- resource_pool_parent = vsphere.ResourcePool("resource_pool_parent",
810
- name="parent",
811
- parent_resource_pool_id=compute_cluster.resource_pool_id)
812
- resource_pool_child = vsphere.ResourcePool("resource_pool_child",
813
- name="child",
814
- parent_resource_pool_id=resource_pool_parent.id)
815
- ```
816
-
817
- ## Import
818
-
819
- ### Settings that Require vSphere 7.0 or higher
820
-
821
- These settings require vSphere 7.0 or higher:
822
-
823
- * [`scale_descendants_shares`](#scale_descendants_shares)
824
-
607
+ Create a ResourcePool resource with the given unique name, props, and options.
825
608
  :param str resource_name: The name of the resource.
826
609
  :param ResourcePoolArgs args: The arguments to use to populate this resource's properties.
827
610
  :param pulumi.ResourceOptions opts: Options for the resource.
@@ -910,50 +693,30 @@ class ResourcePool(pulumi.CustomResource):
910
693
  :param str resource_name: The unique name of the resulting resource.
911
694
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
912
695
  :param pulumi.ResourceOptions opts: Options for the resource.
913
- :param pulumi.Input[bool] cpu_expandable: Determines if the reservation on a resource
914
- pool can grow beyond the specified value if the parent resource pool has
915
- unreserved resources. Default: `true`
916
- :param pulumi.Input[int] cpu_limit: The CPU utilization of a resource pool will not
917
- exceed this limit, even if there are available resources. Set to `-1` for
918
- unlimited. Default: `-1`
919
- :param pulumi.Input[int] cpu_reservation: Amount of CPU (MHz) that is guaranteed
920
- available to the resource pool. Default: `0`
921
- :param pulumi.Input[str] cpu_share_level: The CPU allocation level. The level is a
922
- simplified view of shares. Levels map to a pre-determined set of numeric
923
- values for shares. Can be one of `low`, `normal`, `high`, or `custom`. When
924
- `low`, `normal`, or `high` are specified values in `cpu_shares` will be
925
- ignored. Default: `normal`
926
- :param pulumi.Input[int] cpu_shares: The number of shares allocated for CPU. Used to
927
- determine resource allocation in case of resource contention. If this is set,
928
- `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.
929
705
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] custom_attributes: A list of custom attributes to set on this resource.
930
- :param pulumi.Input[bool] memory_expandable: Determines if the reservation on a resource
931
- pool can grow beyond the specified value if the parent resource pool has
932
- unreserved resources. Default: `true`
933
- :param pulumi.Input[int] memory_limit: The CPU utilization of a resource pool will not
934
- exceed this limit, even if there are available resources. Set to `-1` for
935
- unlimited. Default: `-1`
936
- :param pulumi.Input[int] memory_reservation: Amount of CPU (MHz) that is guaranteed
937
- available to the resource pool. Default: `0`
938
- :param pulumi.Input[str] memory_share_level: The CPU allocation level. The level is a
939
- simplified view of shares. Levels map to a pre-determined set of numeric
940
- values for shares. Can be one of `low`, `normal`, `high`, or `custom`. When
941
- `low`, `normal`, or `high` are specified values in `memory_shares` will be
942
- ignored. Default: `normal`
943
- :param pulumi.Input[int] memory_shares: The number of shares allocated for CPU. Used to
944
- determine resource allocation in case of resource contention. If this is set,
945
- `memory_share_level` must be `custom`.
946
- :param pulumi.Input[str] name: The name of the resource pool.
947
- :param pulumi.Input[str] parent_resource_pool_id: The managed object ID
948
- of the parent resource pool. This can be the root resource pool for a cluster
949
- or standalone host, or a resource pool itself. When moving a resource pool
950
- from one parent resource pool to another, both must share a common root
951
- resource pool.
952
- :param pulumi.Input[str] scale_descendants_shares: Determines if the shares of all
953
- descendants of the resource pool are scaled up or down when the shares
954
- of the resource pool are scaled up or down. Can be one of `disabled` or
955
- `scaleCpuAndMemoryShares`. Default: `disabled`.
956
- :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.
957
720
  """
958
721
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
959
722
 
@@ -980,9 +743,8 @@ class ResourcePool(pulumi.CustomResource):
980
743
  @pulumi.getter(name="cpuExpandable")
981
744
  def cpu_expandable(self) -> pulumi.Output[Optional[bool]]:
982
745
  """
983
- Determines if the reservation on a resource
984
- pool can grow beyond the specified value if the parent resource pool has
985
- 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.
986
748
  """
987
749
  return pulumi.get(self, "cpu_expandable")
988
750
 
@@ -990,9 +752,8 @@ class ResourcePool(pulumi.CustomResource):
990
752
  @pulumi.getter(name="cpuLimit")
991
753
  def cpu_limit(self) -> pulumi.Output[Optional[int]]:
992
754
  """
993
- The CPU utilization of a resource pool will not
994
- exceed this limit, even if there are available resources. Set to `-1` for
995
- 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.
996
757
  """
997
758
  return pulumi.get(self, "cpu_limit")
998
759
 
@@ -1000,8 +761,7 @@ class ResourcePool(pulumi.CustomResource):
1000
761
  @pulumi.getter(name="cpuReservation")
1001
762
  def cpu_reservation(self) -> pulumi.Output[Optional[int]]:
1002
763
  """
1003
- Amount of CPU (MHz) that is guaranteed
1004
- available to the resource pool. Default: `0`
764
+ Amount of CPU (MHz) that is guaranteed available to the resource pool.
1005
765
  """
1006
766
  return pulumi.get(self, "cpu_reservation")
1007
767
 
@@ -1009,11 +769,8 @@ class ResourcePool(pulumi.CustomResource):
1009
769
  @pulumi.getter(name="cpuShareLevel")
1010
770
  def cpu_share_level(self) -> pulumi.Output[Optional[str]]:
1011
771
  """
1012
- The CPU allocation level. The level is a
1013
- simplified view of shares. Levels map to a pre-determined set of numeric
1014
- values for shares. Can be one of `low`, `normal`, `high`, or `custom`. When
1015
- `low`, `normal`, or `high` are specified values in `cpu_shares` will be
1016
- 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.
1017
774
  """
1018
775
  return pulumi.get(self, "cpu_share_level")
1019
776
 
@@ -1021,9 +778,8 @@ class ResourcePool(pulumi.CustomResource):
1021
778
  @pulumi.getter(name="cpuShares")
1022
779
  def cpu_shares(self) -> pulumi.Output[int]:
1023
780
  """
1024
- The number of shares allocated for CPU. Used to
1025
- determine resource allocation in case of resource contention. If this is set,
1026
- `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.
1027
783
  """
1028
784
  return pulumi.get(self, "cpu_shares")
1029
785
 
@@ -1039,9 +795,8 @@ class ResourcePool(pulumi.CustomResource):
1039
795
  @pulumi.getter(name="memoryExpandable")
1040
796
  def memory_expandable(self) -> pulumi.Output[Optional[bool]]:
1041
797
  """
1042
- Determines if the reservation on a resource
1043
- pool can grow beyond the specified value if the parent resource pool has
1044
- 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.
1045
800
  """
1046
801
  return pulumi.get(self, "memory_expandable")
1047
802
 
@@ -1049,9 +804,8 @@ class ResourcePool(pulumi.CustomResource):
1049
804
  @pulumi.getter(name="memoryLimit")
1050
805
  def memory_limit(self) -> pulumi.Output[Optional[int]]:
1051
806
  """
1052
- The CPU utilization of a resource pool will not
1053
- exceed this limit, even if there are available resources. Set to `-1` for
1054
- 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.
1055
809
  """
1056
810
  return pulumi.get(self, "memory_limit")
1057
811
 
@@ -1059,8 +813,7 @@ class ResourcePool(pulumi.CustomResource):
1059
813
  @pulumi.getter(name="memoryReservation")
1060
814
  def memory_reservation(self) -> pulumi.Output[Optional[int]]:
1061
815
  """
1062
- Amount of CPU (MHz) that is guaranteed
1063
- available to the resource pool. Default: `0`
816
+ Amount of memory (MB) that is guaranteed available to the resource pool.
1064
817
  """
1065
818
  return pulumi.get(self, "memory_reservation")
1066
819
 
@@ -1068,11 +821,8 @@ class ResourcePool(pulumi.CustomResource):
1068
821
  @pulumi.getter(name="memoryShareLevel")
1069
822
  def memory_share_level(self) -> pulumi.Output[Optional[str]]:
1070
823
  """
1071
- The CPU allocation level. The level is a
1072
- simplified view of shares. Levels map to a pre-determined set of numeric
1073
- values for shares. Can be one of `low`, `normal`, `high`, or `custom`. When
1074
- `low`, `normal`, or `high` are specified values in `memory_shares` will be
1075
- 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.
1076
826
  """
1077
827
  return pulumi.get(self, "memory_share_level")
1078
828
 
@@ -1080,9 +830,8 @@ class ResourcePool(pulumi.CustomResource):
1080
830
  @pulumi.getter(name="memoryShares")
1081
831
  def memory_shares(self) -> pulumi.Output[int]:
1082
832
  """
1083
- The number of shares allocated for CPU. Used to
1084
- determine resource allocation in case of resource contention. If this is set,
1085
- `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.
1086
835
  """
1087
836
  return pulumi.get(self, "memory_shares")
1088
837
 
@@ -1090,7 +839,7 @@ class ResourcePool(pulumi.CustomResource):
1090
839
  @pulumi.getter
1091
840
  def name(self) -> pulumi.Output[str]:
1092
841
  """
1093
- The name of the resource pool.
842
+ Name of resource pool.
1094
843
  """
1095
844
  return pulumi.get(self, "name")
1096
845
 
@@ -1098,11 +847,7 @@ class ResourcePool(pulumi.CustomResource):
1098
847
  @pulumi.getter(name="parentResourcePoolId")
1099
848
  def parent_resource_pool_id(self) -> pulumi.Output[str]:
1100
849
  """
1101
- The managed object ID
1102
- of the parent resource pool. This can be the root resource pool for a cluster
1103
- or standalone host, or a resource pool itself. When moving a resource pool
1104
- from one parent resource pool to another, both must share a common root
1105
- resource pool.
850
+ The ID of the root resource pool of the compute resource the resource pool is in.
1106
851
  """
1107
852
  return pulumi.get(self, "parent_resource_pool_id")
1108
853
 
@@ -1110,10 +855,8 @@ class ResourcePool(pulumi.CustomResource):
1110
855
  @pulumi.getter(name="scaleDescendantsShares")
1111
856
  def scale_descendants_shares(self) -> pulumi.Output[Optional[str]]:
1112
857
  """
1113
- Determines if the shares of all
1114
- descendants of the resource pool are scaled up or down when the shares
1115
- of the resource pool are scaled up or down. Can be one of `disabled` or
1116
- `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.
1117
860
  """
1118
861
  return pulumi.get(self, "scale_descendants_shares")
1119
862
 
@@ -1121,7 +864,7 @@ class ResourcePool(pulumi.CustomResource):
1121
864
  @pulumi.getter
1122
865
  def tags(self) -> pulumi.Output[Optional[Sequence[str]]]:
1123
866
  """
1124
- The IDs of any tags to attach to this resource.
867
+ A list of tag IDs to apply to this object.
1125
868
  """
1126
869
  return pulumi.get(self, "tags")
1127
870