pulumi-vsphere 4.14.0a1739946909__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.
- pulumi_vsphere/__init__.py +12 -1
- pulumi_vsphere/_inputs.py +1172 -1172
- pulumi_vsphere/_utilities.py +1 -1
- pulumi_vsphere/compute_cluster.py +1226 -1484
- pulumi_vsphere/compute_cluster_host_group.py +124 -53
- pulumi_vsphere/compute_cluster_vm_affinity_rule.py +88 -87
- pulumi_vsphere/compute_cluster_vm_anti_affinity_rule.py +92 -87
- pulumi_vsphere/compute_cluster_vm_dependency_rule.py +109 -104
- pulumi_vsphere/compute_cluster_vm_group.py +58 -53
- pulumi_vsphere/compute_cluster_vm_host_rule.py +126 -121
- pulumi_vsphere/config/__init__.py +2 -1
- pulumi_vsphere/config/__init__.pyi +2 -2
- pulumi_vsphere/config/vars.py +15 -15
- pulumi_vsphere/configuration_profile.py +286 -0
- pulumi_vsphere/content_library.py +64 -59
- pulumi_vsphere/content_library_item.py +109 -104
- pulumi_vsphere/custom_attribute.py +41 -36
- pulumi_vsphere/datacenter.py +80 -79
- pulumi_vsphere/datastore_cluster.py +531 -477
- pulumi_vsphere/datastore_cluster_vm_anti_affinity_rule.py +92 -87
- pulumi_vsphere/distributed_port_group.py +802 -818
- pulumi_vsphere/distributed_virtual_switch.py +1590 -1620
- pulumi_vsphere/distributed_virtual_switch_pvlan_mapping.py +71 -70
- pulumi_vsphere/dpm_host_override.py +159 -70
- pulumi_vsphere/drs_vm_override.py +75 -70
- pulumi_vsphere/entity_permissions.py +40 -39
- pulumi_vsphere/file.py +148 -162
- pulumi_vsphere/folder.py +104 -99
- pulumi_vsphere/get_compute_cluster.py +18 -18
- pulumi_vsphere/get_compute_cluster_host_group.py +18 -22
- pulumi_vsphere/get_configuration_profile.py +145 -0
- pulumi_vsphere/get_content_library.py +10 -10
- pulumi_vsphere/get_content_library_item.py +22 -22
- pulumi_vsphere/get_custom_attribute.py +12 -12
- pulumi_vsphere/get_datacenter.py +12 -12
- pulumi_vsphere/get_datastore.py +22 -22
- pulumi_vsphere/get_datastore_cluster.py +19 -19
- pulumi_vsphere/get_datastore_stats.py +22 -26
- pulumi_vsphere/get_distributed_virtual_switch.py +18 -18
- pulumi_vsphere/get_dynamic.py +22 -26
- pulumi_vsphere/get_folder.py +140 -18
- pulumi_vsphere/get_guest_os_customization.py +74 -21
- pulumi_vsphere/get_host.py +18 -18
- pulumi_vsphere/get_host_base_images.py +6 -6
- pulumi_vsphere/get_host_pci_device.py +30 -30
- pulumi_vsphere/get_host_thumbprint.py +22 -22
- pulumi_vsphere/get_host_vgpu_profile.py +17 -17
- pulumi_vsphere/get_license.py +26 -24
- pulumi_vsphere/get_network.py +80 -29
- pulumi_vsphere/get_ovf_vm_template.py +126 -126
- pulumi_vsphere/get_policy.py +10 -10
- pulumi_vsphere/get_resource_pool.py +77 -26
- pulumi_vsphere/get_role.py +26 -26
- pulumi_vsphere/get_tag.py +18 -18
- pulumi_vsphere/get_tag_category.py +16 -16
- pulumi_vsphere/get_vapp_container.py +16 -16
- pulumi_vsphere/get_virtual_machine.py +273 -273
- pulumi_vsphere/get_vmfs_disks.py +24 -24
- pulumi_vsphere/guest_os_customization.py +75 -74
- pulumi_vsphere/ha_vm_override.py +295 -374
- pulumi_vsphere/host.py +304 -249
- pulumi_vsphere/host_port_group.py +321 -341
- pulumi_vsphere/host_virtual_switch.py +373 -389
- pulumi_vsphere/license.py +125 -84
- pulumi_vsphere/nas_datastore.py +324 -261
- pulumi_vsphere/offline_software_depot.py +26 -21
- pulumi_vsphere/outputs.py +1003 -970
- pulumi_vsphere/provider.py +165 -146
- pulumi_vsphere/pulumi-plugin.json +1 -1
- pulumi_vsphere/resource_pool.py +691 -364
- pulumi_vsphere/role.py +46 -45
- pulumi_vsphere/storage_drs_vm_override.py +92 -87
- pulumi_vsphere/supervisor.py +210 -209
- pulumi_vsphere/tag.py +58 -53
- pulumi_vsphere/tag_category.py +75 -70
- pulumi_vsphere/vapp_container.py +262 -257
- pulumi_vsphere/vapp_entity.py +177 -172
- pulumi_vsphere/virtual_disk.py +130 -125
- pulumi_vsphere/virtual_machine.py +1339 -1443
- pulumi_vsphere/virtual_machine_class.py +109 -108
- pulumi_vsphere/virtual_machine_snapshot.py +122 -121
- pulumi_vsphere/vm_storage_policy.py +40 -39
- pulumi_vsphere/vmfs_datastore.py +189 -184
- pulumi_vsphere/vnic.py +145 -144
- {pulumi_vsphere-4.14.0a1739946909.dist-info → pulumi_vsphere-4.17.0a1763710194.dist-info}/METADATA +4 -4
- pulumi_vsphere-4.17.0a1763710194.dist-info/RECORD +89 -0
- {pulumi_vsphere-4.14.0a1739946909.dist-info → pulumi_vsphere-4.17.0a1763710194.dist-info}/WHEEL +1 -1
- pulumi_vsphere-4.14.0a1739946909.dist-info/RECORD +0 -87
- {pulumi_vsphere-4.14.0a1739946909.dist-info → pulumi_vsphere-4.17.0a1763710194.dist-info}/top_level.txt +0 -0
pulumi_vsphere/vapp_entity.py
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# coding=utf-8
|
|
2
|
-
# *** WARNING: this file was generated by
|
|
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
|
|
5
|
+
import builtins as _builtins
|
|
6
6
|
import warnings
|
|
7
7
|
import sys
|
|
8
8
|
import pulumi
|
|
@@ -19,37 +19,37 @@ __all__ = ['VappEntityArgs', 'VappEntity']
|
|
|
19
19
|
@pulumi.input_type
|
|
20
20
|
class VappEntityArgs:
|
|
21
21
|
def __init__(__self__, *,
|
|
22
|
-
container_id: pulumi.Input[str],
|
|
23
|
-
target_id: pulumi.Input[str],
|
|
24
|
-
custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
25
|
-
start_action: Optional[pulumi.Input[str]] = None,
|
|
26
|
-
start_delay: Optional[pulumi.Input[int]] = None,
|
|
27
|
-
start_order: Optional[pulumi.Input[int]] = None,
|
|
28
|
-
stop_action: Optional[pulumi.Input[str]] = None,
|
|
29
|
-
stop_delay: Optional[pulumi.Input[int]] = None,
|
|
30
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
31
|
-
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):
|
|
32
32
|
"""
|
|
33
33
|
The set of arguments for constructing a VappEntity resource.
|
|
34
|
-
: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
|
|
35
35
|
container the entity is a member of.
|
|
36
|
-
: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
|
|
37
37
|
to power on or power off. This can be a virtual machine or a vApp.
|
|
38
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] custom_attributes: A list of custom attributes to set on this resource.
|
|
39
|
-
: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
|
|
40
40
|
or powerOn. If set to none, then the entity does not participate in auto-start.
|
|
41
41
|
Default: powerOn
|
|
42
|
-
: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
|
|
43
43
|
entity in the order of entities to be started. Default: 120
|
|
44
|
-
:param pulumi.Input[int] start_order: Order to start and stop target in vApp. Default: 1
|
|
45
|
-
: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
|
|
46
46
|
to none, powerOff, guestShutdown, or suspend. If set to none, then the entity
|
|
47
47
|
does not participate in auto-stop. Default: powerOff
|
|
48
|
-
: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
|
|
49
49
|
entity in the order sequence. This is only used if the stopAction is
|
|
50
50
|
guestShutdown. Default: 120
|
|
51
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: A list of tag IDs to apply to this object.
|
|
52
|
-
: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
|
|
53
53
|
started when VMware Tools are ready instead of waiting for `start_delay`. This
|
|
54
54
|
property has no effect for vApps. Default: false
|
|
55
55
|
"""
|
|
@@ -72,9 +72,9 @@ class VappEntityArgs:
|
|
|
72
72
|
if wait_for_guest is not None:
|
|
73
73
|
pulumi.set(__self__, "wait_for_guest", wait_for_guest)
|
|
74
74
|
|
|
75
|
-
@property
|
|
75
|
+
@_builtins.property
|
|
76
76
|
@pulumi.getter(name="containerId")
|
|
77
|
-
def container_id(self) -> pulumi.Input[str]:
|
|
77
|
+
def container_id(self) -> pulumi.Input[_builtins.str]:
|
|
78
78
|
"""
|
|
79
79
|
Managed object ID of the vApp
|
|
80
80
|
container the entity is a member of.
|
|
@@ -82,12 +82,12 @@ class VappEntityArgs:
|
|
|
82
82
|
return pulumi.get(self, "container_id")
|
|
83
83
|
|
|
84
84
|
@container_id.setter
|
|
85
|
-
def container_id(self, value: pulumi.Input[str]):
|
|
85
|
+
def container_id(self, value: pulumi.Input[_builtins.str]):
|
|
86
86
|
pulumi.set(self, "container_id", value)
|
|
87
87
|
|
|
88
|
-
@property
|
|
88
|
+
@_builtins.property
|
|
89
89
|
@pulumi.getter(name="targetId")
|
|
90
|
-
def target_id(self) -> pulumi.Input[str]:
|
|
90
|
+
def target_id(self) -> pulumi.Input[_builtins.str]:
|
|
91
91
|
"""
|
|
92
92
|
Managed object ID of the entity
|
|
93
93
|
to power on or power off. This can be a virtual machine or a vApp.
|
|
@@ -95,24 +95,24 @@ class VappEntityArgs:
|
|
|
95
95
|
return pulumi.get(self, "target_id")
|
|
96
96
|
|
|
97
97
|
@target_id.setter
|
|
98
|
-
def target_id(self, value: pulumi.Input[str]):
|
|
98
|
+
def target_id(self, value: pulumi.Input[_builtins.str]):
|
|
99
99
|
pulumi.set(self, "target_id", value)
|
|
100
100
|
|
|
101
|
-
@property
|
|
101
|
+
@_builtins.property
|
|
102
102
|
@pulumi.getter(name="customAttributes")
|
|
103
|
-
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]]]]:
|
|
104
104
|
"""
|
|
105
105
|
A list of custom attributes to set on this resource.
|
|
106
106
|
"""
|
|
107
107
|
return pulumi.get(self, "custom_attributes")
|
|
108
108
|
|
|
109
109
|
@custom_attributes.setter
|
|
110
|
-
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]]]]):
|
|
111
111
|
pulumi.set(self, "custom_attributes", value)
|
|
112
112
|
|
|
113
|
-
@property
|
|
113
|
+
@_builtins.property
|
|
114
114
|
@pulumi.getter(name="startAction")
|
|
115
|
-
def start_action(self) -> Optional[pulumi.Input[str]]:
|
|
115
|
+
def start_action(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
116
116
|
"""
|
|
117
117
|
How to start the entity. Valid settings are none
|
|
118
118
|
or powerOn. If set to none, then the entity does not participate in auto-start.
|
|
@@ -121,12 +121,12 @@ class VappEntityArgs:
|
|
|
121
121
|
return pulumi.get(self, "start_action")
|
|
122
122
|
|
|
123
123
|
@start_action.setter
|
|
124
|
-
def start_action(self, value: Optional[pulumi.Input[str]]):
|
|
124
|
+
def start_action(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
125
125
|
pulumi.set(self, "start_action", value)
|
|
126
126
|
|
|
127
|
-
@property
|
|
127
|
+
@_builtins.property
|
|
128
128
|
@pulumi.getter(name="startDelay")
|
|
129
|
-
def start_delay(self) -> Optional[pulumi.Input[int]]:
|
|
129
|
+
def start_delay(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
130
130
|
"""
|
|
131
131
|
Delay in seconds before continuing with the next
|
|
132
132
|
entity in the order of entities to be started. Default: 120
|
|
@@ -134,24 +134,24 @@ class VappEntityArgs:
|
|
|
134
134
|
return pulumi.get(self, "start_delay")
|
|
135
135
|
|
|
136
136
|
@start_delay.setter
|
|
137
|
-
def start_delay(self, value: Optional[pulumi.Input[int]]):
|
|
137
|
+
def start_delay(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
138
138
|
pulumi.set(self, "start_delay", value)
|
|
139
139
|
|
|
140
|
-
@property
|
|
140
|
+
@_builtins.property
|
|
141
141
|
@pulumi.getter(name="startOrder")
|
|
142
|
-
def start_order(self) -> Optional[pulumi.Input[int]]:
|
|
142
|
+
def start_order(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
143
143
|
"""
|
|
144
144
|
Order to start and stop target in vApp. Default: 1
|
|
145
145
|
"""
|
|
146
146
|
return pulumi.get(self, "start_order")
|
|
147
147
|
|
|
148
148
|
@start_order.setter
|
|
149
|
-
def start_order(self, value: Optional[pulumi.Input[int]]):
|
|
149
|
+
def start_order(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
150
150
|
pulumi.set(self, "start_order", value)
|
|
151
151
|
|
|
152
|
-
@property
|
|
152
|
+
@_builtins.property
|
|
153
153
|
@pulumi.getter(name="stopAction")
|
|
154
|
-
def stop_action(self) -> Optional[pulumi.Input[str]]:
|
|
154
|
+
def stop_action(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
155
155
|
"""
|
|
156
156
|
Defines the stop action for the entity. Can be set
|
|
157
157
|
to none, powerOff, guestShutdown, or suspend. If set to none, then the entity
|
|
@@ -160,12 +160,12 @@ class VappEntityArgs:
|
|
|
160
160
|
return pulumi.get(self, "stop_action")
|
|
161
161
|
|
|
162
162
|
@stop_action.setter
|
|
163
|
-
def stop_action(self, value: Optional[pulumi.Input[str]]):
|
|
163
|
+
def stop_action(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
164
164
|
pulumi.set(self, "stop_action", value)
|
|
165
165
|
|
|
166
|
-
@property
|
|
166
|
+
@_builtins.property
|
|
167
167
|
@pulumi.getter(name="stopDelay")
|
|
168
|
-
def stop_delay(self) -> Optional[pulumi.Input[int]]:
|
|
168
|
+
def stop_delay(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
169
169
|
"""
|
|
170
170
|
Delay in seconds before continuing with the next
|
|
171
171
|
entity in the order sequence. This is only used if the stopAction is
|
|
@@ -174,24 +174,24 @@ class VappEntityArgs:
|
|
|
174
174
|
return pulumi.get(self, "stop_delay")
|
|
175
175
|
|
|
176
176
|
@stop_delay.setter
|
|
177
|
-
def stop_delay(self, value: Optional[pulumi.Input[int]]):
|
|
177
|
+
def stop_delay(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
178
178
|
pulumi.set(self, "stop_delay", value)
|
|
179
179
|
|
|
180
|
-
@property
|
|
180
|
+
@_builtins.property
|
|
181
181
|
@pulumi.getter
|
|
182
|
-
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
182
|
+
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
183
183
|
"""
|
|
184
184
|
A list of tag IDs to apply to this object.
|
|
185
185
|
"""
|
|
186
186
|
return pulumi.get(self, "tags")
|
|
187
187
|
|
|
188
188
|
@tags.setter
|
|
189
|
-
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
189
|
+
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
190
190
|
pulumi.set(self, "tags", value)
|
|
191
191
|
|
|
192
|
-
@property
|
|
192
|
+
@_builtins.property
|
|
193
193
|
@pulumi.getter(name="waitForGuest")
|
|
194
|
-
def wait_for_guest(self) -> Optional[pulumi.Input[bool]]:
|
|
194
|
+
def wait_for_guest(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
195
195
|
"""
|
|
196
196
|
Determines if the VM should be marked as being
|
|
197
197
|
started when VMware Tools are ready instead of waiting for `start_delay`. This
|
|
@@ -200,44 +200,44 @@ class VappEntityArgs:
|
|
|
200
200
|
return pulumi.get(self, "wait_for_guest")
|
|
201
201
|
|
|
202
202
|
@wait_for_guest.setter
|
|
203
|
-
def wait_for_guest(self, value: Optional[pulumi.Input[bool]]):
|
|
203
|
+
def wait_for_guest(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
204
204
|
pulumi.set(self, "wait_for_guest", value)
|
|
205
205
|
|
|
206
206
|
|
|
207
207
|
@pulumi.input_type
|
|
208
208
|
class _VappEntityState:
|
|
209
209
|
def __init__(__self__, *,
|
|
210
|
-
container_id: Optional[pulumi.Input[str]] = None,
|
|
211
|
-
custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
212
|
-
start_action: Optional[pulumi.Input[str]] = None,
|
|
213
|
-
start_delay: Optional[pulumi.Input[int]] = None,
|
|
214
|
-
start_order: Optional[pulumi.Input[int]] = None,
|
|
215
|
-
stop_action: Optional[pulumi.Input[str]] = None,
|
|
216
|
-
stop_delay: Optional[pulumi.Input[int]] = None,
|
|
217
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
218
|
-
target_id: Optional[pulumi.Input[str]] = None,
|
|
219
|
-
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):
|
|
220
220
|
"""
|
|
221
221
|
Input properties used for looking up and filtering VappEntity resources.
|
|
222
|
-
: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
|
|
223
223
|
container the entity is a member of.
|
|
224
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] custom_attributes: A list of custom attributes to set on this resource.
|
|
225
|
-
: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
|
|
226
226
|
or powerOn. If set to none, then the entity does not participate in auto-start.
|
|
227
227
|
Default: powerOn
|
|
228
|
-
: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
|
|
229
229
|
entity in the order of entities to be started. Default: 120
|
|
230
|
-
:param pulumi.Input[int] start_order: Order to start and stop target in vApp. Default: 1
|
|
231
|
-
: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
|
|
232
232
|
to none, powerOff, guestShutdown, or suspend. If set to none, then the entity
|
|
233
233
|
does not participate in auto-stop. Default: powerOff
|
|
234
|
-
: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
|
|
235
235
|
entity in the order sequence. This is only used if the stopAction is
|
|
236
236
|
guestShutdown. Default: 120
|
|
237
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: A list of tag IDs to apply to this object.
|
|
238
|
-
: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
|
|
239
239
|
to power on or power off. This can be a virtual machine or a vApp.
|
|
240
|
-
: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
|
|
241
241
|
started when VMware Tools are ready instead of waiting for `start_delay`. This
|
|
242
242
|
property has no effect for vApps. Default: false
|
|
243
243
|
"""
|
|
@@ -262,9 +262,9 @@ class _VappEntityState:
|
|
|
262
262
|
if wait_for_guest is not None:
|
|
263
263
|
pulumi.set(__self__, "wait_for_guest", wait_for_guest)
|
|
264
264
|
|
|
265
|
-
@property
|
|
265
|
+
@_builtins.property
|
|
266
266
|
@pulumi.getter(name="containerId")
|
|
267
|
-
def container_id(self) -> Optional[pulumi.Input[str]]:
|
|
267
|
+
def container_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
268
268
|
"""
|
|
269
269
|
Managed object ID of the vApp
|
|
270
270
|
container the entity is a member of.
|
|
@@ -272,24 +272,24 @@ class _VappEntityState:
|
|
|
272
272
|
return pulumi.get(self, "container_id")
|
|
273
273
|
|
|
274
274
|
@container_id.setter
|
|
275
|
-
def container_id(self, value: Optional[pulumi.Input[str]]):
|
|
275
|
+
def container_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
276
276
|
pulumi.set(self, "container_id", value)
|
|
277
277
|
|
|
278
|
-
@property
|
|
278
|
+
@_builtins.property
|
|
279
279
|
@pulumi.getter(name="customAttributes")
|
|
280
|
-
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]]]]:
|
|
281
281
|
"""
|
|
282
282
|
A list of custom attributes to set on this resource.
|
|
283
283
|
"""
|
|
284
284
|
return pulumi.get(self, "custom_attributes")
|
|
285
285
|
|
|
286
286
|
@custom_attributes.setter
|
|
287
|
-
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]]]]):
|
|
288
288
|
pulumi.set(self, "custom_attributes", value)
|
|
289
289
|
|
|
290
|
-
@property
|
|
290
|
+
@_builtins.property
|
|
291
291
|
@pulumi.getter(name="startAction")
|
|
292
|
-
def start_action(self) -> Optional[pulumi.Input[str]]:
|
|
292
|
+
def start_action(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
293
293
|
"""
|
|
294
294
|
How to start the entity. Valid settings are none
|
|
295
295
|
or powerOn. If set to none, then the entity does not participate in auto-start.
|
|
@@ -298,12 +298,12 @@ class _VappEntityState:
|
|
|
298
298
|
return pulumi.get(self, "start_action")
|
|
299
299
|
|
|
300
300
|
@start_action.setter
|
|
301
|
-
def start_action(self, value: Optional[pulumi.Input[str]]):
|
|
301
|
+
def start_action(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
302
302
|
pulumi.set(self, "start_action", value)
|
|
303
303
|
|
|
304
|
-
@property
|
|
304
|
+
@_builtins.property
|
|
305
305
|
@pulumi.getter(name="startDelay")
|
|
306
|
-
def start_delay(self) -> Optional[pulumi.Input[int]]:
|
|
306
|
+
def start_delay(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
307
307
|
"""
|
|
308
308
|
Delay in seconds before continuing with the next
|
|
309
309
|
entity in the order of entities to be started. Default: 120
|
|
@@ -311,24 +311,24 @@ class _VappEntityState:
|
|
|
311
311
|
return pulumi.get(self, "start_delay")
|
|
312
312
|
|
|
313
313
|
@start_delay.setter
|
|
314
|
-
def start_delay(self, value: Optional[pulumi.Input[int]]):
|
|
314
|
+
def start_delay(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
315
315
|
pulumi.set(self, "start_delay", value)
|
|
316
316
|
|
|
317
|
-
@property
|
|
317
|
+
@_builtins.property
|
|
318
318
|
@pulumi.getter(name="startOrder")
|
|
319
|
-
def start_order(self) -> Optional[pulumi.Input[int]]:
|
|
319
|
+
def start_order(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
320
320
|
"""
|
|
321
321
|
Order to start and stop target in vApp. Default: 1
|
|
322
322
|
"""
|
|
323
323
|
return pulumi.get(self, "start_order")
|
|
324
324
|
|
|
325
325
|
@start_order.setter
|
|
326
|
-
def start_order(self, value: Optional[pulumi.Input[int]]):
|
|
326
|
+
def start_order(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
327
327
|
pulumi.set(self, "start_order", value)
|
|
328
328
|
|
|
329
|
-
@property
|
|
329
|
+
@_builtins.property
|
|
330
330
|
@pulumi.getter(name="stopAction")
|
|
331
|
-
def stop_action(self) -> Optional[pulumi.Input[str]]:
|
|
331
|
+
def stop_action(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
332
332
|
"""
|
|
333
333
|
Defines the stop action for the entity. Can be set
|
|
334
334
|
to none, powerOff, guestShutdown, or suspend. If set to none, then the entity
|
|
@@ -337,12 +337,12 @@ class _VappEntityState:
|
|
|
337
337
|
return pulumi.get(self, "stop_action")
|
|
338
338
|
|
|
339
339
|
@stop_action.setter
|
|
340
|
-
def stop_action(self, value: Optional[pulumi.Input[str]]):
|
|
340
|
+
def stop_action(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
341
341
|
pulumi.set(self, "stop_action", value)
|
|
342
342
|
|
|
343
|
-
@property
|
|
343
|
+
@_builtins.property
|
|
344
344
|
@pulumi.getter(name="stopDelay")
|
|
345
|
-
def stop_delay(self) -> Optional[pulumi.Input[int]]:
|
|
345
|
+
def stop_delay(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
346
346
|
"""
|
|
347
347
|
Delay in seconds before continuing with the next
|
|
348
348
|
entity in the order sequence. This is only used if the stopAction is
|
|
@@ -351,24 +351,24 @@ class _VappEntityState:
|
|
|
351
351
|
return pulumi.get(self, "stop_delay")
|
|
352
352
|
|
|
353
353
|
@stop_delay.setter
|
|
354
|
-
def stop_delay(self, value: Optional[pulumi.Input[int]]):
|
|
354
|
+
def stop_delay(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
355
355
|
pulumi.set(self, "stop_delay", value)
|
|
356
356
|
|
|
357
|
-
@property
|
|
357
|
+
@_builtins.property
|
|
358
358
|
@pulumi.getter
|
|
359
|
-
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
359
|
+
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
360
360
|
"""
|
|
361
361
|
A list of tag IDs to apply to this object.
|
|
362
362
|
"""
|
|
363
363
|
return pulumi.get(self, "tags")
|
|
364
364
|
|
|
365
365
|
@tags.setter
|
|
366
|
-
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
366
|
+
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
367
367
|
pulumi.set(self, "tags", value)
|
|
368
368
|
|
|
369
|
-
@property
|
|
369
|
+
@_builtins.property
|
|
370
370
|
@pulumi.getter(name="targetId")
|
|
371
|
-
def target_id(self) -> Optional[pulumi.Input[str]]:
|
|
371
|
+
def target_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
372
372
|
"""
|
|
373
373
|
Managed object ID of the entity
|
|
374
374
|
to power on or power off. This can be a virtual machine or a vApp.
|
|
@@ -376,12 +376,12 @@ class _VappEntityState:
|
|
|
376
376
|
return pulumi.get(self, "target_id")
|
|
377
377
|
|
|
378
378
|
@target_id.setter
|
|
379
|
-
def target_id(self, value: Optional[pulumi.Input[str]]):
|
|
379
|
+
def target_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
380
380
|
pulumi.set(self, "target_id", value)
|
|
381
381
|
|
|
382
|
-
@property
|
|
382
|
+
@_builtins.property
|
|
383
383
|
@pulumi.getter(name="waitForGuest")
|
|
384
|
-
def wait_for_guest(self) -> Optional[pulumi.Input[bool]]:
|
|
384
|
+
def wait_for_guest(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
385
385
|
"""
|
|
386
386
|
Determines if the VM should be marked as being
|
|
387
387
|
started when VMware Tools are ready instead of waiting for `start_delay`. This
|
|
@@ -390,25 +390,26 @@ class _VappEntityState:
|
|
|
390
390
|
return pulumi.get(self, "wait_for_guest")
|
|
391
391
|
|
|
392
392
|
@wait_for_guest.setter
|
|
393
|
-
def wait_for_guest(self, value: Optional[pulumi.Input[bool]]):
|
|
393
|
+
def wait_for_guest(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
394
394
|
pulumi.set(self, "wait_for_guest", value)
|
|
395
395
|
|
|
396
396
|
|
|
397
|
+
@pulumi.type_token("vsphere:index/vappEntity:VappEntity")
|
|
397
398
|
class VappEntity(pulumi.CustomResource):
|
|
398
399
|
@overload
|
|
399
400
|
def __init__(__self__,
|
|
400
401
|
resource_name: str,
|
|
401
402
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
402
|
-
container_id: Optional[pulumi.Input[str]] = None,
|
|
403
|
-
custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
404
|
-
start_action: Optional[pulumi.Input[str]] = None,
|
|
405
|
-
start_delay: Optional[pulumi.Input[int]] = None,
|
|
406
|
-
start_order: Optional[pulumi.Input[int]] = None,
|
|
407
|
-
stop_action: Optional[pulumi.Input[str]] = None,
|
|
408
|
-
stop_delay: Optional[pulumi.Input[int]] = None,
|
|
409
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
410
|
-
target_id: Optional[pulumi.Input[str]] = None,
|
|
411
|
-
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,
|
|
412
413
|
__props__=None):
|
|
413
414
|
"""
|
|
414
415
|
The `VappEntity` resource can be used to describe the behavior of an
|
|
@@ -472,6 +473,8 @@ class VappEntity(pulumi.CustomResource):
|
|
|
472
473
|
|
|
473
474
|
the ID of the vApp Entity.
|
|
474
475
|
|
|
476
|
+
[docs-import]: https://developer.hashicorp.com/terraform/cli/import
|
|
477
|
+
|
|
475
478
|
```sh
|
|
476
479
|
$ pulumi import vsphere:index/vappEntity:VappEntity vapp_entity vm-123:res-456
|
|
477
480
|
```
|
|
@@ -484,25 +487,25 @@ class VappEntity(pulumi.CustomResource):
|
|
|
484
487
|
|
|
485
488
|
:param str resource_name: The name of the resource.
|
|
486
489
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
487
|
-
: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
|
|
488
491
|
container the entity is a member of.
|
|
489
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] custom_attributes: A list of custom attributes to set on this resource.
|
|
490
|
-
: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
|
|
491
494
|
or powerOn. If set to none, then the entity does not participate in auto-start.
|
|
492
495
|
Default: powerOn
|
|
493
|
-
: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
|
|
494
497
|
entity in the order of entities to be started. Default: 120
|
|
495
|
-
:param pulumi.Input[int] start_order: Order to start and stop target in vApp. Default: 1
|
|
496
|
-
: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
|
|
497
500
|
to none, powerOff, guestShutdown, or suspend. If set to none, then the entity
|
|
498
501
|
does not participate in auto-stop. Default: powerOff
|
|
499
|
-
: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
|
|
500
503
|
entity in the order sequence. This is only used if the stopAction is
|
|
501
504
|
guestShutdown. Default: 120
|
|
502
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: A list of tag IDs to apply to this object.
|
|
503
|
-
: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
|
|
504
507
|
to power on or power off. This can be a virtual machine or a vApp.
|
|
505
|
-
: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
|
|
506
509
|
started when VMware Tools are ready instead of waiting for `start_delay`. This
|
|
507
510
|
property has no effect for vApps. Default: false
|
|
508
511
|
"""
|
|
@@ -574,6 +577,8 @@ class VappEntity(pulumi.CustomResource):
|
|
|
574
577
|
|
|
575
578
|
the ID of the vApp Entity.
|
|
576
579
|
|
|
580
|
+
[docs-import]: https://developer.hashicorp.com/terraform/cli/import
|
|
581
|
+
|
|
577
582
|
```sh
|
|
578
583
|
$ pulumi import vsphere:index/vappEntity:VappEntity vapp_entity vm-123:res-456
|
|
579
584
|
```
|
|
@@ -599,16 +604,16 @@ class VappEntity(pulumi.CustomResource):
|
|
|
599
604
|
def _internal_init(__self__,
|
|
600
605
|
resource_name: str,
|
|
601
606
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
602
|
-
container_id: Optional[pulumi.Input[str]] = None,
|
|
603
|
-
custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
604
|
-
start_action: Optional[pulumi.Input[str]] = None,
|
|
605
|
-
start_delay: Optional[pulumi.Input[int]] = None,
|
|
606
|
-
start_order: Optional[pulumi.Input[int]] = None,
|
|
607
|
-
stop_action: Optional[pulumi.Input[str]] = None,
|
|
608
|
-
stop_delay: Optional[pulumi.Input[int]] = None,
|
|
609
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
610
|
-
target_id: Optional[pulumi.Input[str]] = None,
|
|
611
|
-
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,
|
|
612
617
|
__props__=None):
|
|
613
618
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
614
619
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -642,16 +647,16 @@ class VappEntity(pulumi.CustomResource):
|
|
|
642
647
|
def get(resource_name: str,
|
|
643
648
|
id: pulumi.Input[str],
|
|
644
649
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
645
|
-
container_id: Optional[pulumi.Input[str]] = None,
|
|
646
|
-
custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
647
|
-
start_action: Optional[pulumi.Input[str]] = None,
|
|
648
|
-
start_delay: Optional[pulumi.Input[int]] = None,
|
|
649
|
-
start_order: Optional[pulumi.Input[int]] = None,
|
|
650
|
-
stop_action: Optional[pulumi.Input[str]] = None,
|
|
651
|
-
stop_delay: Optional[pulumi.Input[int]] = None,
|
|
652
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
653
|
-
target_id: Optional[pulumi.Input[str]] = None,
|
|
654
|
-
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':
|
|
655
660
|
"""
|
|
656
661
|
Get an existing VappEntity resource's state with the given name, id, and optional extra
|
|
657
662
|
properties used to qualify the lookup.
|
|
@@ -659,25 +664,25 @@ class VappEntity(pulumi.CustomResource):
|
|
|
659
664
|
:param str resource_name: The unique name of the resulting resource.
|
|
660
665
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
661
666
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
662
|
-
: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
|
|
663
668
|
container the entity is a member of.
|
|
664
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] custom_attributes: A list of custom attributes to set on this resource.
|
|
665
|
-
: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
|
|
666
671
|
or powerOn. If set to none, then the entity does not participate in auto-start.
|
|
667
672
|
Default: powerOn
|
|
668
|
-
: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
|
|
669
674
|
entity in the order of entities to be started. Default: 120
|
|
670
|
-
:param pulumi.Input[int] start_order: Order to start and stop target in vApp. Default: 1
|
|
671
|
-
: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
|
|
672
677
|
to none, powerOff, guestShutdown, or suspend. If set to none, then the entity
|
|
673
678
|
does not participate in auto-stop. Default: powerOff
|
|
674
|
-
: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
|
|
675
680
|
entity in the order sequence. This is only used if the stopAction is
|
|
676
681
|
guestShutdown. Default: 120
|
|
677
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: A list of tag IDs to apply to this object.
|
|
678
|
-
: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
|
|
679
684
|
to power on or power off. This can be a virtual machine or a vApp.
|
|
680
|
-
: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
|
|
681
686
|
started when VMware Tools are ready instead of waiting for `start_delay`. This
|
|
682
687
|
property has no effect for vApps. Default: false
|
|
683
688
|
"""
|
|
@@ -697,26 +702,26 @@ class VappEntity(pulumi.CustomResource):
|
|
|
697
702
|
__props__.__dict__["wait_for_guest"] = wait_for_guest
|
|
698
703
|
return VappEntity(resource_name, opts=opts, __props__=__props__)
|
|
699
704
|
|
|
700
|
-
@property
|
|
705
|
+
@_builtins.property
|
|
701
706
|
@pulumi.getter(name="containerId")
|
|
702
|
-
def container_id(self) -> pulumi.Output[str]:
|
|
707
|
+
def container_id(self) -> pulumi.Output[_builtins.str]:
|
|
703
708
|
"""
|
|
704
709
|
Managed object ID of the vApp
|
|
705
710
|
container the entity is a member of.
|
|
706
711
|
"""
|
|
707
712
|
return pulumi.get(self, "container_id")
|
|
708
713
|
|
|
709
|
-
@property
|
|
714
|
+
@_builtins.property
|
|
710
715
|
@pulumi.getter(name="customAttributes")
|
|
711
|
-
def custom_attributes(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
|
|
716
|
+
def custom_attributes(self) -> pulumi.Output[Optional[Mapping[str, _builtins.str]]]:
|
|
712
717
|
"""
|
|
713
718
|
A list of custom attributes to set on this resource.
|
|
714
719
|
"""
|
|
715
720
|
return pulumi.get(self, "custom_attributes")
|
|
716
721
|
|
|
717
|
-
@property
|
|
722
|
+
@_builtins.property
|
|
718
723
|
@pulumi.getter(name="startAction")
|
|
719
|
-
def start_action(self) -> pulumi.Output[Optional[str]]:
|
|
724
|
+
def start_action(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
720
725
|
"""
|
|
721
726
|
How to start the entity. Valid settings are none
|
|
722
727
|
or powerOn. If set to none, then the entity does not participate in auto-start.
|
|
@@ -724,26 +729,26 @@ class VappEntity(pulumi.CustomResource):
|
|
|
724
729
|
"""
|
|
725
730
|
return pulumi.get(self, "start_action")
|
|
726
731
|
|
|
727
|
-
@property
|
|
732
|
+
@_builtins.property
|
|
728
733
|
@pulumi.getter(name="startDelay")
|
|
729
|
-
def start_delay(self) -> pulumi.Output[Optional[int]]:
|
|
734
|
+
def start_delay(self) -> pulumi.Output[Optional[_builtins.int]]:
|
|
730
735
|
"""
|
|
731
736
|
Delay in seconds before continuing with the next
|
|
732
737
|
entity in the order of entities to be started. Default: 120
|
|
733
738
|
"""
|
|
734
739
|
return pulumi.get(self, "start_delay")
|
|
735
740
|
|
|
736
|
-
@property
|
|
741
|
+
@_builtins.property
|
|
737
742
|
@pulumi.getter(name="startOrder")
|
|
738
|
-
def start_order(self) -> pulumi.Output[Optional[int]]:
|
|
743
|
+
def start_order(self) -> pulumi.Output[Optional[_builtins.int]]:
|
|
739
744
|
"""
|
|
740
745
|
Order to start and stop target in vApp. Default: 1
|
|
741
746
|
"""
|
|
742
747
|
return pulumi.get(self, "start_order")
|
|
743
748
|
|
|
744
|
-
@property
|
|
749
|
+
@_builtins.property
|
|
745
750
|
@pulumi.getter(name="stopAction")
|
|
746
|
-
def stop_action(self) -> pulumi.Output[Optional[str]]:
|
|
751
|
+
def stop_action(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
747
752
|
"""
|
|
748
753
|
Defines the stop action for the entity. Can be set
|
|
749
754
|
to none, powerOff, guestShutdown, or suspend. If set to none, then the entity
|
|
@@ -751,9 +756,9 @@ class VappEntity(pulumi.CustomResource):
|
|
|
751
756
|
"""
|
|
752
757
|
return pulumi.get(self, "stop_action")
|
|
753
758
|
|
|
754
|
-
@property
|
|
759
|
+
@_builtins.property
|
|
755
760
|
@pulumi.getter(name="stopDelay")
|
|
756
|
-
def stop_delay(self) -> pulumi.Output[Optional[int]]:
|
|
761
|
+
def stop_delay(self) -> pulumi.Output[Optional[_builtins.int]]:
|
|
757
762
|
"""
|
|
758
763
|
Delay in seconds before continuing with the next
|
|
759
764
|
entity in the order sequence. This is only used if the stopAction is
|
|
@@ -761,26 +766,26 @@ class VappEntity(pulumi.CustomResource):
|
|
|
761
766
|
"""
|
|
762
767
|
return pulumi.get(self, "stop_delay")
|
|
763
768
|
|
|
764
|
-
@property
|
|
769
|
+
@_builtins.property
|
|
765
770
|
@pulumi.getter
|
|
766
|
-
def tags(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
771
|
+
def tags(self) -> pulumi.Output[Optional[Sequence[_builtins.str]]]:
|
|
767
772
|
"""
|
|
768
773
|
A list of tag IDs to apply to this object.
|
|
769
774
|
"""
|
|
770
775
|
return pulumi.get(self, "tags")
|
|
771
776
|
|
|
772
|
-
@property
|
|
777
|
+
@_builtins.property
|
|
773
778
|
@pulumi.getter(name="targetId")
|
|
774
|
-
def target_id(self) -> pulumi.Output[str]:
|
|
779
|
+
def target_id(self) -> pulumi.Output[_builtins.str]:
|
|
775
780
|
"""
|
|
776
781
|
Managed object ID of the entity
|
|
777
782
|
to power on or power off. This can be a virtual machine or a vApp.
|
|
778
783
|
"""
|
|
779
784
|
return pulumi.get(self, "target_id")
|
|
780
785
|
|
|
781
|
-
@property
|
|
786
|
+
@_builtins.property
|
|
782
787
|
@pulumi.getter(name="waitForGuest")
|
|
783
|
-
def wait_for_guest(self) -> pulumi.Output[Optional[bool]]:
|
|
788
|
+
def wait_for_guest(self) -> pulumi.Output[Optional[_builtins.bool]]:
|
|
784
789
|
"""
|
|
785
790
|
Determines if the VM should be marked as being
|
|
786
791
|
started when VMware Tools are ready instead of waiting for `start_delay`. This
|