pulumi-vsphere 4.10.0a1709017641__py3-none-any.whl → 4.17.0a1763710194__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 (89) hide show
  1. pulumi_vsphere/__init__.py +51 -1
  2. pulumi_vsphere/_inputs.py +2568 -1025
  3. pulumi_vsphere/_utilities.py +50 -10
  4. pulumi_vsphere/compute_cluster.py +1564 -2373
  5. pulumi_vsphere/compute_cluster_host_group.py +191 -55
  6. pulumi_vsphere/compute_cluster_vm_affinity_rule.py +157 -113
  7. pulumi_vsphere/compute_cluster_vm_anti_affinity_rule.py +133 -89
  8. pulumi_vsphere/compute_cluster_vm_dependency_rule.py +314 -106
  9. pulumi_vsphere/compute_cluster_vm_group.py +256 -55
  10. pulumi_vsphere/compute_cluster_vm_host_rule.py +323 -123
  11. pulumi_vsphere/config/__init__.py +2 -1
  12. pulumi_vsphere/config/__init__.pyi +7 -2
  13. pulumi_vsphere/config/vars.py +20 -15
  14. pulumi_vsphere/configuration_profile.py +286 -0
  15. pulumi_vsphere/content_library.py +177 -71
  16. pulumi_vsphere/content_library_item.py +252 -106
  17. pulumi_vsphere/custom_attribute.py +118 -38
  18. pulumi_vsphere/datacenter.py +128 -107
  19. pulumi_vsphere/datastore_cluster.py +636 -731
  20. pulumi_vsphere/datastore_cluster_vm_anti_affinity_rule.py +251 -89
  21. pulumi_vsphere/distributed_port_group.py +1129 -967
  22. pulumi_vsphere/distributed_virtual_switch.py +1971 -2239
  23. pulumi_vsphere/distributed_virtual_switch_pvlan_mapping.py +294 -0
  24. pulumi_vsphere/dpm_host_override.py +222 -72
  25. pulumi_vsphere/drs_vm_override.py +236 -72
  26. pulumi_vsphere/entity_permissions.py +96 -69
  27. pulumi_vsphere/file.py +173 -178
  28. pulumi_vsphere/folder.py +236 -113
  29. pulumi_vsphere/get_compute_cluster.py +34 -23
  30. pulumi_vsphere/get_compute_cluster_host_group.py +52 -41
  31. pulumi_vsphere/get_configuration_profile.py +145 -0
  32. pulumi_vsphere/get_content_library.py +33 -21
  33. pulumi_vsphere/get_content_library_item.py +47 -31
  34. pulumi_vsphere/get_custom_attribute.py +26 -17
  35. pulumi_vsphere/get_datacenter.py +40 -18
  36. pulumi_vsphere/get_datastore.py +60 -24
  37. pulumi_vsphere/get_datastore_cluster.py +47 -22
  38. pulumi_vsphere/get_datastore_stats.py +204 -0
  39. pulumi_vsphere/get_distributed_virtual_switch.py +36 -23
  40. pulumi_vsphere/get_dynamic.py +55 -45
  41. pulumi_vsphere/get_folder.py +163 -25
  42. pulumi_vsphere/get_guest_os_customization.py +68 -37
  43. pulumi_vsphere/get_host.py +34 -23
  44. pulumi_vsphere/get_host_base_images.py +104 -0
  45. pulumi_vsphere/get_host_pci_device.py +78 -35
  46. pulumi_vsphere/get_host_thumbprint.py +58 -38
  47. pulumi_vsphere/get_host_vgpu_profile.py +195 -0
  48. pulumi_vsphere/get_license.py +44 -28
  49. pulumi_vsphere/get_network.py +157 -46
  50. pulumi_vsphere/get_ovf_vm_template.py +184 -301
  51. pulumi_vsphere/get_policy.py +23 -15
  52. pulumi_vsphere/get_resource_pool.py +107 -40
  53. pulumi_vsphere/get_role.py +49 -35
  54. pulumi_vsphere/get_tag.py +34 -23
  55. pulumi_vsphere/get_tag_category.py +32 -21
  56. pulumi_vsphere/get_vapp_container.py +31 -21
  57. pulumi_vsphere/get_virtual_machine.py +499 -287
  58. pulumi_vsphere/get_vmfs_disks.py +42 -29
  59. pulumi_vsphere/guest_os_customization.py +135 -79
  60. pulumi_vsphere/ha_vm_override.py +470 -577
  61. pulumi_vsphere/host.py +515 -262
  62. pulumi_vsphere/host_port_group.py +352 -355
  63. pulumi_vsphere/host_virtual_switch.py +580 -580
  64. pulumi_vsphere/license.py +110 -92
  65. pulumi_vsphere/nas_datastore.py +398 -270
  66. pulumi_vsphere/offline_software_depot.py +190 -0
  67. pulumi_vsphere/outputs.py +1582 -1027
  68. pulumi_vsphere/provider.py +172 -152
  69. pulumi_vsphere/pulumi-plugin.json +2 -1
  70. pulumi_vsphere/resource_pool.py +357 -273
  71. pulumi_vsphere/role.py +79 -47
  72. pulumi_vsphere/storage_drs_vm_override.py +225 -89
  73. pulumi_vsphere/supervisor.py +1064 -0
  74. pulumi_vsphere/tag.py +217 -55
  75. pulumi_vsphere/tag_category.py +158 -72
  76. pulumi_vsphere/vapp_container.py +425 -259
  77. pulumi_vsphere/vapp_entity.py +324 -174
  78. pulumi_vsphere/virtual_disk.py +245 -153
  79. pulumi_vsphere/virtual_machine.py +1696 -1836
  80. pulumi_vsphere/virtual_machine_class.py +448 -0
  81. pulumi_vsphere/virtual_machine_snapshot.py +137 -131
  82. pulumi_vsphere/vm_storage_policy.py +160 -154
  83. pulumi_vsphere/vmfs_datastore.py +460 -186
  84. pulumi_vsphere/vnic.py +249 -231
  85. {pulumi_vsphere-4.10.0a1709017641.dist-info → pulumi_vsphere-4.17.0a1763710194.dist-info}/METADATA +7 -6
  86. pulumi_vsphere-4.17.0a1763710194.dist-info/RECORD +89 -0
  87. {pulumi_vsphere-4.10.0a1709017641.dist-info → pulumi_vsphere-4.17.0a1763710194.dist-info}/WHEEL +1 -1
  88. pulumi_vsphere-4.10.0a1709017641.dist-info/RECORD +0 -80
  89. {pulumi_vsphere-4.10.0a1709017641.dist-info → pulumi_vsphere-4.17.0a1763710194.dist-info}/top_level.txt +0 -0
@@ -1,12 +1,17 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
- import copy
5
+ import builtins as _builtins
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__ = ['VirtualMachineSnapshotArgs', 'VirtualMachineSnapshot']
@@ -14,27 +19,27 @@ __all__ = ['VirtualMachineSnapshotArgs', 'VirtualMachineSnapshot']
14
19
  @pulumi.input_type
15
20
  class VirtualMachineSnapshotArgs:
16
21
  def __init__(__self__, *,
17
- description: pulumi.Input[str],
18
- memory: pulumi.Input[bool],
19
- quiesce: pulumi.Input[bool],
20
- snapshot_name: pulumi.Input[str],
21
- virtual_machine_uuid: pulumi.Input[str],
22
- consolidate: Optional[pulumi.Input[bool]] = None,
23
- remove_children: Optional[pulumi.Input[bool]] = None):
22
+ description: pulumi.Input[_builtins.str],
23
+ memory: pulumi.Input[_builtins.bool],
24
+ quiesce: pulumi.Input[_builtins.bool],
25
+ snapshot_name: pulumi.Input[_builtins.str],
26
+ virtual_machine_uuid: pulumi.Input[_builtins.str],
27
+ consolidate: Optional[pulumi.Input[_builtins.bool]] = None,
28
+ remove_children: Optional[pulumi.Input[_builtins.bool]] = None):
24
29
  """
25
30
  The set of arguments for constructing a VirtualMachineSnapshot resource.
26
- :param pulumi.Input[str] description: A description for the snapshot.
27
- :param pulumi.Input[bool] memory: If set to `true`, a dump of the internal state of the
31
+ :param pulumi.Input[_builtins.str] description: A description for the snapshot.
32
+ :param pulumi.Input[_builtins.bool] memory: If set to `true`, a dump of the internal state of the
28
33
  virtual machine is included in the snapshot.
29
- :param pulumi.Input[bool] quiesce: If set to `true`, and the virtual machine is powered
34
+ :param pulumi.Input[_builtins.bool] quiesce: If set to `true`, and the virtual machine is powered
30
35
  on when the snapshot is taken, VMware Tools is used to quiesce the file
31
36
  system in the virtual machine.
32
- :param pulumi.Input[str] snapshot_name: The name of the snapshot.
33
- :param pulumi.Input[str] virtual_machine_uuid: The virtual machine UUID.
34
- :param pulumi.Input[bool] consolidate: If set to `true`, the delta disks involved in this
37
+ :param pulumi.Input[_builtins.str] snapshot_name: The name of the snapshot.
38
+ :param pulumi.Input[_builtins.str] virtual_machine_uuid: The virtual machine UUID.
39
+ :param pulumi.Input[_builtins.bool] consolidate: If set to `true`, the delta disks involved in this
35
40
  snapshot will be consolidated into the parent when this resource is
36
41
  destroyed.
37
- :param pulumi.Input[bool] remove_children: If set to `true`, the entire snapshot subtree
42
+ :param pulumi.Input[_builtins.bool] remove_children: If set to `true`, the entire snapshot subtree
38
43
  is removed when this resource is destroyed.
39
44
  """
40
45
  pulumi.set(__self__, "description", description)
@@ -47,21 +52,21 @@ class VirtualMachineSnapshotArgs:
47
52
  if remove_children is not None:
48
53
  pulumi.set(__self__, "remove_children", remove_children)
49
54
 
50
- @property
55
+ @_builtins.property
51
56
  @pulumi.getter
52
- def description(self) -> pulumi.Input[str]:
57
+ def description(self) -> pulumi.Input[_builtins.str]:
53
58
  """
54
59
  A description for the snapshot.
55
60
  """
56
61
  return pulumi.get(self, "description")
57
62
 
58
63
  @description.setter
59
- def description(self, value: pulumi.Input[str]):
64
+ def description(self, value: pulumi.Input[_builtins.str]):
60
65
  pulumi.set(self, "description", value)
61
66
 
62
- @property
67
+ @_builtins.property
63
68
  @pulumi.getter
64
- def memory(self) -> pulumi.Input[bool]:
69
+ def memory(self) -> pulumi.Input[_builtins.bool]:
65
70
  """
66
71
  If set to `true`, a dump of the internal state of the
67
72
  virtual machine is included in the snapshot.
@@ -69,12 +74,12 @@ class VirtualMachineSnapshotArgs:
69
74
  return pulumi.get(self, "memory")
70
75
 
71
76
  @memory.setter
72
- def memory(self, value: pulumi.Input[bool]):
77
+ def memory(self, value: pulumi.Input[_builtins.bool]):
73
78
  pulumi.set(self, "memory", value)
74
79
 
75
- @property
80
+ @_builtins.property
76
81
  @pulumi.getter
77
- def quiesce(self) -> pulumi.Input[bool]:
82
+ def quiesce(self) -> pulumi.Input[_builtins.bool]:
78
83
  """
79
84
  If set to `true`, and the virtual machine is powered
80
85
  on when the snapshot is taken, VMware Tools is used to quiesce the file
@@ -83,36 +88,36 @@ class VirtualMachineSnapshotArgs:
83
88
  return pulumi.get(self, "quiesce")
84
89
 
85
90
  @quiesce.setter
86
- def quiesce(self, value: pulumi.Input[bool]):
91
+ def quiesce(self, value: pulumi.Input[_builtins.bool]):
87
92
  pulumi.set(self, "quiesce", value)
88
93
 
89
- @property
94
+ @_builtins.property
90
95
  @pulumi.getter(name="snapshotName")
91
- def snapshot_name(self) -> pulumi.Input[str]:
96
+ def snapshot_name(self) -> pulumi.Input[_builtins.str]:
92
97
  """
93
98
  The name of the snapshot.
94
99
  """
95
100
  return pulumi.get(self, "snapshot_name")
96
101
 
97
102
  @snapshot_name.setter
98
- def snapshot_name(self, value: pulumi.Input[str]):
103
+ def snapshot_name(self, value: pulumi.Input[_builtins.str]):
99
104
  pulumi.set(self, "snapshot_name", value)
100
105
 
101
- @property
106
+ @_builtins.property
102
107
  @pulumi.getter(name="virtualMachineUuid")
103
- def virtual_machine_uuid(self) -> pulumi.Input[str]:
108
+ def virtual_machine_uuid(self) -> pulumi.Input[_builtins.str]:
104
109
  """
105
110
  The virtual machine UUID.
106
111
  """
107
112
  return pulumi.get(self, "virtual_machine_uuid")
108
113
 
109
114
  @virtual_machine_uuid.setter
110
- def virtual_machine_uuid(self, value: pulumi.Input[str]):
115
+ def virtual_machine_uuid(self, value: pulumi.Input[_builtins.str]):
111
116
  pulumi.set(self, "virtual_machine_uuid", value)
112
117
 
113
- @property
118
+ @_builtins.property
114
119
  @pulumi.getter
115
- def consolidate(self) -> Optional[pulumi.Input[bool]]:
120
+ def consolidate(self) -> Optional[pulumi.Input[_builtins.bool]]:
116
121
  """
117
122
  If set to `true`, the delta disks involved in this
118
123
  snapshot will be consolidated into the parent when this resource is
@@ -121,12 +126,12 @@ class VirtualMachineSnapshotArgs:
121
126
  return pulumi.get(self, "consolidate")
122
127
 
123
128
  @consolidate.setter
124
- def consolidate(self, value: Optional[pulumi.Input[bool]]):
129
+ def consolidate(self, value: Optional[pulumi.Input[_builtins.bool]]):
125
130
  pulumi.set(self, "consolidate", value)
126
131
 
127
- @property
132
+ @_builtins.property
128
133
  @pulumi.getter(name="removeChildren")
129
- def remove_children(self) -> Optional[pulumi.Input[bool]]:
134
+ def remove_children(self) -> Optional[pulumi.Input[_builtins.bool]]:
130
135
  """
131
136
  If set to `true`, the entire snapshot subtree
132
137
  is removed when this resource is destroyed.
@@ -134,35 +139,35 @@ class VirtualMachineSnapshotArgs:
134
139
  return pulumi.get(self, "remove_children")
135
140
 
136
141
  @remove_children.setter
137
- def remove_children(self, value: Optional[pulumi.Input[bool]]):
142
+ def remove_children(self, value: Optional[pulumi.Input[_builtins.bool]]):
138
143
  pulumi.set(self, "remove_children", value)
139
144
 
140
145
 
141
146
  @pulumi.input_type
142
147
  class _VirtualMachineSnapshotState:
143
148
  def __init__(__self__, *,
144
- consolidate: Optional[pulumi.Input[bool]] = None,
145
- description: Optional[pulumi.Input[str]] = None,
146
- memory: Optional[pulumi.Input[bool]] = None,
147
- quiesce: Optional[pulumi.Input[bool]] = None,
148
- remove_children: Optional[pulumi.Input[bool]] = None,
149
- snapshot_name: Optional[pulumi.Input[str]] = None,
150
- virtual_machine_uuid: Optional[pulumi.Input[str]] = None):
149
+ consolidate: Optional[pulumi.Input[_builtins.bool]] = None,
150
+ description: Optional[pulumi.Input[_builtins.str]] = None,
151
+ memory: Optional[pulumi.Input[_builtins.bool]] = None,
152
+ quiesce: Optional[pulumi.Input[_builtins.bool]] = None,
153
+ remove_children: Optional[pulumi.Input[_builtins.bool]] = None,
154
+ snapshot_name: Optional[pulumi.Input[_builtins.str]] = None,
155
+ virtual_machine_uuid: Optional[pulumi.Input[_builtins.str]] = None):
151
156
  """
152
157
  Input properties used for looking up and filtering VirtualMachineSnapshot resources.
153
- :param pulumi.Input[bool] consolidate: If set to `true`, the delta disks involved in this
158
+ :param pulumi.Input[_builtins.bool] consolidate: If set to `true`, the delta disks involved in this
154
159
  snapshot will be consolidated into the parent when this resource is
155
160
  destroyed.
156
- :param pulumi.Input[str] description: A description for the snapshot.
157
- :param pulumi.Input[bool] memory: If set to `true`, a dump of the internal state of the
161
+ :param pulumi.Input[_builtins.str] description: A description for the snapshot.
162
+ :param pulumi.Input[_builtins.bool] memory: If set to `true`, a dump of the internal state of the
158
163
  virtual machine is included in the snapshot.
159
- :param pulumi.Input[bool] quiesce: If set to `true`, and the virtual machine is powered
164
+ :param pulumi.Input[_builtins.bool] quiesce: If set to `true`, and the virtual machine is powered
160
165
  on when the snapshot is taken, VMware Tools is used to quiesce the file
161
166
  system in the virtual machine.
162
- :param pulumi.Input[bool] remove_children: If set to `true`, the entire snapshot subtree
167
+ :param pulumi.Input[_builtins.bool] remove_children: If set to `true`, the entire snapshot subtree
163
168
  is removed when this resource is destroyed.
164
- :param pulumi.Input[str] snapshot_name: The name of the snapshot.
165
- :param pulumi.Input[str] virtual_machine_uuid: The virtual machine UUID.
169
+ :param pulumi.Input[_builtins.str] snapshot_name: The name of the snapshot.
170
+ :param pulumi.Input[_builtins.str] virtual_machine_uuid: The virtual machine UUID.
166
171
  """
167
172
  if consolidate is not None:
168
173
  pulumi.set(__self__, "consolidate", consolidate)
@@ -179,9 +184,9 @@ class _VirtualMachineSnapshotState:
179
184
  if virtual_machine_uuid is not None:
180
185
  pulumi.set(__self__, "virtual_machine_uuid", virtual_machine_uuid)
181
186
 
182
- @property
187
+ @_builtins.property
183
188
  @pulumi.getter
184
- def consolidate(self) -> Optional[pulumi.Input[bool]]:
189
+ def consolidate(self) -> Optional[pulumi.Input[_builtins.bool]]:
185
190
  """
186
191
  If set to `true`, the delta disks involved in this
187
192
  snapshot will be consolidated into the parent when this resource is
@@ -190,24 +195,24 @@ class _VirtualMachineSnapshotState:
190
195
  return pulumi.get(self, "consolidate")
191
196
 
192
197
  @consolidate.setter
193
- def consolidate(self, value: Optional[pulumi.Input[bool]]):
198
+ def consolidate(self, value: Optional[pulumi.Input[_builtins.bool]]):
194
199
  pulumi.set(self, "consolidate", value)
195
200
 
196
- @property
201
+ @_builtins.property
197
202
  @pulumi.getter
198
- def description(self) -> Optional[pulumi.Input[str]]:
203
+ def description(self) -> Optional[pulumi.Input[_builtins.str]]:
199
204
  """
200
205
  A description for the snapshot.
201
206
  """
202
207
  return pulumi.get(self, "description")
203
208
 
204
209
  @description.setter
205
- def description(self, value: Optional[pulumi.Input[str]]):
210
+ def description(self, value: Optional[pulumi.Input[_builtins.str]]):
206
211
  pulumi.set(self, "description", value)
207
212
 
208
- @property
213
+ @_builtins.property
209
214
  @pulumi.getter
210
- def memory(self) -> Optional[pulumi.Input[bool]]:
215
+ def memory(self) -> Optional[pulumi.Input[_builtins.bool]]:
211
216
  """
212
217
  If set to `true`, a dump of the internal state of the
213
218
  virtual machine is included in the snapshot.
@@ -215,12 +220,12 @@ class _VirtualMachineSnapshotState:
215
220
  return pulumi.get(self, "memory")
216
221
 
217
222
  @memory.setter
218
- def memory(self, value: Optional[pulumi.Input[bool]]):
223
+ def memory(self, value: Optional[pulumi.Input[_builtins.bool]]):
219
224
  pulumi.set(self, "memory", value)
220
225
 
221
- @property
226
+ @_builtins.property
222
227
  @pulumi.getter
223
- def quiesce(self) -> Optional[pulumi.Input[bool]]:
228
+ def quiesce(self) -> Optional[pulumi.Input[_builtins.bool]]:
224
229
  """
225
230
  If set to `true`, and the virtual machine is powered
226
231
  on when the snapshot is taken, VMware Tools is used to quiesce the file
@@ -229,12 +234,12 @@ class _VirtualMachineSnapshotState:
229
234
  return pulumi.get(self, "quiesce")
230
235
 
231
236
  @quiesce.setter
232
- def quiesce(self, value: Optional[pulumi.Input[bool]]):
237
+ def quiesce(self, value: Optional[pulumi.Input[_builtins.bool]]):
233
238
  pulumi.set(self, "quiesce", value)
234
239
 
235
- @property
240
+ @_builtins.property
236
241
  @pulumi.getter(name="removeChildren")
237
- def remove_children(self) -> Optional[pulumi.Input[bool]]:
242
+ def remove_children(self) -> Optional[pulumi.Input[_builtins.bool]]:
238
243
  """
239
244
  If set to `true`, the entire snapshot subtree
240
245
  is removed when this resource is destroyed.
@@ -242,46 +247,47 @@ class _VirtualMachineSnapshotState:
242
247
  return pulumi.get(self, "remove_children")
243
248
 
244
249
  @remove_children.setter
245
- def remove_children(self, value: Optional[pulumi.Input[bool]]):
250
+ def remove_children(self, value: Optional[pulumi.Input[_builtins.bool]]):
246
251
  pulumi.set(self, "remove_children", value)
247
252
 
248
- @property
253
+ @_builtins.property
249
254
  @pulumi.getter(name="snapshotName")
250
- def snapshot_name(self) -> Optional[pulumi.Input[str]]:
255
+ def snapshot_name(self) -> Optional[pulumi.Input[_builtins.str]]:
251
256
  """
252
257
  The name of the snapshot.
253
258
  """
254
259
  return pulumi.get(self, "snapshot_name")
255
260
 
256
261
  @snapshot_name.setter
257
- def snapshot_name(self, value: Optional[pulumi.Input[str]]):
262
+ def snapshot_name(self, value: Optional[pulumi.Input[_builtins.str]]):
258
263
  pulumi.set(self, "snapshot_name", value)
259
264
 
260
- @property
265
+ @_builtins.property
261
266
  @pulumi.getter(name="virtualMachineUuid")
262
- def virtual_machine_uuid(self) -> Optional[pulumi.Input[str]]:
267
+ def virtual_machine_uuid(self) -> Optional[pulumi.Input[_builtins.str]]:
263
268
  """
264
269
  The virtual machine UUID.
265
270
  """
266
271
  return pulumi.get(self, "virtual_machine_uuid")
267
272
 
268
273
  @virtual_machine_uuid.setter
269
- def virtual_machine_uuid(self, value: Optional[pulumi.Input[str]]):
274
+ def virtual_machine_uuid(self, value: Optional[pulumi.Input[_builtins.str]]):
270
275
  pulumi.set(self, "virtual_machine_uuid", value)
271
276
 
272
277
 
278
+ @pulumi.type_token("vsphere:index/virtualMachineSnapshot:VirtualMachineSnapshot")
273
279
  class VirtualMachineSnapshot(pulumi.CustomResource):
274
280
  @overload
275
281
  def __init__(__self__,
276
282
  resource_name: str,
277
283
  opts: Optional[pulumi.ResourceOptions] = None,
278
- consolidate: Optional[pulumi.Input[bool]] = None,
279
- description: Optional[pulumi.Input[str]] = None,
280
- memory: Optional[pulumi.Input[bool]] = None,
281
- quiesce: Optional[pulumi.Input[bool]] = None,
282
- remove_children: Optional[pulumi.Input[bool]] = None,
283
- snapshot_name: Optional[pulumi.Input[str]] = None,
284
- virtual_machine_uuid: Optional[pulumi.Input[str]] = None,
284
+ consolidate: Optional[pulumi.Input[_builtins.bool]] = None,
285
+ description: Optional[pulumi.Input[_builtins.str]] = None,
286
+ memory: Optional[pulumi.Input[_builtins.bool]] = None,
287
+ quiesce: Optional[pulumi.Input[_builtins.bool]] = None,
288
+ remove_children: Optional[pulumi.Input[_builtins.bool]] = None,
289
+ snapshot_name: Optional[pulumi.Input[_builtins.str]] = None,
290
+ virtual_machine_uuid: Optional[pulumi.Input[_builtins.str]] = None,
285
291
  __props__=None):
286
292
  """
287
293
  The `VirtualMachineSnapshot` resource can be used to manage snapshots
@@ -290,7 +296,7 @@ class VirtualMachineSnapshot(pulumi.CustomResource):
290
296
  For more information on managing snapshots and how they work in VMware, see
291
297
  [here][ext-vm-snapshot-management].
292
298
 
293
- [ext-vm-snapshot-management]: https://docs.vmware.com/en/VMware-vSphere/7.0/com.vmware.vsphere.vm_admin.doc/GUID-CA948C69-7F58-4519-AEB1-739545EA94E5.html
299
+ [ext-vm-snapshot-management]: https://techdocs.broadcom.com/us/en/vmware-cis/vsphere/vsphere/8-0/vsphere-single-host-management-vmware-host-client-8-0/virtual-machine-management-with-the-vsphere-host-client-vSphereSingleHostManagementVMwareHostClient/managing-virtual-machines-in-the-vsphere-host-client-vSphereSingleHostManagementVMwareHostClient/using-snapshots-to-manage-virtual-machines-vSphereSingleHostManagementVMwareHostClient.html
294
300
 
295
301
  > **NOTE:** A snapshot in VMware differs from traditional disk snapshots, and
296
302
  can contain the actual running state of the virtual machine, data for all disks
@@ -304,7 +310,7 @@ class VirtualMachineSnapshot(pulumi.CustomResource):
304
310
  NOT recommend using them as as backup feature. For more information on the
305
311
  limitation of virtual machine snapshots, see [here][ext-vm-snap-limitations].
306
312
 
307
- [ext-vm-snap-limitations]: https://docs.vmware.com/en/VMware-vSphere/7.0/com.vmware.vsphere.vm_admin.doc/GUID-53F65726-A23B-4CF0-A7D5-48E584B88613.html
313
+ [ext-vm-snap-limitations]: https://techdocs.broadcom.com/us/en/vmware-cis/vsphere/vsphere/8-0/vsphere-virtual-machine-administration-guide-8-0/managing-virtual-machinesvsphere-vm-admin/using-snapshots-to-manage-virtual-machinesvsphere-vm-admin/snapshot-file-names-and-descriptionvsphere-vm-admin.html
308
314
 
309
315
  ## Example Usage
310
316
 
@@ -313,30 +319,30 @@ class VirtualMachineSnapshot(pulumi.CustomResource):
313
319
  import pulumi_vsphere as vsphere
314
320
 
315
321
  demo1 = vsphere.VirtualMachineSnapshot("demo1",
316
- consolidate=True,
322
+ virtual_machine_uuid="9aac5551-a351-4158-8c5c-15a71e8ec5c9",
323
+ snapshot_name="Snapshot Name",
317
324
  description="This is Demo Snapshot",
318
325
  memory=True,
319
326
  quiesce=True,
320
327
  remove_children=False,
321
- snapshot_name="Snapshot Name",
322
- virtual_machine_uuid="9aac5551-a351-4158-8c5c-15a71e8ec5c9")
328
+ consolidate=True)
323
329
  ```
324
330
 
325
331
  :param str resource_name: The name of the resource.
326
332
  :param pulumi.ResourceOptions opts: Options for the resource.
327
- :param pulumi.Input[bool] consolidate: If set to `true`, the delta disks involved in this
333
+ :param pulumi.Input[_builtins.bool] consolidate: If set to `true`, the delta disks involved in this
328
334
  snapshot will be consolidated into the parent when this resource is
329
335
  destroyed.
330
- :param pulumi.Input[str] description: A description for the snapshot.
331
- :param pulumi.Input[bool] memory: If set to `true`, a dump of the internal state of the
336
+ :param pulumi.Input[_builtins.str] description: A description for the snapshot.
337
+ :param pulumi.Input[_builtins.bool] memory: If set to `true`, a dump of the internal state of the
332
338
  virtual machine is included in the snapshot.
333
- :param pulumi.Input[bool] quiesce: If set to `true`, and the virtual machine is powered
339
+ :param pulumi.Input[_builtins.bool] quiesce: If set to `true`, and the virtual machine is powered
334
340
  on when the snapshot is taken, VMware Tools is used to quiesce the file
335
341
  system in the virtual machine.
336
- :param pulumi.Input[bool] remove_children: If set to `true`, the entire snapshot subtree
342
+ :param pulumi.Input[_builtins.bool] remove_children: If set to `true`, the entire snapshot subtree
337
343
  is removed when this resource is destroyed.
338
- :param pulumi.Input[str] snapshot_name: The name of the snapshot.
339
- :param pulumi.Input[str] virtual_machine_uuid: The virtual machine UUID.
344
+ :param pulumi.Input[_builtins.str] snapshot_name: The name of the snapshot.
345
+ :param pulumi.Input[_builtins.str] virtual_machine_uuid: The virtual machine UUID.
340
346
  """
341
347
  ...
342
348
  @overload
@@ -351,7 +357,7 @@ class VirtualMachineSnapshot(pulumi.CustomResource):
351
357
  For more information on managing snapshots and how they work in VMware, see
352
358
  [here][ext-vm-snapshot-management].
353
359
 
354
- [ext-vm-snapshot-management]: https://docs.vmware.com/en/VMware-vSphere/7.0/com.vmware.vsphere.vm_admin.doc/GUID-CA948C69-7F58-4519-AEB1-739545EA94E5.html
360
+ [ext-vm-snapshot-management]: https://techdocs.broadcom.com/us/en/vmware-cis/vsphere/vsphere/8-0/vsphere-single-host-management-vmware-host-client-8-0/virtual-machine-management-with-the-vsphere-host-client-vSphereSingleHostManagementVMwareHostClient/managing-virtual-machines-in-the-vsphere-host-client-vSphereSingleHostManagementVMwareHostClient/using-snapshots-to-manage-virtual-machines-vSphereSingleHostManagementVMwareHostClient.html
355
361
 
356
362
  > **NOTE:** A snapshot in VMware differs from traditional disk snapshots, and
357
363
  can contain the actual running state of the virtual machine, data for all disks
@@ -365,7 +371,7 @@ class VirtualMachineSnapshot(pulumi.CustomResource):
365
371
  NOT recommend using them as as backup feature. For more information on the
366
372
  limitation of virtual machine snapshots, see [here][ext-vm-snap-limitations].
367
373
 
368
- [ext-vm-snap-limitations]: https://docs.vmware.com/en/VMware-vSphere/7.0/com.vmware.vsphere.vm_admin.doc/GUID-53F65726-A23B-4CF0-A7D5-48E584B88613.html
374
+ [ext-vm-snap-limitations]: https://techdocs.broadcom.com/us/en/vmware-cis/vsphere/vsphere/8-0/vsphere-virtual-machine-administration-guide-8-0/managing-virtual-machinesvsphere-vm-admin/using-snapshots-to-manage-virtual-machinesvsphere-vm-admin/snapshot-file-names-and-descriptionvsphere-vm-admin.html
369
375
 
370
376
  ## Example Usage
371
377
 
@@ -374,13 +380,13 @@ class VirtualMachineSnapshot(pulumi.CustomResource):
374
380
  import pulumi_vsphere as vsphere
375
381
 
376
382
  demo1 = vsphere.VirtualMachineSnapshot("demo1",
377
- consolidate=True,
383
+ virtual_machine_uuid="9aac5551-a351-4158-8c5c-15a71e8ec5c9",
384
+ snapshot_name="Snapshot Name",
378
385
  description="This is Demo Snapshot",
379
386
  memory=True,
380
387
  quiesce=True,
381
388
  remove_children=False,
382
- snapshot_name="Snapshot Name",
383
- virtual_machine_uuid="9aac5551-a351-4158-8c5c-15a71e8ec5c9")
389
+ consolidate=True)
384
390
  ```
385
391
 
386
392
  :param str resource_name: The name of the resource.
@@ -398,13 +404,13 @@ class VirtualMachineSnapshot(pulumi.CustomResource):
398
404
  def _internal_init(__self__,
399
405
  resource_name: str,
400
406
  opts: Optional[pulumi.ResourceOptions] = None,
401
- consolidate: Optional[pulumi.Input[bool]] = None,
402
- description: Optional[pulumi.Input[str]] = None,
403
- memory: Optional[pulumi.Input[bool]] = None,
404
- quiesce: Optional[pulumi.Input[bool]] = None,
405
- remove_children: Optional[pulumi.Input[bool]] = None,
406
- snapshot_name: Optional[pulumi.Input[str]] = None,
407
- virtual_machine_uuid: Optional[pulumi.Input[str]] = None,
407
+ consolidate: Optional[pulumi.Input[_builtins.bool]] = None,
408
+ description: Optional[pulumi.Input[_builtins.str]] = None,
409
+ memory: Optional[pulumi.Input[_builtins.bool]] = None,
410
+ quiesce: Optional[pulumi.Input[_builtins.bool]] = None,
411
+ remove_children: Optional[pulumi.Input[_builtins.bool]] = None,
412
+ snapshot_name: Optional[pulumi.Input[_builtins.str]] = None,
413
+ virtual_machine_uuid: Optional[pulumi.Input[_builtins.str]] = None,
408
414
  __props__=None):
409
415
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
410
416
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -441,13 +447,13 @@ class VirtualMachineSnapshot(pulumi.CustomResource):
441
447
  def get(resource_name: str,
442
448
  id: pulumi.Input[str],
443
449
  opts: Optional[pulumi.ResourceOptions] = None,
444
- consolidate: Optional[pulumi.Input[bool]] = None,
445
- description: Optional[pulumi.Input[str]] = None,
446
- memory: Optional[pulumi.Input[bool]] = None,
447
- quiesce: Optional[pulumi.Input[bool]] = None,
448
- remove_children: Optional[pulumi.Input[bool]] = None,
449
- snapshot_name: Optional[pulumi.Input[str]] = None,
450
- virtual_machine_uuid: Optional[pulumi.Input[str]] = None) -> 'VirtualMachineSnapshot':
450
+ consolidate: Optional[pulumi.Input[_builtins.bool]] = None,
451
+ description: Optional[pulumi.Input[_builtins.str]] = None,
452
+ memory: Optional[pulumi.Input[_builtins.bool]] = None,
453
+ quiesce: Optional[pulumi.Input[_builtins.bool]] = None,
454
+ remove_children: Optional[pulumi.Input[_builtins.bool]] = None,
455
+ snapshot_name: Optional[pulumi.Input[_builtins.str]] = None,
456
+ virtual_machine_uuid: Optional[pulumi.Input[_builtins.str]] = None) -> 'VirtualMachineSnapshot':
451
457
  """
452
458
  Get an existing VirtualMachineSnapshot resource's state with the given name, id, and optional extra
453
459
  properties used to qualify the lookup.
@@ -455,19 +461,19 @@ class VirtualMachineSnapshot(pulumi.CustomResource):
455
461
  :param str resource_name: The unique name of the resulting resource.
456
462
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
457
463
  :param pulumi.ResourceOptions opts: Options for the resource.
458
- :param pulumi.Input[bool] consolidate: If set to `true`, the delta disks involved in this
464
+ :param pulumi.Input[_builtins.bool] consolidate: If set to `true`, the delta disks involved in this
459
465
  snapshot will be consolidated into the parent when this resource is
460
466
  destroyed.
461
- :param pulumi.Input[str] description: A description for the snapshot.
462
- :param pulumi.Input[bool] memory: If set to `true`, a dump of the internal state of the
467
+ :param pulumi.Input[_builtins.str] description: A description for the snapshot.
468
+ :param pulumi.Input[_builtins.bool] memory: If set to `true`, a dump of the internal state of the
463
469
  virtual machine is included in the snapshot.
464
- :param pulumi.Input[bool] quiesce: If set to `true`, and the virtual machine is powered
470
+ :param pulumi.Input[_builtins.bool] quiesce: If set to `true`, and the virtual machine is powered
465
471
  on when the snapshot is taken, VMware Tools is used to quiesce the file
466
472
  system in the virtual machine.
467
- :param pulumi.Input[bool] remove_children: If set to `true`, the entire snapshot subtree
473
+ :param pulumi.Input[_builtins.bool] remove_children: If set to `true`, the entire snapshot subtree
468
474
  is removed when this resource is destroyed.
469
- :param pulumi.Input[str] snapshot_name: The name of the snapshot.
470
- :param pulumi.Input[str] virtual_machine_uuid: The virtual machine UUID.
475
+ :param pulumi.Input[_builtins.str] snapshot_name: The name of the snapshot.
476
+ :param pulumi.Input[_builtins.str] virtual_machine_uuid: The virtual machine UUID.
471
477
  """
472
478
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
473
479
 
@@ -482,9 +488,9 @@ class VirtualMachineSnapshot(pulumi.CustomResource):
482
488
  __props__.__dict__["virtual_machine_uuid"] = virtual_machine_uuid
483
489
  return VirtualMachineSnapshot(resource_name, opts=opts, __props__=__props__)
484
490
 
485
- @property
491
+ @_builtins.property
486
492
  @pulumi.getter
487
- def consolidate(self) -> pulumi.Output[Optional[bool]]:
493
+ def consolidate(self) -> pulumi.Output[Optional[_builtins.bool]]:
488
494
  """
489
495
  If set to `true`, the delta disks involved in this
490
496
  snapshot will be consolidated into the parent when this resource is
@@ -492,26 +498,26 @@ class VirtualMachineSnapshot(pulumi.CustomResource):
492
498
  """
493
499
  return pulumi.get(self, "consolidate")
494
500
 
495
- @property
501
+ @_builtins.property
496
502
  @pulumi.getter
497
- def description(self) -> pulumi.Output[str]:
503
+ def description(self) -> pulumi.Output[_builtins.str]:
498
504
  """
499
505
  A description for the snapshot.
500
506
  """
501
507
  return pulumi.get(self, "description")
502
508
 
503
- @property
509
+ @_builtins.property
504
510
  @pulumi.getter
505
- def memory(self) -> pulumi.Output[bool]:
511
+ def memory(self) -> pulumi.Output[_builtins.bool]:
506
512
  """
507
513
  If set to `true`, a dump of the internal state of the
508
514
  virtual machine is included in the snapshot.
509
515
  """
510
516
  return pulumi.get(self, "memory")
511
517
 
512
- @property
518
+ @_builtins.property
513
519
  @pulumi.getter
514
- def quiesce(self) -> pulumi.Output[bool]:
520
+ def quiesce(self) -> pulumi.Output[_builtins.bool]:
515
521
  """
516
522
  If set to `true`, and the virtual machine is powered
517
523
  on when the snapshot is taken, VMware Tools is used to quiesce the file
@@ -519,26 +525,26 @@ class VirtualMachineSnapshot(pulumi.CustomResource):
519
525
  """
520
526
  return pulumi.get(self, "quiesce")
521
527
 
522
- @property
528
+ @_builtins.property
523
529
  @pulumi.getter(name="removeChildren")
524
- def remove_children(self) -> pulumi.Output[Optional[bool]]:
530
+ def remove_children(self) -> pulumi.Output[Optional[_builtins.bool]]:
525
531
  """
526
532
  If set to `true`, the entire snapshot subtree
527
533
  is removed when this resource is destroyed.
528
534
  """
529
535
  return pulumi.get(self, "remove_children")
530
536
 
531
- @property
537
+ @_builtins.property
532
538
  @pulumi.getter(name="snapshotName")
533
- def snapshot_name(self) -> pulumi.Output[str]:
539
+ def snapshot_name(self) -> pulumi.Output[_builtins.str]:
534
540
  """
535
541
  The name of the snapshot.
536
542
  """
537
543
  return pulumi.get(self, "snapshot_name")
538
544
 
539
- @property
545
+ @_builtins.property
540
546
  @pulumi.getter(name="virtualMachineUuid")
541
- def virtual_machine_uuid(self) -> pulumi.Output[str]:
547
+ def virtual_machine_uuid(self) -> pulumi.Output[_builtins.str]:
542
548
  """
543
549
  The virtual machine UUID.
544
550
  """