pulumi-vsphere 4.11.3a1727724971__py3-none-any.whl → 4.11.4__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.

@@ -77,9 +77,14 @@ def get_host_thumbprint(address: Optional[str] = None,
77
77
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetHostThumbprintResult:
78
78
  """
79
79
  The `vsphere_thumbprint` data source can be used to discover the host thumbprint
80
- of an ESXi host. This can be used when adding the `Host` resource. If
81
- the ESXi host is using a certificate chain, the first one returned will be used
82
- to generate the thumbprint.
80
+ of an ESXi host. This can be used when adding the `Host` resource to a
81
+ cluster or a vCenter Server instance.
82
+
83
+ * If the ESXi host is using a certificate chain, the first one returned will be
84
+ used to generate the thumbprint.
85
+
86
+ * If the ESXi host has a certificate issued by a certificate authority, ensure
87
+ that the the certificate authority is trusted on the system running the plan.
83
88
 
84
89
  ## Example Usage
85
90
 
@@ -93,8 +98,7 @@ def get_host_thumbprint(address: Optional[str] = None,
93
98
 
94
99
  :param str address: The address of the ESXi host to retrieve the thumbprint
95
100
  from.
96
- :param bool insecure: Disables SSL certificate verification.
97
- Default: `false`
101
+ :param bool insecure: Disables SSL certificate verification. Default: `false`
98
102
  :param str port: The port to use connecting to the ESXi host. Default: 443
99
103
  """
100
104
  __args__ = dict()
@@ -118,9 +122,14 @@ def get_host_thumbprint_output(address: Optional[pulumi.Input[str]] = None,
118
122
  opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetHostThumbprintResult]:
119
123
  """
120
124
  The `vsphere_thumbprint` data source can be used to discover the host thumbprint
121
- of an ESXi host. This can be used when adding the `Host` resource. If
122
- the ESXi host is using a certificate chain, the first one returned will be used
123
- to generate the thumbprint.
125
+ of an ESXi host. This can be used when adding the `Host` resource to a
126
+ cluster or a vCenter Server instance.
127
+
128
+ * If the ESXi host is using a certificate chain, the first one returned will be
129
+ used to generate the thumbprint.
130
+
131
+ * If the ESXi host has a certificate issued by a certificate authority, ensure
132
+ that the the certificate authority is trusted on the system running the plan.
124
133
 
125
134
  ## Example Usage
126
135
 
@@ -134,8 +143,7 @@ def get_host_thumbprint_output(address: Optional[pulumi.Input[str]] = None,
134
143
 
135
144
  :param str address: The address of the ESXi host to retrieve the thumbprint
136
145
  from.
137
- :param bool insecure: Disables SSL certificate verification.
138
- Default: `false`
146
+ :param bool insecure: Disables SSL certificate verification. Default: `false`
139
147
  :param str port: The port to use connecting to the ESXi host. Default: 443
140
148
  """
141
149
  ...
pulumi_vsphere/host.py CHANGED
@@ -656,10 +656,10 @@ class Host(pulumi.CustomResource):
656
656
  import pulumi_vsphere as vsphere
657
657
 
658
658
  datacenter = vsphere.get_datacenter(name="dc-01")
659
- thumbprint = vsphere.get_host_thumbprint(address="esx-01.example.com",
659
+ thumbprint = vsphere.get_host_thumbprint(address="esxi-01.example.com",
660
660
  insecure=True)
661
661
  esx_01 = vsphere.Host("esx-01",
662
- hostname="esx-01.example.com",
662
+ hostname="esxi-01.example.com",
663
663
  username="root",
664
664
  password="password",
665
665
  license="00000-00000-00000-00000-00000",
@@ -687,7 +687,7 @@ class Host(pulumi.CustomResource):
687
687
 
688
688
  data "vsphere_host" "host" {
689
689
 
690
- name = "esx-01.example.com"
690
+ name = "esxi-01.example.com"
691
691
 
692
692
  datacenter_id = data.vsphere_datacenter.datacenter.id
693
693
 
@@ -711,7 +711,7 @@ class Host(pulumi.CustomResource):
711
711
 
712
712
  data "vsphere_host_thumbprint" "thumbprint" {
713
713
 
714
- address = "esx-01.example.com"
714
+ address = "esxi-01.example.com"
715
715
 
716
716
  insecure = true
717
717
 
@@ -719,7 +719,7 @@ class Host(pulumi.CustomResource):
719
719
 
720
720
  resource "vsphere_host" "esx-01" {
721
721
 
722
- hostname = "esx-01.example.com"
722
+ hostname = "esxi-01.example.com"
723
723
 
724
724
  username = "root"
725
725
 
@@ -735,7 +735,7 @@ class Host(pulumi.CustomResource):
735
735
 
736
736
  resource "vsphere_host" "esx-01" {
737
737
 
738
- hostname = "esx-01.example.com"
738
+ hostname = "esxi-01.example.com"
739
739
 
740
740
  username = "root"
741
741
 
@@ -767,7 +767,7 @@ class Host(pulumi.CustomResource):
767
767
  $ pulumi import vsphere:index/host:Host esx-01 host-123
768
768
  ```
769
769
 
770
- The above would import the host `esx-01.example.com` with the host ID `host-123`.
770
+ The above would import the host `esxi-01.example.com` with the host ID `host-123`.
771
771
 
772
772
  :param str resource_name: The name of the resource.
773
773
  :param pulumi.ResourceOptions opts: Options for the resource.
@@ -835,10 +835,10 @@ class Host(pulumi.CustomResource):
835
835
  import pulumi_vsphere as vsphere
836
836
 
837
837
  datacenter = vsphere.get_datacenter(name="dc-01")
838
- thumbprint = vsphere.get_host_thumbprint(address="esx-01.example.com",
838
+ thumbprint = vsphere.get_host_thumbprint(address="esxi-01.example.com",
839
839
  insecure=True)
840
840
  esx_01 = vsphere.Host("esx-01",
841
- hostname="esx-01.example.com",
841
+ hostname="esxi-01.example.com",
842
842
  username="root",
843
843
  password="password",
844
844
  license="00000-00000-00000-00000-00000",
@@ -866,7 +866,7 @@ class Host(pulumi.CustomResource):
866
866
 
867
867
  data "vsphere_host" "host" {
868
868
 
869
- name = "esx-01.example.com"
869
+ name = "esxi-01.example.com"
870
870
 
871
871
  datacenter_id = data.vsphere_datacenter.datacenter.id
872
872
 
@@ -890,7 +890,7 @@ class Host(pulumi.CustomResource):
890
890
 
891
891
  data "vsphere_host_thumbprint" "thumbprint" {
892
892
 
893
- address = "esx-01.example.com"
893
+ address = "esxi-01.example.com"
894
894
 
895
895
  insecure = true
896
896
 
@@ -898,7 +898,7 @@ class Host(pulumi.CustomResource):
898
898
 
899
899
  resource "vsphere_host" "esx-01" {
900
900
 
901
- hostname = "esx-01.example.com"
901
+ hostname = "esxi-01.example.com"
902
902
 
903
903
  username = "root"
904
904
 
@@ -914,7 +914,7 @@ class Host(pulumi.CustomResource):
914
914
 
915
915
  resource "vsphere_host" "esx-01" {
916
916
 
917
- hostname = "esx-01.example.com"
917
+ hostname = "esxi-01.example.com"
918
918
 
919
919
  username = "root"
920
920
 
@@ -946,7 +946,7 @@ class Host(pulumi.CustomResource):
946
946
  $ pulumi import vsphere:index/host:Host esx-01 host-123
947
947
  ```
948
948
 
949
- The above would import the host `esx-01.example.com` with the host ID `host-123`.
949
+ The above would import the host `esxi-01.example.com` with the host ID `host-123`.
950
950
 
951
951
  :param str resource_name: The name of the resource.
952
952
  :param HostArgs args: The arguments to use to populate this resource's properties.
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "resource": true,
3
3
  "name": "vsphere",
4
- "version": "4.11.3-alpha.1727724971"
4
+ "version": "4.11.4"
5
5
  }
@@ -31,50 +31,30 @@ class ResourcePoolArgs:
31
31
  tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
32
32
  """
33
33
  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`.
34
+ :param pulumi.Input[str] parent_resource_pool_id: The ID of the root resource pool of the compute resource the resource pool is in.
35
+ :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
36
+ unreserved resources.
37
+ :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
38
+ unlimited.
39
+ :param pulumi.Input[int] cpu_reservation: Amount of CPU (MHz) that is guaranteed available to the resource pool.
40
+ :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
41
+ shares. Can be one of low, normal, high, or custom.
42
+ :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,
43
+ cpu_share_level must be custom.
55
44
  :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.
45
+ :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
46
+ unreserved resources.
47
+ :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
48
+ unlimited.
49
+ :param pulumi.Input[int] memory_reservation: Amount of memory (MB) that is guaranteed available to the resource pool.
50
+ :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
51
+ shares. Can be one of low, normal, high, or custom.
52
+ :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,
53
+ memory_share_level must be custom.
54
+ :param pulumi.Input[str] name: Name of resource pool.
55
+ :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
56
+ pool are scaled up or down.
57
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: A list of tag IDs to apply to this object.
78
58
  """
79
59
  pulumi.set(__self__, "parent_resource_pool_id", parent_resource_pool_id)
80
60
  if cpu_expandable is not None:
@@ -110,11 +90,7 @@ class ResourcePoolArgs:
110
90
  @pulumi.getter(name="parentResourcePoolId")
111
91
  def parent_resource_pool_id(self) -> pulumi.Input[str]:
112
92
  """
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.
93
+ The ID of the root resource pool of the compute resource the resource pool is in.
118
94
  """
119
95
  return pulumi.get(self, "parent_resource_pool_id")
120
96
 
@@ -126,9 +102,8 @@ class ResourcePoolArgs:
126
102
  @pulumi.getter(name="cpuExpandable")
127
103
  def cpu_expandable(self) -> Optional[pulumi.Input[bool]]:
128
104
  """
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`
105
+ Determines if the reservation on a resource pool can grow beyond the specified value, if the parent resource pool has
106
+ unreserved resources.
132
107
  """
133
108
  return pulumi.get(self, "cpu_expandable")
134
109
 
@@ -140,9 +115,8 @@ class ResourcePoolArgs:
140
115
  @pulumi.getter(name="cpuLimit")
141
116
  def cpu_limit(self) -> Optional[pulumi.Input[int]]:
142
117
  """
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`
118
+ The utilization of a resource pool will not exceed this limit, even if there are available resources. Set to -1 for
119
+ unlimited.
146
120
  """
147
121
  return pulumi.get(self, "cpu_limit")
148
122
 
@@ -154,8 +128,7 @@ class ResourcePoolArgs:
154
128
  @pulumi.getter(name="cpuReservation")
155
129
  def cpu_reservation(self) -> Optional[pulumi.Input[int]]:
156
130
  """
157
- Amount of CPU (MHz) that is guaranteed
158
- available to the resource pool. Default: `0`
131
+ Amount of CPU (MHz) that is guaranteed available to the resource pool.
159
132
  """
160
133
  return pulumi.get(self, "cpu_reservation")
161
134
 
@@ -167,11 +140,8 @@ class ResourcePoolArgs:
167
140
  @pulumi.getter(name="cpuShareLevel")
168
141
  def cpu_share_level(self) -> Optional[pulumi.Input[str]]:
169
142
  """
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`
143
+ The allocation level. The level is a simplified view of shares. Levels map to a pre-determined set of numeric values for
144
+ shares. Can be one of low, normal, high, or custom.
175
145
  """
176
146
  return pulumi.get(self, "cpu_share_level")
177
147
 
@@ -183,9 +153,8 @@ class ResourcePoolArgs:
183
153
  @pulumi.getter(name="cpuShares")
184
154
  def cpu_shares(self) -> Optional[pulumi.Input[int]]:
185
155
  """
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`.
156
+ The number of shares allocated. Used to determine resource allocation in case of resource contention. If this is set,
157
+ cpu_share_level must be custom.
189
158
  """
190
159
  return pulumi.get(self, "cpu_shares")
191
160
 
@@ -209,9 +178,8 @@ class ResourcePoolArgs:
209
178
  @pulumi.getter(name="memoryExpandable")
210
179
  def memory_expandable(self) -> Optional[pulumi.Input[bool]]:
211
180
  """
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`
181
+ Determines if the reservation on a resource pool can grow beyond the specified value, if the parent resource pool has
182
+ unreserved resources.
215
183
  """
216
184
  return pulumi.get(self, "memory_expandable")
217
185
 
@@ -223,9 +191,8 @@ class ResourcePoolArgs:
223
191
  @pulumi.getter(name="memoryLimit")
224
192
  def memory_limit(self) -> Optional[pulumi.Input[int]]:
225
193
  """
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`
194
+ The utilization of a resource pool will not exceed this limit, even if there are available resources. Set to -1 for
195
+ unlimited.
229
196
  """
230
197
  return pulumi.get(self, "memory_limit")
231
198
 
@@ -237,8 +204,7 @@ class ResourcePoolArgs:
237
204
  @pulumi.getter(name="memoryReservation")
238
205
  def memory_reservation(self) -> Optional[pulumi.Input[int]]:
239
206
  """
240
- Amount of CPU (MHz) that is guaranteed
241
- available to the resource pool. Default: `0`
207
+ Amount of memory (MB) that is guaranteed available to the resource pool.
242
208
  """
243
209
  return pulumi.get(self, "memory_reservation")
244
210
 
@@ -250,11 +216,8 @@ class ResourcePoolArgs:
250
216
  @pulumi.getter(name="memoryShareLevel")
251
217
  def memory_share_level(self) -> Optional[pulumi.Input[str]]:
252
218
  """
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`
219
+ The allocation level. The level is a simplified view of shares. Levels map to a pre-determined set of numeric values for
220
+ shares. Can be one of low, normal, high, or custom.
258
221
  """
259
222
  return pulumi.get(self, "memory_share_level")
260
223
 
@@ -266,9 +229,8 @@ class ResourcePoolArgs:
266
229
  @pulumi.getter(name="memoryShares")
267
230
  def memory_shares(self) -> Optional[pulumi.Input[int]]:
268
231
  """
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`.
232
+ The number of shares allocated. Used to determine resource allocation in case of resource contention. If this is set,
233
+ memory_share_level must be custom.
272
234
  """
273
235
  return pulumi.get(self, "memory_shares")
274
236
 
@@ -280,7 +242,7 @@ class ResourcePoolArgs:
280
242
  @pulumi.getter
281
243
  def name(self) -> Optional[pulumi.Input[str]]:
282
244
  """
283
- The name of the resource pool.
245
+ Name of resource pool.
284
246
  """
285
247
  return pulumi.get(self, "name")
286
248
 
@@ -292,10 +254,8 @@ class ResourcePoolArgs:
292
254
  @pulumi.getter(name="scaleDescendantsShares")
293
255
  def scale_descendants_shares(self) -> Optional[pulumi.Input[str]]:
294
256
  """
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`.
257
+ Determines if the shares of all descendants of the resource pool are scaled up or down when the shares of the resource
258
+ pool are scaled up or down.
299
259
  """
300
260
  return pulumi.get(self, "scale_descendants_shares")
301
261
 
@@ -307,7 +267,7 @@ class ResourcePoolArgs:
307
267
  @pulumi.getter
308
268
  def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
309
269
  """
310
- The IDs of any tags to attach to this resource.
270
+ A list of tag IDs to apply to this object.
311
271
  """
312
272
  return pulumi.get(self, "tags")
313
273
 
@@ -336,50 +296,30 @@ class _ResourcePoolState:
336
296
  tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
337
297
  """
338
298
  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`.
299
+ :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
300
+ unreserved resources.
301
+ :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
302
+ unlimited.
303
+ :param pulumi.Input[int] cpu_reservation: Amount of CPU (MHz) that is guaranteed available to the resource pool.
304
+ :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
305
+ shares. Can be one of low, normal, high, or custom.
306
+ :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,
307
+ cpu_share_level must be custom.
355
308
  :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.
309
+ :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
310
+ unreserved resources.
311
+ :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
312
+ unlimited.
313
+ :param pulumi.Input[int] memory_reservation: Amount of memory (MB) that is guaranteed available to the resource pool.
314
+ :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
315
+ shares. Can be one of low, normal, high, or custom.
316
+ :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,
317
+ memory_share_level must be custom.
318
+ :param pulumi.Input[str] name: Name of resource pool.
319
+ :param pulumi.Input[str] parent_resource_pool_id: The ID of the root resource pool of the compute resource the resource pool is in.
320
+ :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
321
+ pool are scaled up or down.
322
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: A list of tag IDs to apply to this object.
383
323
  """
384
324
  if cpu_expandable is not None:
385
325
  pulumi.set(__self__, "cpu_expandable", cpu_expandable)
@@ -416,9 +356,8 @@ class _ResourcePoolState:
416
356
  @pulumi.getter(name="cpuExpandable")
417
357
  def cpu_expandable(self) -> Optional[pulumi.Input[bool]]:
418
358
  """
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`
359
+ Determines if the reservation on a resource pool can grow beyond the specified value, if the parent resource pool has
360
+ unreserved resources.
422
361
  """
423
362
  return pulumi.get(self, "cpu_expandable")
424
363
 
@@ -430,9 +369,8 @@ class _ResourcePoolState:
430
369
  @pulumi.getter(name="cpuLimit")
431
370
  def cpu_limit(self) -> Optional[pulumi.Input[int]]:
432
371
  """
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`
372
+ The utilization of a resource pool will not exceed this limit, even if there are available resources. Set to -1 for
373
+ unlimited.
436
374
  """
437
375
  return pulumi.get(self, "cpu_limit")
438
376
 
@@ -444,8 +382,7 @@ class _ResourcePoolState:
444
382
  @pulumi.getter(name="cpuReservation")
445
383
  def cpu_reservation(self) -> Optional[pulumi.Input[int]]:
446
384
  """
447
- Amount of CPU (MHz) that is guaranteed
448
- available to the resource pool. Default: `0`
385
+ Amount of CPU (MHz) that is guaranteed available to the resource pool.
449
386
  """
450
387
  return pulumi.get(self, "cpu_reservation")
451
388
 
@@ -457,11 +394,8 @@ class _ResourcePoolState:
457
394
  @pulumi.getter(name="cpuShareLevel")
458
395
  def cpu_share_level(self) -> Optional[pulumi.Input[str]]:
459
396
  """
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`
397
+ The allocation level. The level is a simplified view of shares. Levels map to a pre-determined set of numeric values for
398
+ shares. Can be one of low, normal, high, or custom.
465
399
  """
466
400
  return pulumi.get(self, "cpu_share_level")
467
401
 
@@ -473,9 +407,8 @@ class _ResourcePoolState:
473
407
  @pulumi.getter(name="cpuShares")
474
408
  def cpu_shares(self) -> Optional[pulumi.Input[int]]:
475
409
  """
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`.
410
+ The number of shares allocated. Used to determine resource allocation in case of resource contention. If this is set,
411
+ cpu_share_level must be custom.
479
412
  """
480
413
  return pulumi.get(self, "cpu_shares")
481
414
 
@@ -499,9 +432,8 @@ class _ResourcePoolState:
499
432
  @pulumi.getter(name="memoryExpandable")
500
433
  def memory_expandable(self) -> Optional[pulumi.Input[bool]]:
501
434
  """
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`
435
+ Determines if the reservation on a resource pool can grow beyond the specified value, if the parent resource pool has
436
+ unreserved resources.
505
437
  """
506
438
  return pulumi.get(self, "memory_expandable")
507
439
 
@@ -513,9 +445,8 @@ class _ResourcePoolState:
513
445
  @pulumi.getter(name="memoryLimit")
514
446
  def memory_limit(self) -> Optional[pulumi.Input[int]]:
515
447
  """
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`
448
+ The utilization of a resource pool will not exceed this limit, even if there are available resources. Set to -1 for
449
+ unlimited.
519
450
  """
520
451
  return pulumi.get(self, "memory_limit")
521
452
 
@@ -527,8 +458,7 @@ class _ResourcePoolState:
527
458
  @pulumi.getter(name="memoryReservation")
528
459
  def memory_reservation(self) -> Optional[pulumi.Input[int]]:
529
460
  """
530
- Amount of CPU (MHz) that is guaranteed
531
- available to the resource pool. Default: `0`
461
+ Amount of memory (MB) that is guaranteed available to the resource pool.
532
462
  """
533
463
  return pulumi.get(self, "memory_reservation")
534
464
 
@@ -540,11 +470,8 @@ class _ResourcePoolState:
540
470
  @pulumi.getter(name="memoryShareLevel")
541
471
  def memory_share_level(self) -> Optional[pulumi.Input[str]]:
542
472
  """
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`
473
+ The allocation level. The level is a simplified view of shares. Levels map to a pre-determined set of numeric values for
474
+ shares. Can be one of low, normal, high, or custom.
548
475
  """
549
476
  return pulumi.get(self, "memory_share_level")
550
477
 
@@ -556,9 +483,8 @@ class _ResourcePoolState:
556
483
  @pulumi.getter(name="memoryShares")
557
484
  def memory_shares(self) -> Optional[pulumi.Input[int]]:
558
485
  """
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`.
486
+ The number of shares allocated. Used to determine resource allocation in case of resource contention. If this is set,
487
+ memory_share_level must be custom.
562
488
  """
563
489
  return pulumi.get(self, "memory_shares")
564
490
 
@@ -570,7 +496,7 @@ class _ResourcePoolState:
570
496
  @pulumi.getter
571
497
  def name(self) -> Optional[pulumi.Input[str]]:
572
498
  """
573
- The name of the resource pool.
499
+ Name of resource pool.
574
500
  """
575
501
  return pulumi.get(self, "name")
576
502
 
@@ -582,11 +508,7 @@ class _ResourcePoolState:
582
508
  @pulumi.getter(name="parentResourcePoolId")
583
509
  def parent_resource_pool_id(self) -> Optional[pulumi.Input[str]]:
584
510
  """
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.
511
+ The ID of the root resource pool of the compute resource the resource pool is in.
590
512
  """
591
513
  return pulumi.get(self, "parent_resource_pool_id")
592
514
 
@@ -598,10 +520,8 @@ class _ResourcePoolState:
598
520
  @pulumi.getter(name="scaleDescendantsShares")
599
521
  def scale_descendants_shares(self) -> Optional[pulumi.Input[str]]:
600
522
  """
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`.
523
+ Determines if the shares of all descendants of the resource pool are scaled up or down when the shares of the resource
524
+ pool are scaled up or down.
605
525
  """
606
526
  return pulumi.get(self, "scale_descendants_shares")
607
527
 
@@ -613,7 +533,7 @@ class _ResourcePoolState:
613
533
  @pulumi.getter
614
534
  def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
615
535
  """
616
- The IDs of any tags to attach to this resource.
536
+ A list of tag IDs to apply to this object.
617
537
  """
618
538
  return pulumi.get(self, "tags")
619
539
 
@@ -644,114 +564,33 @@ class ResourcePool(pulumi.CustomResource):
644
564
  tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
645
565
  __props__=None):
646
566
  """
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
-
567
+ Create a ResourcePool resource with the given unique name, props, and options.
709
568
  :param str resource_name: The name of the resource.
710
569
  :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`.
570
+ :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
571
+ unreserved resources.
572
+ :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
573
+ unlimited.
574
+ :param pulumi.Input[int] cpu_reservation: Amount of CPU (MHz) that is guaranteed available to the resource pool.
575
+ :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
576
+ shares. Can be one of low, normal, high, or custom.
577
+ :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,
578
+ cpu_share_level must be custom.
727
579
  :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.
580
+ :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
581
+ unreserved resources.
582
+ :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
583
+ unlimited.
584
+ :param pulumi.Input[int] memory_reservation: Amount of memory (MB) that is guaranteed available to the resource pool.
585
+ :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
586
+ shares. Can be one of low, normal, high, or custom.
587
+ :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,
588
+ memory_share_level must be custom.
589
+ :param pulumi.Input[str] name: Name of resource pool.
590
+ :param pulumi.Input[str] parent_resource_pool_id: The ID of the root resource pool of the compute resource the resource pool is in.
591
+ :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
592
+ pool are scaled up or down.
593
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: A list of tag IDs to apply to this object.
755
594
  """
756
595
  ...
757
596
  @overload
@@ -760,68 +599,7 @@ class ResourcePool(pulumi.CustomResource):
760
599
  args: ResourcePoolArgs,
761
600
  opts: Optional[pulumi.ResourceOptions] = None):
762
601
  """
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
-
602
+ Create a ResourcePool resource with the given unique name, props, and options.
825
603
  :param str resource_name: The name of the resource.
826
604
  :param ResourcePoolArgs args: The arguments to use to populate this resource's properties.
827
605
  :param pulumi.ResourceOptions opts: Options for the resource.
@@ -910,50 +688,30 @@ class ResourcePool(pulumi.CustomResource):
910
688
  :param str resource_name: The unique name of the resulting resource.
911
689
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
912
690
  :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`.
691
+ :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
692
+ unreserved resources.
693
+ :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
694
+ unlimited.
695
+ :param pulumi.Input[int] cpu_reservation: Amount of CPU (MHz) that is guaranteed available to the resource pool.
696
+ :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
697
+ shares. Can be one of low, normal, high, or custom.
698
+ :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,
699
+ cpu_share_level must be custom.
929
700
  :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.
701
+ :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
702
+ unreserved resources.
703
+ :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
704
+ unlimited.
705
+ :param pulumi.Input[int] memory_reservation: Amount of memory (MB) that is guaranteed available to the resource pool.
706
+ :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
707
+ shares. Can be one of low, normal, high, or custom.
708
+ :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,
709
+ memory_share_level must be custom.
710
+ :param pulumi.Input[str] name: Name of resource pool.
711
+ :param pulumi.Input[str] parent_resource_pool_id: The ID of the root resource pool of the compute resource the resource pool is in.
712
+ :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
713
+ pool are scaled up or down.
714
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: A list of tag IDs to apply to this object.
957
715
  """
958
716
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
959
717
 
@@ -980,9 +738,8 @@ class ResourcePool(pulumi.CustomResource):
980
738
  @pulumi.getter(name="cpuExpandable")
981
739
  def cpu_expandable(self) -> pulumi.Output[Optional[bool]]:
982
740
  """
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`
741
+ Determines if the reservation on a resource pool can grow beyond the specified value, if the parent resource pool has
742
+ unreserved resources.
986
743
  """
987
744
  return pulumi.get(self, "cpu_expandable")
988
745
 
@@ -990,9 +747,8 @@ class ResourcePool(pulumi.CustomResource):
990
747
  @pulumi.getter(name="cpuLimit")
991
748
  def cpu_limit(self) -> pulumi.Output[Optional[int]]:
992
749
  """
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`
750
+ The utilization of a resource pool will not exceed this limit, even if there are available resources. Set to -1 for
751
+ unlimited.
996
752
  """
997
753
  return pulumi.get(self, "cpu_limit")
998
754
 
@@ -1000,8 +756,7 @@ class ResourcePool(pulumi.CustomResource):
1000
756
  @pulumi.getter(name="cpuReservation")
1001
757
  def cpu_reservation(self) -> pulumi.Output[Optional[int]]:
1002
758
  """
1003
- Amount of CPU (MHz) that is guaranteed
1004
- available to the resource pool. Default: `0`
759
+ Amount of CPU (MHz) that is guaranteed available to the resource pool.
1005
760
  """
1006
761
  return pulumi.get(self, "cpu_reservation")
1007
762
 
@@ -1009,11 +764,8 @@ class ResourcePool(pulumi.CustomResource):
1009
764
  @pulumi.getter(name="cpuShareLevel")
1010
765
  def cpu_share_level(self) -> pulumi.Output[Optional[str]]:
1011
766
  """
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`
767
+ The allocation level. The level is a simplified view of shares. Levels map to a pre-determined set of numeric values for
768
+ shares. Can be one of low, normal, high, or custom.
1017
769
  """
1018
770
  return pulumi.get(self, "cpu_share_level")
1019
771
 
@@ -1021,9 +773,8 @@ class ResourcePool(pulumi.CustomResource):
1021
773
  @pulumi.getter(name="cpuShares")
1022
774
  def cpu_shares(self) -> pulumi.Output[int]:
1023
775
  """
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`.
776
+ The number of shares allocated. Used to determine resource allocation in case of resource contention. If this is set,
777
+ cpu_share_level must be custom.
1027
778
  """
1028
779
  return pulumi.get(self, "cpu_shares")
1029
780
 
@@ -1039,9 +790,8 @@ class ResourcePool(pulumi.CustomResource):
1039
790
  @pulumi.getter(name="memoryExpandable")
1040
791
  def memory_expandable(self) -> pulumi.Output[Optional[bool]]:
1041
792
  """
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`
793
+ Determines if the reservation on a resource pool can grow beyond the specified value, if the parent resource pool has
794
+ unreserved resources.
1045
795
  """
1046
796
  return pulumi.get(self, "memory_expandable")
1047
797
 
@@ -1049,9 +799,8 @@ class ResourcePool(pulumi.CustomResource):
1049
799
  @pulumi.getter(name="memoryLimit")
1050
800
  def memory_limit(self) -> pulumi.Output[Optional[int]]:
1051
801
  """
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`
802
+ The utilization of a resource pool will not exceed this limit, even if there are available resources. Set to -1 for
803
+ unlimited.
1055
804
  """
1056
805
  return pulumi.get(self, "memory_limit")
1057
806
 
@@ -1059,8 +808,7 @@ class ResourcePool(pulumi.CustomResource):
1059
808
  @pulumi.getter(name="memoryReservation")
1060
809
  def memory_reservation(self) -> pulumi.Output[Optional[int]]:
1061
810
  """
1062
- Amount of CPU (MHz) that is guaranteed
1063
- available to the resource pool. Default: `0`
811
+ Amount of memory (MB) that is guaranteed available to the resource pool.
1064
812
  """
1065
813
  return pulumi.get(self, "memory_reservation")
1066
814
 
@@ -1068,11 +816,8 @@ class ResourcePool(pulumi.CustomResource):
1068
816
  @pulumi.getter(name="memoryShareLevel")
1069
817
  def memory_share_level(self) -> pulumi.Output[Optional[str]]:
1070
818
  """
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`
819
+ The allocation level. The level is a simplified view of shares. Levels map to a pre-determined set of numeric values for
820
+ shares. Can be one of low, normal, high, or custom.
1076
821
  """
1077
822
  return pulumi.get(self, "memory_share_level")
1078
823
 
@@ -1080,9 +825,8 @@ class ResourcePool(pulumi.CustomResource):
1080
825
  @pulumi.getter(name="memoryShares")
1081
826
  def memory_shares(self) -> pulumi.Output[int]:
1082
827
  """
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`.
828
+ The number of shares allocated. Used to determine resource allocation in case of resource contention. If this is set,
829
+ memory_share_level must be custom.
1086
830
  """
1087
831
  return pulumi.get(self, "memory_shares")
1088
832
 
@@ -1090,7 +834,7 @@ class ResourcePool(pulumi.CustomResource):
1090
834
  @pulumi.getter
1091
835
  def name(self) -> pulumi.Output[str]:
1092
836
  """
1093
- The name of the resource pool.
837
+ Name of resource pool.
1094
838
  """
1095
839
  return pulumi.get(self, "name")
1096
840
 
@@ -1098,11 +842,7 @@ class ResourcePool(pulumi.CustomResource):
1098
842
  @pulumi.getter(name="parentResourcePoolId")
1099
843
  def parent_resource_pool_id(self) -> pulumi.Output[str]:
1100
844
  """
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.
845
+ The ID of the root resource pool of the compute resource the resource pool is in.
1106
846
  """
1107
847
  return pulumi.get(self, "parent_resource_pool_id")
1108
848
 
@@ -1110,10 +850,8 @@ class ResourcePool(pulumi.CustomResource):
1110
850
  @pulumi.getter(name="scaleDescendantsShares")
1111
851
  def scale_descendants_shares(self) -> pulumi.Output[Optional[str]]:
1112
852
  """
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`.
853
+ Determines if the shares of all descendants of the resource pool are scaled up or down when the shares of the resource
854
+ pool are scaled up or down.
1117
855
  """
1118
856
  return pulumi.get(self, "scale_descendants_shares")
1119
857
 
@@ -1121,7 +859,7 @@ class ResourcePool(pulumi.CustomResource):
1121
859
  @pulumi.getter
1122
860
  def tags(self) -> pulumi.Output[Optional[Sequence[str]]]:
1123
861
  """
1124
- The IDs of any tags to attach to this resource.
862
+ A list of tag IDs to apply to this object.
1125
863
  """
1126
864
  return pulumi.get(self, "tags")
1127
865
 
@@ -2726,7 +2726,7 @@ class VirtualMachine(pulumi.CustomResource):
2726
2726
 
2727
2727
  The following requirements apply to import:
2728
2728
 
2729
- * The disks must have a [`label`](#label) argument assigned in a convention matching `diskN`, starting with disk number 0, based on each virtual disk order on the SCSI bus. As an example, a disk on SCSI controller `0` with a unit number of `0` would be labeled as `disk0`, a disk on the same controller with a unit number of `1` would be `disk1`, but the next disk, which is on SCSI controller `1` with a unit number of `0`, still becomes `disk2`.
2729
+ * The disks must have a [`label`](#label) argument assigned in a convention matching `Hard Disk`, starting with disk number 0, based on each virtual disk order on the SCSI bus. As an example, a disk on SCSI controller `0` with a unit number of `0` would be labeled as `Hard Disk 0`, a disk on the same controller with a unit number of `1` would be `Hard Disk 1`, but the next disk, which is on SCSI controller `1` with a unit number of `0`, still becomes `Hard Disk 2`.
2730
2730
 
2731
2731
  * Disks are always imported with [`keep_on_remove`](#keep_on_remove) enabled until the first `pulumi up` run which will remove the setting for known disks. This process safeguards against naming or accounting mistakes in the disk configuration.
2732
2732
 
@@ -2847,7 +2847,7 @@ class VirtualMachine(pulumi.CustomResource):
2847
2847
 
2848
2848
  The following requirements apply to import:
2849
2849
 
2850
- * The disks must have a [`label`](#label) argument assigned in a convention matching `diskN`, starting with disk number 0, based on each virtual disk order on the SCSI bus. As an example, a disk on SCSI controller `0` with a unit number of `0` would be labeled as `disk0`, a disk on the same controller with a unit number of `1` would be `disk1`, but the next disk, which is on SCSI controller `1` with a unit number of `0`, still becomes `disk2`.
2850
+ * The disks must have a [`label`](#label) argument assigned in a convention matching `Hard Disk`, starting with disk number 0, based on each virtual disk order on the SCSI bus. As an example, a disk on SCSI controller `0` with a unit number of `0` would be labeled as `Hard Disk 0`, a disk on the same controller with a unit number of `1` would be `Hard Disk 1`, but the next disk, which is on SCSI controller `1` with a unit number of `0`, still becomes `Hard Disk 2`.
2851
2851
 
2852
2852
  * Disks are always imported with [`keep_on_remove`](#keep_on_remove) enabled until the first `pulumi up` run which will remove the setting for known disks. This process safeguards against naming or accounting mistakes in the disk configuration.
2853
2853
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pulumi_vsphere
3
- Version: 4.11.3a1727724971
3
+ Version: 4.11.4
4
4
  Summary: A Pulumi package for creating vsphere resources
5
5
  License: Apache-2.0
6
6
  Project-URL: Homepage, https://pulumi.io
@@ -37,7 +37,7 @@ pulumi_vsphere/get_guest_os_customization.py,sha256=inPUaDfJiThL6BfWVMqWHcVnOCbD
37
37
  pulumi_vsphere/get_host.py,sha256=aZ-2kism0hoSyeCGALJr759ILDrk2ohDskmexXRwSb8,5200
38
38
  pulumi_vsphere/get_host_base_images.py,sha256=3DqvJWpPTjOgi2PiQMTaCBxMFdvXUZYH883VwCWPBSE,2936
39
39
  pulumi_vsphere/get_host_pci_device.py,sha256=fp5WacjO3RBLrE16D6s23hkuN4je0KaNld9N8pX6Fos,7634
40
- pulumi_vsphere/get_host_thumbprint.py,sha256=MjZDDUPSzOhicLmslzATnk8hKPu2wDA3St4vr5PnUxk,4963
40
+ pulumi_vsphere/get_host_thumbprint.py,sha256=bEvN06jn0lHNKQWbGKKUJKPmIBQKj_H0am99nsYb6uE,5371
41
41
  pulumi_vsphere/get_host_vgpu_profile.py,sha256=4y8v6Zj8IhqrAQVhwtM-tZ1blVNFmCOBiI4VenUSu3c,6370
42
42
  pulumi_vsphere/get_license.py,sha256=QOSDZXEch29tPPs2-Ja7fWFG5t53f3amLTRhuNjwrFY,5266
43
43
  pulumi_vsphere/get_network.py,sha256=_w0wCBVKFsNdVAA3Ps-VX8F3KOCtQ_1tjcZ7rU8EY2Q,7133
@@ -52,7 +52,7 @@ pulumi_vsphere/get_virtual_machine.py,sha256=7cbdpbCgsLtWSkzmPdzOhlnILjAN5_cOb0U
52
52
  pulumi_vsphere/get_vmfs_disks.py,sha256=KotPjKN7ncgdWzl6qSU1DuuxIxu8BoQ5CLDH1JAgShg,6717
53
53
  pulumi_vsphere/guest_os_customization.py,sha256=McMmuw-0x6IDTkxshaESAMf9_MMuQ4n930zcrT4Nmfs,16953
54
54
  pulumi_vsphere/ha_vm_override.py,sha256=UZspbf3M20j1Fbu5fdptx_NpdEBulIaHrkpURCar3q4,58960
55
- pulumi_vsphere/host.py,sha256=zUCCyihjTbvkCFOl6Y2OXcfcciyX1uu8e_-GUUumGis,50725
55
+ pulumi_vsphere/host.py,sha256=EYrHIS7ylVlGB6oITxvWh_P74CrjD9AIn_Of7HNoUIo,50739
56
56
  pulumi_vsphere/host_port_group.py,sha256=q5chiwNimulkRECM5qdSWewVYPd9RzGe2xS576UgF2E,57254
57
57
  pulumi_vsphere/host_virtual_switch.py,sha256=rLUkgWWTSMWNA7KeBAEyspxwb25D26utJNxubnDXgRY,59781
58
58
  pulumi_vsphere/license.py,sha256=4IhaSHnAjOFSlSKu4AYGcbraULzzTRASs29wB7nw7aU,12022
@@ -60,9 +60,9 @@ pulumi_vsphere/nas_datastore.py,sha256=xId9ePpVFiztOfGMEAgGTV-wJtn7UE4EL5f74N-55
60
60
  pulumi_vsphere/offline_software_depot.py,sha256=9NvticI3dlQeZZ-Z_TwT7Jo-qa2GwhfZG4reQM3Xl3U,7379
61
61
  pulumi_vsphere/outputs.py,sha256=tMsheiyMRU8KoTIz05uauvgdEJYmRxTownfIq6UsvCY,156594
62
62
  pulumi_vsphere/provider.py,sha256=8H6ulcRQh7CAH67BvSthuiqAV0nAVjssl3aFk2xb2ME,20263
63
- pulumi_vsphere/pulumi-plugin.json,sha256=AB9eQ0q6Q70W4Tr8P-uO0kPEDiP1jXeKe_INLjWpsN0,84
63
+ pulumi_vsphere/pulumi-plugin.json,sha256=13aOvbULIrGFN6HWWiH_g5Lh7Nx3hSbVtFzo_E0D20k,67
64
64
  pulumi_vsphere/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
65
- pulumi_vsphere/resource_pool.py,sha256=nvRCtanec4g_6cW2-sodjs5g0Dco26KRL4PpzDh6D5g,54253
65
+ pulumi_vsphere/resource_pool.py,sha256=sCVdzRkwCc4776TrMBb23eQajfsT0Pmvi3mK9NBoeRk,43465
66
66
  pulumi_vsphere/role.py,sha256=PAc894OGeluKsWLq5LUKJs-u9BVTbhZdMBTg0NThj9I,9220
67
67
  pulumi_vsphere/storage_drs_vm_override.py,sha256=z4r66Qo83oUf8t_yrVpvHbg-pH_wunxhb66xFUnOSho,25572
68
68
  pulumi_vsphere/supervisor.py,sha256=6RWOhweDtZxeVUYkcWKG-WIt3FboOIYl4a5zadmtof4,46920
@@ -71,7 +71,7 @@ pulumi_vsphere/tag_category.py,sha256=txXKWBJgkvmlVSZaUPnqFGC0wFvikQQBsF-O06SNUv
71
71
  pulumi_vsphere/vapp_container.py,sha256=wLy4pDh4D2PhWiN3e4nlfm2GuixbhGhqUJ81o_9zSLs,54045
72
72
  pulumi_vsphere/vapp_entity.py,sha256=NPRObAsLaM0AGPXZBKC_xgNcexxrT8IqDabM3yvUSq4,34729
73
73
  pulumi_vsphere/virtual_disk.py,sha256=74Zd4wcvpYont-7OOiQUXTSsn0Tqbgq7gER4fTD4aOo,31959
74
- pulumi_vsphere/virtual_machine.py,sha256=EMov9Lbt5i3_5iVHPCxWo0H3CA4tZznXU9AW3O2h1bo,220617
74
+ pulumi_vsphere/virtual_machine.py,sha256=T6oPRpY0qd7NWlkzwcsA5OINA0k5CDvoW6P4RyA-yBc,220661
75
75
  pulumi_vsphere/virtual_machine_class.py,sha256=ZQY09IV6uI24zYoBBOMbmccyO6bQYPai6LBi6b1e74Y,17163
76
76
  pulumi_vsphere/virtual_machine_snapshot.py,sha256=wkVXW19WAVE281qnofn4TBbhoa4CfhVN6YLMDhrm2Ek,23912
77
77
  pulumi_vsphere/vm_storage_policy.py,sha256=WHgz3BpuplQez-ISXWR9jRnfqX6F3PULJsr1gDV0TJ0,20009
@@ -80,7 +80,7 @@ pulumi_vsphere/vnic.py,sha256=3XXYU7j-zhpd0AL76LBPHyfN7LK1exFc9cPfAp2C3U4,30717
80
80
  pulumi_vsphere/config/__init__.py,sha256=cfY0smRZD3fDVc93ZIAxEl_IM2pynmXB52n3Ahzi030,285
81
81
  pulumi_vsphere/config/__init__.pyi,sha256=ZO6ktIIpO1bKQNe2__l8JqDti_ZKgnRvHTcXcRWzb0M,1351
82
82
  pulumi_vsphere/config/vars.py,sha256=fcurb1Hwqp3evWnRD4s2t--MUjqR9R11nIm04F1UMW0,3210
83
- pulumi_vsphere-4.11.3a1727724971.dist-info/METADATA,sha256=pKKzMx2hch6mpgRJ8X8Fzct0CJe5MzyswmpDi8tQY2w,4958
84
- pulumi_vsphere-4.11.3a1727724971.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
85
- pulumi_vsphere-4.11.3a1727724971.dist-info/top_level.txt,sha256=00BIE8zaYtdsw0_tBfXR8E5sTs3lRnwlcZ6lUdu4loI,15
86
- pulumi_vsphere-4.11.3a1727724971.dist-info/RECORD,,
83
+ pulumi_vsphere-4.11.4.dist-info/METADATA,sha256=gdwlCqIc6CosJQFBVV6GOTdIrrAiDz3bBC-RfU1KXXI,4947
84
+ pulumi_vsphere-4.11.4.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
85
+ pulumi_vsphere-4.11.4.dist-info/top_level.txt,sha256=00BIE8zaYtdsw0_tBfXR8E5sTs3lRnwlcZ6lUdu4loI,15
86
+ pulumi_vsphere-4.11.4.dist-info/RECORD,,