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__ = ['VappEntityArgs', 'VappEntity']
@@ -14,37 +19,37 @@ __all__ = ['VappEntityArgs', 'VappEntity']
14
19
  @pulumi.input_type
15
20
  class VappEntityArgs:
16
21
  def __init__(__self__, *,
17
- container_id: pulumi.Input[str],
18
- target_id: pulumi.Input[str],
19
- custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
20
- start_action: Optional[pulumi.Input[str]] = None,
21
- start_delay: Optional[pulumi.Input[int]] = None,
22
- start_order: Optional[pulumi.Input[int]] = None,
23
- stop_action: Optional[pulumi.Input[str]] = None,
24
- stop_delay: Optional[pulumi.Input[int]] = None,
25
- tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
26
- wait_for_guest: Optional[pulumi.Input[bool]] = None):
22
+ container_id: pulumi.Input[_builtins.str],
23
+ target_id: pulumi.Input[_builtins.str],
24
+ custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
25
+ start_action: Optional[pulumi.Input[_builtins.str]] = None,
26
+ start_delay: Optional[pulumi.Input[_builtins.int]] = None,
27
+ start_order: Optional[pulumi.Input[_builtins.int]] = None,
28
+ stop_action: Optional[pulumi.Input[_builtins.str]] = None,
29
+ stop_delay: Optional[pulumi.Input[_builtins.int]] = None,
30
+ tags: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
31
+ wait_for_guest: Optional[pulumi.Input[_builtins.bool]] = None):
27
32
  """
28
33
  The set of arguments for constructing a VappEntity resource.
29
- :param pulumi.Input[str] container_id: Managed object ID of the vApp
34
+ :param pulumi.Input[_builtins.str] container_id: Managed object ID of the vApp
30
35
  container the entity is a member of.
31
- :param pulumi.Input[str] target_id: Managed object ID of the entity
36
+ :param pulumi.Input[_builtins.str] target_id: Managed object ID of the entity
32
37
  to power on or power off. This can be a virtual machine or a vApp.
33
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] custom_attributes: A list of custom attributes to set on this resource.
34
- :param pulumi.Input[str] start_action: How to start the entity. Valid settings are none
38
+ :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] custom_attributes: A list of custom attributes to set on this resource.
39
+ :param pulumi.Input[_builtins.str] start_action: How to start the entity. Valid settings are none
35
40
  or powerOn. If set to none, then the entity does not participate in auto-start.
36
41
  Default: powerOn
37
- :param pulumi.Input[int] start_delay: Delay in seconds before continuing with the next
42
+ :param pulumi.Input[_builtins.int] start_delay: Delay in seconds before continuing with the next
38
43
  entity in the order of entities to be started. Default: 120
39
- :param pulumi.Input[int] start_order: Order to start and stop target in vApp. Default: 1
40
- :param pulumi.Input[str] stop_action: Defines the stop action for the entity. Can be set
44
+ :param pulumi.Input[_builtins.int] start_order: Order to start and stop target in vApp. Default: 1
45
+ :param pulumi.Input[_builtins.str] stop_action: Defines the stop action for the entity. Can be set
41
46
  to none, powerOff, guestShutdown, or suspend. If set to none, then the entity
42
47
  does not participate in auto-stop. Default: powerOff
43
- :param pulumi.Input[int] stop_delay: Delay in seconds before continuing with the next
48
+ :param pulumi.Input[_builtins.int] stop_delay: Delay in seconds before continuing with the next
44
49
  entity in the order sequence. This is only used if the stopAction is
45
50
  guestShutdown. Default: 120
46
- :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: A list of tag IDs to apply to this object.
47
- :param pulumi.Input[bool] wait_for_guest: Determines if the VM should be marked as being
51
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] tags: A list of tag IDs to apply to this object.
52
+ :param pulumi.Input[_builtins.bool] wait_for_guest: Determines if the VM should be marked as being
48
53
  started when VMware Tools are ready instead of waiting for `start_delay`. This
49
54
  property has no effect for vApps. Default: false
50
55
  """
@@ -67,9 +72,9 @@ class VappEntityArgs:
67
72
  if wait_for_guest is not None:
68
73
  pulumi.set(__self__, "wait_for_guest", wait_for_guest)
69
74
 
70
- @property
75
+ @_builtins.property
71
76
  @pulumi.getter(name="containerId")
72
- def container_id(self) -> pulumi.Input[str]:
77
+ def container_id(self) -> pulumi.Input[_builtins.str]:
73
78
  """
74
79
  Managed object ID of the vApp
75
80
  container the entity is a member of.
@@ -77,12 +82,12 @@ class VappEntityArgs:
77
82
  return pulumi.get(self, "container_id")
78
83
 
79
84
  @container_id.setter
80
- def container_id(self, value: pulumi.Input[str]):
85
+ def container_id(self, value: pulumi.Input[_builtins.str]):
81
86
  pulumi.set(self, "container_id", value)
82
87
 
83
- @property
88
+ @_builtins.property
84
89
  @pulumi.getter(name="targetId")
85
- def target_id(self) -> pulumi.Input[str]:
90
+ def target_id(self) -> pulumi.Input[_builtins.str]:
86
91
  """
87
92
  Managed object ID of the entity
88
93
  to power on or power off. This can be a virtual machine or a vApp.
@@ -90,24 +95,24 @@ class VappEntityArgs:
90
95
  return pulumi.get(self, "target_id")
91
96
 
92
97
  @target_id.setter
93
- def target_id(self, value: pulumi.Input[str]):
98
+ def target_id(self, value: pulumi.Input[_builtins.str]):
94
99
  pulumi.set(self, "target_id", value)
95
100
 
96
- @property
101
+ @_builtins.property
97
102
  @pulumi.getter(name="customAttributes")
98
- def custom_attributes(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
103
+ def custom_attributes(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
99
104
  """
100
105
  A list of custom attributes to set on this resource.
101
106
  """
102
107
  return pulumi.get(self, "custom_attributes")
103
108
 
104
109
  @custom_attributes.setter
105
- def custom_attributes(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
110
+ def custom_attributes(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
106
111
  pulumi.set(self, "custom_attributes", value)
107
112
 
108
- @property
113
+ @_builtins.property
109
114
  @pulumi.getter(name="startAction")
110
- def start_action(self) -> Optional[pulumi.Input[str]]:
115
+ def start_action(self) -> Optional[pulumi.Input[_builtins.str]]:
111
116
  """
112
117
  How to start the entity. Valid settings are none
113
118
  or powerOn. If set to none, then the entity does not participate in auto-start.
@@ -116,12 +121,12 @@ class VappEntityArgs:
116
121
  return pulumi.get(self, "start_action")
117
122
 
118
123
  @start_action.setter
119
- def start_action(self, value: Optional[pulumi.Input[str]]):
124
+ def start_action(self, value: Optional[pulumi.Input[_builtins.str]]):
120
125
  pulumi.set(self, "start_action", value)
121
126
 
122
- @property
127
+ @_builtins.property
123
128
  @pulumi.getter(name="startDelay")
124
- def start_delay(self) -> Optional[pulumi.Input[int]]:
129
+ def start_delay(self) -> Optional[pulumi.Input[_builtins.int]]:
125
130
  """
126
131
  Delay in seconds before continuing with the next
127
132
  entity in the order of entities to be started. Default: 120
@@ -129,24 +134,24 @@ class VappEntityArgs:
129
134
  return pulumi.get(self, "start_delay")
130
135
 
131
136
  @start_delay.setter
132
- def start_delay(self, value: Optional[pulumi.Input[int]]):
137
+ def start_delay(self, value: Optional[pulumi.Input[_builtins.int]]):
133
138
  pulumi.set(self, "start_delay", value)
134
139
 
135
- @property
140
+ @_builtins.property
136
141
  @pulumi.getter(name="startOrder")
137
- def start_order(self) -> Optional[pulumi.Input[int]]:
142
+ def start_order(self) -> Optional[pulumi.Input[_builtins.int]]:
138
143
  """
139
144
  Order to start and stop target in vApp. Default: 1
140
145
  """
141
146
  return pulumi.get(self, "start_order")
142
147
 
143
148
  @start_order.setter
144
- def start_order(self, value: Optional[pulumi.Input[int]]):
149
+ def start_order(self, value: Optional[pulumi.Input[_builtins.int]]):
145
150
  pulumi.set(self, "start_order", value)
146
151
 
147
- @property
152
+ @_builtins.property
148
153
  @pulumi.getter(name="stopAction")
149
- def stop_action(self) -> Optional[pulumi.Input[str]]:
154
+ def stop_action(self) -> Optional[pulumi.Input[_builtins.str]]:
150
155
  """
151
156
  Defines the stop action for the entity. Can be set
152
157
  to none, powerOff, guestShutdown, or suspend. If set to none, then the entity
@@ -155,12 +160,12 @@ class VappEntityArgs:
155
160
  return pulumi.get(self, "stop_action")
156
161
 
157
162
  @stop_action.setter
158
- def stop_action(self, value: Optional[pulumi.Input[str]]):
163
+ def stop_action(self, value: Optional[pulumi.Input[_builtins.str]]):
159
164
  pulumi.set(self, "stop_action", value)
160
165
 
161
- @property
166
+ @_builtins.property
162
167
  @pulumi.getter(name="stopDelay")
163
- def stop_delay(self) -> Optional[pulumi.Input[int]]:
168
+ def stop_delay(self) -> Optional[pulumi.Input[_builtins.int]]:
164
169
  """
165
170
  Delay in seconds before continuing with the next
166
171
  entity in the order sequence. This is only used if the stopAction is
@@ -169,24 +174,24 @@ class VappEntityArgs:
169
174
  return pulumi.get(self, "stop_delay")
170
175
 
171
176
  @stop_delay.setter
172
- def stop_delay(self, value: Optional[pulumi.Input[int]]):
177
+ def stop_delay(self, value: Optional[pulumi.Input[_builtins.int]]):
173
178
  pulumi.set(self, "stop_delay", value)
174
179
 
175
- @property
180
+ @_builtins.property
176
181
  @pulumi.getter
177
- def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
182
+ def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
178
183
  """
179
184
  A list of tag IDs to apply to this object.
180
185
  """
181
186
  return pulumi.get(self, "tags")
182
187
 
183
188
  @tags.setter
184
- def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
189
+ def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
185
190
  pulumi.set(self, "tags", value)
186
191
 
187
- @property
192
+ @_builtins.property
188
193
  @pulumi.getter(name="waitForGuest")
189
- def wait_for_guest(self) -> Optional[pulumi.Input[bool]]:
194
+ def wait_for_guest(self) -> Optional[pulumi.Input[_builtins.bool]]:
190
195
  """
191
196
  Determines if the VM should be marked as being
192
197
  started when VMware Tools are ready instead of waiting for `start_delay`. This
@@ -195,44 +200,44 @@ class VappEntityArgs:
195
200
  return pulumi.get(self, "wait_for_guest")
196
201
 
197
202
  @wait_for_guest.setter
198
- def wait_for_guest(self, value: Optional[pulumi.Input[bool]]):
203
+ def wait_for_guest(self, value: Optional[pulumi.Input[_builtins.bool]]):
199
204
  pulumi.set(self, "wait_for_guest", value)
200
205
 
201
206
 
202
207
  @pulumi.input_type
203
208
  class _VappEntityState:
204
209
  def __init__(__self__, *,
205
- container_id: Optional[pulumi.Input[str]] = None,
206
- custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
207
- start_action: Optional[pulumi.Input[str]] = None,
208
- start_delay: Optional[pulumi.Input[int]] = None,
209
- start_order: Optional[pulumi.Input[int]] = None,
210
- stop_action: Optional[pulumi.Input[str]] = None,
211
- stop_delay: Optional[pulumi.Input[int]] = None,
212
- tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
213
- target_id: Optional[pulumi.Input[str]] = None,
214
- wait_for_guest: Optional[pulumi.Input[bool]] = None):
210
+ container_id: Optional[pulumi.Input[_builtins.str]] = None,
211
+ custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
212
+ start_action: Optional[pulumi.Input[_builtins.str]] = None,
213
+ start_delay: Optional[pulumi.Input[_builtins.int]] = None,
214
+ start_order: Optional[pulumi.Input[_builtins.int]] = None,
215
+ stop_action: Optional[pulumi.Input[_builtins.str]] = None,
216
+ stop_delay: Optional[pulumi.Input[_builtins.int]] = None,
217
+ tags: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
218
+ target_id: Optional[pulumi.Input[_builtins.str]] = None,
219
+ wait_for_guest: Optional[pulumi.Input[_builtins.bool]] = None):
215
220
  """
216
221
  Input properties used for looking up and filtering VappEntity resources.
217
- :param pulumi.Input[str] container_id: Managed object ID of the vApp
222
+ :param pulumi.Input[_builtins.str] container_id: Managed object ID of the vApp
218
223
  container the entity is a member of.
219
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] custom_attributes: A list of custom attributes to set on this resource.
220
- :param pulumi.Input[str] start_action: How to start the entity. Valid settings are none
224
+ :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] custom_attributes: A list of custom attributes to set on this resource.
225
+ :param pulumi.Input[_builtins.str] start_action: How to start the entity. Valid settings are none
221
226
  or powerOn. If set to none, then the entity does not participate in auto-start.
222
227
  Default: powerOn
223
- :param pulumi.Input[int] start_delay: Delay in seconds before continuing with the next
228
+ :param pulumi.Input[_builtins.int] start_delay: Delay in seconds before continuing with the next
224
229
  entity in the order of entities to be started. Default: 120
225
- :param pulumi.Input[int] start_order: Order to start and stop target in vApp. Default: 1
226
- :param pulumi.Input[str] stop_action: Defines the stop action for the entity. Can be set
230
+ :param pulumi.Input[_builtins.int] start_order: Order to start and stop target in vApp. Default: 1
231
+ :param pulumi.Input[_builtins.str] stop_action: Defines the stop action for the entity. Can be set
227
232
  to none, powerOff, guestShutdown, or suspend. If set to none, then the entity
228
233
  does not participate in auto-stop. Default: powerOff
229
- :param pulumi.Input[int] stop_delay: Delay in seconds before continuing with the next
234
+ :param pulumi.Input[_builtins.int] stop_delay: Delay in seconds before continuing with the next
230
235
  entity in the order sequence. This is only used if the stopAction is
231
236
  guestShutdown. Default: 120
232
- :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: A list of tag IDs to apply to this object.
233
- :param pulumi.Input[str] target_id: Managed object ID of the entity
237
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] tags: A list of tag IDs to apply to this object.
238
+ :param pulumi.Input[_builtins.str] target_id: Managed object ID of the entity
234
239
  to power on or power off. This can be a virtual machine or a vApp.
235
- :param pulumi.Input[bool] wait_for_guest: Determines if the VM should be marked as being
240
+ :param pulumi.Input[_builtins.bool] wait_for_guest: Determines if the VM should be marked as being
236
241
  started when VMware Tools are ready instead of waiting for `start_delay`. This
237
242
  property has no effect for vApps. Default: false
238
243
  """
@@ -257,9 +262,9 @@ class _VappEntityState:
257
262
  if wait_for_guest is not None:
258
263
  pulumi.set(__self__, "wait_for_guest", wait_for_guest)
259
264
 
260
- @property
265
+ @_builtins.property
261
266
  @pulumi.getter(name="containerId")
262
- def container_id(self) -> Optional[pulumi.Input[str]]:
267
+ def container_id(self) -> Optional[pulumi.Input[_builtins.str]]:
263
268
  """
264
269
  Managed object ID of the vApp
265
270
  container the entity is a member of.
@@ -267,24 +272,24 @@ class _VappEntityState:
267
272
  return pulumi.get(self, "container_id")
268
273
 
269
274
  @container_id.setter
270
- def container_id(self, value: Optional[pulumi.Input[str]]):
275
+ def container_id(self, value: Optional[pulumi.Input[_builtins.str]]):
271
276
  pulumi.set(self, "container_id", value)
272
277
 
273
- @property
278
+ @_builtins.property
274
279
  @pulumi.getter(name="customAttributes")
275
- def custom_attributes(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
280
+ def custom_attributes(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
276
281
  """
277
282
  A list of custom attributes to set on this resource.
278
283
  """
279
284
  return pulumi.get(self, "custom_attributes")
280
285
 
281
286
  @custom_attributes.setter
282
- def custom_attributes(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
287
+ def custom_attributes(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
283
288
  pulumi.set(self, "custom_attributes", value)
284
289
 
285
- @property
290
+ @_builtins.property
286
291
  @pulumi.getter(name="startAction")
287
- def start_action(self) -> Optional[pulumi.Input[str]]:
292
+ def start_action(self) -> Optional[pulumi.Input[_builtins.str]]:
288
293
  """
289
294
  How to start the entity. Valid settings are none
290
295
  or powerOn. If set to none, then the entity does not participate in auto-start.
@@ -293,12 +298,12 @@ class _VappEntityState:
293
298
  return pulumi.get(self, "start_action")
294
299
 
295
300
  @start_action.setter
296
- def start_action(self, value: Optional[pulumi.Input[str]]):
301
+ def start_action(self, value: Optional[pulumi.Input[_builtins.str]]):
297
302
  pulumi.set(self, "start_action", value)
298
303
 
299
- @property
304
+ @_builtins.property
300
305
  @pulumi.getter(name="startDelay")
301
- def start_delay(self) -> Optional[pulumi.Input[int]]:
306
+ def start_delay(self) -> Optional[pulumi.Input[_builtins.int]]:
302
307
  """
303
308
  Delay in seconds before continuing with the next
304
309
  entity in the order of entities to be started. Default: 120
@@ -306,24 +311,24 @@ class _VappEntityState:
306
311
  return pulumi.get(self, "start_delay")
307
312
 
308
313
  @start_delay.setter
309
- def start_delay(self, value: Optional[pulumi.Input[int]]):
314
+ def start_delay(self, value: Optional[pulumi.Input[_builtins.int]]):
310
315
  pulumi.set(self, "start_delay", value)
311
316
 
312
- @property
317
+ @_builtins.property
313
318
  @pulumi.getter(name="startOrder")
314
- def start_order(self) -> Optional[pulumi.Input[int]]:
319
+ def start_order(self) -> Optional[pulumi.Input[_builtins.int]]:
315
320
  """
316
321
  Order to start and stop target in vApp. Default: 1
317
322
  """
318
323
  return pulumi.get(self, "start_order")
319
324
 
320
325
  @start_order.setter
321
- def start_order(self, value: Optional[pulumi.Input[int]]):
326
+ def start_order(self, value: Optional[pulumi.Input[_builtins.int]]):
322
327
  pulumi.set(self, "start_order", value)
323
328
 
324
- @property
329
+ @_builtins.property
325
330
  @pulumi.getter(name="stopAction")
326
- def stop_action(self) -> Optional[pulumi.Input[str]]:
331
+ def stop_action(self) -> Optional[pulumi.Input[_builtins.str]]:
327
332
  """
328
333
  Defines the stop action for the entity. Can be set
329
334
  to none, powerOff, guestShutdown, or suspend. If set to none, then the entity
@@ -332,12 +337,12 @@ class _VappEntityState:
332
337
  return pulumi.get(self, "stop_action")
333
338
 
334
339
  @stop_action.setter
335
- def stop_action(self, value: Optional[pulumi.Input[str]]):
340
+ def stop_action(self, value: Optional[pulumi.Input[_builtins.str]]):
336
341
  pulumi.set(self, "stop_action", value)
337
342
 
338
- @property
343
+ @_builtins.property
339
344
  @pulumi.getter(name="stopDelay")
340
- def stop_delay(self) -> Optional[pulumi.Input[int]]:
345
+ def stop_delay(self) -> Optional[pulumi.Input[_builtins.int]]:
341
346
  """
342
347
  Delay in seconds before continuing with the next
343
348
  entity in the order sequence. This is only used if the stopAction is
@@ -346,24 +351,24 @@ class _VappEntityState:
346
351
  return pulumi.get(self, "stop_delay")
347
352
 
348
353
  @stop_delay.setter
349
- def stop_delay(self, value: Optional[pulumi.Input[int]]):
354
+ def stop_delay(self, value: Optional[pulumi.Input[_builtins.int]]):
350
355
  pulumi.set(self, "stop_delay", value)
351
356
 
352
- @property
357
+ @_builtins.property
353
358
  @pulumi.getter
354
- def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
359
+ def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
355
360
  """
356
361
  A list of tag IDs to apply to this object.
357
362
  """
358
363
  return pulumi.get(self, "tags")
359
364
 
360
365
  @tags.setter
361
- def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
366
+ def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
362
367
  pulumi.set(self, "tags", value)
363
368
 
364
- @property
369
+ @_builtins.property
365
370
  @pulumi.getter(name="targetId")
366
- def target_id(self) -> Optional[pulumi.Input[str]]:
371
+ def target_id(self) -> Optional[pulumi.Input[_builtins.str]]:
367
372
  """
368
373
  Managed object ID of the entity
369
374
  to power on or power off. This can be a virtual machine or a vApp.
@@ -371,12 +376,12 @@ class _VappEntityState:
371
376
  return pulumi.get(self, "target_id")
372
377
 
373
378
  @target_id.setter
374
- def target_id(self, value: Optional[pulumi.Input[str]]):
379
+ def target_id(self, value: Optional[pulumi.Input[_builtins.str]]):
375
380
  pulumi.set(self, "target_id", value)
376
381
 
377
- @property
382
+ @_builtins.property
378
383
  @pulumi.getter(name="waitForGuest")
379
- def wait_for_guest(self) -> Optional[pulumi.Input[bool]]:
384
+ def wait_for_guest(self) -> Optional[pulumi.Input[_builtins.bool]]:
380
385
  """
381
386
  Determines if the VM should be marked as being
382
387
  started when VMware Tools are ready instead of waiting for `start_delay`. This
@@ -385,49 +390,122 @@ class _VappEntityState:
385
390
  return pulumi.get(self, "wait_for_guest")
386
391
 
387
392
  @wait_for_guest.setter
388
- def wait_for_guest(self, value: Optional[pulumi.Input[bool]]):
393
+ def wait_for_guest(self, value: Optional[pulumi.Input[_builtins.bool]]):
389
394
  pulumi.set(self, "wait_for_guest", value)
390
395
 
391
396
 
397
+ @pulumi.type_token("vsphere:index/vappEntity:VappEntity")
392
398
  class VappEntity(pulumi.CustomResource):
393
399
  @overload
394
400
  def __init__(__self__,
395
401
  resource_name: str,
396
402
  opts: Optional[pulumi.ResourceOptions] = None,
397
- container_id: Optional[pulumi.Input[str]] = None,
398
- custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
399
- start_action: Optional[pulumi.Input[str]] = None,
400
- start_delay: Optional[pulumi.Input[int]] = None,
401
- start_order: Optional[pulumi.Input[int]] = None,
402
- stop_action: Optional[pulumi.Input[str]] = None,
403
- stop_delay: Optional[pulumi.Input[int]] = None,
404
- tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
405
- target_id: Optional[pulumi.Input[str]] = None,
406
- wait_for_guest: Optional[pulumi.Input[bool]] = None,
403
+ container_id: Optional[pulumi.Input[_builtins.str]] = None,
404
+ custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
405
+ start_action: Optional[pulumi.Input[_builtins.str]] = None,
406
+ start_delay: Optional[pulumi.Input[_builtins.int]] = None,
407
+ start_order: Optional[pulumi.Input[_builtins.int]] = None,
408
+ stop_action: Optional[pulumi.Input[_builtins.str]] = None,
409
+ stop_delay: Optional[pulumi.Input[_builtins.int]] = None,
410
+ tags: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
411
+ target_id: Optional[pulumi.Input[_builtins.str]] = None,
412
+ wait_for_guest: Optional[pulumi.Input[_builtins.bool]] = None,
407
413
  __props__=None):
408
414
  """
409
- Create a VappEntity resource with the given unique name, props, and options.
415
+ The `VappEntity` resource can be used to describe the behavior of an
416
+ entity (virtual machine or sub-vApp container) in a vApp container.
417
+
418
+ For more information on vSphere vApps, see [this
419
+ page][ref-vsphere-vapp].
420
+
421
+ [ref-vsphere-vapp]: https://techdocs.broadcom.com/us/en/vmware-cis/vsphere/vsphere/8-0/create-a-vapp-h5-and-flex.html
422
+
423
+ ## Example Usage
424
+
425
+ The basic example below sets up a vApp container and a virtual machine in a
426
+ compute cluster and then creates a vApp entity to change the virtual machine's
427
+ power on behavior in the vApp container.
428
+
429
+ ```python
430
+ import pulumi
431
+ import pulumi_vsphere as vsphere
432
+
433
+ config = pulumi.Config()
434
+ datacenter = config.get("datacenter")
435
+ if datacenter is None:
436
+ datacenter = "dc-01"
437
+ cluster = config.get("cluster")
438
+ if cluster is None:
439
+ cluster = "cluster-01"
440
+ datacenter_get_datacenter = vsphere.get_datacenter(name=datacenter)
441
+ compute_cluster = vsphere.get_compute_cluster(name=cluster,
442
+ datacenter_id=datacenter_get_datacenter.id)
443
+ network = vsphere.get_network(name="network1",
444
+ datacenter_id=datacenter_get_datacenter.id)
445
+ datastore = vsphere.get_datastore(name="datastore1",
446
+ datacenter_id=datacenter_get_datacenter.id)
447
+ vapp_container = vsphere.VappContainer("vapp_container",
448
+ name="vapp-container-test",
449
+ parent_resource_pool_id=compute_cluster.id)
450
+ vm = vsphere.VirtualMachine("vm",
451
+ name="virtual-machine-test",
452
+ resource_pool_id=vapp_container.id,
453
+ datastore_id=datastore.id,
454
+ num_cpus=2,
455
+ memory=1024,
456
+ guest_id="ubuntu64Guest",
457
+ disks=[{
458
+ "label": "disk0",
459
+ "size": 1,
460
+ }],
461
+ network_interfaces=[{
462
+ "network_id": network.id,
463
+ }])
464
+ vapp_entity = vsphere.VappEntity("vapp_entity",
465
+ target_id=vm.moid,
466
+ container_id=vapp_container.id,
467
+ start_action="none")
468
+ ```
469
+
470
+ ## Import
471
+
472
+ An existing vApp entity can be imported into this resource via
473
+
474
+ the ID of the vApp Entity.
475
+
476
+ [docs-import]: https://developer.hashicorp.com/terraform/cli/import
477
+
478
+ ```sh
479
+ $ pulumi import vsphere:index/vappEntity:VappEntity vapp_entity vm-123:res-456
480
+ ```
481
+
482
+ The above would import the vApp entity that governs the behavior of the virtual
483
+
484
+ machine with a [managed object ID][docs-about-morefs] of vm-123 in the vApp
485
+
486
+ container with the [managed object ID][docs-about-morefs] res-456.
487
+
410
488
  :param str resource_name: The name of the resource.
411
489
  :param pulumi.ResourceOptions opts: Options for the resource.
412
- :param pulumi.Input[str] container_id: Managed object ID of the vApp
490
+ :param pulumi.Input[_builtins.str] container_id: Managed object ID of the vApp
413
491
  container the entity is a member of.
414
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] custom_attributes: A list of custom attributes to set on this resource.
415
- :param pulumi.Input[str] start_action: How to start the entity. Valid settings are none
492
+ :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] custom_attributes: A list of custom attributes to set on this resource.
493
+ :param pulumi.Input[_builtins.str] start_action: How to start the entity. Valid settings are none
416
494
  or powerOn. If set to none, then the entity does not participate in auto-start.
417
495
  Default: powerOn
418
- :param pulumi.Input[int] start_delay: Delay in seconds before continuing with the next
496
+ :param pulumi.Input[_builtins.int] start_delay: Delay in seconds before continuing with the next
419
497
  entity in the order of entities to be started. Default: 120
420
- :param pulumi.Input[int] start_order: Order to start and stop target in vApp. Default: 1
421
- :param pulumi.Input[str] stop_action: Defines the stop action for the entity. Can be set
498
+ :param pulumi.Input[_builtins.int] start_order: Order to start and stop target in vApp. Default: 1
499
+ :param pulumi.Input[_builtins.str] stop_action: Defines the stop action for the entity. Can be set
422
500
  to none, powerOff, guestShutdown, or suspend. If set to none, then the entity
423
501
  does not participate in auto-stop. Default: powerOff
424
- :param pulumi.Input[int] stop_delay: Delay in seconds before continuing with the next
502
+ :param pulumi.Input[_builtins.int] stop_delay: Delay in seconds before continuing with the next
425
503
  entity in the order sequence. This is only used if the stopAction is
426
504
  guestShutdown. Default: 120
427
- :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: A list of tag IDs to apply to this object.
428
- :param pulumi.Input[str] target_id: Managed object ID of the entity
505
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] tags: A list of tag IDs to apply to this object.
506
+ :param pulumi.Input[_builtins.str] target_id: Managed object ID of the entity
429
507
  to power on or power off. This can be a virtual machine or a vApp.
430
- :param pulumi.Input[bool] wait_for_guest: Determines if the VM should be marked as being
508
+ :param pulumi.Input[_builtins.bool] wait_for_guest: Determines if the VM should be marked as being
431
509
  started when VMware Tools are ready instead of waiting for `start_delay`. This
432
510
  property has no effect for vApps. Default: false
433
511
  """
@@ -438,7 +516,79 @@ class VappEntity(pulumi.CustomResource):
438
516
  args: VappEntityArgs,
439
517
  opts: Optional[pulumi.ResourceOptions] = None):
440
518
  """
441
- Create a VappEntity resource with the given unique name, props, and options.
519
+ The `VappEntity` resource can be used to describe the behavior of an
520
+ entity (virtual machine or sub-vApp container) in a vApp container.
521
+
522
+ For more information on vSphere vApps, see [this
523
+ page][ref-vsphere-vapp].
524
+
525
+ [ref-vsphere-vapp]: https://techdocs.broadcom.com/us/en/vmware-cis/vsphere/vsphere/8-0/create-a-vapp-h5-and-flex.html
526
+
527
+ ## Example Usage
528
+
529
+ The basic example below sets up a vApp container and a virtual machine in a
530
+ compute cluster and then creates a vApp entity to change the virtual machine's
531
+ power on behavior in the vApp container.
532
+
533
+ ```python
534
+ import pulumi
535
+ import pulumi_vsphere as vsphere
536
+
537
+ config = pulumi.Config()
538
+ datacenter = config.get("datacenter")
539
+ if datacenter is None:
540
+ datacenter = "dc-01"
541
+ cluster = config.get("cluster")
542
+ if cluster is None:
543
+ cluster = "cluster-01"
544
+ datacenter_get_datacenter = vsphere.get_datacenter(name=datacenter)
545
+ compute_cluster = vsphere.get_compute_cluster(name=cluster,
546
+ datacenter_id=datacenter_get_datacenter.id)
547
+ network = vsphere.get_network(name="network1",
548
+ datacenter_id=datacenter_get_datacenter.id)
549
+ datastore = vsphere.get_datastore(name="datastore1",
550
+ datacenter_id=datacenter_get_datacenter.id)
551
+ vapp_container = vsphere.VappContainer("vapp_container",
552
+ name="vapp-container-test",
553
+ parent_resource_pool_id=compute_cluster.id)
554
+ vm = vsphere.VirtualMachine("vm",
555
+ name="virtual-machine-test",
556
+ resource_pool_id=vapp_container.id,
557
+ datastore_id=datastore.id,
558
+ num_cpus=2,
559
+ memory=1024,
560
+ guest_id="ubuntu64Guest",
561
+ disks=[{
562
+ "label": "disk0",
563
+ "size": 1,
564
+ }],
565
+ network_interfaces=[{
566
+ "network_id": network.id,
567
+ }])
568
+ vapp_entity = vsphere.VappEntity("vapp_entity",
569
+ target_id=vm.moid,
570
+ container_id=vapp_container.id,
571
+ start_action="none")
572
+ ```
573
+
574
+ ## Import
575
+
576
+ An existing vApp entity can be imported into this resource via
577
+
578
+ the ID of the vApp Entity.
579
+
580
+ [docs-import]: https://developer.hashicorp.com/terraform/cli/import
581
+
582
+ ```sh
583
+ $ pulumi import vsphere:index/vappEntity:VappEntity vapp_entity vm-123:res-456
584
+ ```
585
+
586
+ The above would import the vApp entity that governs the behavior of the virtual
587
+
588
+ machine with a [managed object ID][docs-about-morefs] of vm-123 in the vApp
589
+
590
+ container with the [managed object ID][docs-about-morefs] res-456.
591
+
442
592
  :param str resource_name: The name of the resource.
443
593
  :param VappEntityArgs args: The arguments to use to populate this resource's properties.
444
594
  :param pulumi.ResourceOptions opts: Options for the resource.
@@ -454,16 +604,16 @@ class VappEntity(pulumi.CustomResource):
454
604
  def _internal_init(__self__,
455
605
  resource_name: str,
456
606
  opts: Optional[pulumi.ResourceOptions] = None,
457
- container_id: Optional[pulumi.Input[str]] = None,
458
- custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
459
- start_action: Optional[pulumi.Input[str]] = None,
460
- start_delay: Optional[pulumi.Input[int]] = None,
461
- start_order: Optional[pulumi.Input[int]] = None,
462
- stop_action: Optional[pulumi.Input[str]] = None,
463
- stop_delay: Optional[pulumi.Input[int]] = None,
464
- tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
465
- target_id: Optional[pulumi.Input[str]] = None,
466
- wait_for_guest: Optional[pulumi.Input[bool]] = None,
607
+ container_id: Optional[pulumi.Input[_builtins.str]] = None,
608
+ custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
609
+ start_action: Optional[pulumi.Input[_builtins.str]] = None,
610
+ start_delay: Optional[pulumi.Input[_builtins.int]] = None,
611
+ start_order: Optional[pulumi.Input[_builtins.int]] = None,
612
+ stop_action: Optional[pulumi.Input[_builtins.str]] = None,
613
+ stop_delay: Optional[pulumi.Input[_builtins.int]] = None,
614
+ tags: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
615
+ target_id: Optional[pulumi.Input[_builtins.str]] = None,
616
+ wait_for_guest: Optional[pulumi.Input[_builtins.bool]] = None,
467
617
  __props__=None):
468
618
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
469
619
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -497,16 +647,16 @@ class VappEntity(pulumi.CustomResource):
497
647
  def get(resource_name: str,
498
648
  id: pulumi.Input[str],
499
649
  opts: Optional[pulumi.ResourceOptions] = None,
500
- container_id: Optional[pulumi.Input[str]] = None,
501
- custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
502
- start_action: Optional[pulumi.Input[str]] = None,
503
- start_delay: Optional[pulumi.Input[int]] = None,
504
- start_order: Optional[pulumi.Input[int]] = None,
505
- stop_action: Optional[pulumi.Input[str]] = None,
506
- stop_delay: Optional[pulumi.Input[int]] = None,
507
- tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
508
- target_id: Optional[pulumi.Input[str]] = None,
509
- wait_for_guest: Optional[pulumi.Input[bool]] = None) -> 'VappEntity':
650
+ container_id: Optional[pulumi.Input[_builtins.str]] = None,
651
+ custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
652
+ start_action: Optional[pulumi.Input[_builtins.str]] = None,
653
+ start_delay: Optional[pulumi.Input[_builtins.int]] = None,
654
+ start_order: Optional[pulumi.Input[_builtins.int]] = None,
655
+ stop_action: Optional[pulumi.Input[_builtins.str]] = None,
656
+ stop_delay: Optional[pulumi.Input[_builtins.int]] = None,
657
+ tags: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
658
+ target_id: Optional[pulumi.Input[_builtins.str]] = None,
659
+ wait_for_guest: Optional[pulumi.Input[_builtins.bool]] = None) -> 'VappEntity':
510
660
  """
511
661
  Get an existing VappEntity resource's state with the given name, id, and optional extra
512
662
  properties used to qualify the lookup.
@@ -514,25 +664,25 @@ class VappEntity(pulumi.CustomResource):
514
664
  :param str resource_name: The unique name of the resulting resource.
515
665
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
516
666
  :param pulumi.ResourceOptions opts: Options for the resource.
517
- :param pulumi.Input[str] container_id: Managed object ID of the vApp
667
+ :param pulumi.Input[_builtins.str] container_id: Managed object ID of the vApp
518
668
  container the entity is a member of.
519
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] custom_attributes: A list of custom attributes to set on this resource.
520
- :param pulumi.Input[str] start_action: How to start the entity. Valid settings are none
669
+ :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] custom_attributes: A list of custom attributes to set on this resource.
670
+ :param pulumi.Input[_builtins.str] start_action: How to start the entity. Valid settings are none
521
671
  or powerOn. If set to none, then the entity does not participate in auto-start.
522
672
  Default: powerOn
523
- :param pulumi.Input[int] start_delay: Delay in seconds before continuing with the next
673
+ :param pulumi.Input[_builtins.int] start_delay: Delay in seconds before continuing with the next
524
674
  entity in the order of entities to be started. Default: 120
525
- :param pulumi.Input[int] start_order: Order to start and stop target in vApp. Default: 1
526
- :param pulumi.Input[str] stop_action: Defines the stop action for the entity. Can be set
675
+ :param pulumi.Input[_builtins.int] start_order: Order to start and stop target in vApp. Default: 1
676
+ :param pulumi.Input[_builtins.str] stop_action: Defines the stop action for the entity. Can be set
527
677
  to none, powerOff, guestShutdown, or suspend. If set to none, then the entity
528
678
  does not participate in auto-stop. Default: powerOff
529
- :param pulumi.Input[int] stop_delay: Delay in seconds before continuing with the next
679
+ :param pulumi.Input[_builtins.int] stop_delay: Delay in seconds before continuing with the next
530
680
  entity in the order sequence. This is only used if the stopAction is
531
681
  guestShutdown. Default: 120
532
- :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: A list of tag IDs to apply to this object.
533
- :param pulumi.Input[str] target_id: Managed object ID of the entity
682
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] tags: A list of tag IDs to apply to this object.
683
+ :param pulumi.Input[_builtins.str] target_id: Managed object ID of the entity
534
684
  to power on or power off. This can be a virtual machine or a vApp.
535
- :param pulumi.Input[bool] wait_for_guest: Determines if the VM should be marked as being
685
+ :param pulumi.Input[_builtins.bool] wait_for_guest: Determines if the VM should be marked as being
536
686
  started when VMware Tools are ready instead of waiting for `start_delay`. This
537
687
  property has no effect for vApps. Default: false
538
688
  """
@@ -552,26 +702,26 @@ class VappEntity(pulumi.CustomResource):
552
702
  __props__.__dict__["wait_for_guest"] = wait_for_guest
553
703
  return VappEntity(resource_name, opts=opts, __props__=__props__)
554
704
 
555
- @property
705
+ @_builtins.property
556
706
  @pulumi.getter(name="containerId")
557
- def container_id(self) -> pulumi.Output[str]:
707
+ def container_id(self) -> pulumi.Output[_builtins.str]:
558
708
  """
559
709
  Managed object ID of the vApp
560
710
  container the entity is a member of.
561
711
  """
562
712
  return pulumi.get(self, "container_id")
563
713
 
564
- @property
714
+ @_builtins.property
565
715
  @pulumi.getter(name="customAttributes")
566
- def custom_attributes(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
716
+ def custom_attributes(self) -> pulumi.Output[Optional[Mapping[str, _builtins.str]]]:
567
717
  """
568
718
  A list of custom attributes to set on this resource.
569
719
  """
570
720
  return pulumi.get(self, "custom_attributes")
571
721
 
572
- @property
722
+ @_builtins.property
573
723
  @pulumi.getter(name="startAction")
574
- def start_action(self) -> pulumi.Output[Optional[str]]:
724
+ def start_action(self) -> pulumi.Output[Optional[_builtins.str]]:
575
725
  """
576
726
  How to start the entity. Valid settings are none
577
727
  or powerOn. If set to none, then the entity does not participate in auto-start.
@@ -579,26 +729,26 @@ class VappEntity(pulumi.CustomResource):
579
729
  """
580
730
  return pulumi.get(self, "start_action")
581
731
 
582
- @property
732
+ @_builtins.property
583
733
  @pulumi.getter(name="startDelay")
584
- def start_delay(self) -> pulumi.Output[Optional[int]]:
734
+ def start_delay(self) -> pulumi.Output[Optional[_builtins.int]]:
585
735
  """
586
736
  Delay in seconds before continuing with the next
587
737
  entity in the order of entities to be started. Default: 120
588
738
  """
589
739
  return pulumi.get(self, "start_delay")
590
740
 
591
- @property
741
+ @_builtins.property
592
742
  @pulumi.getter(name="startOrder")
593
- def start_order(self) -> pulumi.Output[Optional[int]]:
743
+ def start_order(self) -> pulumi.Output[Optional[_builtins.int]]:
594
744
  """
595
745
  Order to start and stop target in vApp. Default: 1
596
746
  """
597
747
  return pulumi.get(self, "start_order")
598
748
 
599
- @property
749
+ @_builtins.property
600
750
  @pulumi.getter(name="stopAction")
601
- def stop_action(self) -> pulumi.Output[Optional[str]]:
751
+ def stop_action(self) -> pulumi.Output[Optional[_builtins.str]]:
602
752
  """
603
753
  Defines the stop action for the entity. Can be set
604
754
  to none, powerOff, guestShutdown, or suspend. If set to none, then the entity
@@ -606,9 +756,9 @@ class VappEntity(pulumi.CustomResource):
606
756
  """
607
757
  return pulumi.get(self, "stop_action")
608
758
 
609
- @property
759
+ @_builtins.property
610
760
  @pulumi.getter(name="stopDelay")
611
- def stop_delay(self) -> pulumi.Output[Optional[int]]:
761
+ def stop_delay(self) -> pulumi.Output[Optional[_builtins.int]]:
612
762
  """
613
763
  Delay in seconds before continuing with the next
614
764
  entity in the order sequence. This is only used if the stopAction is
@@ -616,26 +766,26 @@ class VappEntity(pulumi.CustomResource):
616
766
  """
617
767
  return pulumi.get(self, "stop_delay")
618
768
 
619
- @property
769
+ @_builtins.property
620
770
  @pulumi.getter
621
- def tags(self) -> pulumi.Output[Optional[Sequence[str]]]:
771
+ def tags(self) -> pulumi.Output[Optional[Sequence[_builtins.str]]]:
622
772
  """
623
773
  A list of tag IDs to apply to this object.
624
774
  """
625
775
  return pulumi.get(self, "tags")
626
776
 
627
- @property
777
+ @_builtins.property
628
778
  @pulumi.getter(name="targetId")
629
- def target_id(self) -> pulumi.Output[str]:
779
+ def target_id(self) -> pulumi.Output[_builtins.str]:
630
780
  """
631
781
  Managed object ID of the entity
632
782
  to power on or power off. This can be a virtual machine or a vApp.
633
783
  """
634
784
  return pulumi.get(self, "target_id")
635
785
 
636
- @property
786
+ @_builtins.property
637
787
  @pulumi.getter(name="waitForGuest")
638
- def wait_for_guest(self) -> pulumi.Output[Optional[bool]]:
788
+ def wait_for_guest(self) -> pulumi.Output[Optional[_builtins.bool]]:
639
789
  """
640
790
  Determines if the VM should be marked as being
641
791
  started when VMware Tools are ready instead of waiting for `start_delay`. This