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/outputs.py
CHANGED
|
@@ -11,8 +11,6 @@ from . import _utilities
|
|
|
11
11
|
from . import outputs
|
|
12
12
|
|
|
13
13
|
__all__ = [
|
|
14
|
-
'ComputeClusterHostImage',
|
|
15
|
-
'ComputeClusterHostImageComponent',
|
|
16
14
|
'ComputeClusterVsanDiskGroup',
|
|
17
15
|
'ComputeClusterVsanFaultDomain',
|
|
18
16
|
'ComputeClusterVsanFaultDomainFaultDomain',
|
|
@@ -29,13 +27,6 @@ __all__ = [
|
|
|
29
27
|
'GuestOsCustomizationSpecNetworkInterface',
|
|
30
28
|
'GuestOsCustomizationSpecWindowsOptions',
|
|
31
29
|
'HostPortGroupPort',
|
|
32
|
-
'OfflineSoftwareDepotComponent',
|
|
33
|
-
'SupervisorEgressCidr',
|
|
34
|
-
'SupervisorIngressCidr',
|
|
35
|
-
'SupervisorManagementNetwork',
|
|
36
|
-
'SupervisorNamespace',
|
|
37
|
-
'SupervisorPodCidr',
|
|
38
|
-
'SupervisorServiceCidr',
|
|
39
30
|
'VirtualMachineCdrom',
|
|
40
31
|
'VirtualMachineClone',
|
|
41
32
|
'VirtualMachineCloneCustomizationSpec',
|
|
@@ -60,93 +51,14 @@ __all__ = [
|
|
|
60
51
|
'GetVirtualMachineVappResult',
|
|
61
52
|
]
|
|
62
53
|
|
|
63
|
-
@pulumi.output_type
|
|
64
|
-
class ComputeClusterHostImage(dict):
|
|
65
|
-
@staticmethod
|
|
66
|
-
def __key_warning(key: str):
|
|
67
|
-
suggest = None
|
|
68
|
-
if key == "esxVersion":
|
|
69
|
-
suggest = "esx_version"
|
|
70
|
-
|
|
71
|
-
if suggest:
|
|
72
|
-
pulumi.log.warn(f"Key '{key}' not found in ComputeClusterHostImage. Access the value via the '{suggest}' property getter instead.")
|
|
73
|
-
|
|
74
|
-
def __getitem__(self, key: str) -> Any:
|
|
75
|
-
ComputeClusterHostImage.__key_warning(key)
|
|
76
|
-
return super().__getitem__(key)
|
|
77
|
-
|
|
78
|
-
def get(self, key: str, default = None) -> Any:
|
|
79
|
-
ComputeClusterHostImage.__key_warning(key)
|
|
80
|
-
return super().get(key, default)
|
|
81
|
-
|
|
82
|
-
def __init__(__self__, *,
|
|
83
|
-
components: Optional[Sequence['outputs.ComputeClusterHostImageComponent']] = None,
|
|
84
|
-
esx_version: Optional[str] = None):
|
|
85
|
-
"""
|
|
86
|
-
:param Sequence['ComputeClusterHostImageComponentArgs'] components: List of custom components.
|
|
87
|
-
:param str esx_version: The ESXi version which the image is based on.
|
|
88
|
-
"""
|
|
89
|
-
if components is not None:
|
|
90
|
-
pulumi.set(__self__, "components", components)
|
|
91
|
-
if esx_version is not None:
|
|
92
|
-
pulumi.set(__self__, "esx_version", esx_version)
|
|
93
|
-
|
|
94
|
-
@property
|
|
95
|
-
@pulumi.getter
|
|
96
|
-
def components(self) -> Optional[Sequence['outputs.ComputeClusterHostImageComponent']]:
|
|
97
|
-
"""
|
|
98
|
-
List of custom components.
|
|
99
|
-
"""
|
|
100
|
-
return pulumi.get(self, "components")
|
|
101
|
-
|
|
102
|
-
@property
|
|
103
|
-
@pulumi.getter(name="esxVersion")
|
|
104
|
-
def esx_version(self) -> Optional[str]:
|
|
105
|
-
"""
|
|
106
|
-
The ESXi version which the image is based on.
|
|
107
|
-
"""
|
|
108
|
-
return pulumi.get(self, "esx_version")
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
@pulumi.output_type
|
|
112
|
-
class ComputeClusterHostImageComponent(dict):
|
|
113
|
-
def __init__(__self__, *,
|
|
114
|
-
key: Optional[str] = None,
|
|
115
|
-
version: Optional[str] = None):
|
|
116
|
-
"""
|
|
117
|
-
:param str key: The identifier for the component.
|
|
118
|
-
:param str version: The version to use.
|
|
119
|
-
"""
|
|
120
|
-
if key is not None:
|
|
121
|
-
pulumi.set(__self__, "key", key)
|
|
122
|
-
if version is not None:
|
|
123
|
-
pulumi.set(__self__, "version", version)
|
|
124
|
-
|
|
125
|
-
@property
|
|
126
|
-
@pulumi.getter
|
|
127
|
-
def key(self) -> Optional[str]:
|
|
128
|
-
"""
|
|
129
|
-
The identifier for the component.
|
|
130
|
-
"""
|
|
131
|
-
return pulumi.get(self, "key")
|
|
132
|
-
|
|
133
|
-
@property
|
|
134
|
-
@pulumi.getter
|
|
135
|
-
def version(self) -> Optional[str]:
|
|
136
|
-
"""
|
|
137
|
-
The version to use.
|
|
138
|
-
"""
|
|
139
|
-
return pulumi.get(self, "version")
|
|
140
|
-
|
|
141
|
-
|
|
142
54
|
@pulumi.output_type
|
|
143
55
|
class ComputeClusterVsanDiskGroup(dict):
|
|
144
56
|
def __init__(__self__, *,
|
|
145
57
|
cache: Optional[str] = None,
|
|
146
58
|
storages: Optional[Sequence[str]] = None):
|
|
147
59
|
"""
|
|
148
|
-
:param str cache:
|
|
149
|
-
:param Sequence[str] storages:
|
|
60
|
+
:param str cache: The canonical name of the disk to use for vSAN cache.
|
|
61
|
+
:param Sequence[str] storages: An array of disk canonical names for vSAN storage.
|
|
150
62
|
"""
|
|
151
63
|
if cache is not None:
|
|
152
64
|
pulumi.set(__self__, "cache", cache)
|
|
@@ -157,7 +69,7 @@ class ComputeClusterVsanDiskGroup(dict):
|
|
|
157
69
|
@pulumi.getter
|
|
158
70
|
def cache(self) -> Optional[str]:
|
|
159
71
|
"""
|
|
160
|
-
|
|
72
|
+
The canonical name of the disk to use for vSAN cache.
|
|
161
73
|
"""
|
|
162
74
|
return pulumi.get(self, "cache")
|
|
163
75
|
|
|
@@ -165,7 +77,7 @@ class ComputeClusterVsanDiskGroup(dict):
|
|
|
165
77
|
@pulumi.getter
|
|
166
78
|
def storages(self) -> Optional[Sequence[str]]:
|
|
167
79
|
"""
|
|
168
|
-
|
|
80
|
+
An array of disk canonical names for vSAN storage.
|
|
169
81
|
"""
|
|
170
82
|
return pulumi.get(self, "storages")
|
|
171
83
|
|
|
@@ -289,8 +201,56 @@ class ComputeClusterVsanStretchedCluster(dict):
|
|
|
289
201
|
:param Sequence[str] preferred_fault_domain_host_ids: The managed object IDs of the hosts to put in the first fault domain.
|
|
290
202
|
:param Sequence[str] secondary_fault_domain_host_ids: The managed object IDs of the hosts to put in the second fault domain.
|
|
291
203
|
:param str witness_node: The managed object IDs of the host selected as witness node when enable stretched cluster.
|
|
292
|
-
:param str preferred_fault_domain_name: The name of
|
|
293
|
-
:param str secondary_fault_domain_name: The name of
|
|
204
|
+
:param str preferred_fault_domain_name: The name of first fault domain. Default is `Preferred`.
|
|
205
|
+
:param str secondary_fault_domain_name: The name of second fault domain. Default is `Secondary`.
|
|
206
|
+
|
|
207
|
+
> **NOTE:** You must disable vSphere HA before you enable vSAN on the cluster.
|
|
208
|
+
You can enable or re-enable vSphere HA after vSAN is configured.
|
|
209
|
+
|
|
210
|
+
<!--Start PulumiCodeChooser -->
|
|
211
|
+
```python
|
|
212
|
+
import pulumi
|
|
213
|
+
import pulumi_vsphere as vsphere
|
|
214
|
+
|
|
215
|
+
compute_cluster = vsphere.ComputeCluster("computeCluster",
|
|
216
|
+
datacenter_id=data["vsphere_datacenter"]["datacenter"]["id"],
|
|
217
|
+
host_system_ids=[[__item["id"] for __item in data["vsphere_host"]["host"]]],
|
|
218
|
+
drs_enabled=True,
|
|
219
|
+
drs_automation_level="fullyAutomated",
|
|
220
|
+
ha_enabled=False,
|
|
221
|
+
vsan_enabled=True,
|
|
222
|
+
vsan_esa_enabled=True,
|
|
223
|
+
vsan_dedup_enabled=True,
|
|
224
|
+
vsan_compression_enabled=True,
|
|
225
|
+
vsan_performance_enabled=True,
|
|
226
|
+
vsan_verbose_mode_enabled=True,
|
|
227
|
+
vsan_network_diagnostic_mode_enabled=True,
|
|
228
|
+
vsan_unmap_enabled=True,
|
|
229
|
+
vsan_dit_encryption_enabled=True,
|
|
230
|
+
vsan_dit_rekey_interval=1800,
|
|
231
|
+
vsan_disk_groups=[vsphere.ComputeClusterVsanDiskGroupArgs(
|
|
232
|
+
cache=data["vsphere_vmfs_disks"]["cache_disks"],
|
|
233
|
+
storages=data["vsphere_vmfs_disks"]["storage_disks"],
|
|
234
|
+
)],
|
|
235
|
+
vsan_fault_domains=[vsphere.ComputeClusterVsanFaultDomainArgs(
|
|
236
|
+
fault_domains=[
|
|
237
|
+
vsphere.ComputeClusterVsanFaultDomainFaultDomainArgs(
|
|
238
|
+
name="fd1",
|
|
239
|
+
host_ids=[[__item["id"] for __item in data["vsphere_host"]["faultdomain1_hosts"]]],
|
|
240
|
+
),
|
|
241
|
+
vsphere.ComputeClusterVsanFaultDomainFaultDomainArgs(
|
|
242
|
+
name="fd2",
|
|
243
|
+
host_ids=[[__item["id"] for __item in data["vsphere_host"]["faultdomain2_hosts"]]],
|
|
244
|
+
),
|
|
245
|
+
],
|
|
246
|
+
)],
|
|
247
|
+
vsan_stretched_cluster=vsphere.ComputeClusterVsanStretchedClusterArgs(
|
|
248
|
+
preferred_fault_domain_host_ids=[[__item["id"] for __item in data["vsphere_host"]["preferred_fault_domain_host"]]],
|
|
249
|
+
secondary_fault_domain_host_ids=[[__item["id"] for __item in data["vsphere_host"]["secondary_fault_domain_host"]]],
|
|
250
|
+
witness_node=data["vsphere_host"]["witness_host"]["id"],
|
|
251
|
+
))
|
|
252
|
+
```
|
|
253
|
+
<!--End PulumiCodeChooser -->
|
|
294
254
|
"""
|
|
295
255
|
pulumi.set(__self__, "preferred_fault_domain_host_ids", preferred_fault_domain_host_ids)
|
|
296
256
|
pulumi.set(__self__, "secondary_fault_domain_host_ids", secondary_fault_domain_host_ids)
|
|
@@ -328,7 +288,7 @@ class ComputeClusterVsanStretchedCluster(dict):
|
|
|
328
288
|
@pulumi.getter(name="preferredFaultDomainName")
|
|
329
289
|
def preferred_fault_domain_name(self) -> Optional[str]:
|
|
330
290
|
"""
|
|
331
|
-
The name of
|
|
291
|
+
The name of first fault domain. Default is `Preferred`.
|
|
332
292
|
"""
|
|
333
293
|
return pulumi.get(self, "preferred_fault_domain_name")
|
|
334
294
|
|
|
@@ -336,7 +296,55 @@ class ComputeClusterVsanStretchedCluster(dict):
|
|
|
336
296
|
@pulumi.getter(name="secondaryFaultDomainName")
|
|
337
297
|
def secondary_fault_domain_name(self) -> Optional[str]:
|
|
338
298
|
"""
|
|
339
|
-
The name of
|
|
299
|
+
The name of second fault domain. Default is `Secondary`.
|
|
300
|
+
|
|
301
|
+
> **NOTE:** You must disable vSphere HA before you enable vSAN on the cluster.
|
|
302
|
+
You can enable or re-enable vSphere HA after vSAN is configured.
|
|
303
|
+
|
|
304
|
+
<!--Start PulumiCodeChooser -->
|
|
305
|
+
```python
|
|
306
|
+
import pulumi
|
|
307
|
+
import pulumi_vsphere as vsphere
|
|
308
|
+
|
|
309
|
+
compute_cluster = vsphere.ComputeCluster("computeCluster",
|
|
310
|
+
datacenter_id=data["vsphere_datacenter"]["datacenter"]["id"],
|
|
311
|
+
host_system_ids=[[__item["id"] for __item in data["vsphere_host"]["host"]]],
|
|
312
|
+
drs_enabled=True,
|
|
313
|
+
drs_automation_level="fullyAutomated",
|
|
314
|
+
ha_enabled=False,
|
|
315
|
+
vsan_enabled=True,
|
|
316
|
+
vsan_esa_enabled=True,
|
|
317
|
+
vsan_dedup_enabled=True,
|
|
318
|
+
vsan_compression_enabled=True,
|
|
319
|
+
vsan_performance_enabled=True,
|
|
320
|
+
vsan_verbose_mode_enabled=True,
|
|
321
|
+
vsan_network_diagnostic_mode_enabled=True,
|
|
322
|
+
vsan_unmap_enabled=True,
|
|
323
|
+
vsan_dit_encryption_enabled=True,
|
|
324
|
+
vsan_dit_rekey_interval=1800,
|
|
325
|
+
vsan_disk_groups=[vsphere.ComputeClusterVsanDiskGroupArgs(
|
|
326
|
+
cache=data["vsphere_vmfs_disks"]["cache_disks"],
|
|
327
|
+
storages=data["vsphere_vmfs_disks"]["storage_disks"],
|
|
328
|
+
)],
|
|
329
|
+
vsan_fault_domains=[vsphere.ComputeClusterVsanFaultDomainArgs(
|
|
330
|
+
fault_domains=[
|
|
331
|
+
vsphere.ComputeClusterVsanFaultDomainFaultDomainArgs(
|
|
332
|
+
name="fd1",
|
|
333
|
+
host_ids=[[__item["id"] for __item in data["vsphere_host"]["faultdomain1_hosts"]]],
|
|
334
|
+
),
|
|
335
|
+
vsphere.ComputeClusterVsanFaultDomainFaultDomainArgs(
|
|
336
|
+
name="fd2",
|
|
337
|
+
host_ids=[[__item["id"] for __item in data["vsphere_host"]["faultdomain2_hosts"]]],
|
|
338
|
+
),
|
|
339
|
+
],
|
|
340
|
+
)],
|
|
341
|
+
vsan_stretched_cluster=vsphere.ComputeClusterVsanStretchedClusterArgs(
|
|
342
|
+
preferred_fault_domain_host_ids=[[__item["id"] for __item in data["vsphere_host"]["preferred_fault_domain_host"]]],
|
|
343
|
+
secondary_fault_domain_host_ids=[[__item["id"] for __item in data["vsphere_host"]["secondary_fault_domain_host"]]],
|
|
344
|
+
witness_node=data["vsphere_host"]["witness_host"]["id"],
|
|
345
|
+
))
|
|
346
|
+
```
|
|
347
|
+
<!--End PulumiCodeChooser -->
|
|
340
348
|
"""
|
|
341
349
|
return pulumi.get(self, "secondary_fault_domain_name")
|
|
342
350
|
|
|
@@ -369,11 +377,11 @@ class ContentLibraryPublication(dict):
|
|
|
369
377
|
published: Optional[bool] = None,
|
|
370
378
|
username: Optional[str] = None):
|
|
371
379
|
"""
|
|
372
|
-
:param str authentication_method:
|
|
373
|
-
:param str password: Password used
|
|
380
|
+
:param str authentication_method: Authentication method to connect ro a published content library. Must be `NONE` or `BASIC`.
|
|
381
|
+
:param str password: Password used for authentication.
|
|
374
382
|
:param str publish_url: The URL of the published content library.
|
|
375
383
|
:param bool published: Publish the content library. Default `false`.
|
|
376
|
-
:param str username: Username used
|
|
384
|
+
:param str username: Username used for authentication.
|
|
377
385
|
"""
|
|
378
386
|
if authentication_method is not None:
|
|
379
387
|
pulumi.set(__self__, "authentication_method", authentication_method)
|
|
@@ -390,7 +398,7 @@ class ContentLibraryPublication(dict):
|
|
|
390
398
|
@pulumi.getter(name="authenticationMethod")
|
|
391
399
|
def authentication_method(self) -> Optional[str]:
|
|
392
400
|
"""
|
|
393
|
-
|
|
401
|
+
Authentication method to connect ro a published content library. Must be `NONE` or `BASIC`.
|
|
394
402
|
"""
|
|
395
403
|
return pulumi.get(self, "authentication_method")
|
|
396
404
|
|
|
@@ -398,7 +406,7 @@ class ContentLibraryPublication(dict):
|
|
|
398
406
|
@pulumi.getter
|
|
399
407
|
def password(self) -> Optional[str]:
|
|
400
408
|
"""
|
|
401
|
-
Password used
|
|
409
|
+
Password used for authentication.
|
|
402
410
|
"""
|
|
403
411
|
return pulumi.get(self, "password")
|
|
404
412
|
|
|
@@ -422,7 +430,7 @@ class ContentLibraryPublication(dict):
|
|
|
422
430
|
@pulumi.getter
|
|
423
431
|
def username(self) -> Optional[str]:
|
|
424
432
|
"""
|
|
425
|
-
Username used
|
|
433
|
+
Username used for authentication.
|
|
426
434
|
"""
|
|
427
435
|
return pulumi.get(self, "username")
|
|
428
436
|
|
|
@@ -600,8 +608,10 @@ class DistributedVirtualSwitchHost(dict):
|
|
|
600
608
|
host_system_id: str,
|
|
601
609
|
devices: Optional[Sequence[str]] = None):
|
|
602
610
|
"""
|
|
603
|
-
:param str host_system_id: The
|
|
604
|
-
|
|
611
|
+
:param str host_system_id: The host system ID of the host to add to the
|
|
612
|
+
VDS.
|
|
613
|
+
:param Sequence[str] devices: The list of NIC devices to map to uplinks on the VDS,
|
|
614
|
+
added in order they are specified.
|
|
605
615
|
"""
|
|
606
616
|
pulumi.set(__self__, "host_system_id", host_system_id)
|
|
607
617
|
if devices is not None:
|
|
@@ -611,7 +621,8 @@ class DistributedVirtualSwitchHost(dict):
|
|
|
611
621
|
@pulumi.getter(name="hostSystemId")
|
|
612
622
|
def host_system_id(self) -> str:
|
|
613
623
|
"""
|
|
614
|
-
The
|
|
624
|
+
The host system ID of the host to add to the
|
|
625
|
+
VDS.
|
|
615
626
|
"""
|
|
616
627
|
return pulumi.get(self, "host_system_id")
|
|
617
628
|
|
|
@@ -619,7 +630,8 @@ class DistributedVirtualSwitchHost(dict):
|
|
|
619
630
|
@pulumi.getter
|
|
620
631
|
def devices(self) -> Optional[Sequence[str]]:
|
|
621
632
|
"""
|
|
622
|
-
|
|
633
|
+
The list of NIC devices to map to uplinks on the VDS,
|
|
634
|
+
added in order they are specified.
|
|
623
635
|
"""
|
|
624
636
|
return pulumi.get(self, "devices")
|
|
625
637
|
|
|
@@ -652,9 +664,12 @@ class DistributedVirtualSwitchPvlanMapping(dict):
|
|
|
652
664
|
pvlan_type: str,
|
|
653
665
|
secondary_vlan_id: int):
|
|
654
666
|
"""
|
|
655
|
-
:param int primary_vlan_id: The primary VLAN ID. The VLAN IDs of 0 and
|
|
656
|
-
|
|
657
|
-
:param
|
|
667
|
+
:param int primary_vlan_id: The primary VLAN ID. The VLAN IDs of 0 and
|
|
668
|
+
4095 are reserved and cannot be used in this property.
|
|
669
|
+
:param str pvlan_type: The private VLAN type. Valid values are
|
|
670
|
+
promiscuous, community and isolated.
|
|
671
|
+
:param int secondary_vlan_id: The secondary VLAN ID. The VLAN IDs of 0
|
|
672
|
+
and 4095 are reserved and cannot be used in this property.
|
|
658
673
|
"""
|
|
659
674
|
pulumi.set(__self__, "primary_vlan_id", primary_vlan_id)
|
|
660
675
|
pulumi.set(__self__, "pvlan_type", pvlan_type)
|
|
@@ -664,7 +679,8 @@ class DistributedVirtualSwitchPvlanMapping(dict):
|
|
|
664
679
|
@pulumi.getter(name="primaryVlanId")
|
|
665
680
|
def primary_vlan_id(self) -> int:
|
|
666
681
|
"""
|
|
667
|
-
The primary VLAN ID. The VLAN IDs of 0 and
|
|
682
|
+
The primary VLAN ID. The VLAN IDs of 0 and
|
|
683
|
+
4095 are reserved and cannot be used in this property.
|
|
668
684
|
"""
|
|
669
685
|
return pulumi.get(self, "primary_vlan_id")
|
|
670
686
|
|
|
@@ -672,7 +688,8 @@ class DistributedVirtualSwitchPvlanMapping(dict):
|
|
|
672
688
|
@pulumi.getter(name="pvlanType")
|
|
673
689
|
def pvlan_type(self) -> str:
|
|
674
690
|
"""
|
|
675
|
-
The private VLAN type. Valid values are
|
|
691
|
+
The private VLAN type. Valid values are
|
|
692
|
+
promiscuous, community and isolated.
|
|
676
693
|
"""
|
|
677
694
|
return pulumi.get(self, "pvlan_type")
|
|
678
695
|
|
|
@@ -680,7 +697,8 @@ class DistributedVirtualSwitchPvlanMapping(dict):
|
|
|
680
697
|
@pulumi.getter(name="secondaryVlanId")
|
|
681
698
|
def secondary_vlan_id(self) -> int:
|
|
682
699
|
"""
|
|
683
|
-
The secondary VLAN ID. The VLAN IDs of 0
|
|
700
|
+
The secondary VLAN ID. The VLAN IDs of 0
|
|
701
|
+
and 4095 are reserved and cannot be used in this property.
|
|
684
702
|
"""
|
|
685
703
|
return pulumi.get(self, "secondary_vlan_id")
|
|
686
704
|
|
|
@@ -1150,8 +1168,6 @@ class GuestOsCustomizationSpecWindowsOptions(dict):
|
|
|
1150
1168
|
suggest = "domain_admin_password"
|
|
1151
1169
|
elif key == "domainAdminUser":
|
|
1152
1170
|
suggest = "domain_admin_user"
|
|
1153
|
-
elif key == "domainOu":
|
|
1154
|
-
suggest = "domain_ou"
|
|
1155
1171
|
elif key == "fullName":
|
|
1156
1172
|
suggest = "full_name"
|
|
1157
1173
|
elif key == "joinDomain":
|
|
@@ -1183,7 +1199,6 @@ class GuestOsCustomizationSpecWindowsOptions(dict):
|
|
|
1183
1199
|
auto_logon_count: Optional[int] = None,
|
|
1184
1200
|
domain_admin_password: Optional[str] = None,
|
|
1185
1201
|
domain_admin_user: Optional[str] = None,
|
|
1186
|
-
domain_ou: Optional[str] = None,
|
|
1187
1202
|
full_name: Optional[str] = None,
|
|
1188
1203
|
join_domain: Optional[str] = None,
|
|
1189
1204
|
organization_name: Optional[str] = None,
|
|
@@ -1198,7 +1213,6 @@ class GuestOsCustomizationSpecWindowsOptions(dict):
|
|
|
1198
1213
|
:param int auto_logon_count: Specifies how many times the VM should auto-logon the Administrator account when auto_logon is true.
|
|
1199
1214
|
:param str domain_admin_password: The password of the domain administrator used to join this virtual machine to the domain.
|
|
1200
1215
|
:param str domain_admin_user: The user account of the domain administrator used to join this virtual machine to the domain.
|
|
1201
|
-
:param str domain_ou: The MachineObjectOU which specifies the full LDAP path name of the OU to which the virtual machine belongs.
|
|
1202
1216
|
:param str full_name: The full name of the user of this virtual machine.
|
|
1203
1217
|
:param str join_domain: The domain that the virtual machine should join.
|
|
1204
1218
|
:param str organization_name: The organization name this virtual machine is being installed for.
|
|
@@ -1218,8 +1232,6 @@ class GuestOsCustomizationSpecWindowsOptions(dict):
|
|
|
1218
1232
|
pulumi.set(__self__, "domain_admin_password", domain_admin_password)
|
|
1219
1233
|
if domain_admin_user is not None:
|
|
1220
1234
|
pulumi.set(__self__, "domain_admin_user", domain_admin_user)
|
|
1221
|
-
if domain_ou is not None:
|
|
1222
|
-
pulumi.set(__self__, "domain_ou", domain_ou)
|
|
1223
1235
|
if full_name is not None:
|
|
1224
1236
|
pulumi.set(__self__, "full_name", full_name)
|
|
1225
1237
|
if join_domain is not None:
|
|
@@ -1283,14 +1295,6 @@ class GuestOsCustomizationSpecWindowsOptions(dict):
|
|
|
1283
1295
|
"""
|
|
1284
1296
|
return pulumi.get(self, "domain_admin_user")
|
|
1285
1297
|
|
|
1286
|
-
@property
|
|
1287
|
-
@pulumi.getter(name="domainOu")
|
|
1288
|
-
def domain_ou(self) -> Optional[str]:
|
|
1289
|
-
"""
|
|
1290
|
-
The MachineObjectOU which specifies the full LDAP path name of the OU to which the virtual machine belongs.
|
|
1291
|
-
"""
|
|
1292
|
-
return pulumi.get(self, "domain_ou")
|
|
1293
|
-
|
|
1294
1298
|
@property
|
|
1295
1299
|
@pulumi.getter(name="fullName")
|
|
1296
1300
|
def full_name(self) -> Optional[str]:
|
|
@@ -1408,326 +1412,6 @@ class HostPortGroupPort(dict):
|
|
|
1408
1412
|
return pulumi.get(self, "type")
|
|
1409
1413
|
|
|
1410
1414
|
|
|
1411
|
-
@pulumi.output_type
|
|
1412
|
-
class OfflineSoftwareDepotComponent(dict):
|
|
1413
|
-
@staticmethod
|
|
1414
|
-
def __key_warning(key: str):
|
|
1415
|
-
suggest = None
|
|
1416
|
-
if key == "displayName":
|
|
1417
|
-
suggest = "display_name"
|
|
1418
|
-
|
|
1419
|
-
if suggest:
|
|
1420
|
-
pulumi.log.warn(f"Key '{key}' not found in OfflineSoftwareDepotComponent. Access the value via the '{suggest}' property getter instead.")
|
|
1421
|
-
|
|
1422
|
-
def __getitem__(self, key: str) -> Any:
|
|
1423
|
-
OfflineSoftwareDepotComponent.__key_warning(key)
|
|
1424
|
-
return super().__getitem__(key)
|
|
1425
|
-
|
|
1426
|
-
def get(self, key: str, default = None) -> Any:
|
|
1427
|
-
OfflineSoftwareDepotComponent.__key_warning(key)
|
|
1428
|
-
return super().get(key, default)
|
|
1429
|
-
|
|
1430
|
-
def __init__(__self__, *,
|
|
1431
|
-
display_name: Optional[str] = None,
|
|
1432
|
-
key: Optional[str] = None,
|
|
1433
|
-
versions: Optional[Sequence[str]] = None):
|
|
1434
|
-
"""
|
|
1435
|
-
:param str display_name: The name of the component. Useful for easier identification.
|
|
1436
|
-
:param str key: The identifier of the component.
|
|
1437
|
-
:param Sequence[str] versions: The list of available versions of the component.
|
|
1438
|
-
"""
|
|
1439
|
-
if display_name is not None:
|
|
1440
|
-
pulumi.set(__self__, "display_name", display_name)
|
|
1441
|
-
if key is not None:
|
|
1442
|
-
pulumi.set(__self__, "key", key)
|
|
1443
|
-
if versions is not None:
|
|
1444
|
-
pulumi.set(__self__, "versions", versions)
|
|
1445
|
-
|
|
1446
|
-
@property
|
|
1447
|
-
@pulumi.getter(name="displayName")
|
|
1448
|
-
def display_name(self) -> Optional[str]:
|
|
1449
|
-
"""
|
|
1450
|
-
The name of the component. Useful for easier identification.
|
|
1451
|
-
"""
|
|
1452
|
-
return pulumi.get(self, "display_name")
|
|
1453
|
-
|
|
1454
|
-
@property
|
|
1455
|
-
@pulumi.getter
|
|
1456
|
-
def key(self) -> Optional[str]:
|
|
1457
|
-
"""
|
|
1458
|
-
The identifier of the component.
|
|
1459
|
-
"""
|
|
1460
|
-
return pulumi.get(self, "key")
|
|
1461
|
-
|
|
1462
|
-
@property
|
|
1463
|
-
@pulumi.getter
|
|
1464
|
-
def versions(self) -> Optional[Sequence[str]]:
|
|
1465
|
-
"""
|
|
1466
|
-
The list of available versions of the component.
|
|
1467
|
-
"""
|
|
1468
|
-
return pulumi.get(self, "versions")
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
@pulumi.output_type
|
|
1472
|
-
class SupervisorEgressCidr(dict):
|
|
1473
|
-
def __init__(__self__, *,
|
|
1474
|
-
address: str,
|
|
1475
|
-
prefix: int):
|
|
1476
|
-
"""
|
|
1477
|
-
:param str address: Network address.
|
|
1478
|
-
:param int prefix: Subnet prefix.
|
|
1479
|
-
"""
|
|
1480
|
-
pulumi.set(__self__, "address", address)
|
|
1481
|
-
pulumi.set(__self__, "prefix", prefix)
|
|
1482
|
-
|
|
1483
|
-
@property
|
|
1484
|
-
@pulumi.getter
|
|
1485
|
-
def address(self) -> str:
|
|
1486
|
-
"""
|
|
1487
|
-
Network address.
|
|
1488
|
-
"""
|
|
1489
|
-
return pulumi.get(self, "address")
|
|
1490
|
-
|
|
1491
|
-
@property
|
|
1492
|
-
@pulumi.getter
|
|
1493
|
-
def prefix(self) -> int:
|
|
1494
|
-
"""
|
|
1495
|
-
Subnet prefix.
|
|
1496
|
-
"""
|
|
1497
|
-
return pulumi.get(self, "prefix")
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
@pulumi.output_type
|
|
1501
|
-
class SupervisorIngressCidr(dict):
|
|
1502
|
-
def __init__(__self__, *,
|
|
1503
|
-
address: str,
|
|
1504
|
-
prefix: int):
|
|
1505
|
-
"""
|
|
1506
|
-
:param str address: Network address.
|
|
1507
|
-
:param int prefix: Subnet prefix.
|
|
1508
|
-
"""
|
|
1509
|
-
pulumi.set(__self__, "address", address)
|
|
1510
|
-
pulumi.set(__self__, "prefix", prefix)
|
|
1511
|
-
|
|
1512
|
-
@property
|
|
1513
|
-
@pulumi.getter
|
|
1514
|
-
def address(self) -> str:
|
|
1515
|
-
"""
|
|
1516
|
-
Network address.
|
|
1517
|
-
"""
|
|
1518
|
-
return pulumi.get(self, "address")
|
|
1519
|
-
|
|
1520
|
-
@property
|
|
1521
|
-
@pulumi.getter
|
|
1522
|
-
def prefix(self) -> int:
|
|
1523
|
-
"""
|
|
1524
|
-
Subnet prefix.
|
|
1525
|
-
"""
|
|
1526
|
-
return pulumi.get(self, "prefix")
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
@pulumi.output_type
|
|
1530
|
-
class SupervisorManagementNetwork(dict):
|
|
1531
|
-
@staticmethod
|
|
1532
|
-
def __key_warning(key: str):
|
|
1533
|
-
suggest = None
|
|
1534
|
-
if key == "addressCount":
|
|
1535
|
-
suggest = "address_count"
|
|
1536
|
-
elif key == "startingAddress":
|
|
1537
|
-
suggest = "starting_address"
|
|
1538
|
-
elif key == "subnetMask":
|
|
1539
|
-
suggest = "subnet_mask"
|
|
1540
|
-
|
|
1541
|
-
if suggest:
|
|
1542
|
-
pulumi.log.warn(f"Key '{key}' not found in SupervisorManagementNetwork. Access the value via the '{suggest}' property getter instead.")
|
|
1543
|
-
|
|
1544
|
-
def __getitem__(self, key: str) -> Any:
|
|
1545
|
-
SupervisorManagementNetwork.__key_warning(key)
|
|
1546
|
-
return super().__getitem__(key)
|
|
1547
|
-
|
|
1548
|
-
def get(self, key: str, default = None) -> Any:
|
|
1549
|
-
SupervisorManagementNetwork.__key_warning(key)
|
|
1550
|
-
return super().get(key, default)
|
|
1551
|
-
|
|
1552
|
-
def __init__(__self__, *,
|
|
1553
|
-
address_count: int,
|
|
1554
|
-
gateway: str,
|
|
1555
|
-
network: str,
|
|
1556
|
-
starting_address: str,
|
|
1557
|
-
subnet_mask: str):
|
|
1558
|
-
"""
|
|
1559
|
-
:param int address_count: Number of addresses to allocate. Starts from 'starting_address'
|
|
1560
|
-
:param str gateway: Gateway IP address.
|
|
1561
|
-
:param str network: ID of the network. (e.g. a distributed port group).
|
|
1562
|
-
:param str starting_address: Starting address of the management network range.
|
|
1563
|
-
:param str subnet_mask: Subnet mask.
|
|
1564
|
-
"""
|
|
1565
|
-
pulumi.set(__self__, "address_count", address_count)
|
|
1566
|
-
pulumi.set(__self__, "gateway", gateway)
|
|
1567
|
-
pulumi.set(__self__, "network", network)
|
|
1568
|
-
pulumi.set(__self__, "starting_address", starting_address)
|
|
1569
|
-
pulumi.set(__self__, "subnet_mask", subnet_mask)
|
|
1570
|
-
|
|
1571
|
-
@property
|
|
1572
|
-
@pulumi.getter(name="addressCount")
|
|
1573
|
-
def address_count(self) -> int:
|
|
1574
|
-
"""
|
|
1575
|
-
Number of addresses to allocate. Starts from 'starting_address'
|
|
1576
|
-
"""
|
|
1577
|
-
return pulumi.get(self, "address_count")
|
|
1578
|
-
|
|
1579
|
-
@property
|
|
1580
|
-
@pulumi.getter
|
|
1581
|
-
def gateway(self) -> str:
|
|
1582
|
-
"""
|
|
1583
|
-
Gateway IP address.
|
|
1584
|
-
"""
|
|
1585
|
-
return pulumi.get(self, "gateway")
|
|
1586
|
-
|
|
1587
|
-
@property
|
|
1588
|
-
@pulumi.getter
|
|
1589
|
-
def network(self) -> str:
|
|
1590
|
-
"""
|
|
1591
|
-
ID of the network. (e.g. a distributed port group).
|
|
1592
|
-
"""
|
|
1593
|
-
return pulumi.get(self, "network")
|
|
1594
|
-
|
|
1595
|
-
@property
|
|
1596
|
-
@pulumi.getter(name="startingAddress")
|
|
1597
|
-
def starting_address(self) -> str:
|
|
1598
|
-
"""
|
|
1599
|
-
Starting address of the management network range.
|
|
1600
|
-
"""
|
|
1601
|
-
return pulumi.get(self, "starting_address")
|
|
1602
|
-
|
|
1603
|
-
@property
|
|
1604
|
-
@pulumi.getter(name="subnetMask")
|
|
1605
|
-
def subnet_mask(self) -> str:
|
|
1606
|
-
"""
|
|
1607
|
-
Subnet mask.
|
|
1608
|
-
"""
|
|
1609
|
-
return pulumi.get(self, "subnet_mask")
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
@pulumi.output_type
|
|
1613
|
-
class SupervisorNamespace(dict):
|
|
1614
|
-
@staticmethod
|
|
1615
|
-
def __key_warning(key: str):
|
|
1616
|
-
suggest = None
|
|
1617
|
-
if key == "contentLibraries":
|
|
1618
|
-
suggest = "content_libraries"
|
|
1619
|
-
elif key == "vmClasses":
|
|
1620
|
-
suggest = "vm_classes"
|
|
1621
|
-
|
|
1622
|
-
if suggest:
|
|
1623
|
-
pulumi.log.warn(f"Key '{key}' not found in SupervisorNamespace. Access the value via the '{suggest}' property getter instead.")
|
|
1624
|
-
|
|
1625
|
-
def __getitem__(self, key: str) -> Any:
|
|
1626
|
-
SupervisorNamespace.__key_warning(key)
|
|
1627
|
-
return super().__getitem__(key)
|
|
1628
|
-
|
|
1629
|
-
def get(self, key: str, default = None) -> Any:
|
|
1630
|
-
SupervisorNamespace.__key_warning(key)
|
|
1631
|
-
return super().get(key, default)
|
|
1632
|
-
|
|
1633
|
-
def __init__(__self__, *,
|
|
1634
|
-
name: str,
|
|
1635
|
-
content_libraries: Optional[Sequence[str]] = None,
|
|
1636
|
-
vm_classes: Optional[Sequence[str]] = None):
|
|
1637
|
-
"""
|
|
1638
|
-
:param str name: The name of the namespace.
|
|
1639
|
-
:param Sequence[str] content_libraries: A list of content libraries.
|
|
1640
|
-
:param Sequence[str] vm_classes: A list of virtual machine classes.
|
|
1641
|
-
"""
|
|
1642
|
-
pulumi.set(__self__, "name", name)
|
|
1643
|
-
if content_libraries is not None:
|
|
1644
|
-
pulumi.set(__self__, "content_libraries", content_libraries)
|
|
1645
|
-
if vm_classes is not None:
|
|
1646
|
-
pulumi.set(__self__, "vm_classes", vm_classes)
|
|
1647
|
-
|
|
1648
|
-
@property
|
|
1649
|
-
@pulumi.getter
|
|
1650
|
-
def name(self) -> str:
|
|
1651
|
-
"""
|
|
1652
|
-
The name of the namespace.
|
|
1653
|
-
"""
|
|
1654
|
-
return pulumi.get(self, "name")
|
|
1655
|
-
|
|
1656
|
-
@property
|
|
1657
|
-
@pulumi.getter(name="contentLibraries")
|
|
1658
|
-
def content_libraries(self) -> Optional[Sequence[str]]:
|
|
1659
|
-
"""
|
|
1660
|
-
A list of content libraries.
|
|
1661
|
-
"""
|
|
1662
|
-
return pulumi.get(self, "content_libraries")
|
|
1663
|
-
|
|
1664
|
-
@property
|
|
1665
|
-
@pulumi.getter(name="vmClasses")
|
|
1666
|
-
def vm_classes(self) -> Optional[Sequence[str]]:
|
|
1667
|
-
"""
|
|
1668
|
-
A list of virtual machine classes.
|
|
1669
|
-
"""
|
|
1670
|
-
return pulumi.get(self, "vm_classes")
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
@pulumi.output_type
|
|
1674
|
-
class SupervisorPodCidr(dict):
|
|
1675
|
-
def __init__(__self__, *,
|
|
1676
|
-
address: str,
|
|
1677
|
-
prefix: int):
|
|
1678
|
-
"""
|
|
1679
|
-
:param str address: Network address.
|
|
1680
|
-
:param int prefix: Subnet prefix.
|
|
1681
|
-
"""
|
|
1682
|
-
pulumi.set(__self__, "address", address)
|
|
1683
|
-
pulumi.set(__self__, "prefix", prefix)
|
|
1684
|
-
|
|
1685
|
-
@property
|
|
1686
|
-
@pulumi.getter
|
|
1687
|
-
def address(self) -> str:
|
|
1688
|
-
"""
|
|
1689
|
-
Network address.
|
|
1690
|
-
"""
|
|
1691
|
-
return pulumi.get(self, "address")
|
|
1692
|
-
|
|
1693
|
-
@property
|
|
1694
|
-
@pulumi.getter
|
|
1695
|
-
def prefix(self) -> int:
|
|
1696
|
-
"""
|
|
1697
|
-
Subnet prefix.
|
|
1698
|
-
"""
|
|
1699
|
-
return pulumi.get(self, "prefix")
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
@pulumi.output_type
|
|
1703
|
-
class SupervisorServiceCidr(dict):
|
|
1704
|
-
def __init__(__self__, *,
|
|
1705
|
-
address: str,
|
|
1706
|
-
prefix: int):
|
|
1707
|
-
"""
|
|
1708
|
-
:param str address: Network address.
|
|
1709
|
-
:param int prefix: Subnet prefix.
|
|
1710
|
-
"""
|
|
1711
|
-
pulumi.set(__self__, "address", address)
|
|
1712
|
-
pulumi.set(__self__, "prefix", prefix)
|
|
1713
|
-
|
|
1714
|
-
@property
|
|
1715
|
-
@pulumi.getter
|
|
1716
|
-
def address(self) -> str:
|
|
1717
|
-
"""
|
|
1718
|
-
Network address.
|
|
1719
|
-
"""
|
|
1720
|
-
return pulumi.get(self, "address")
|
|
1721
|
-
|
|
1722
|
-
@property
|
|
1723
|
-
@pulumi.getter
|
|
1724
|
-
def prefix(self) -> int:
|
|
1725
|
-
"""
|
|
1726
|
-
Subnet prefix.
|
|
1727
|
-
"""
|
|
1728
|
-
return pulumi.get(self, "prefix")
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
1415
|
@pulumi.output_type
|
|
1732
1416
|
class VirtualMachineCdrom(dict):
|
|
1733
1417
|
@staticmethod
|
|
@@ -1758,11 +1442,15 @@ class VirtualMachineCdrom(dict):
|
|
|
1758
1442
|
key: Optional[int] = None,
|
|
1759
1443
|
path: Optional[str] = None):
|
|
1760
1444
|
"""
|
|
1761
|
-
:param bool client_device: Indicates whether the device should be
|
|
1762
|
-
:param str datastore_id: The datastore ID the ISO is located
|
|
1445
|
+
:param bool client_device: Indicates whether the device should be backed by remote client device. Conflicts with `datastore_id` and `path`.
|
|
1446
|
+
:param str datastore_id: The datastore ID that on which the ISO is located. Required for using a datastore ISO. Conflicts with `client_device`.
|
|
1763
1447
|
:param str device_address: The internally-computed address of this device, such as scsi:0:1, denoting scsi bus #0 and device unit 1.
|
|
1764
1448
|
:param int key: The ID of the device within the virtual machine.
|
|
1765
|
-
:param str path: The path to the ISO file
|
|
1449
|
+
:param str path: The path to the ISO file. Required for using a datastore ISO. Conflicts with `client_device`.
|
|
1450
|
+
|
|
1451
|
+
> **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 .
|
|
1452
|
+
|
|
1453
|
+
> **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.
|
|
1766
1454
|
"""
|
|
1767
1455
|
if client_device is not None:
|
|
1768
1456
|
pulumi.set(__self__, "client_device", client_device)
|
|
@@ -1779,7 +1467,7 @@ class VirtualMachineCdrom(dict):
|
|
|
1779
1467
|
@pulumi.getter(name="clientDevice")
|
|
1780
1468
|
def client_device(self) -> Optional[bool]:
|
|
1781
1469
|
"""
|
|
1782
|
-
Indicates whether the device should be
|
|
1470
|
+
Indicates whether the device should be backed by remote client device. Conflicts with `datastore_id` and `path`.
|
|
1783
1471
|
"""
|
|
1784
1472
|
return pulumi.get(self, "client_device")
|
|
1785
1473
|
|
|
@@ -1787,7 +1475,7 @@ class VirtualMachineCdrom(dict):
|
|
|
1787
1475
|
@pulumi.getter(name="datastoreId")
|
|
1788
1476
|
def datastore_id(self) -> Optional[str]:
|
|
1789
1477
|
"""
|
|
1790
|
-
The datastore ID the ISO is located
|
|
1478
|
+
The datastore ID that on which the ISO is located. Required for using a datastore ISO. Conflicts with `client_device`.
|
|
1791
1479
|
"""
|
|
1792
1480
|
return pulumi.get(self, "datastore_id")
|
|
1793
1481
|
|
|
@@ -1811,7 +1499,11 @@ class VirtualMachineCdrom(dict):
|
|
|
1811
1499
|
@pulumi.getter
|
|
1812
1500
|
def path(self) -> Optional[str]:
|
|
1813
1501
|
"""
|
|
1814
|
-
The path to the ISO file
|
|
1502
|
+
The path to the ISO file. Required for using a datastore ISO. Conflicts with `client_device`.
|
|
1503
|
+
|
|
1504
|
+
> **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 .
|
|
1505
|
+
|
|
1506
|
+
> **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.
|
|
1815
1507
|
"""
|
|
1816
1508
|
return pulumi.get(self, "path")
|
|
1817
1509
|
|
|
@@ -2010,7 +1702,7 @@ class VirtualMachineCloneCustomize(dict):
|
|
|
2010
1702
|
:param 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.
|
|
2011
1703
|
:param 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.
|
|
2012
1704
|
:param 'VirtualMachineCloneCustomizeLinuxOptionsArgs' linux_options: A list of configuration options specific to Linux virtual machines.
|
|
2013
|
-
:param Sequence['VirtualMachineCloneCustomizeNetworkInterfaceArgs'] network_interfaces: A specification
|
|
1705
|
+
:param Sequence['VirtualMachineCloneCustomizeNetworkInterfaceArgs'] network_interfaces: A specification for a virtual NIC on the virtual machine. See network interface options for more information.
|
|
2014
1706
|
:param 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.
|
|
2015
1707
|
:param 'VirtualMachineCloneCustomizeWindowsOptionsArgs' windows_options: A list of configuration options specific to Windows virtual machines.
|
|
2016
1708
|
:param str windows_sysprep_text: Use this option to specify a windows sysprep file directly.
|
|
@@ -2078,7 +1770,7 @@ class VirtualMachineCloneCustomize(dict):
|
|
|
2078
1770
|
@pulumi.getter(name="networkInterfaces")
|
|
2079
1771
|
def network_interfaces(self) -> Optional[Sequence['outputs.VirtualMachineCloneCustomizeNetworkInterface']]:
|
|
2080
1772
|
"""
|
|
2081
|
-
A specification
|
|
1773
|
+
A specification for a virtual NIC on the virtual machine. See network interface options for more information.
|
|
2082
1774
|
"""
|
|
2083
1775
|
return pulumi.get(self, "network_interfaces")
|
|
2084
1776
|
|
|
@@ -2318,8 +2010,6 @@ class VirtualMachineCloneCustomizeWindowsOptions(dict):
|
|
|
2318
2010
|
suggest = "domain_admin_password"
|
|
2319
2011
|
elif key == "domainAdminUser":
|
|
2320
2012
|
suggest = "domain_admin_user"
|
|
2321
|
-
elif key == "domainOu":
|
|
2322
|
-
suggest = "domain_ou"
|
|
2323
2013
|
elif key == "fullName":
|
|
2324
2014
|
suggest = "full_name"
|
|
2325
2015
|
elif key == "joinDomain":
|
|
@@ -2351,7 +2041,6 @@ class VirtualMachineCloneCustomizeWindowsOptions(dict):
|
|
|
2351
2041
|
auto_logon_count: Optional[int] = None,
|
|
2352
2042
|
domain_admin_password: Optional[str] = None,
|
|
2353
2043
|
domain_admin_user: Optional[str] = None,
|
|
2354
|
-
domain_ou: Optional[str] = None,
|
|
2355
2044
|
full_name: Optional[str] = None,
|
|
2356
2045
|
join_domain: Optional[str] = None,
|
|
2357
2046
|
organization_name: Optional[str] = None,
|
|
@@ -2366,7 +2055,6 @@ class VirtualMachineCloneCustomizeWindowsOptions(dict):
|
|
|
2366
2055
|
:param int auto_logon_count: Specifies how many times the VM should auto-logon the Administrator account when auto_logon is true.
|
|
2367
2056
|
:param str domain_admin_password: The password of the domain administrator used to join this virtual machine to the domain.
|
|
2368
2057
|
:param str domain_admin_user: The user account of the domain administrator used to join this virtual machine to the domain.
|
|
2369
|
-
:param str domain_ou: The MachineObjectOU which specifies the full LDAP path name of the OU to which the virtual machine belongs.
|
|
2370
2058
|
:param str full_name: The full name of the user of this virtual machine.
|
|
2371
2059
|
:param str join_domain: The domain that the virtual machine should join.
|
|
2372
2060
|
:param str organization_name: The organization name this virtual machine is being installed for.
|
|
@@ -2386,8 +2074,6 @@ class VirtualMachineCloneCustomizeWindowsOptions(dict):
|
|
|
2386
2074
|
pulumi.set(__self__, "domain_admin_password", domain_admin_password)
|
|
2387
2075
|
if domain_admin_user is not None:
|
|
2388
2076
|
pulumi.set(__self__, "domain_admin_user", domain_admin_user)
|
|
2389
|
-
if domain_ou is not None:
|
|
2390
|
-
pulumi.set(__self__, "domain_ou", domain_ou)
|
|
2391
2077
|
if full_name is not None:
|
|
2392
2078
|
pulumi.set(__self__, "full_name", full_name)
|
|
2393
2079
|
if join_domain is not None:
|
|
@@ -2451,14 +2137,6 @@ class VirtualMachineCloneCustomizeWindowsOptions(dict):
|
|
|
2451
2137
|
"""
|
|
2452
2138
|
return pulumi.get(self, "domain_admin_user")
|
|
2453
2139
|
|
|
2454
|
-
@property
|
|
2455
|
-
@pulumi.getter(name="domainOu")
|
|
2456
|
-
def domain_ou(self) -> Optional[str]:
|
|
2457
|
-
"""
|
|
2458
|
-
The MachineObjectOU which specifies the full LDAP path name of the OU to which the virtual machine belongs.
|
|
2459
|
-
"""
|
|
2460
|
-
return pulumi.get(self, "domain_ou")
|
|
2461
|
-
|
|
2462
2140
|
@property
|
|
2463
2141
|
@pulumi.getter(name="fullName")
|
|
2464
2142
|
def full_name(self) -> Optional[str]:
|
|
@@ -2587,26 +2265,36 @@ class VirtualMachineDisk(dict):
|
|
|
2587
2265
|
write_through: Optional[bool] = None):
|
|
2588
2266
|
"""
|
|
2589
2267
|
:param str label: A unique label for this disk.
|
|
2590
|
-
:param bool attach:
|
|
2591
|
-
|
|
2592
|
-
|
|
2268
|
+
:param 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.
|
|
2269
|
+
|
|
2270
|
+
> **NOTE:** External disks cannot be attached when `datastore_cluster_id` is used.
|
|
2271
|
+
:param 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`.
|
|
2272
|
+
:param str datastore_id: The datastore ID that on which the ISO is located. Required for using a datastore ISO. Conflicts with `client_device`.
|
|
2593
2273
|
:param str device_address: The internally-computed address of this device, such as scsi:0:1, denoting scsi bus #0 and device unit 1.
|
|
2594
|
-
:param str disk_mode: The mode of this this virtual disk for purposes of writes and
|
|
2595
|
-
|
|
2596
|
-
|
|
2597
|
-
:param
|
|
2598
|
-
|
|
2599
|
-
|
|
2600
|
-
:param
|
|
2601
|
-
:param
|
|
2274
|
+
:param 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].
|
|
2275
|
+
|
|
2276
|
+
[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
|
|
2277
|
+
:param str disk_sharing: The sharing mode of this virtual disk. One of `sharingMultiWriter` or `sharingNone`. Default: `sharingNone`.
|
|
2278
|
+
|
|
2279
|
+
> **NOTE:** Disk sharing is only available on vSphere 6.0 and later.
|
|
2280
|
+
:param 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`.
|
|
2281
|
+
:param int io_limit: The upper limit of IOPS that this disk can use. The default is no limit.
|
|
2282
|
+
:param int io_reservation: The I/O reservation (guarantee) for the virtual disk has, in IOPS. The default is no reservation.
|
|
2283
|
+
:param int io_share_count: The share count for the virtual disk when the share level is `custom`.
|
|
2284
|
+
:param str io_share_level: The share allocation level for the virtual disk. One of `low`, `normal`, `high`, or `custom`. Default: `normal`.
|
|
2285
|
+
:param bool keep_on_remove: Keep this disk when removing the device or destroying the virtual machine. Default: `false`.
|
|
2602
2286
|
:param int key: The ID of the device within the virtual machine.
|
|
2603
|
-
:param str path: The
|
|
2604
|
-
|
|
2605
|
-
|
|
2606
|
-
|
|
2607
|
-
|
|
2608
|
-
:param
|
|
2609
|
-
:param
|
|
2287
|
+
:param str path: The path to the ISO file. Required for using a datastore ISO. Conflicts with `client_device`.
|
|
2288
|
+
|
|
2289
|
+
> **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 .
|
|
2290
|
+
|
|
2291
|
+
> **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.
|
|
2292
|
+
:param int size: The size of the disk, in GB. Must be a whole number.
|
|
2293
|
+
:param str storage_policy_id: The UUID of the storage policy to assign to the virtual disk.
|
|
2294
|
+
:param 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`.
|
|
2295
|
+
:param 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.
|
|
2296
|
+
:param str uuid: The UUID of the virtual disk VMDK file. This is used to track the virtual disk on the virtual machine.
|
|
2297
|
+
:param bool write_through: If `true`, writes for this disk are sent directly to the filesystem immediately instead of being buffered. Default: `false`.
|
|
2610
2298
|
"""
|
|
2611
2299
|
pulumi.set(__self__, "label", label)
|
|
2612
2300
|
if attach is not None:
|
|
@@ -2662,7 +2350,9 @@ class VirtualMachineDisk(dict):
|
|
|
2662
2350
|
@pulumi.getter
|
|
2663
2351
|
def attach(self) -> Optional[bool]:
|
|
2664
2352
|
"""
|
|
2665
|
-
|
|
2353
|
+
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.
|
|
2354
|
+
|
|
2355
|
+
> **NOTE:** External disks cannot be attached when `datastore_cluster_id` is used.
|
|
2666
2356
|
"""
|
|
2667
2357
|
return pulumi.get(self, "attach")
|
|
2668
2358
|
|
|
@@ -2670,7 +2360,7 @@ class VirtualMachineDisk(dict):
|
|
|
2670
2360
|
@pulumi.getter(name="controllerType")
|
|
2671
2361
|
def controller_type(self) -> Optional[str]:
|
|
2672
2362
|
"""
|
|
2673
|
-
The type of controller the
|
|
2363
|
+
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`.
|
|
2674
2364
|
"""
|
|
2675
2365
|
return pulumi.get(self, "controller_type")
|
|
2676
2366
|
|
|
@@ -2678,7 +2368,7 @@ class VirtualMachineDisk(dict):
|
|
|
2678
2368
|
@pulumi.getter(name="datastoreId")
|
|
2679
2369
|
def datastore_id(self) -> Optional[str]:
|
|
2680
2370
|
"""
|
|
2681
|
-
The datastore ID
|
|
2371
|
+
The datastore ID that on which the ISO is located. Required for using a datastore ISO. Conflicts with `client_device`.
|
|
2682
2372
|
"""
|
|
2683
2373
|
return pulumi.get(self, "datastore_id")
|
|
2684
2374
|
|
|
@@ -2694,7 +2384,9 @@ class VirtualMachineDisk(dict):
|
|
|
2694
2384
|
@pulumi.getter(name="diskMode")
|
|
2695
2385
|
def disk_mode(self) -> Optional[str]:
|
|
2696
2386
|
"""
|
|
2697
|
-
The mode of this this virtual disk for purposes of writes and
|
|
2387
|
+
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].
|
|
2388
|
+
|
|
2389
|
+
[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
|
|
2698
2390
|
"""
|
|
2699
2391
|
return pulumi.get(self, "disk_mode")
|
|
2700
2392
|
|
|
@@ -2702,7 +2394,9 @@ class VirtualMachineDisk(dict):
|
|
|
2702
2394
|
@pulumi.getter(name="diskSharing")
|
|
2703
2395
|
def disk_sharing(self) -> Optional[str]:
|
|
2704
2396
|
"""
|
|
2705
|
-
The sharing mode of this virtual disk.
|
|
2397
|
+
The sharing mode of this virtual disk. One of `sharingMultiWriter` or `sharingNone`. Default: `sharingNone`.
|
|
2398
|
+
|
|
2399
|
+
> **NOTE:** Disk sharing is only available on vSphere 6.0 and later.
|
|
2706
2400
|
"""
|
|
2707
2401
|
return pulumi.get(self, "disk_sharing")
|
|
2708
2402
|
|
|
@@ -2710,7 +2404,7 @@ class VirtualMachineDisk(dict):
|
|
|
2710
2404
|
@pulumi.getter(name="eagerlyScrub")
|
|
2711
2405
|
def eagerly_scrub(self) -> Optional[bool]:
|
|
2712
2406
|
"""
|
|
2713
|
-
|
|
2407
|
+
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`.
|
|
2714
2408
|
"""
|
|
2715
2409
|
return pulumi.get(self, "eagerly_scrub")
|
|
2716
2410
|
|
|
@@ -2718,7 +2412,7 @@ class VirtualMachineDisk(dict):
|
|
|
2718
2412
|
@pulumi.getter(name="ioLimit")
|
|
2719
2413
|
def io_limit(self) -> Optional[int]:
|
|
2720
2414
|
"""
|
|
2721
|
-
The upper limit of IOPS that this disk can use.
|
|
2415
|
+
The upper limit of IOPS that this disk can use. The default is no limit.
|
|
2722
2416
|
"""
|
|
2723
2417
|
return pulumi.get(self, "io_limit")
|
|
2724
2418
|
|
|
@@ -2726,7 +2420,7 @@ class VirtualMachineDisk(dict):
|
|
|
2726
2420
|
@pulumi.getter(name="ioReservation")
|
|
2727
2421
|
def io_reservation(self) -> Optional[int]:
|
|
2728
2422
|
"""
|
|
2729
|
-
The I/O guarantee
|
|
2423
|
+
The I/O reservation (guarantee) for the virtual disk has, in IOPS. The default is no reservation.
|
|
2730
2424
|
"""
|
|
2731
2425
|
return pulumi.get(self, "io_reservation")
|
|
2732
2426
|
|
|
@@ -2734,7 +2428,7 @@ class VirtualMachineDisk(dict):
|
|
|
2734
2428
|
@pulumi.getter(name="ioShareCount")
|
|
2735
2429
|
def io_share_count(self) -> Optional[int]:
|
|
2736
2430
|
"""
|
|
2737
|
-
The share count for
|
|
2431
|
+
The share count for the virtual disk when the share level is `custom`.
|
|
2738
2432
|
"""
|
|
2739
2433
|
return pulumi.get(self, "io_share_count")
|
|
2740
2434
|
|
|
@@ -2742,7 +2436,7 @@ class VirtualMachineDisk(dict):
|
|
|
2742
2436
|
@pulumi.getter(name="ioShareLevel")
|
|
2743
2437
|
def io_share_level(self) -> Optional[str]:
|
|
2744
2438
|
"""
|
|
2745
|
-
The share allocation level for
|
|
2439
|
+
The share allocation level for the virtual disk. One of `low`, `normal`, `high`, or `custom`. Default: `normal`.
|
|
2746
2440
|
"""
|
|
2747
2441
|
return pulumi.get(self, "io_share_level")
|
|
2748
2442
|
|
|
@@ -2750,7 +2444,7 @@ class VirtualMachineDisk(dict):
|
|
|
2750
2444
|
@pulumi.getter(name="keepOnRemove")
|
|
2751
2445
|
def keep_on_remove(self) -> Optional[bool]:
|
|
2752
2446
|
"""
|
|
2753
|
-
|
|
2447
|
+
Keep this disk when removing the device or destroying the virtual machine. Default: `false`.
|
|
2754
2448
|
"""
|
|
2755
2449
|
return pulumi.get(self, "keep_on_remove")
|
|
2756
2450
|
|
|
@@ -2766,7 +2460,11 @@ class VirtualMachineDisk(dict):
|
|
|
2766
2460
|
@pulumi.getter
|
|
2767
2461
|
def path(self) -> Optional[str]:
|
|
2768
2462
|
"""
|
|
2769
|
-
The
|
|
2463
|
+
The path to the ISO file. Required for using a datastore ISO. Conflicts with `client_device`.
|
|
2464
|
+
|
|
2465
|
+
> **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 .
|
|
2466
|
+
|
|
2467
|
+
> **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.
|
|
2770
2468
|
"""
|
|
2771
2469
|
return pulumi.get(self, "path")
|
|
2772
2470
|
|
|
@@ -2774,7 +2472,7 @@ class VirtualMachineDisk(dict):
|
|
|
2774
2472
|
@pulumi.getter
|
|
2775
2473
|
def size(self) -> Optional[int]:
|
|
2776
2474
|
"""
|
|
2777
|
-
The size of the disk, in GB.
|
|
2475
|
+
The size of the disk, in GB. Must be a whole number.
|
|
2778
2476
|
"""
|
|
2779
2477
|
return pulumi.get(self, "size")
|
|
2780
2478
|
|
|
@@ -2782,7 +2480,7 @@ class VirtualMachineDisk(dict):
|
|
|
2782
2480
|
@pulumi.getter(name="storagePolicyId")
|
|
2783
2481
|
def storage_policy_id(self) -> Optional[str]:
|
|
2784
2482
|
"""
|
|
2785
|
-
The
|
|
2483
|
+
The UUID of the storage policy to assign to the virtual disk.
|
|
2786
2484
|
"""
|
|
2787
2485
|
return pulumi.get(self, "storage_policy_id")
|
|
2788
2486
|
|
|
@@ -2790,7 +2488,7 @@ class VirtualMachineDisk(dict):
|
|
|
2790
2488
|
@pulumi.getter(name="thinProvisioned")
|
|
2791
2489
|
def thin_provisioned(self) -> Optional[bool]:
|
|
2792
2490
|
"""
|
|
2793
|
-
If true
|
|
2491
|
+
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
2492
|
"""
|
|
2795
2493
|
return pulumi.get(self, "thin_provisioned")
|
|
2796
2494
|
|
|
@@ -2798,7 +2496,7 @@ class VirtualMachineDisk(dict):
|
|
|
2798
2496
|
@pulumi.getter(name="unitNumber")
|
|
2799
2497
|
def unit_number(self) -> Optional[int]:
|
|
2800
2498
|
"""
|
|
2801
|
-
The
|
|
2499
|
+
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.
|
|
2802
2500
|
"""
|
|
2803
2501
|
return pulumi.get(self, "unit_number")
|
|
2804
2502
|
|
|
@@ -2806,7 +2504,7 @@ class VirtualMachineDisk(dict):
|
|
|
2806
2504
|
@pulumi.getter
|
|
2807
2505
|
def uuid(self) -> Optional[str]:
|
|
2808
2506
|
"""
|
|
2809
|
-
The UUID of the virtual
|
|
2507
|
+
The UUID of the virtual disk VMDK file. This is used to track the virtual disk on the virtual machine.
|
|
2810
2508
|
"""
|
|
2811
2509
|
return pulumi.get(self, "uuid")
|
|
2812
2510
|
|
|
@@ -2814,7 +2512,7 @@ class VirtualMachineDisk(dict):
|
|
|
2814
2512
|
@pulumi.getter(name="writeThrough")
|
|
2815
2513
|
def write_through(self) -> Optional[bool]:
|
|
2816
2514
|
"""
|
|
2817
|
-
If true
|
|
2515
|
+
If `true`, writes for this disk are sent directly to the filesystem immediately instead of being buffered. Default: `false`.
|
|
2818
2516
|
"""
|
|
2819
2517
|
return pulumi.get(self, "write_through")
|
|
2820
2518
|
|
|
@@ -2872,18 +2570,18 @@ class VirtualMachineNetworkInterface(dict):
|
|
|
2872
2570
|
physical_function: Optional[str] = None,
|
|
2873
2571
|
use_static_mac: Optional[bool] = None):
|
|
2874
2572
|
"""
|
|
2875
|
-
:param str network_id: The ID of the network to connect
|
|
2876
|
-
:param str adapter_type: The
|
|
2877
|
-
:param int bandwidth_limit: The upper bandwidth limit of
|
|
2878
|
-
:param int bandwidth_reservation: The bandwidth reservation of
|
|
2879
|
-
:param int bandwidth_share_count: The share count for
|
|
2880
|
-
:param str bandwidth_share_level: The bandwidth share allocation level for
|
|
2573
|
+
:param str network_id: The [managed object reference ID][docs-about-morefs] of the network on which to connect the virtual machine network interface.
|
|
2574
|
+
:param str adapter_type: The network interface type. One of `e1000`, `e1000e`, `sriov`, or `vmxnet3`. Default: `vmxnet3`.
|
|
2575
|
+
:param 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`.
|
|
2576
|
+
:param int bandwidth_reservation: The bandwidth reservation of the network interface, in Mbits/sec. The default is no reservation.
|
|
2577
|
+
:param 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`.
|
|
2578
|
+
:param 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`.
|
|
2881
2579
|
:param str device_address: The internally-computed address of this device, such as scsi:0:1, denoting scsi bus #0 and device unit 1.
|
|
2882
2580
|
:param int key: The ID of the device within the virtual machine.
|
|
2883
|
-
:param str mac_address: The MAC address of
|
|
2884
|
-
:param str ovf_mapping:
|
|
2581
|
+
:param 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.
|
|
2582
|
+
:param 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.
|
|
2885
2583
|
:param str physical_function: The ID of the Physical SR-IOV NIC to attach to, e.g. '0000:d8:00.0'
|
|
2886
|
-
:param bool use_static_mac: If true, the mac_address field is treated as a static MAC address and set accordingly.
|
|
2584
|
+
:param 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`.
|
|
2887
2585
|
"""
|
|
2888
2586
|
pulumi.set(__self__, "network_id", network_id)
|
|
2889
2587
|
if adapter_type is not None:
|
|
@@ -2913,7 +2611,7 @@ class VirtualMachineNetworkInterface(dict):
|
|
|
2913
2611
|
@pulumi.getter(name="networkId")
|
|
2914
2612
|
def network_id(self) -> str:
|
|
2915
2613
|
"""
|
|
2916
|
-
The ID of the network to connect
|
|
2614
|
+
The [managed object reference ID][docs-about-morefs] of the network on which to connect the virtual machine network interface.
|
|
2917
2615
|
"""
|
|
2918
2616
|
return pulumi.get(self, "network_id")
|
|
2919
2617
|
|
|
@@ -2921,7 +2619,7 @@ class VirtualMachineNetworkInterface(dict):
|
|
|
2921
2619
|
@pulumi.getter(name="adapterType")
|
|
2922
2620
|
def adapter_type(self) -> Optional[str]:
|
|
2923
2621
|
"""
|
|
2924
|
-
The
|
|
2622
|
+
The network interface type. One of `e1000`, `e1000e`, `sriov`, or `vmxnet3`. Default: `vmxnet3`.
|
|
2925
2623
|
"""
|
|
2926
2624
|
return pulumi.get(self, "adapter_type")
|
|
2927
2625
|
|
|
@@ -2929,7 +2627,7 @@ class VirtualMachineNetworkInterface(dict):
|
|
|
2929
2627
|
@pulumi.getter(name="bandwidthLimit")
|
|
2930
2628
|
def bandwidth_limit(self) -> Optional[int]:
|
|
2931
2629
|
"""
|
|
2932
|
-
The upper bandwidth limit of
|
|
2630
|
+
The upper bandwidth limit of the network interface, in Mbits/sec. The default is no limit. Ignored if `adapter_type` is set to `sriov`.
|
|
2933
2631
|
"""
|
|
2934
2632
|
return pulumi.get(self, "bandwidth_limit")
|
|
2935
2633
|
|
|
@@ -2937,7 +2635,7 @@ class VirtualMachineNetworkInterface(dict):
|
|
|
2937
2635
|
@pulumi.getter(name="bandwidthReservation")
|
|
2938
2636
|
def bandwidth_reservation(self) -> Optional[int]:
|
|
2939
2637
|
"""
|
|
2940
|
-
The bandwidth reservation of
|
|
2638
|
+
The bandwidth reservation of the network interface, in Mbits/sec. The default is no reservation.
|
|
2941
2639
|
"""
|
|
2942
2640
|
return pulumi.get(self, "bandwidth_reservation")
|
|
2943
2641
|
|
|
@@ -2945,7 +2643,7 @@ class VirtualMachineNetworkInterface(dict):
|
|
|
2945
2643
|
@pulumi.getter(name="bandwidthShareCount")
|
|
2946
2644
|
def bandwidth_share_count(self) -> Optional[int]:
|
|
2947
2645
|
"""
|
|
2948
|
-
The share count for
|
|
2646
|
+
The share count for the network interface when the share level is `custom`. Ignored if `adapter_type` is set to `sriov`.
|
|
2949
2647
|
"""
|
|
2950
2648
|
return pulumi.get(self, "bandwidth_share_count")
|
|
2951
2649
|
|
|
@@ -2953,7 +2651,7 @@ class VirtualMachineNetworkInterface(dict):
|
|
|
2953
2651
|
@pulumi.getter(name="bandwidthShareLevel")
|
|
2954
2652
|
def bandwidth_share_level(self) -> Optional[str]:
|
|
2955
2653
|
"""
|
|
2956
|
-
The bandwidth share allocation level for
|
|
2654
|
+
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`.
|
|
2957
2655
|
"""
|
|
2958
2656
|
return pulumi.get(self, "bandwidth_share_level")
|
|
2959
2657
|
|
|
@@ -2977,7 +2675,7 @@ class VirtualMachineNetworkInterface(dict):
|
|
|
2977
2675
|
@pulumi.getter(name="macAddress")
|
|
2978
2676
|
def mac_address(self) -> Optional[str]:
|
|
2979
2677
|
"""
|
|
2980
|
-
The MAC address of
|
|
2678
|
+
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.
|
|
2981
2679
|
"""
|
|
2982
2680
|
return pulumi.get(self, "mac_address")
|
|
2983
2681
|
|
|
@@ -2985,7 +2683,7 @@ class VirtualMachineNetworkInterface(dict):
|
|
|
2985
2683
|
@pulumi.getter(name="ovfMapping")
|
|
2986
2684
|
def ovf_mapping(self) -> Optional[str]:
|
|
2987
2685
|
"""
|
|
2988
|
-
|
|
2686
|
+
Specifies which NIC in an OVF/OVA the `network_interface` should be associated. Only applies at creation when deploying from an OVF/OVA.
|
|
2989
2687
|
"""
|
|
2990
2688
|
return pulumi.get(self, "ovf_mapping")
|
|
2991
2689
|
|
|
@@ -3001,7 +2699,7 @@ class VirtualMachineNetworkInterface(dict):
|
|
|
3001
2699
|
@pulumi.getter(name="useStaticMac")
|
|
3002
2700
|
def use_static_mac(self) -> Optional[bool]:
|
|
3003
2701
|
"""
|
|
3004
|
-
If true, the mac_address field is treated as a static MAC address and set accordingly.
|
|
2702
|
+
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`.
|
|
3005
2703
|
"""
|
|
3006
2704
|
return pulumi.get(self, "use_static_mac")
|
|
3007
2705
|
|
|
@@ -3241,10 +2939,10 @@ class VnicIpv4(dict):
|
|
|
3241
2939
|
ip: Optional[str] = None,
|
|
3242
2940
|
netmask: Optional[str] = None):
|
|
3243
2941
|
"""
|
|
3244
|
-
:param bool dhcp: Use DHCP to configure the interface's
|
|
3245
|
-
:param str gw: IP address of the default gateway, if DHCP is not set.
|
|
3246
|
-
:param str ip:
|
|
3247
|
-
:param str netmask:
|
|
2942
|
+
:param bool dhcp: Use DHCP to configure the interface's IPv6 stack.
|
|
2943
|
+
:param str gw: IP address of the default gateway, if DHCP or autoconfig is not set.
|
|
2944
|
+
:param str ip: Address of the interface, if DHCP is not set.
|
|
2945
|
+
:param str netmask: Netmask of the interface, if DHCP is not set.
|
|
3248
2946
|
"""
|
|
3249
2947
|
if dhcp is not None:
|
|
3250
2948
|
pulumi.set(__self__, "dhcp", dhcp)
|
|
@@ -3259,7 +2957,7 @@ class VnicIpv4(dict):
|
|
|
3259
2957
|
@pulumi.getter
|
|
3260
2958
|
def dhcp(self) -> Optional[bool]:
|
|
3261
2959
|
"""
|
|
3262
|
-
Use DHCP to configure the interface's
|
|
2960
|
+
Use DHCP to configure the interface's IPv6 stack.
|
|
3263
2961
|
"""
|
|
3264
2962
|
return pulumi.get(self, "dhcp")
|
|
3265
2963
|
|
|
@@ -3267,7 +2965,7 @@ class VnicIpv4(dict):
|
|
|
3267
2965
|
@pulumi.getter
|
|
3268
2966
|
def gw(self) -> Optional[str]:
|
|
3269
2967
|
"""
|
|
3270
|
-
IP address of the default gateway, if DHCP is not set.
|
|
2968
|
+
IP address of the default gateway, if DHCP or autoconfig is not set.
|
|
3271
2969
|
"""
|
|
3272
2970
|
return pulumi.get(self, "gw")
|
|
3273
2971
|
|
|
@@ -3275,7 +2973,7 @@ class VnicIpv4(dict):
|
|
|
3275
2973
|
@pulumi.getter
|
|
3276
2974
|
def ip(self) -> Optional[str]:
|
|
3277
2975
|
"""
|
|
3278
|
-
|
|
2976
|
+
Address of the interface, if DHCP is not set.
|
|
3279
2977
|
"""
|
|
3280
2978
|
return pulumi.get(self, "ip")
|
|
3281
2979
|
|
|
@@ -3283,7 +2981,7 @@ class VnicIpv4(dict):
|
|
|
3283
2981
|
@pulumi.getter
|
|
3284
2982
|
def netmask(self) -> Optional[str]:
|
|
3285
2983
|
"""
|
|
3286
|
-
|
|
2984
|
+
Netmask of the interface, if DHCP is not set.
|
|
3287
2985
|
"""
|
|
3288
2986
|
return pulumi.get(self, "netmask")
|
|
3289
2987
|
|
|
@@ -3298,7 +2996,7 @@ class VnicIpv6(dict):
|
|
|
3298
2996
|
"""
|
|
3299
2997
|
:param Sequence[str] addresses: List of IPv6 addresses
|
|
3300
2998
|
:param bool autoconfig: Use IPv6 Autoconfiguration (RFC2462).
|
|
3301
|
-
:param bool dhcp: Use DHCP to configure the interface's
|
|
2999
|
+
:param bool dhcp: Use DHCP to configure the interface's IPv6 stack.
|
|
3302
3000
|
:param str gw: IP address of the default gateway, if DHCP or autoconfig is not set.
|
|
3303
3001
|
"""
|
|
3304
3002
|
if addresses is not None:
|
|
@@ -3330,7 +3028,7 @@ class VnicIpv6(dict):
|
|
|
3330
3028
|
@pulumi.getter
|
|
3331
3029
|
def dhcp(self) -> Optional[bool]:
|
|
3332
3030
|
"""
|
|
3333
|
-
Use DHCP to configure the interface's
|
|
3031
|
+
Use DHCP to configure the interface's IPv6 stack.
|
|
3334
3032
|
"""
|
|
3335
3033
|
return pulumi.get(self, "dhcp")
|
|
3336
3034
|
|
|
@@ -3559,7 +3257,6 @@ class GetGuestOsCustomizationSpecWindowsOptionResult(dict):
|
|
|
3559
3257
|
auto_logon_count: int,
|
|
3560
3258
|
computer_name: str,
|
|
3561
3259
|
domain_admin_user: str,
|
|
3562
|
-
domain_ou: str,
|
|
3563
3260
|
join_domain: str,
|
|
3564
3261
|
run_once_command_lists: Sequence[str],
|
|
3565
3262
|
time_zone: int,
|
|
@@ -3571,7 +3268,6 @@ class GetGuestOsCustomizationSpecWindowsOptionResult(dict):
|
|
|
3571
3268
|
:param int auto_logon_count: Specifies how many times the guest operating system should auto-logon the Administrator account when `auto_logon` is `true`.
|
|
3572
3269
|
:param str computer_name: The hostname for this virtual machine.
|
|
3573
3270
|
:param str domain_admin_user: The user account of the domain administrator used to join this virtual machine to the domain.
|
|
3574
|
-
:param str domain_ou: The MachineObjectOU which specifies the full LDAP path name of the OU to which the virtual machine belongs.
|
|
3575
3271
|
:param str join_domain: The Active Directory domain for the virtual machine to join.
|
|
3576
3272
|
:param Sequence[str] run_once_command_lists: A list of commands to run at first user logon, after guest customization.
|
|
3577
3273
|
:param int time_zone: The new time zone for the virtual machine. This is a sysprep-dictated timezone code.
|
|
@@ -3583,7 +3279,6 @@ class GetGuestOsCustomizationSpecWindowsOptionResult(dict):
|
|
|
3583
3279
|
pulumi.set(__self__, "auto_logon_count", auto_logon_count)
|
|
3584
3280
|
pulumi.set(__self__, "computer_name", computer_name)
|
|
3585
3281
|
pulumi.set(__self__, "domain_admin_user", domain_admin_user)
|
|
3586
|
-
pulumi.set(__self__, "domain_ou", domain_ou)
|
|
3587
3282
|
pulumi.set(__self__, "join_domain", join_domain)
|
|
3588
3283
|
pulumi.set(__self__, "run_once_command_lists", run_once_command_lists)
|
|
3589
3284
|
pulumi.set(__self__, "time_zone", time_zone)
|
|
@@ -3631,14 +3326,6 @@ class GetGuestOsCustomizationSpecWindowsOptionResult(dict):
|
|
|
3631
3326
|
"""
|
|
3632
3327
|
return pulumi.get(self, "domain_admin_user")
|
|
3633
3328
|
|
|
3634
|
-
@property
|
|
3635
|
-
@pulumi.getter(name="domainOu")
|
|
3636
|
-
def domain_ou(self) -> str:
|
|
3637
|
-
"""
|
|
3638
|
-
The MachineObjectOU which specifies the full LDAP path name of the OU to which the virtual machine belongs.
|
|
3639
|
-
"""
|
|
3640
|
-
return pulumi.get(self, "domain_ou")
|
|
3641
|
-
|
|
3642
3329
|
@property
|
|
3643
3330
|
@pulumi.getter(name="joinDomain")
|
|
3644
3331
|
def join_domain(self) -> str:
|