pulumi-vsphere 4.11.0a1__py3-none-any.whl → 4.11.0a1711033215__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 +0 -28
- pulumi_vsphere/_inputs.py +230 -554
- pulumi_vsphere/compute_cluster.py +1477 -747
- pulumi_vsphere/compute_cluster_vm_affinity_rule.py +16 -28
- pulumi_vsphere/datacenter.py +12 -26
- pulumi_vsphere/datastore_cluster.py +350 -154
- pulumi_vsphere/distributed_port_group.py +175 -70
- pulumi_vsphere/distributed_virtual_switch.py +805 -308
- pulumi_vsphere/file.py +24 -16
- pulumi_vsphere/folder.py +7 -7
- pulumi_vsphere/get_compute_cluster.py +4 -0
- pulumi_vsphere/get_compute_cluster_host_group.py +10 -8
- pulumi_vsphere/get_content_library.py +4 -0
- pulumi_vsphere/get_custom_attribute.py +4 -0
- pulumi_vsphere/get_datacenter.py +4 -0
- pulumi_vsphere/get_datastore.py +4 -0
- pulumi_vsphere/get_datastore_cluster.py +4 -0
- pulumi_vsphere/get_datastore_stats.py +12 -4
- pulumi_vsphere/get_distributed_virtual_switch.py +4 -2
- pulumi_vsphere/get_dynamic.py +8 -4
- pulumi_vsphere/get_folder.py +6 -10
- pulumi_vsphere/get_guest_os_customization.py +4 -0
- pulumi_vsphere/get_host.py +4 -0
- pulumi_vsphere/get_host_pci_device.py +12 -4
- pulumi_vsphere/get_host_thumbprint.py +4 -0
- pulumi_vsphere/get_host_vgpu_profile.py +8 -0
- pulumi_vsphere/get_license.py +4 -0
- pulumi_vsphere/get_network.py +4 -0
- pulumi_vsphere/get_policy.py +4 -0
- pulumi_vsphere/get_resource_pool.py +10 -2
- pulumi_vsphere/get_role.py +4 -0
- pulumi_vsphere/get_tag.py +4 -0
- pulumi_vsphere/get_tag_category.py +4 -0
- pulumi_vsphere/get_vapp_container.py +4 -0
- pulumi_vsphere/get_virtual_machine.py +8 -0
- pulumi_vsphere/get_vmfs_disks.py +4 -0
- pulumi_vsphere/guest_os_customization.py +0 -50
- pulumi_vsphere/ha_vm_override.py +378 -189
- pulumi_vsphere/host.py +20 -0
- pulumi_vsphere/host_port_group.py +24 -12
- pulumi_vsphere/host_virtual_switch.py +287 -140
- pulumi_vsphere/license.py +32 -0
- pulumi_vsphere/outputs.py +230 -543
- pulumi_vsphere/pulumi-plugin.json +1 -2
- pulumi_vsphere/resource_pool.py +22 -48
- pulumi_vsphere/virtual_machine.py +807 -578
- pulumi_vsphere/virtual_machine_snapshot.py +10 -6
- pulumi_vsphere/vm_storage_policy.py +84 -72
- pulumi_vsphere/vnic.py +20 -8
- {pulumi_vsphere-4.11.0a1.dist-info → pulumi_vsphere-4.11.0a1711033215.dist-info}/METADATA +1 -1
- pulumi_vsphere-4.11.0a1711033215.dist-info/RECORD +82 -0
- pulumi_vsphere/get_host_base_images.py +0 -97
- pulumi_vsphere/offline_software_depot.py +0 -180
- pulumi_vsphere/supervisor.py +0 -858
- pulumi_vsphere/virtual_machine_class.py +0 -440
- pulumi_vsphere-4.11.0a1.dist-info/RECORD +0 -86
- {pulumi_vsphere-4.11.0a1.dist-info → pulumi_vsphere-4.11.0a1711033215.dist-info}/WHEEL +0 -0
- {pulumi_vsphere-4.11.0a1.dist-info → pulumi_vsphere-4.11.0a1711033215.dist-info}/top_level.txt +0 -0
pulumi_vsphere/_inputs.py
CHANGED
|
@@ -10,8 +10,6 @@ from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
|
10
10
|
from . import _utilities
|
|
11
11
|
|
|
12
12
|
__all__ = [
|
|
13
|
-
'ComputeClusterHostImageArgs',
|
|
14
|
-
'ComputeClusterHostImageComponentArgs',
|
|
15
13
|
'ComputeClusterVsanDiskGroupArgs',
|
|
16
14
|
'ComputeClusterVsanFaultDomainArgs',
|
|
17
15
|
'ComputeClusterVsanFaultDomainFaultDomainArgs',
|
|
@@ -28,13 +26,6 @@ __all__ = [
|
|
|
28
26
|
'GuestOsCustomizationSpecNetworkInterfaceArgs',
|
|
29
27
|
'GuestOsCustomizationSpecWindowsOptionsArgs',
|
|
30
28
|
'HostPortGroupPortArgs',
|
|
31
|
-
'OfflineSoftwareDepotComponentArgs',
|
|
32
|
-
'SupervisorEgressCidrArgs',
|
|
33
|
-
'SupervisorIngressCidrArgs',
|
|
34
|
-
'SupervisorManagementNetworkArgs',
|
|
35
|
-
'SupervisorNamespaceArgs',
|
|
36
|
-
'SupervisorPodCidrArgs',
|
|
37
|
-
'SupervisorServiceCidrArgs',
|
|
38
29
|
'VirtualMachineCdromArgs',
|
|
39
30
|
'VirtualMachineCloneArgs',
|
|
40
31
|
'VirtualMachineCloneCustomizationSpecArgs',
|
|
@@ -52,92 +43,14 @@ __all__ = [
|
|
|
52
43
|
'GetVirtualMachineVappArgs',
|
|
53
44
|
]
|
|
54
45
|
|
|
55
|
-
@pulumi.input_type
|
|
56
|
-
class ComputeClusterHostImageArgs:
|
|
57
|
-
def __init__(__self__, *,
|
|
58
|
-
components: Optional[pulumi.Input[Sequence[pulumi.Input['ComputeClusterHostImageComponentArgs']]]] = None,
|
|
59
|
-
esx_version: Optional[pulumi.Input[str]] = None):
|
|
60
|
-
"""
|
|
61
|
-
:param pulumi.Input[Sequence[pulumi.Input['ComputeClusterHostImageComponentArgs']]] components: List of custom components.
|
|
62
|
-
:param pulumi.Input[str] esx_version: The ESXi version which the image is based on.
|
|
63
|
-
"""
|
|
64
|
-
if components is not None:
|
|
65
|
-
pulumi.set(__self__, "components", components)
|
|
66
|
-
if esx_version is not None:
|
|
67
|
-
pulumi.set(__self__, "esx_version", esx_version)
|
|
68
|
-
|
|
69
|
-
@property
|
|
70
|
-
@pulumi.getter
|
|
71
|
-
def components(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ComputeClusterHostImageComponentArgs']]]]:
|
|
72
|
-
"""
|
|
73
|
-
List of custom components.
|
|
74
|
-
"""
|
|
75
|
-
return pulumi.get(self, "components")
|
|
76
|
-
|
|
77
|
-
@components.setter
|
|
78
|
-
def components(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ComputeClusterHostImageComponentArgs']]]]):
|
|
79
|
-
pulumi.set(self, "components", value)
|
|
80
|
-
|
|
81
|
-
@property
|
|
82
|
-
@pulumi.getter(name="esxVersion")
|
|
83
|
-
def esx_version(self) -> Optional[pulumi.Input[str]]:
|
|
84
|
-
"""
|
|
85
|
-
The ESXi version which the image is based on.
|
|
86
|
-
"""
|
|
87
|
-
return pulumi.get(self, "esx_version")
|
|
88
|
-
|
|
89
|
-
@esx_version.setter
|
|
90
|
-
def esx_version(self, value: Optional[pulumi.Input[str]]):
|
|
91
|
-
pulumi.set(self, "esx_version", value)
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
@pulumi.input_type
|
|
95
|
-
class ComputeClusterHostImageComponentArgs:
|
|
96
|
-
def __init__(__self__, *,
|
|
97
|
-
key: Optional[pulumi.Input[str]] = None,
|
|
98
|
-
version: Optional[pulumi.Input[str]] = None):
|
|
99
|
-
"""
|
|
100
|
-
:param pulumi.Input[str] key: The identifier for the component.
|
|
101
|
-
:param pulumi.Input[str] version: The version to use.
|
|
102
|
-
"""
|
|
103
|
-
if key is not None:
|
|
104
|
-
pulumi.set(__self__, "key", key)
|
|
105
|
-
if version is not None:
|
|
106
|
-
pulumi.set(__self__, "version", version)
|
|
107
|
-
|
|
108
|
-
@property
|
|
109
|
-
@pulumi.getter
|
|
110
|
-
def key(self) -> Optional[pulumi.Input[str]]:
|
|
111
|
-
"""
|
|
112
|
-
The identifier for the component.
|
|
113
|
-
"""
|
|
114
|
-
return pulumi.get(self, "key")
|
|
115
|
-
|
|
116
|
-
@key.setter
|
|
117
|
-
def key(self, value: Optional[pulumi.Input[str]]):
|
|
118
|
-
pulumi.set(self, "key", value)
|
|
119
|
-
|
|
120
|
-
@property
|
|
121
|
-
@pulumi.getter
|
|
122
|
-
def version(self) -> Optional[pulumi.Input[str]]:
|
|
123
|
-
"""
|
|
124
|
-
The version to use.
|
|
125
|
-
"""
|
|
126
|
-
return pulumi.get(self, "version")
|
|
127
|
-
|
|
128
|
-
@version.setter
|
|
129
|
-
def version(self, value: Optional[pulumi.Input[str]]):
|
|
130
|
-
pulumi.set(self, "version", value)
|
|
131
|
-
|
|
132
|
-
|
|
133
46
|
@pulumi.input_type
|
|
134
47
|
class ComputeClusterVsanDiskGroupArgs:
|
|
135
48
|
def __init__(__self__, *,
|
|
136
49
|
cache: Optional[pulumi.Input[str]] = None,
|
|
137
50
|
storages: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
|
138
51
|
"""
|
|
139
|
-
:param pulumi.Input[str] cache:
|
|
140
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] storages:
|
|
52
|
+
:param pulumi.Input[str] cache: The canonical name of the disk to use for vSAN cache.
|
|
53
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] storages: An array of disk canonical names for vSAN storage.
|
|
141
54
|
"""
|
|
142
55
|
if cache is not None:
|
|
143
56
|
pulumi.set(__self__, "cache", cache)
|
|
@@ -148,7 +61,7 @@ class ComputeClusterVsanDiskGroupArgs:
|
|
|
148
61
|
@pulumi.getter
|
|
149
62
|
def cache(self) -> Optional[pulumi.Input[str]]:
|
|
150
63
|
"""
|
|
151
|
-
|
|
64
|
+
The canonical name of the disk to use for vSAN cache.
|
|
152
65
|
"""
|
|
153
66
|
return pulumi.get(self, "cache")
|
|
154
67
|
|
|
@@ -160,7 +73,7 @@ class ComputeClusterVsanDiskGroupArgs:
|
|
|
160
73
|
@pulumi.getter
|
|
161
74
|
def storages(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
162
75
|
"""
|
|
163
|
-
|
|
76
|
+
An array of disk canonical names for vSAN storage.
|
|
164
77
|
"""
|
|
165
78
|
return pulumi.get(self, "storages")
|
|
166
79
|
|
|
@@ -241,8 +154,56 @@ class ComputeClusterVsanStretchedClusterArgs:
|
|
|
241
154
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] preferred_fault_domain_host_ids: The managed object IDs of the hosts to put in the first fault domain.
|
|
242
155
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] secondary_fault_domain_host_ids: The managed object IDs of the hosts to put in the second fault domain.
|
|
243
156
|
:param pulumi.Input[str] witness_node: The managed object IDs of the host selected as witness node when enable stretched cluster.
|
|
244
|
-
:param pulumi.Input[str] preferred_fault_domain_name: The name of
|
|
245
|
-
:param pulumi.Input[str] secondary_fault_domain_name: The name of
|
|
157
|
+
:param pulumi.Input[str] preferred_fault_domain_name: The name of first fault domain. Default is `Preferred`.
|
|
158
|
+
:param pulumi.Input[str] secondary_fault_domain_name: The name of second fault domain. Default is `Secondary`.
|
|
159
|
+
|
|
160
|
+
> **NOTE:** You must disable vSphere HA before you enable vSAN on the cluster.
|
|
161
|
+
You can enable or re-enable vSphere HA after vSAN is configured.
|
|
162
|
+
|
|
163
|
+
<!--Start PulumiCodeChooser -->
|
|
164
|
+
```python
|
|
165
|
+
import pulumi
|
|
166
|
+
import pulumi_vsphere as vsphere
|
|
167
|
+
|
|
168
|
+
compute_cluster = vsphere.ComputeCluster("computeCluster",
|
|
169
|
+
datacenter_id=data["vsphere_datacenter"]["datacenter"]["id"],
|
|
170
|
+
host_system_ids=[[__item["id"] for __item in data["vsphere_host"]["host"]]],
|
|
171
|
+
drs_enabled=True,
|
|
172
|
+
drs_automation_level="fullyAutomated",
|
|
173
|
+
ha_enabled=False,
|
|
174
|
+
vsan_enabled=True,
|
|
175
|
+
vsan_esa_enabled=True,
|
|
176
|
+
vsan_dedup_enabled=True,
|
|
177
|
+
vsan_compression_enabled=True,
|
|
178
|
+
vsan_performance_enabled=True,
|
|
179
|
+
vsan_verbose_mode_enabled=True,
|
|
180
|
+
vsan_network_diagnostic_mode_enabled=True,
|
|
181
|
+
vsan_unmap_enabled=True,
|
|
182
|
+
vsan_dit_encryption_enabled=True,
|
|
183
|
+
vsan_dit_rekey_interval=1800,
|
|
184
|
+
vsan_disk_groups=[vsphere.ComputeClusterVsanDiskGroupArgs(
|
|
185
|
+
cache=data["vsphere_vmfs_disks"]["cache_disks"],
|
|
186
|
+
storages=data["vsphere_vmfs_disks"]["storage_disks"],
|
|
187
|
+
)],
|
|
188
|
+
vsan_fault_domains=[vsphere.ComputeClusterVsanFaultDomainArgs(
|
|
189
|
+
fault_domains=[
|
|
190
|
+
vsphere.ComputeClusterVsanFaultDomainFaultDomainArgs(
|
|
191
|
+
name="fd1",
|
|
192
|
+
host_ids=[[__item["id"] for __item in data["vsphere_host"]["faultdomain1_hosts"]]],
|
|
193
|
+
),
|
|
194
|
+
vsphere.ComputeClusterVsanFaultDomainFaultDomainArgs(
|
|
195
|
+
name="fd2",
|
|
196
|
+
host_ids=[[__item["id"] for __item in data["vsphere_host"]["faultdomain2_hosts"]]],
|
|
197
|
+
),
|
|
198
|
+
],
|
|
199
|
+
)],
|
|
200
|
+
vsan_stretched_cluster=vsphere.ComputeClusterVsanStretchedClusterArgs(
|
|
201
|
+
preferred_fault_domain_host_ids=[[__item["id"] for __item in data["vsphere_host"]["preferred_fault_domain_host"]]],
|
|
202
|
+
secondary_fault_domain_host_ids=[[__item["id"] for __item in data["vsphere_host"]["secondary_fault_domain_host"]]],
|
|
203
|
+
witness_node=data["vsphere_host"]["witness_host"]["id"],
|
|
204
|
+
))
|
|
205
|
+
```
|
|
206
|
+
<!--End PulumiCodeChooser -->
|
|
246
207
|
"""
|
|
247
208
|
pulumi.set(__self__, "preferred_fault_domain_host_ids", preferred_fault_domain_host_ids)
|
|
248
209
|
pulumi.set(__self__, "secondary_fault_domain_host_ids", secondary_fault_domain_host_ids)
|
|
@@ -292,7 +253,7 @@ class ComputeClusterVsanStretchedClusterArgs:
|
|
|
292
253
|
@pulumi.getter(name="preferredFaultDomainName")
|
|
293
254
|
def preferred_fault_domain_name(self) -> Optional[pulumi.Input[str]]:
|
|
294
255
|
"""
|
|
295
|
-
The name of
|
|
256
|
+
The name of first fault domain. Default is `Preferred`.
|
|
296
257
|
"""
|
|
297
258
|
return pulumi.get(self, "preferred_fault_domain_name")
|
|
298
259
|
|
|
@@ -304,7 +265,55 @@ class ComputeClusterVsanStretchedClusterArgs:
|
|
|
304
265
|
@pulumi.getter(name="secondaryFaultDomainName")
|
|
305
266
|
def secondary_fault_domain_name(self) -> Optional[pulumi.Input[str]]:
|
|
306
267
|
"""
|
|
307
|
-
The name of
|
|
268
|
+
The name of second fault domain. Default is `Secondary`.
|
|
269
|
+
|
|
270
|
+
> **NOTE:** You must disable vSphere HA before you enable vSAN on the cluster.
|
|
271
|
+
You can enable or re-enable vSphere HA after vSAN is configured.
|
|
272
|
+
|
|
273
|
+
<!--Start PulumiCodeChooser -->
|
|
274
|
+
```python
|
|
275
|
+
import pulumi
|
|
276
|
+
import pulumi_vsphere as vsphere
|
|
277
|
+
|
|
278
|
+
compute_cluster = vsphere.ComputeCluster("computeCluster",
|
|
279
|
+
datacenter_id=data["vsphere_datacenter"]["datacenter"]["id"],
|
|
280
|
+
host_system_ids=[[__item["id"] for __item in data["vsphere_host"]["host"]]],
|
|
281
|
+
drs_enabled=True,
|
|
282
|
+
drs_automation_level="fullyAutomated",
|
|
283
|
+
ha_enabled=False,
|
|
284
|
+
vsan_enabled=True,
|
|
285
|
+
vsan_esa_enabled=True,
|
|
286
|
+
vsan_dedup_enabled=True,
|
|
287
|
+
vsan_compression_enabled=True,
|
|
288
|
+
vsan_performance_enabled=True,
|
|
289
|
+
vsan_verbose_mode_enabled=True,
|
|
290
|
+
vsan_network_diagnostic_mode_enabled=True,
|
|
291
|
+
vsan_unmap_enabled=True,
|
|
292
|
+
vsan_dit_encryption_enabled=True,
|
|
293
|
+
vsan_dit_rekey_interval=1800,
|
|
294
|
+
vsan_disk_groups=[vsphere.ComputeClusterVsanDiskGroupArgs(
|
|
295
|
+
cache=data["vsphere_vmfs_disks"]["cache_disks"],
|
|
296
|
+
storages=data["vsphere_vmfs_disks"]["storage_disks"],
|
|
297
|
+
)],
|
|
298
|
+
vsan_fault_domains=[vsphere.ComputeClusterVsanFaultDomainArgs(
|
|
299
|
+
fault_domains=[
|
|
300
|
+
vsphere.ComputeClusterVsanFaultDomainFaultDomainArgs(
|
|
301
|
+
name="fd1",
|
|
302
|
+
host_ids=[[__item["id"] for __item in data["vsphere_host"]["faultdomain1_hosts"]]],
|
|
303
|
+
),
|
|
304
|
+
vsphere.ComputeClusterVsanFaultDomainFaultDomainArgs(
|
|
305
|
+
name="fd2",
|
|
306
|
+
host_ids=[[__item["id"] for __item in data["vsphere_host"]["faultdomain2_hosts"]]],
|
|
307
|
+
),
|
|
308
|
+
],
|
|
309
|
+
)],
|
|
310
|
+
vsan_stretched_cluster=vsphere.ComputeClusterVsanStretchedClusterArgs(
|
|
311
|
+
preferred_fault_domain_host_ids=[[__item["id"] for __item in data["vsphere_host"]["preferred_fault_domain_host"]]],
|
|
312
|
+
secondary_fault_domain_host_ids=[[__item["id"] for __item in data["vsphere_host"]["secondary_fault_domain_host"]]],
|
|
313
|
+
witness_node=data["vsphere_host"]["witness_host"]["id"],
|
|
314
|
+
))
|
|
315
|
+
```
|
|
316
|
+
<!--End PulumiCodeChooser -->
|
|
308
317
|
"""
|
|
309
318
|
return pulumi.get(self, "secondary_fault_domain_name")
|
|
310
319
|
|
|
@@ -322,11 +331,11 @@ class ContentLibraryPublicationArgs:
|
|
|
322
331
|
published: Optional[pulumi.Input[bool]] = None,
|
|
323
332
|
username: Optional[pulumi.Input[str]] = None):
|
|
324
333
|
"""
|
|
325
|
-
:param pulumi.Input[str] authentication_method:
|
|
326
|
-
:param pulumi.Input[str] password: Password used
|
|
334
|
+
:param pulumi.Input[str] authentication_method: Authentication method to connect ro a published content library. Must be `NONE` or `BASIC`.
|
|
335
|
+
:param pulumi.Input[str] password: Password used for authentication.
|
|
327
336
|
:param pulumi.Input[str] publish_url: The URL of the published content library.
|
|
328
337
|
:param pulumi.Input[bool] published: Publish the content library. Default `false`.
|
|
329
|
-
:param pulumi.Input[str] username: Username used
|
|
338
|
+
:param pulumi.Input[str] username: Username used for authentication.
|
|
330
339
|
"""
|
|
331
340
|
if authentication_method is not None:
|
|
332
341
|
pulumi.set(__self__, "authentication_method", authentication_method)
|
|
@@ -343,7 +352,7 @@ class ContentLibraryPublicationArgs:
|
|
|
343
352
|
@pulumi.getter(name="authenticationMethod")
|
|
344
353
|
def authentication_method(self) -> Optional[pulumi.Input[str]]:
|
|
345
354
|
"""
|
|
346
|
-
|
|
355
|
+
Authentication method to connect ro a published content library. Must be `NONE` or `BASIC`.
|
|
347
356
|
"""
|
|
348
357
|
return pulumi.get(self, "authentication_method")
|
|
349
358
|
|
|
@@ -355,7 +364,7 @@ class ContentLibraryPublicationArgs:
|
|
|
355
364
|
@pulumi.getter
|
|
356
365
|
def password(self) -> Optional[pulumi.Input[str]]:
|
|
357
366
|
"""
|
|
358
|
-
Password used
|
|
367
|
+
Password used for authentication.
|
|
359
368
|
"""
|
|
360
369
|
return pulumi.get(self, "password")
|
|
361
370
|
|
|
@@ -391,7 +400,7 @@ class ContentLibraryPublicationArgs:
|
|
|
391
400
|
@pulumi.getter
|
|
392
401
|
def username(self) -> Optional[pulumi.Input[str]]:
|
|
393
402
|
"""
|
|
394
|
-
Username used
|
|
403
|
+
Username used for authentication.
|
|
395
404
|
"""
|
|
396
405
|
return pulumi.get(self, "username")
|
|
397
406
|
|
|
@@ -546,8 +555,10 @@ class DistributedVirtualSwitchHostArgs:
|
|
|
546
555
|
host_system_id: pulumi.Input[str],
|
|
547
556
|
devices: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
|
548
557
|
"""
|
|
549
|
-
:param pulumi.Input[str] host_system_id: The
|
|
550
|
-
|
|
558
|
+
:param pulumi.Input[str] host_system_id: The host system ID of the host to add to the
|
|
559
|
+
VDS.
|
|
560
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] devices: The list of NIC devices to map to uplinks on the VDS,
|
|
561
|
+
added in order they are specified.
|
|
551
562
|
"""
|
|
552
563
|
pulumi.set(__self__, "host_system_id", host_system_id)
|
|
553
564
|
if devices is not None:
|
|
@@ -557,7 +568,8 @@ class DistributedVirtualSwitchHostArgs:
|
|
|
557
568
|
@pulumi.getter(name="hostSystemId")
|
|
558
569
|
def host_system_id(self) -> pulumi.Input[str]:
|
|
559
570
|
"""
|
|
560
|
-
The
|
|
571
|
+
The host system ID of the host to add to the
|
|
572
|
+
VDS.
|
|
561
573
|
"""
|
|
562
574
|
return pulumi.get(self, "host_system_id")
|
|
563
575
|
|
|
@@ -569,7 +581,8 @@ class DistributedVirtualSwitchHostArgs:
|
|
|
569
581
|
@pulumi.getter
|
|
570
582
|
def devices(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
571
583
|
"""
|
|
572
|
-
|
|
584
|
+
The list of NIC devices to map to uplinks on the VDS,
|
|
585
|
+
added in order they are specified.
|
|
573
586
|
"""
|
|
574
587
|
return pulumi.get(self, "devices")
|
|
575
588
|
|
|
@@ -585,9 +598,12 @@ class DistributedVirtualSwitchPvlanMappingArgs:
|
|
|
585
598
|
pvlan_type: pulumi.Input[str],
|
|
586
599
|
secondary_vlan_id: pulumi.Input[int]):
|
|
587
600
|
"""
|
|
588
|
-
:param pulumi.Input[int] primary_vlan_id: The primary VLAN ID. The VLAN IDs of 0 and
|
|
589
|
-
|
|
590
|
-
:param pulumi.Input[
|
|
601
|
+
:param pulumi.Input[int] primary_vlan_id: The primary VLAN ID. The VLAN IDs of 0 and
|
|
602
|
+
4095 are reserved and cannot be used in this property.
|
|
603
|
+
:param pulumi.Input[str] pvlan_type: The private VLAN type. Valid values are
|
|
604
|
+
promiscuous, community and isolated.
|
|
605
|
+
:param pulumi.Input[int] secondary_vlan_id: The secondary VLAN ID. The VLAN IDs of 0
|
|
606
|
+
and 4095 are reserved and cannot be used in this property.
|
|
591
607
|
"""
|
|
592
608
|
pulumi.set(__self__, "primary_vlan_id", primary_vlan_id)
|
|
593
609
|
pulumi.set(__self__, "pvlan_type", pvlan_type)
|
|
@@ -597,7 +613,8 @@ class DistributedVirtualSwitchPvlanMappingArgs:
|
|
|
597
613
|
@pulumi.getter(name="primaryVlanId")
|
|
598
614
|
def primary_vlan_id(self) -> pulumi.Input[int]:
|
|
599
615
|
"""
|
|
600
|
-
The primary VLAN ID. The VLAN IDs of 0 and
|
|
616
|
+
The primary VLAN ID. The VLAN IDs of 0 and
|
|
617
|
+
4095 are reserved and cannot be used in this property.
|
|
601
618
|
"""
|
|
602
619
|
return pulumi.get(self, "primary_vlan_id")
|
|
603
620
|
|
|
@@ -609,7 +626,8 @@ class DistributedVirtualSwitchPvlanMappingArgs:
|
|
|
609
626
|
@pulumi.getter(name="pvlanType")
|
|
610
627
|
def pvlan_type(self) -> pulumi.Input[str]:
|
|
611
628
|
"""
|
|
612
|
-
The private VLAN type. Valid values are
|
|
629
|
+
The private VLAN type. Valid values are
|
|
630
|
+
promiscuous, community and isolated.
|
|
613
631
|
"""
|
|
614
632
|
return pulumi.get(self, "pvlan_type")
|
|
615
633
|
|
|
@@ -621,7 +639,8 @@ class DistributedVirtualSwitchPvlanMappingArgs:
|
|
|
621
639
|
@pulumi.getter(name="secondaryVlanId")
|
|
622
640
|
def secondary_vlan_id(self) -> pulumi.Input[int]:
|
|
623
641
|
"""
|
|
624
|
-
The secondary VLAN ID. The VLAN IDs of 0
|
|
642
|
+
The secondary VLAN ID. The VLAN IDs of 0
|
|
643
|
+
and 4095 are reserved and cannot be used in this property.
|
|
625
644
|
"""
|
|
626
645
|
return pulumi.get(self, "secondary_vlan_id")
|
|
627
646
|
|
|
@@ -1066,7 +1085,6 @@ class GuestOsCustomizationSpecWindowsOptionsArgs:
|
|
|
1066
1085
|
auto_logon_count: Optional[pulumi.Input[int]] = None,
|
|
1067
1086
|
domain_admin_password: Optional[pulumi.Input[str]] = None,
|
|
1068
1087
|
domain_admin_user: Optional[pulumi.Input[str]] = None,
|
|
1069
|
-
domain_ou: Optional[pulumi.Input[str]] = None,
|
|
1070
1088
|
full_name: Optional[pulumi.Input[str]] = None,
|
|
1071
1089
|
join_domain: Optional[pulumi.Input[str]] = None,
|
|
1072
1090
|
organization_name: Optional[pulumi.Input[str]] = None,
|
|
@@ -1081,7 +1099,6 @@ class GuestOsCustomizationSpecWindowsOptionsArgs:
|
|
|
1081
1099
|
:param pulumi.Input[int] auto_logon_count: Specifies how many times the VM should auto-logon the Administrator account when auto_logon is true.
|
|
1082
1100
|
:param pulumi.Input[str] domain_admin_password: The password of the domain administrator used to join this virtual machine to the domain.
|
|
1083
1101
|
:param pulumi.Input[str] domain_admin_user: The user account of the domain administrator used to join this virtual machine to the domain.
|
|
1084
|
-
:param pulumi.Input[str] domain_ou: The MachineObjectOU which specifies the full LDAP path name of the OU to which the virtual machine belongs.
|
|
1085
1102
|
:param pulumi.Input[str] full_name: The full name of the user of this virtual machine.
|
|
1086
1103
|
:param pulumi.Input[str] join_domain: The domain that the virtual machine should join.
|
|
1087
1104
|
:param pulumi.Input[str] organization_name: The organization name this virtual machine is being installed for.
|
|
@@ -1101,8 +1118,6 @@ class GuestOsCustomizationSpecWindowsOptionsArgs:
|
|
|
1101
1118
|
pulumi.set(__self__, "domain_admin_password", domain_admin_password)
|
|
1102
1119
|
if domain_admin_user is not None:
|
|
1103
1120
|
pulumi.set(__self__, "domain_admin_user", domain_admin_user)
|
|
1104
|
-
if domain_ou is not None:
|
|
1105
|
-
pulumi.set(__self__, "domain_ou", domain_ou)
|
|
1106
1121
|
if full_name is not None:
|
|
1107
1122
|
pulumi.set(__self__, "full_name", full_name)
|
|
1108
1123
|
if join_domain is not None:
|
|
@@ -1190,18 +1205,6 @@ class GuestOsCustomizationSpecWindowsOptionsArgs:
|
|
|
1190
1205
|
def domain_admin_user(self, value: Optional[pulumi.Input[str]]):
|
|
1191
1206
|
pulumi.set(self, "domain_admin_user", value)
|
|
1192
1207
|
|
|
1193
|
-
@property
|
|
1194
|
-
@pulumi.getter(name="domainOu")
|
|
1195
|
-
def domain_ou(self) -> Optional[pulumi.Input[str]]:
|
|
1196
|
-
"""
|
|
1197
|
-
The MachineObjectOU which specifies the full LDAP path name of the OU to which the virtual machine belongs.
|
|
1198
|
-
"""
|
|
1199
|
-
return pulumi.get(self, "domain_ou")
|
|
1200
|
-
|
|
1201
|
-
@domain_ou.setter
|
|
1202
|
-
def domain_ou(self, value: Optional[pulumi.Input[str]]):
|
|
1203
|
-
pulumi.set(self, "domain_ou", value)
|
|
1204
|
-
|
|
1205
1208
|
@property
|
|
1206
1209
|
@pulumi.getter(name="fullName")
|
|
1207
1210
|
def full_name(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -1342,345 +1345,6 @@ class HostPortGroupPortArgs:
|
|
|
1342
1345
|
pulumi.set(self, "type", value)
|
|
1343
1346
|
|
|
1344
1347
|
|
|
1345
|
-
@pulumi.input_type
|
|
1346
|
-
class OfflineSoftwareDepotComponentArgs:
|
|
1347
|
-
def __init__(__self__, *,
|
|
1348
|
-
display_name: Optional[pulumi.Input[str]] = None,
|
|
1349
|
-
key: Optional[pulumi.Input[str]] = None,
|
|
1350
|
-
versions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
|
1351
|
-
"""
|
|
1352
|
-
:param pulumi.Input[str] display_name: The name of the component. Useful for easier identification.
|
|
1353
|
-
:param pulumi.Input[str] key: The identifier of the component.
|
|
1354
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] versions: The list of available versions of the component.
|
|
1355
|
-
"""
|
|
1356
|
-
if display_name is not None:
|
|
1357
|
-
pulumi.set(__self__, "display_name", display_name)
|
|
1358
|
-
if key is not None:
|
|
1359
|
-
pulumi.set(__self__, "key", key)
|
|
1360
|
-
if versions is not None:
|
|
1361
|
-
pulumi.set(__self__, "versions", versions)
|
|
1362
|
-
|
|
1363
|
-
@property
|
|
1364
|
-
@pulumi.getter(name="displayName")
|
|
1365
|
-
def display_name(self) -> Optional[pulumi.Input[str]]:
|
|
1366
|
-
"""
|
|
1367
|
-
The name of the component. Useful for easier identification.
|
|
1368
|
-
"""
|
|
1369
|
-
return pulumi.get(self, "display_name")
|
|
1370
|
-
|
|
1371
|
-
@display_name.setter
|
|
1372
|
-
def display_name(self, value: Optional[pulumi.Input[str]]):
|
|
1373
|
-
pulumi.set(self, "display_name", value)
|
|
1374
|
-
|
|
1375
|
-
@property
|
|
1376
|
-
@pulumi.getter
|
|
1377
|
-
def key(self) -> Optional[pulumi.Input[str]]:
|
|
1378
|
-
"""
|
|
1379
|
-
The identifier of the component.
|
|
1380
|
-
"""
|
|
1381
|
-
return pulumi.get(self, "key")
|
|
1382
|
-
|
|
1383
|
-
@key.setter
|
|
1384
|
-
def key(self, value: Optional[pulumi.Input[str]]):
|
|
1385
|
-
pulumi.set(self, "key", value)
|
|
1386
|
-
|
|
1387
|
-
@property
|
|
1388
|
-
@pulumi.getter
|
|
1389
|
-
def versions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
1390
|
-
"""
|
|
1391
|
-
The list of available versions of the component.
|
|
1392
|
-
"""
|
|
1393
|
-
return pulumi.get(self, "versions")
|
|
1394
|
-
|
|
1395
|
-
@versions.setter
|
|
1396
|
-
def versions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
1397
|
-
pulumi.set(self, "versions", value)
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
@pulumi.input_type
|
|
1401
|
-
class SupervisorEgressCidrArgs:
|
|
1402
|
-
def __init__(__self__, *,
|
|
1403
|
-
address: pulumi.Input[str],
|
|
1404
|
-
prefix: pulumi.Input[int]):
|
|
1405
|
-
"""
|
|
1406
|
-
:param pulumi.Input[str] address: Network address.
|
|
1407
|
-
:param pulumi.Input[int] prefix: Subnet prefix.
|
|
1408
|
-
"""
|
|
1409
|
-
pulumi.set(__self__, "address", address)
|
|
1410
|
-
pulumi.set(__self__, "prefix", prefix)
|
|
1411
|
-
|
|
1412
|
-
@property
|
|
1413
|
-
@pulumi.getter
|
|
1414
|
-
def address(self) -> pulumi.Input[str]:
|
|
1415
|
-
"""
|
|
1416
|
-
Network address.
|
|
1417
|
-
"""
|
|
1418
|
-
return pulumi.get(self, "address")
|
|
1419
|
-
|
|
1420
|
-
@address.setter
|
|
1421
|
-
def address(self, value: pulumi.Input[str]):
|
|
1422
|
-
pulumi.set(self, "address", value)
|
|
1423
|
-
|
|
1424
|
-
@property
|
|
1425
|
-
@pulumi.getter
|
|
1426
|
-
def prefix(self) -> pulumi.Input[int]:
|
|
1427
|
-
"""
|
|
1428
|
-
Subnet prefix.
|
|
1429
|
-
"""
|
|
1430
|
-
return pulumi.get(self, "prefix")
|
|
1431
|
-
|
|
1432
|
-
@prefix.setter
|
|
1433
|
-
def prefix(self, value: pulumi.Input[int]):
|
|
1434
|
-
pulumi.set(self, "prefix", value)
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
@pulumi.input_type
|
|
1438
|
-
class SupervisorIngressCidrArgs:
|
|
1439
|
-
def __init__(__self__, *,
|
|
1440
|
-
address: pulumi.Input[str],
|
|
1441
|
-
prefix: pulumi.Input[int]):
|
|
1442
|
-
"""
|
|
1443
|
-
:param pulumi.Input[str] address: Network address.
|
|
1444
|
-
:param pulumi.Input[int] prefix: Subnet prefix.
|
|
1445
|
-
"""
|
|
1446
|
-
pulumi.set(__self__, "address", address)
|
|
1447
|
-
pulumi.set(__self__, "prefix", prefix)
|
|
1448
|
-
|
|
1449
|
-
@property
|
|
1450
|
-
@pulumi.getter
|
|
1451
|
-
def address(self) -> pulumi.Input[str]:
|
|
1452
|
-
"""
|
|
1453
|
-
Network address.
|
|
1454
|
-
"""
|
|
1455
|
-
return pulumi.get(self, "address")
|
|
1456
|
-
|
|
1457
|
-
@address.setter
|
|
1458
|
-
def address(self, value: pulumi.Input[str]):
|
|
1459
|
-
pulumi.set(self, "address", value)
|
|
1460
|
-
|
|
1461
|
-
@property
|
|
1462
|
-
@pulumi.getter
|
|
1463
|
-
def prefix(self) -> pulumi.Input[int]:
|
|
1464
|
-
"""
|
|
1465
|
-
Subnet prefix.
|
|
1466
|
-
"""
|
|
1467
|
-
return pulumi.get(self, "prefix")
|
|
1468
|
-
|
|
1469
|
-
@prefix.setter
|
|
1470
|
-
def prefix(self, value: pulumi.Input[int]):
|
|
1471
|
-
pulumi.set(self, "prefix", value)
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
@pulumi.input_type
|
|
1475
|
-
class SupervisorManagementNetworkArgs:
|
|
1476
|
-
def __init__(__self__, *,
|
|
1477
|
-
address_count: pulumi.Input[int],
|
|
1478
|
-
gateway: pulumi.Input[str],
|
|
1479
|
-
network: pulumi.Input[str],
|
|
1480
|
-
starting_address: pulumi.Input[str],
|
|
1481
|
-
subnet_mask: pulumi.Input[str]):
|
|
1482
|
-
"""
|
|
1483
|
-
:param pulumi.Input[int] address_count: Number of addresses to allocate. Starts from 'starting_address'
|
|
1484
|
-
:param pulumi.Input[str] gateway: Gateway IP address.
|
|
1485
|
-
:param pulumi.Input[str] network: ID of the network. (e.g. a distributed port group).
|
|
1486
|
-
:param pulumi.Input[str] starting_address: Starting address of the management network range.
|
|
1487
|
-
:param pulumi.Input[str] subnet_mask: Subnet mask.
|
|
1488
|
-
"""
|
|
1489
|
-
pulumi.set(__self__, "address_count", address_count)
|
|
1490
|
-
pulumi.set(__self__, "gateway", gateway)
|
|
1491
|
-
pulumi.set(__self__, "network", network)
|
|
1492
|
-
pulumi.set(__self__, "starting_address", starting_address)
|
|
1493
|
-
pulumi.set(__self__, "subnet_mask", subnet_mask)
|
|
1494
|
-
|
|
1495
|
-
@property
|
|
1496
|
-
@pulumi.getter(name="addressCount")
|
|
1497
|
-
def address_count(self) -> pulumi.Input[int]:
|
|
1498
|
-
"""
|
|
1499
|
-
Number of addresses to allocate. Starts from 'starting_address'
|
|
1500
|
-
"""
|
|
1501
|
-
return pulumi.get(self, "address_count")
|
|
1502
|
-
|
|
1503
|
-
@address_count.setter
|
|
1504
|
-
def address_count(self, value: pulumi.Input[int]):
|
|
1505
|
-
pulumi.set(self, "address_count", value)
|
|
1506
|
-
|
|
1507
|
-
@property
|
|
1508
|
-
@pulumi.getter
|
|
1509
|
-
def gateway(self) -> pulumi.Input[str]:
|
|
1510
|
-
"""
|
|
1511
|
-
Gateway IP address.
|
|
1512
|
-
"""
|
|
1513
|
-
return pulumi.get(self, "gateway")
|
|
1514
|
-
|
|
1515
|
-
@gateway.setter
|
|
1516
|
-
def gateway(self, value: pulumi.Input[str]):
|
|
1517
|
-
pulumi.set(self, "gateway", value)
|
|
1518
|
-
|
|
1519
|
-
@property
|
|
1520
|
-
@pulumi.getter
|
|
1521
|
-
def network(self) -> pulumi.Input[str]:
|
|
1522
|
-
"""
|
|
1523
|
-
ID of the network. (e.g. a distributed port group).
|
|
1524
|
-
"""
|
|
1525
|
-
return pulumi.get(self, "network")
|
|
1526
|
-
|
|
1527
|
-
@network.setter
|
|
1528
|
-
def network(self, value: pulumi.Input[str]):
|
|
1529
|
-
pulumi.set(self, "network", value)
|
|
1530
|
-
|
|
1531
|
-
@property
|
|
1532
|
-
@pulumi.getter(name="startingAddress")
|
|
1533
|
-
def starting_address(self) -> pulumi.Input[str]:
|
|
1534
|
-
"""
|
|
1535
|
-
Starting address of the management network range.
|
|
1536
|
-
"""
|
|
1537
|
-
return pulumi.get(self, "starting_address")
|
|
1538
|
-
|
|
1539
|
-
@starting_address.setter
|
|
1540
|
-
def starting_address(self, value: pulumi.Input[str]):
|
|
1541
|
-
pulumi.set(self, "starting_address", value)
|
|
1542
|
-
|
|
1543
|
-
@property
|
|
1544
|
-
@pulumi.getter(name="subnetMask")
|
|
1545
|
-
def subnet_mask(self) -> pulumi.Input[str]:
|
|
1546
|
-
"""
|
|
1547
|
-
Subnet mask.
|
|
1548
|
-
"""
|
|
1549
|
-
return pulumi.get(self, "subnet_mask")
|
|
1550
|
-
|
|
1551
|
-
@subnet_mask.setter
|
|
1552
|
-
def subnet_mask(self, value: pulumi.Input[str]):
|
|
1553
|
-
pulumi.set(self, "subnet_mask", value)
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
@pulumi.input_type
|
|
1557
|
-
class SupervisorNamespaceArgs:
|
|
1558
|
-
def __init__(__self__, *,
|
|
1559
|
-
name: pulumi.Input[str],
|
|
1560
|
-
content_libraries: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1561
|
-
vm_classes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
|
1562
|
-
"""
|
|
1563
|
-
:param pulumi.Input[str] name: The name of the namespace.
|
|
1564
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] content_libraries: A list of content libraries.
|
|
1565
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] vm_classes: A list of virtual machine classes.
|
|
1566
|
-
"""
|
|
1567
|
-
pulumi.set(__self__, "name", name)
|
|
1568
|
-
if content_libraries is not None:
|
|
1569
|
-
pulumi.set(__self__, "content_libraries", content_libraries)
|
|
1570
|
-
if vm_classes is not None:
|
|
1571
|
-
pulumi.set(__self__, "vm_classes", vm_classes)
|
|
1572
|
-
|
|
1573
|
-
@property
|
|
1574
|
-
@pulumi.getter
|
|
1575
|
-
def name(self) -> pulumi.Input[str]:
|
|
1576
|
-
"""
|
|
1577
|
-
The name of the namespace.
|
|
1578
|
-
"""
|
|
1579
|
-
return pulumi.get(self, "name")
|
|
1580
|
-
|
|
1581
|
-
@name.setter
|
|
1582
|
-
def name(self, value: pulumi.Input[str]):
|
|
1583
|
-
pulumi.set(self, "name", value)
|
|
1584
|
-
|
|
1585
|
-
@property
|
|
1586
|
-
@pulumi.getter(name="contentLibraries")
|
|
1587
|
-
def content_libraries(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
1588
|
-
"""
|
|
1589
|
-
A list of content libraries.
|
|
1590
|
-
"""
|
|
1591
|
-
return pulumi.get(self, "content_libraries")
|
|
1592
|
-
|
|
1593
|
-
@content_libraries.setter
|
|
1594
|
-
def content_libraries(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
1595
|
-
pulumi.set(self, "content_libraries", value)
|
|
1596
|
-
|
|
1597
|
-
@property
|
|
1598
|
-
@pulumi.getter(name="vmClasses")
|
|
1599
|
-
def vm_classes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
1600
|
-
"""
|
|
1601
|
-
A list of virtual machine classes.
|
|
1602
|
-
"""
|
|
1603
|
-
return pulumi.get(self, "vm_classes")
|
|
1604
|
-
|
|
1605
|
-
@vm_classes.setter
|
|
1606
|
-
def vm_classes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
1607
|
-
pulumi.set(self, "vm_classes", value)
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
@pulumi.input_type
|
|
1611
|
-
class SupervisorPodCidrArgs:
|
|
1612
|
-
def __init__(__self__, *,
|
|
1613
|
-
address: pulumi.Input[str],
|
|
1614
|
-
prefix: pulumi.Input[int]):
|
|
1615
|
-
"""
|
|
1616
|
-
:param pulumi.Input[str] address: Network address.
|
|
1617
|
-
:param pulumi.Input[int] prefix: Subnet prefix.
|
|
1618
|
-
"""
|
|
1619
|
-
pulumi.set(__self__, "address", address)
|
|
1620
|
-
pulumi.set(__self__, "prefix", prefix)
|
|
1621
|
-
|
|
1622
|
-
@property
|
|
1623
|
-
@pulumi.getter
|
|
1624
|
-
def address(self) -> pulumi.Input[str]:
|
|
1625
|
-
"""
|
|
1626
|
-
Network address.
|
|
1627
|
-
"""
|
|
1628
|
-
return pulumi.get(self, "address")
|
|
1629
|
-
|
|
1630
|
-
@address.setter
|
|
1631
|
-
def address(self, value: pulumi.Input[str]):
|
|
1632
|
-
pulumi.set(self, "address", value)
|
|
1633
|
-
|
|
1634
|
-
@property
|
|
1635
|
-
@pulumi.getter
|
|
1636
|
-
def prefix(self) -> pulumi.Input[int]:
|
|
1637
|
-
"""
|
|
1638
|
-
Subnet prefix.
|
|
1639
|
-
"""
|
|
1640
|
-
return pulumi.get(self, "prefix")
|
|
1641
|
-
|
|
1642
|
-
@prefix.setter
|
|
1643
|
-
def prefix(self, value: pulumi.Input[int]):
|
|
1644
|
-
pulumi.set(self, "prefix", value)
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
@pulumi.input_type
|
|
1648
|
-
class SupervisorServiceCidrArgs:
|
|
1649
|
-
def __init__(__self__, *,
|
|
1650
|
-
address: pulumi.Input[str],
|
|
1651
|
-
prefix: pulumi.Input[int]):
|
|
1652
|
-
"""
|
|
1653
|
-
:param pulumi.Input[str] address: Network address.
|
|
1654
|
-
:param pulumi.Input[int] prefix: Subnet prefix.
|
|
1655
|
-
"""
|
|
1656
|
-
pulumi.set(__self__, "address", address)
|
|
1657
|
-
pulumi.set(__self__, "prefix", prefix)
|
|
1658
|
-
|
|
1659
|
-
@property
|
|
1660
|
-
@pulumi.getter
|
|
1661
|
-
def address(self) -> pulumi.Input[str]:
|
|
1662
|
-
"""
|
|
1663
|
-
Network address.
|
|
1664
|
-
"""
|
|
1665
|
-
return pulumi.get(self, "address")
|
|
1666
|
-
|
|
1667
|
-
@address.setter
|
|
1668
|
-
def address(self, value: pulumi.Input[str]):
|
|
1669
|
-
pulumi.set(self, "address", value)
|
|
1670
|
-
|
|
1671
|
-
@property
|
|
1672
|
-
@pulumi.getter
|
|
1673
|
-
def prefix(self) -> pulumi.Input[int]:
|
|
1674
|
-
"""
|
|
1675
|
-
Subnet prefix.
|
|
1676
|
-
"""
|
|
1677
|
-
return pulumi.get(self, "prefix")
|
|
1678
|
-
|
|
1679
|
-
@prefix.setter
|
|
1680
|
-
def prefix(self, value: pulumi.Input[int]):
|
|
1681
|
-
pulumi.set(self, "prefix", value)
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
1348
|
@pulumi.input_type
|
|
1685
1349
|
class VirtualMachineCdromArgs:
|
|
1686
1350
|
def __init__(__self__, *,
|
|
@@ -1690,11 +1354,15 @@ class VirtualMachineCdromArgs:
|
|
|
1690
1354
|
key: Optional[pulumi.Input[int]] = None,
|
|
1691
1355
|
path: Optional[pulumi.Input[str]] = None):
|
|
1692
1356
|
"""
|
|
1693
|
-
:param pulumi.Input[bool] client_device: Indicates whether the device should be
|
|
1694
|
-
:param pulumi.Input[str] datastore_id: The datastore ID the ISO is located
|
|
1357
|
+
:param pulumi.Input[bool] client_device: Indicates whether the device should be backed by remote client device. Conflicts with `datastore_id` and `path`.
|
|
1358
|
+
:param pulumi.Input[str] datastore_id: The datastore ID that on which the ISO is located. Required for using a datastore ISO. Conflicts with `client_device`.
|
|
1695
1359
|
:param pulumi.Input[str] device_address: The internally-computed address of this device, such as scsi:0:1, denoting scsi bus #0 and device unit 1.
|
|
1696
1360
|
:param pulumi.Input[int] key: The ID of the device within the virtual machine.
|
|
1697
|
-
:param pulumi.Input[str] path: The path to the ISO file
|
|
1361
|
+
:param pulumi.Input[str] path: The path to the ISO file. Required for using a datastore ISO. Conflicts with `client_device`.
|
|
1362
|
+
|
|
1363
|
+
> **NOTE:** Either `client_device` (for a remote backed CD-ROM) or `datastore_id` and `path` (for a datastore ISO backed CD-ROM) are required to .
|
|
1364
|
+
|
|
1365
|
+
> **NOTE:** Some CD-ROM drive types are not supported by this resource, such as pass-through devices. If these drives are present in a cloned template, or added outside of the provider, the desired state will be corrected to the defined device, or removed if no `cdrom` block is present.
|
|
1698
1366
|
"""
|
|
1699
1367
|
if client_device is not None:
|
|
1700
1368
|
pulumi.set(__self__, "client_device", client_device)
|
|
@@ -1711,7 +1379,7 @@ class VirtualMachineCdromArgs:
|
|
|
1711
1379
|
@pulumi.getter(name="clientDevice")
|
|
1712
1380
|
def client_device(self) -> Optional[pulumi.Input[bool]]:
|
|
1713
1381
|
"""
|
|
1714
|
-
Indicates whether the device should be
|
|
1382
|
+
Indicates whether the device should be backed by remote client device. Conflicts with `datastore_id` and `path`.
|
|
1715
1383
|
"""
|
|
1716
1384
|
return pulumi.get(self, "client_device")
|
|
1717
1385
|
|
|
@@ -1723,7 +1391,7 @@ class VirtualMachineCdromArgs:
|
|
|
1723
1391
|
@pulumi.getter(name="datastoreId")
|
|
1724
1392
|
def datastore_id(self) -> Optional[pulumi.Input[str]]:
|
|
1725
1393
|
"""
|
|
1726
|
-
The datastore ID the ISO is located
|
|
1394
|
+
The datastore ID that on which the ISO is located. Required for using a datastore ISO. Conflicts with `client_device`.
|
|
1727
1395
|
"""
|
|
1728
1396
|
return pulumi.get(self, "datastore_id")
|
|
1729
1397
|
|
|
@@ -1759,7 +1427,11 @@ class VirtualMachineCdromArgs:
|
|
|
1759
1427
|
@pulumi.getter
|
|
1760
1428
|
def path(self) -> Optional[pulumi.Input[str]]:
|
|
1761
1429
|
"""
|
|
1762
|
-
The path to the ISO file
|
|
1430
|
+
The path to the ISO file. Required for using a datastore ISO. Conflicts with `client_device`.
|
|
1431
|
+
|
|
1432
|
+
> **NOTE:** Either `client_device` (for a remote backed CD-ROM) or `datastore_id` and `path` (for a datastore ISO backed CD-ROM) are required to .
|
|
1433
|
+
|
|
1434
|
+
> **NOTE:** Some CD-ROM drive types are not supported by this resource, such as pass-through devices. If these drives are present in a cloned template, or added outside of the provider, the desired state will be corrected to the defined device, or removed if no `cdrom` block is present.
|
|
1763
1435
|
"""
|
|
1764
1436
|
return pulumi.get(self, "path")
|
|
1765
1437
|
|
|
@@ -1942,7 +1614,7 @@ class VirtualMachineCloneCustomizeArgs:
|
|
|
1942
1614
|
:param pulumi.Input[str] ipv4_gateway: The IPv4 default gateway when using network_interface customization on the virtual machine. This address must be local to a static IPv4 address configured in an interface sub-resource.
|
|
1943
1615
|
:param pulumi.Input[str] ipv6_gateway: The IPv6 default gateway when using network_interface customization on the virtual machine. This address must be local to a static IPv4 address configured in an interface sub-resource.
|
|
1944
1616
|
:param pulumi.Input['VirtualMachineCloneCustomizeLinuxOptionsArgs'] linux_options: A list of configuration options specific to Linux virtual machines.
|
|
1945
|
-
:param pulumi.Input[Sequence[pulumi.Input['VirtualMachineCloneCustomizeNetworkInterfaceArgs']]] network_interfaces: A specification
|
|
1617
|
+
:param pulumi.Input[Sequence[pulumi.Input['VirtualMachineCloneCustomizeNetworkInterfaceArgs']]] network_interfaces: A specification for a virtual NIC on the virtual machine. See network interface options for more information.
|
|
1946
1618
|
:param pulumi.Input[int] timeout: The amount of time, in minutes, to wait for guest OS customization to complete before returning with an error. Setting this value to 0 or a negative value skips the waiter. Default: 10.
|
|
1947
1619
|
:param pulumi.Input['VirtualMachineCloneCustomizeWindowsOptionsArgs'] windows_options: A list of configuration options specific to Windows virtual machines.
|
|
1948
1620
|
:param pulumi.Input[str] windows_sysprep_text: Use this option to specify a windows sysprep file directly.
|
|
@@ -2030,7 +1702,7 @@ class VirtualMachineCloneCustomizeArgs:
|
|
|
2030
1702
|
@pulumi.getter(name="networkInterfaces")
|
|
2031
1703
|
def network_interfaces(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['VirtualMachineCloneCustomizeNetworkInterfaceArgs']]]]:
|
|
2032
1704
|
"""
|
|
2033
|
-
A specification
|
|
1705
|
+
A specification for a virtual NIC on the virtual machine. See network interface options for more information.
|
|
2034
1706
|
"""
|
|
2035
1707
|
return pulumi.get(self, "network_interfaces")
|
|
2036
1708
|
|
|
@@ -2272,7 +1944,6 @@ class VirtualMachineCloneCustomizeWindowsOptionsArgs:
|
|
|
2272
1944
|
auto_logon_count: Optional[pulumi.Input[int]] = None,
|
|
2273
1945
|
domain_admin_password: Optional[pulumi.Input[str]] = None,
|
|
2274
1946
|
domain_admin_user: Optional[pulumi.Input[str]] = None,
|
|
2275
|
-
domain_ou: Optional[pulumi.Input[str]] = None,
|
|
2276
1947
|
full_name: Optional[pulumi.Input[str]] = None,
|
|
2277
1948
|
join_domain: Optional[pulumi.Input[str]] = None,
|
|
2278
1949
|
organization_name: Optional[pulumi.Input[str]] = None,
|
|
@@ -2287,7 +1958,6 @@ class VirtualMachineCloneCustomizeWindowsOptionsArgs:
|
|
|
2287
1958
|
:param pulumi.Input[int] auto_logon_count: Specifies how many times the VM should auto-logon the Administrator account when auto_logon is true.
|
|
2288
1959
|
:param pulumi.Input[str] domain_admin_password: The password of the domain administrator used to join this virtual machine to the domain.
|
|
2289
1960
|
:param pulumi.Input[str] domain_admin_user: The user account of the domain administrator used to join this virtual machine to the domain.
|
|
2290
|
-
:param pulumi.Input[str] domain_ou: The MachineObjectOU which specifies the full LDAP path name of the OU to which the virtual machine belongs.
|
|
2291
1961
|
:param pulumi.Input[str] full_name: The full name of the user of this virtual machine.
|
|
2292
1962
|
:param pulumi.Input[str] join_domain: The domain that the virtual machine should join.
|
|
2293
1963
|
:param pulumi.Input[str] organization_name: The organization name this virtual machine is being installed for.
|
|
@@ -2307,8 +1977,6 @@ class VirtualMachineCloneCustomizeWindowsOptionsArgs:
|
|
|
2307
1977
|
pulumi.set(__self__, "domain_admin_password", domain_admin_password)
|
|
2308
1978
|
if domain_admin_user is not None:
|
|
2309
1979
|
pulumi.set(__self__, "domain_admin_user", domain_admin_user)
|
|
2310
|
-
if domain_ou is not None:
|
|
2311
|
-
pulumi.set(__self__, "domain_ou", domain_ou)
|
|
2312
1980
|
if full_name is not None:
|
|
2313
1981
|
pulumi.set(__self__, "full_name", full_name)
|
|
2314
1982
|
if join_domain is not None:
|
|
@@ -2396,18 +2064,6 @@ class VirtualMachineCloneCustomizeWindowsOptionsArgs:
|
|
|
2396
2064
|
def domain_admin_user(self, value: Optional[pulumi.Input[str]]):
|
|
2397
2065
|
pulumi.set(self, "domain_admin_user", value)
|
|
2398
2066
|
|
|
2399
|
-
@property
|
|
2400
|
-
@pulumi.getter(name="domainOu")
|
|
2401
|
-
def domain_ou(self) -> Optional[pulumi.Input[str]]:
|
|
2402
|
-
"""
|
|
2403
|
-
The MachineObjectOU which specifies the full LDAP path name of the OU to which the virtual machine belongs.
|
|
2404
|
-
"""
|
|
2405
|
-
return pulumi.get(self, "domain_ou")
|
|
2406
|
-
|
|
2407
|
-
@domain_ou.setter
|
|
2408
|
-
def domain_ou(self, value: Optional[pulumi.Input[str]]):
|
|
2409
|
-
pulumi.set(self, "domain_ou", value)
|
|
2410
|
-
|
|
2411
2067
|
@property
|
|
2412
2068
|
@pulumi.getter(name="fullName")
|
|
2413
2069
|
def full_name(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -2519,26 +2175,36 @@ class VirtualMachineDiskArgs:
|
|
|
2519
2175
|
write_through: Optional[pulumi.Input[bool]] = None):
|
|
2520
2176
|
"""
|
|
2521
2177
|
:param pulumi.Input[str] label: A unique label for this disk.
|
|
2522
|
-
:param pulumi.Input[bool] attach:
|
|
2523
|
-
|
|
2524
|
-
|
|
2178
|
+
:param pulumi.Input[bool] attach: Attach an external disk instead of creating a new one. Implies and conflicts with `keep_on_remove`. If set, you cannot set `size`, `eagerly_scrub`, or `thin_provisioned`. Must set `path` if used.
|
|
2179
|
+
|
|
2180
|
+
> **NOTE:** External disks cannot be attached when `datastore_cluster_id` is used.
|
|
2181
|
+
:param pulumi.Input[str] controller_type: The type of storage controller to attach the disk to. Can be `scsi`, `sata`, or `ide`. You must have the appropriate number of controllers enabled for the selected type. Default `scsi`.
|
|
2182
|
+
:param pulumi.Input[str] datastore_id: The datastore ID that on which the ISO is located. Required for using a datastore ISO. Conflicts with `client_device`.
|
|
2525
2183
|
:param pulumi.Input[str] device_address: The internally-computed address of this device, such as scsi:0:1, denoting scsi bus #0 and device unit 1.
|
|
2526
|
-
:param pulumi.Input[str] disk_mode: The mode of this this virtual disk for purposes of writes and
|
|
2527
|
-
|
|
2528
|
-
|
|
2529
|
-
:param pulumi.Input[
|
|
2530
|
-
|
|
2531
|
-
|
|
2532
|
-
:param pulumi.Input[
|
|
2533
|
-
:param pulumi.Input[
|
|
2184
|
+
:param pulumi.Input[str] disk_mode: The mode of this this virtual disk for purposes of writes and snapshots. One of `append`, `independent_nonpersistent`, `independent_persistent`, `nonpersistent`, `persistent`, or `undoable`. Default: `persistent`. For more information on these option, please refer to the [product documentation][vmware-docs-disk-mode].
|
|
2185
|
+
|
|
2186
|
+
[vmware-docs-disk-mode]: https://vdc-download.vmware.com/vmwb-repository/dcr-public/da47f910-60ac-438b-8b9b-6122f4d14524/16b7274a-bf8b-4b4c-a05e-746f2aa93c8c/doc/vim.vm.device.VirtualDiskOption.DiskMode.html
|
|
2187
|
+
:param pulumi.Input[str] disk_sharing: The sharing mode of this virtual disk. One of `sharingMultiWriter` or `sharingNone`. Default: `sharingNone`.
|
|
2188
|
+
|
|
2189
|
+
> **NOTE:** Disk sharing is only available on vSphere 6.0 and later.
|
|
2190
|
+
:param pulumi.Input[bool] eagerly_scrub: If set to `true`, the disk space is zeroed out when the virtual machine is created. This will delay the creation of the virtual disk. Cannot be set to `true` when `thin_provisioned` is `true`. See the section on picking a disk type for more information. Default: `false`.
|
|
2191
|
+
:param pulumi.Input[int] io_limit: The upper limit of IOPS that this disk can use. The default is no limit.
|
|
2192
|
+
:param pulumi.Input[int] io_reservation: The I/O reservation (guarantee) for the virtual disk has, in IOPS. The default is no reservation.
|
|
2193
|
+
:param pulumi.Input[int] io_share_count: The share count for the virtual disk when the share level is `custom`.
|
|
2194
|
+
:param pulumi.Input[str] io_share_level: The share allocation level for the virtual disk. One of `low`, `normal`, `high`, or `custom`. Default: `normal`.
|
|
2195
|
+
:param pulumi.Input[bool] keep_on_remove: Keep this disk when removing the device or destroying the virtual machine. Default: `false`.
|
|
2534
2196
|
:param pulumi.Input[int] key: The ID of the device within the virtual machine.
|
|
2535
|
-
:param pulumi.Input[str] path: The
|
|
2536
|
-
|
|
2537
|
-
|
|
2538
|
-
|
|
2539
|
-
|
|
2540
|
-
:param pulumi.Input[
|
|
2541
|
-
:param pulumi.Input[
|
|
2197
|
+
:param pulumi.Input[str] path: The path to the ISO file. Required for using a datastore ISO. Conflicts with `client_device`.
|
|
2198
|
+
|
|
2199
|
+
> **NOTE:** Either `client_device` (for a remote backed CD-ROM) or `datastore_id` and `path` (for a datastore ISO backed CD-ROM) are required to .
|
|
2200
|
+
|
|
2201
|
+
> **NOTE:** Some CD-ROM drive types are not supported by this resource, such as pass-through devices. If these drives are present in a cloned template, or added outside of the provider, the desired state will be corrected to the defined device, or removed if no `cdrom` block is present.
|
|
2202
|
+
:param pulumi.Input[int] size: The size of the disk, in GB. Must be a whole number.
|
|
2203
|
+
:param pulumi.Input[str] storage_policy_id: The UUID of the storage policy to assign to the virtual disk.
|
|
2204
|
+
:param pulumi.Input[bool] thin_provisioned: If `true`, the disk is thin provisioned, with space for the file being allocated on an as-needed basis. Cannot be set to `true` when `eagerly_scrub` is `true`. See the section on selecting a disk type for more information. Default: `true`.
|
|
2205
|
+
:param pulumi.Input[int] unit_number: The disk number on the storage bus. The maximum value for this setting is the value of the controller count times the controller capacity (15 for SCSI, 30 for SATA, and 2 for IDE). Duplicate unit numbers are not allowed. Default `0`, for which one disk must be set to.
|
|
2206
|
+
:param pulumi.Input[str] uuid: The UUID of the virtual disk VMDK file. This is used to track the virtual disk on the virtual machine.
|
|
2207
|
+
:param pulumi.Input[bool] write_through: If `true`, writes for this disk are sent directly to the filesystem immediately instead of being buffered. Default: `false`.
|
|
2542
2208
|
"""
|
|
2543
2209
|
pulumi.set(__self__, "label", label)
|
|
2544
2210
|
if attach is not None:
|
|
@@ -2598,7 +2264,9 @@ class VirtualMachineDiskArgs:
|
|
|
2598
2264
|
@pulumi.getter
|
|
2599
2265
|
def attach(self) -> Optional[pulumi.Input[bool]]:
|
|
2600
2266
|
"""
|
|
2601
|
-
|
|
2267
|
+
Attach an external disk instead of creating a new one. Implies and conflicts with `keep_on_remove`. If set, you cannot set `size`, `eagerly_scrub`, or `thin_provisioned`. Must set `path` if used.
|
|
2268
|
+
|
|
2269
|
+
> **NOTE:** External disks cannot be attached when `datastore_cluster_id` is used.
|
|
2602
2270
|
"""
|
|
2603
2271
|
return pulumi.get(self, "attach")
|
|
2604
2272
|
|
|
@@ -2610,7 +2278,7 @@ class VirtualMachineDiskArgs:
|
|
|
2610
2278
|
@pulumi.getter(name="controllerType")
|
|
2611
2279
|
def controller_type(self) -> Optional[pulumi.Input[str]]:
|
|
2612
2280
|
"""
|
|
2613
|
-
The type of controller the
|
|
2281
|
+
The type of storage controller to attach the disk to. Can be `scsi`, `sata`, or `ide`. You must have the appropriate number of controllers enabled for the selected type. Default `scsi`.
|
|
2614
2282
|
"""
|
|
2615
2283
|
return pulumi.get(self, "controller_type")
|
|
2616
2284
|
|
|
@@ -2622,7 +2290,7 @@ class VirtualMachineDiskArgs:
|
|
|
2622
2290
|
@pulumi.getter(name="datastoreId")
|
|
2623
2291
|
def datastore_id(self) -> Optional[pulumi.Input[str]]:
|
|
2624
2292
|
"""
|
|
2625
|
-
The datastore ID
|
|
2293
|
+
The datastore ID that on which the ISO is located. Required for using a datastore ISO. Conflicts with `client_device`.
|
|
2626
2294
|
"""
|
|
2627
2295
|
return pulumi.get(self, "datastore_id")
|
|
2628
2296
|
|
|
@@ -2646,7 +2314,9 @@ class VirtualMachineDiskArgs:
|
|
|
2646
2314
|
@pulumi.getter(name="diskMode")
|
|
2647
2315
|
def disk_mode(self) -> Optional[pulumi.Input[str]]:
|
|
2648
2316
|
"""
|
|
2649
|
-
The mode of this this virtual disk for purposes of writes and
|
|
2317
|
+
The mode of this this virtual disk for purposes of writes and snapshots. One of `append`, `independent_nonpersistent`, `independent_persistent`, `nonpersistent`, `persistent`, or `undoable`. Default: `persistent`. For more information on these option, please refer to the [product documentation][vmware-docs-disk-mode].
|
|
2318
|
+
|
|
2319
|
+
[vmware-docs-disk-mode]: https://vdc-download.vmware.com/vmwb-repository/dcr-public/da47f910-60ac-438b-8b9b-6122f4d14524/16b7274a-bf8b-4b4c-a05e-746f2aa93c8c/doc/vim.vm.device.VirtualDiskOption.DiskMode.html
|
|
2650
2320
|
"""
|
|
2651
2321
|
return pulumi.get(self, "disk_mode")
|
|
2652
2322
|
|
|
@@ -2658,7 +2328,9 @@ class VirtualMachineDiskArgs:
|
|
|
2658
2328
|
@pulumi.getter(name="diskSharing")
|
|
2659
2329
|
def disk_sharing(self) -> Optional[pulumi.Input[str]]:
|
|
2660
2330
|
"""
|
|
2661
|
-
The sharing mode of this virtual disk.
|
|
2331
|
+
The sharing mode of this virtual disk. One of `sharingMultiWriter` or `sharingNone`. Default: `sharingNone`.
|
|
2332
|
+
|
|
2333
|
+
> **NOTE:** Disk sharing is only available on vSphere 6.0 and later.
|
|
2662
2334
|
"""
|
|
2663
2335
|
return pulumi.get(self, "disk_sharing")
|
|
2664
2336
|
|
|
@@ -2670,7 +2342,7 @@ class VirtualMachineDiskArgs:
|
|
|
2670
2342
|
@pulumi.getter(name="eagerlyScrub")
|
|
2671
2343
|
def eagerly_scrub(self) -> Optional[pulumi.Input[bool]]:
|
|
2672
2344
|
"""
|
|
2673
|
-
|
|
2345
|
+
If set to `true`, the disk space is zeroed out when the virtual machine is created. This will delay the creation of the virtual disk. Cannot be set to `true` when `thin_provisioned` is `true`. See the section on picking a disk type for more information. Default: `false`.
|
|
2674
2346
|
"""
|
|
2675
2347
|
return pulumi.get(self, "eagerly_scrub")
|
|
2676
2348
|
|
|
@@ -2682,7 +2354,7 @@ class VirtualMachineDiskArgs:
|
|
|
2682
2354
|
@pulumi.getter(name="ioLimit")
|
|
2683
2355
|
def io_limit(self) -> Optional[pulumi.Input[int]]:
|
|
2684
2356
|
"""
|
|
2685
|
-
The upper limit of IOPS that this disk can use.
|
|
2357
|
+
The upper limit of IOPS that this disk can use. The default is no limit.
|
|
2686
2358
|
"""
|
|
2687
2359
|
return pulumi.get(self, "io_limit")
|
|
2688
2360
|
|
|
@@ -2694,7 +2366,7 @@ class VirtualMachineDiskArgs:
|
|
|
2694
2366
|
@pulumi.getter(name="ioReservation")
|
|
2695
2367
|
def io_reservation(self) -> Optional[pulumi.Input[int]]:
|
|
2696
2368
|
"""
|
|
2697
|
-
The I/O guarantee
|
|
2369
|
+
The I/O reservation (guarantee) for the virtual disk has, in IOPS. The default is no reservation.
|
|
2698
2370
|
"""
|
|
2699
2371
|
return pulumi.get(self, "io_reservation")
|
|
2700
2372
|
|
|
@@ -2706,7 +2378,7 @@ class VirtualMachineDiskArgs:
|
|
|
2706
2378
|
@pulumi.getter(name="ioShareCount")
|
|
2707
2379
|
def io_share_count(self) -> Optional[pulumi.Input[int]]:
|
|
2708
2380
|
"""
|
|
2709
|
-
The share count for
|
|
2381
|
+
The share count for the virtual disk when the share level is `custom`.
|
|
2710
2382
|
"""
|
|
2711
2383
|
return pulumi.get(self, "io_share_count")
|
|
2712
2384
|
|
|
@@ -2718,7 +2390,7 @@ class VirtualMachineDiskArgs:
|
|
|
2718
2390
|
@pulumi.getter(name="ioShareLevel")
|
|
2719
2391
|
def io_share_level(self) -> Optional[pulumi.Input[str]]:
|
|
2720
2392
|
"""
|
|
2721
|
-
The share allocation level for
|
|
2393
|
+
The share allocation level for the virtual disk. One of `low`, `normal`, `high`, or `custom`. Default: `normal`.
|
|
2722
2394
|
"""
|
|
2723
2395
|
return pulumi.get(self, "io_share_level")
|
|
2724
2396
|
|
|
@@ -2730,7 +2402,7 @@ class VirtualMachineDiskArgs:
|
|
|
2730
2402
|
@pulumi.getter(name="keepOnRemove")
|
|
2731
2403
|
def keep_on_remove(self) -> Optional[pulumi.Input[bool]]:
|
|
2732
2404
|
"""
|
|
2733
|
-
|
|
2405
|
+
Keep this disk when removing the device or destroying the virtual machine. Default: `false`.
|
|
2734
2406
|
"""
|
|
2735
2407
|
return pulumi.get(self, "keep_on_remove")
|
|
2736
2408
|
|
|
@@ -2754,7 +2426,11 @@ class VirtualMachineDiskArgs:
|
|
|
2754
2426
|
@pulumi.getter
|
|
2755
2427
|
def path(self) -> Optional[pulumi.Input[str]]:
|
|
2756
2428
|
"""
|
|
2757
|
-
The
|
|
2429
|
+
The path to the ISO file. Required for using a datastore ISO. Conflicts with `client_device`.
|
|
2430
|
+
|
|
2431
|
+
> **NOTE:** Either `client_device` (for a remote backed CD-ROM) or `datastore_id` and `path` (for a datastore ISO backed CD-ROM) are required to .
|
|
2432
|
+
|
|
2433
|
+
> **NOTE:** Some CD-ROM drive types are not supported by this resource, such as pass-through devices. If these drives are present in a cloned template, or added outside of the provider, the desired state will be corrected to the defined device, or removed if no `cdrom` block is present.
|
|
2758
2434
|
"""
|
|
2759
2435
|
return pulumi.get(self, "path")
|
|
2760
2436
|
|
|
@@ -2766,7 +2442,7 @@ class VirtualMachineDiskArgs:
|
|
|
2766
2442
|
@pulumi.getter
|
|
2767
2443
|
def size(self) -> Optional[pulumi.Input[int]]:
|
|
2768
2444
|
"""
|
|
2769
|
-
The size of the disk, in GB.
|
|
2445
|
+
The size of the disk, in GB. Must be a whole number.
|
|
2770
2446
|
"""
|
|
2771
2447
|
return pulumi.get(self, "size")
|
|
2772
2448
|
|
|
@@ -2778,7 +2454,7 @@ class VirtualMachineDiskArgs:
|
|
|
2778
2454
|
@pulumi.getter(name="storagePolicyId")
|
|
2779
2455
|
def storage_policy_id(self) -> Optional[pulumi.Input[str]]:
|
|
2780
2456
|
"""
|
|
2781
|
-
The
|
|
2457
|
+
The UUID of the storage policy to assign to the virtual disk.
|
|
2782
2458
|
"""
|
|
2783
2459
|
return pulumi.get(self, "storage_policy_id")
|
|
2784
2460
|
|
|
@@ -2790,7 +2466,7 @@ class VirtualMachineDiskArgs:
|
|
|
2790
2466
|
@pulumi.getter(name="thinProvisioned")
|
|
2791
2467
|
def thin_provisioned(self) -> Optional[pulumi.Input[bool]]:
|
|
2792
2468
|
"""
|
|
2793
|
-
If true
|
|
2469
|
+
If `true`, the disk is thin provisioned, with space for the file being allocated on an as-needed basis. Cannot be set to `true` when `eagerly_scrub` is `true`. See the section on selecting a disk type for more information. Default: `true`.
|
|
2794
2470
|
"""
|
|
2795
2471
|
return pulumi.get(self, "thin_provisioned")
|
|
2796
2472
|
|
|
@@ -2802,7 +2478,7 @@ class VirtualMachineDiskArgs:
|
|
|
2802
2478
|
@pulumi.getter(name="unitNumber")
|
|
2803
2479
|
def unit_number(self) -> Optional[pulumi.Input[int]]:
|
|
2804
2480
|
"""
|
|
2805
|
-
The
|
|
2481
|
+
The disk number on the storage bus. The maximum value for this setting is the value of the controller count times the controller capacity (15 for SCSI, 30 for SATA, and 2 for IDE). Duplicate unit numbers are not allowed. Default `0`, for which one disk must be set to.
|
|
2806
2482
|
"""
|
|
2807
2483
|
return pulumi.get(self, "unit_number")
|
|
2808
2484
|
|
|
@@ -2814,7 +2490,7 @@ class VirtualMachineDiskArgs:
|
|
|
2814
2490
|
@pulumi.getter
|
|
2815
2491
|
def uuid(self) -> Optional[pulumi.Input[str]]:
|
|
2816
2492
|
"""
|
|
2817
|
-
The UUID of the virtual
|
|
2493
|
+
The UUID of the virtual disk VMDK file. This is used to track the virtual disk on the virtual machine.
|
|
2818
2494
|
"""
|
|
2819
2495
|
return pulumi.get(self, "uuid")
|
|
2820
2496
|
|
|
@@ -2826,7 +2502,7 @@ class VirtualMachineDiskArgs:
|
|
|
2826
2502
|
@pulumi.getter(name="writeThrough")
|
|
2827
2503
|
def write_through(self) -> Optional[pulumi.Input[bool]]:
|
|
2828
2504
|
"""
|
|
2829
|
-
If true
|
|
2505
|
+
If `true`, writes for this disk are sent directly to the filesystem immediately instead of being buffered. Default: `false`.
|
|
2830
2506
|
"""
|
|
2831
2507
|
return pulumi.get(self, "write_through")
|
|
2832
2508
|
|
|
@@ -2851,18 +2527,18 @@ class VirtualMachineNetworkInterfaceArgs:
|
|
|
2851
2527
|
physical_function: Optional[pulumi.Input[str]] = None,
|
|
2852
2528
|
use_static_mac: Optional[pulumi.Input[bool]] = None):
|
|
2853
2529
|
"""
|
|
2854
|
-
:param pulumi.Input[str] network_id: The ID of the network to connect
|
|
2855
|
-
:param pulumi.Input[str] adapter_type: The
|
|
2856
|
-
:param pulumi.Input[int] bandwidth_limit: The upper bandwidth limit of
|
|
2857
|
-
:param pulumi.Input[int] bandwidth_reservation: The bandwidth reservation of
|
|
2858
|
-
:param pulumi.Input[int] bandwidth_share_count: The share count for
|
|
2859
|
-
:param pulumi.Input[str] bandwidth_share_level: The bandwidth share allocation level for
|
|
2530
|
+
:param pulumi.Input[str] network_id: The [managed object reference ID][docs-about-morefs] of the network on which to connect the virtual machine network interface.
|
|
2531
|
+
:param pulumi.Input[str] adapter_type: The network interface type. One of `e1000`, `e1000e`, `sriov`, or `vmxnet3`. Default: `vmxnet3`.
|
|
2532
|
+
:param pulumi.Input[int] bandwidth_limit: The upper bandwidth limit of the network interface, in Mbits/sec. The default is no limit. Ignored if `adapter_type` is set to `sriov`.
|
|
2533
|
+
:param pulumi.Input[int] bandwidth_reservation: The bandwidth reservation of the network interface, in Mbits/sec. The default is no reservation.
|
|
2534
|
+
:param pulumi.Input[int] bandwidth_share_count: The share count for the network interface when the share level is `custom`. Ignored if `adapter_type` is set to `sriov`.
|
|
2535
|
+
:param pulumi.Input[str] bandwidth_share_level: The bandwidth share allocation level for the network interface. One of `low`, `normal`, `high`, or `custom`. Default: `normal`. Ignored if `adapter_type` is set to `sriov`.
|
|
2860
2536
|
:param pulumi.Input[str] device_address: The internally-computed address of this device, such as scsi:0:1, denoting scsi bus #0 and device unit 1.
|
|
2861
2537
|
:param pulumi.Input[int] key: The ID of the device within the virtual machine.
|
|
2862
|
-
:param pulumi.Input[str] mac_address: The MAC address of
|
|
2863
|
-
:param pulumi.Input[str] ovf_mapping:
|
|
2538
|
+
:param pulumi.Input[str] mac_address: The MAC address of the network interface. Can only be manually set if `use_static_mac` is `true`. Otherwise, the value is computed and presents the assigned MAC address for the interface.
|
|
2539
|
+
:param pulumi.Input[str] ovf_mapping: Specifies which NIC in an OVF/OVA the `network_interface` should be associated. Only applies at creation when deploying from an OVF/OVA.
|
|
2864
2540
|
:param pulumi.Input[str] physical_function: The ID of the Physical SR-IOV NIC to attach to, e.g. '0000:d8:00.0'
|
|
2865
|
-
:param pulumi.Input[bool] use_static_mac: If true, the mac_address field is treated as a static MAC address and set accordingly.
|
|
2541
|
+
:param pulumi.Input[bool] use_static_mac: If true, the `mac_address` field is treated as a static MAC address and set accordingly. Setting this to `true` requires `mac_address` to be set. Default: `false`.
|
|
2866
2542
|
"""
|
|
2867
2543
|
pulumi.set(__self__, "network_id", network_id)
|
|
2868
2544
|
if adapter_type is not None:
|
|
@@ -2892,7 +2568,7 @@ class VirtualMachineNetworkInterfaceArgs:
|
|
|
2892
2568
|
@pulumi.getter(name="networkId")
|
|
2893
2569
|
def network_id(self) -> pulumi.Input[str]:
|
|
2894
2570
|
"""
|
|
2895
|
-
The ID of the network to connect
|
|
2571
|
+
The [managed object reference ID][docs-about-morefs] of the network on which to connect the virtual machine network interface.
|
|
2896
2572
|
"""
|
|
2897
2573
|
return pulumi.get(self, "network_id")
|
|
2898
2574
|
|
|
@@ -2904,7 +2580,7 @@ class VirtualMachineNetworkInterfaceArgs:
|
|
|
2904
2580
|
@pulumi.getter(name="adapterType")
|
|
2905
2581
|
def adapter_type(self) -> Optional[pulumi.Input[str]]:
|
|
2906
2582
|
"""
|
|
2907
|
-
The
|
|
2583
|
+
The network interface type. One of `e1000`, `e1000e`, `sriov`, or `vmxnet3`. Default: `vmxnet3`.
|
|
2908
2584
|
"""
|
|
2909
2585
|
return pulumi.get(self, "adapter_type")
|
|
2910
2586
|
|
|
@@ -2916,7 +2592,7 @@ class VirtualMachineNetworkInterfaceArgs:
|
|
|
2916
2592
|
@pulumi.getter(name="bandwidthLimit")
|
|
2917
2593
|
def bandwidth_limit(self) -> Optional[pulumi.Input[int]]:
|
|
2918
2594
|
"""
|
|
2919
|
-
The upper bandwidth limit of
|
|
2595
|
+
The upper bandwidth limit of the network interface, in Mbits/sec. The default is no limit. Ignored if `adapter_type` is set to `sriov`.
|
|
2920
2596
|
"""
|
|
2921
2597
|
return pulumi.get(self, "bandwidth_limit")
|
|
2922
2598
|
|
|
@@ -2928,7 +2604,7 @@ class VirtualMachineNetworkInterfaceArgs:
|
|
|
2928
2604
|
@pulumi.getter(name="bandwidthReservation")
|
|
2929
2605
|
def bandwidth_reservation(self) -> Optional[pulumi.Input[int]]:
|
|
2930
2606
|
"""
|
|
2931
|
-
The bandwidth reservation of
|
|
2607
|
+
The bandwidth reservation of the network interface, in Mbits/sec. The default is no reservation.
|
|
2932
2608
|
"""
|
|
2933
2609
|
return pulumi.get(self, "bandwidth_reservation")
|
|
2934
2610
|
|
|
@@ -2940,7 +2616,7 @@ class VirtualMachineNetworkInterfaceArgs:
|
|
|
2940
2616
|
@pulumi.getter(name="bandwidthShareCount")
|
|
2941
2617
|
def bandwidth_share_count(self) -> Optional[pulumi.Input[int]]:
|
|
2942
2618
|
"""
|
|
2943
|
-
The share count for
|
|
2619
|
+
The share count for the network interface when the share level is `custom`. Ignored if `adapter_type` is set to `sriov`.
|
|
2944
2620
|
"""
|
|
2945
2621
|
return pulumi.get(self, "bandwidth_share_count")
|
|
2946
2622
|
|
|
@@ -2952,7 +2628,7 @@ class VirtualMachineNetworkInterfaceArgs:
|
|
|
2952
2628
|
@pulumi.getter(name="bandwidthShareLevel")
|
|
2953
2629
|
def bandwidth_share_level(self) -> Optional[pulumi.Input[str]]:
|
|
2954
2630
|
"""
|
|
2955
|
-
The bandwidth share allocation level for
|
|
2631
|
+
The bandwidth share allocation level for the network interface. One of `low`, `normal`, `high`, or `custom`. Default: `normal`. Ignored if `adapter_type` is set to `sriov`.
|
|
2956
2632
|
"""
|
|
2957
2633
|
return pulumi.get(self, "bandwidth_share_level")
|
|
2958
2634
|
|
|
@@ -2988,7 +2664,7 @@ class VirtualMachineNetworkInterfaceArgs:
|
|
|
2988
2664
|
@pulumi.getter(name="macAddress")
|
|
2989
2665
|
def mac_address(self) -> Optional[pulumi.Input[str]]:
|
|
2990
2666
|
"""
|
|
2991
|
-
The MAC address of
|
|
2667
|
+
The MAC address of the network interface. Can only be manually set if `use_static_mac` is `true`. Otherwise, the value is computed and presents the assigned MAC address for the interface.
|
|
2992
2668
|
"""
|
|
2993
2669
|
return pulumi.get(self, "mac_address")
|
|
2994
2670
|
|
|
@@ -3000,7 +2676,7 @@ class VirtualMachineNetworkInterfaceArgs:
|
|
|
3000
2676
|
@pulumi.getter(name="ovfMapping")
|
|
3001
2677
|
def ovf_mapping(self) -> Optional[pulumi.Input[str]]:
|
|
3002
2678
|
"""
|
|
3003
|
-
|
|
2679
|
+
Specifies which NIC in an OVF/OVA the `network_interface` should be associated. Only applies at creation when deploying from an OVF/OVA.
|
|
3004
2680
|
"""
|
|
3005
2681
|
return pulumi.get(self, "ovf_mapping")
|
|
3006
2682
|
|
|
@@ -3024,7 +2700,7 @@ class VirtualMachineNetworkInterfaceArgs:
|
|
|
3024
2700
|
@pulumi.getter(name="useStaticMac")
|
|
3025
2701
|
def use_static_mac(self) -> Optional[pulumi.Input[bool]]:
|
|
3026
2702
|
"""
|
|
3027
|
-
If true, the mac_address field is treated as a static MAC address and set accordingly.
|
|
2703
|
+
If true, the `mac_address` field is treated as a static MAC address and set accordingly. Setting this to `true` requires `mac_address` to be set. Default: `false`.
|
|
3028
2704
|
"""
|
|
3029
2705
|
return pulumi.get(self, "use_static_mac")
|
|
3030
2706
|
|
|
@@ -3268,10 +2944,10 @@ class VnicIpv4Args:
|
|
|
3268
2944
|
ip: Optional[pulumi.Input[str]] = None,
|
|
3269
2945
|
netmask: Optional[pulumi.Input[str]] = None):
|
|
3270
2946
|
"""
|
|
3271
|
-
:param pulumi.Input[bool] dhcp: Use DHCP to configure the interface's
|
|
3272
|
-
:param pulumi.Input[str] gw: IP address of the default gateway, if DHCP is not set.
|
|
3273
|
-
:param pulumi.Input[str] ip:
|
|
3274
|
-
:param pulumi.Input[str] netmask:
|
|
2947
|
+
:param pulumi.Input[bool] dhcp: Use DHCP to configure the interface's IPv6 stack.
|
|
2948
|
+
:param pulumi.Input[str] gw: IP address of the default gateway, if DHCP or autoconfig is not set.
|
|
2949
|
+
:param pulumi.Input[str] ip: Address of the interface, if DHCP is not set.
|
|
2950
|
+
:param pulumi.Input[str] netmask: Netmask of the interface, if DHCP is not set.
|
|
3275
2951
|
"""
|
|
3276
2952
|
if dhcp is not None:
|
|
3277
2953
|
pulumi.set(__self__, "dhcp", dhcp)
|
|
@@ -3286,7 +2962,7 @@ class VnicIpv4Args:
|
|
|
3286
2962
|
@pulumi.getter
|
|
3287
2963
|
def dhcp(self) -> Optional[pulumi.Input[bool]]:
|
|
3288
2964
|
"""
|
|
3289
|
-
Use DHCP to configure the interface's
|
|
2965
|
+
Use DHCP to configure the interface's IPv6 stack.
|
|
3290
2966
|
"""
|
|
3291
2967
|
return pulumi.get(self, "dhcp")
|
|
3292
2968
|
|
|
@@ -3298,7 +2974,7 @@ class VnicIpv4Args:
|
|
|
3298
2974
|
@pulumi.getter
|
|
3299
2975
|
def gw(self) -> Optional[pulumi.Input[str]]:
|
|
3300
2976
|
"""
|
|
3301
|
-
IP address of the default gateway, if DHCP is not set.
|
|
2977
|
+
IP address of the default gateway, if DHCP or autoconfig is not set.
|
|
3302
2978
|
"""
|
|
3303
2979
|
return pulumi.get(self, "gw")
|
|
3304
2980
|
|
|
@@ -3310,7 +2986,7 @@ class VnicIpv4Args:
|
|
|
3310
2986
|
@pulumi.getter
|
|
3311
2987
|
def ip(self) -> Optional[pulumi.Input[str]]:
|
|
3312
2988
|
"""
|
|
3313
|
-
|
|
2989
|
+
Address of the interface, if DHCP is not set.
|
|
3314
2990
|
"""
|
|
3315
2991
|
return pulumi.get(self, "ip")
|
|
3316
2992
|
|
|
@@ -3322,7 +2998,7 @@ class VnicIpv4Args:
|
|
|
3322
2998
|
@pulumi.getter
|
|
3323
2999
|
def netmask(self) -> Optional[pulumi.Input[str]]:
|
|
3324
3000
|
"""
|
|
3325
|
-
|
|
3001
|
+
Netmask of the interface, if DHCP is not set.
|
|
3326
3002
|
"""
|
|
3327
3003
|
return pulumi.get(self, "netmask")
|
|
3328
3004
|
|
|
@@ -3341,7 +3017,7 @@ class VnicIpv6Args:
|
|
|
3341
3017
|
"""
|
|
3342
3018
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] addresses: List of IPv6 addresses
|
|
3343
3019
|
:param pulumi.Input[bool] autoconfig: Use IPv6 Autoconfiguration (RFC2462).
|
|
3344
|
-
:param pulumi.Input[bool] dhcp: Use DHCP to configure the interface's
|
|
3020
|
+
:param pulumi.Input[bool] dhcp: Use DHCP to configure the interface's IPv6 stack.
|
|
3345
3021
|
:param pulumi.Input[str] gw: IP address of the default gateway, if DHCP or autoconfig is not set.
|
|
3346
3022
|
"""
|
|
3347
3023
|
if addresses is not None:
|
|
@@ -3381,7 +3057,7 @@ class VnicIpv6Args:
|
|
|
3381
3057
|
@pulumi.getter
|
|
3382
3058
|
def dhcp(self) -> Optional[pulumi.Input[bool]]:
|
|
3383
3059
|
"""
|
|
3384
|
-
Use DHCP to configure the interface's
|
|
3060
|
+
Use DHCP to configure the interface's IPv6 stack.
|
|
3385
3061
|
"""
|
|
3386
3062
|
return pulumi.get(self, "dhcp")
|
|
3387
3063
|
|