pulumi-vsphere 4.11.0a1713561492__py3-none-any.whl → 4.11.0a1713905355__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/_inputs.py +96 -232
- pulumi_vsphere/compute_cluster.py +700 -1477
- pulumi_vsphere/compute_cluster_vm_affinity_rule.py +0 -8
- pulumi_vsphere/datacenter.py +0 -8
- pulumi_vsphere/datastore_cluster.py +154 -350
- pulumi_vsphere/distributed_port_group.py +70 -175
- pulumi_vsphere/distributed_virtual_switch.py +308 -798
- pulumi_vsphere/file.py +0 -8
- pulumi_vsphere/get_compute_cluster.py +0 -4
- pulumi_vsphere/get_compute_cluster_host_group.py +0 -4
- pulumi_vsphere/get_content_library.py +0 -4
- pulumi_vsphere/get_custom_attribute.py +0 -4
- pulumi_vsphere/get_datacenter.py +0 -4
- pulumi_vsphere/get_datastore.py +0 -4
- pulumi_vsphere/get_datastore_cluster.py +0 -4
- pulumi_vsphere/get_datastore_stats.py +0 -8
- pulumi_vsphere/get_distributed_virtual_switch.py +0 -4
- pulumi_vsphere/get_dynamic.py +0 -4
- pulumi_vsphere/get_folder.py +0 -4
- pulumi_vsphere/get_guest_os_customization.py +0 -4
- pulumi_vsphere/get_host.py +0 -4
- pulumi_vsphere/get_host_pci_device.py +4 -12
- pulumi_vsphere/get_host_thumbprint.py +0 -4
- pulumi_vsphere/get_host_vgpu_profile.py +0 -8
- pulumi_vsphere/get_license.py +0 -4
- pulumi_vsphere/get_network.py +0 -4
- pulumi_vsphere/get_policy.py +0 -4
- pulumi_vsphere/get_resource_pool.py +0 -8
- pulumi_vsphere/get_role.py +0 -4
- pulumi_vsphere/get_tag.py +0 -4
- pulumi_vsphere/get_tag_category.py +0 -4
- pulumi_vsphere/get_vapp_container.py +0 -4
- pulumi_vsphere/get_virtual_machine.py +0 -8
- pulumi_vsphere/get_vmfs_disks.py +0 -4
- pulumi_vsphere/guest_os_customization.py +0 -4
- pulumi_vsphere/ha_vm_override.py +189 -378
- pulumi_vsphere/host.py +0 -8
- pulumi_vsphere/host_port_group.py +0 -8
- pulumi_vsphere/host_virtual_switch.py +140 -287
- pulumi_vsphere/outputs.py +96 -232
- pulumi_vsphere/resource_pool.py +0 -12
- pulumi_vsphere/virtual_machine.py +599 -739
- pulumi_vsphere/virtual_machine_snapshot.py +0 -4
- pulumi_vsphere/vm_storage_policy.py +0 -12
- pulumi_vsphere/vnic.py +0 -8
- {pulumi_vsphere-4.11.0a1713561492.dist-info → pulumi_vsphere-4.11.0a1713905355.dist-info}/METADATA +1 -1
- pulumi_vsphere-4.11.0a1713905355.dist-info/RECORD +82 -0
- pulumi_vsphere-4.11.0a1713561492.dist-info/RECORD +0 -82
- {pulumi_vsphere-4.11.0a1713561492.dist-info → pulumi_vsphere-4.11.0a1713905355.dist-info}/WHEEL +0 -0
- {pulumi_vsphere-4.11.0a1713561492.dist-info → pulumi_vsphere-4.11.0a1713905355.dist-info}/top_level.txt +0 -0
pulumi_vsphere/_inputs.py
CHANGED
|
@@ -49,8 +49,8 @@ class ComputeClusterVsanDiskGroupArgs:
|
|
|
49
49
|
cache: Optional[pulumi.Input[str]] = None,
|
|
50
50
|
storages: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
|
51
51
|
"""
|
|
52
|
-
:param pulumi.Input[str] cache:
|
|
53
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] storages:
|
|
52
|
+
:param pulumi.Input[str] cache: Cache disk.
|
|
53
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] storages: List of storage disks.
|
|
54
54
|
"""
|
|
55
55
|
if cache is not None:
|
|
56
56
|
pulumi.set(__self__, "cache", cache)
|
|
@@ -61,7 +61,7 @@ class ComputeClusterVsanDiskGroupArgs:
|
|
|
61
61
|
@pulumi.getter
|
|
62
62
|
def cache(self) -> Optional[pulumi.Input[str]]:
|
|
63
63
|
"""
|
|
64
|
-
|
|
64
|
+
Cache disk.
|
|
65
65
|
"""
|
|
66
66
|
return pulumi.get(self, "cache")
|
|
67
67
|
|
|
@@ -73,7 +73,7 @@ class ComputeClusterVsanDiskGroupArgs:
|
|
|
73
73
|
@pulumi.getter
|
|
74
74
|
def storages(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
75
75
|
"""
|
|
76
|
-
|
|
76
|
+
List of storage disks.
|
|
77
77
|
"""
|
|
78
78
|
return pulumi.get(self, "storages")
|
|
79
79
|
|
|
@@ -154,57 +154,8 @@ class ComputeClusterVsanStretchedClusterArgs:
|
|
|
154
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.
|
|
155
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.
|
|
156
156
|
:param pulumi.Input[str] witness_node: The managed object IDs of the host selected as witness node when enable stretched cluster.
|
|
157
|
-
:param pulumi.Input[str] preferred_fault_domain_name: The name of
|
|
158
|
-
:param pulumi.Input[str] secondary_fault_domain_name: The name of
|
|
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("compute_cluster",
|
|
169
|
-
name="terraform-compute-cluster-test",
|
|
170
|
-
datacenter_id=datacenter["id"],
|
|
171
|
-
host_system_ids=[[__item["id"] for __item in host]],
|
|
172
|
-
drs_enabled=True,
|
|
173
|
-
drs_automation_level="fullyAutomated",
|
|
174
|
-
ha_enabled=False,
|
|
175
|
-
vsan_enabled=True,
|
|
176
|
-
vsan_esa_enabled=True,
|
|
177
|
-
vsan_dedup_enabled=True,
|
|
178
|
-
vsan_compression_enabled=True,
|
|
179
|
-
vsan_performance_enabled=True,
|
|
180
|
-
vsan_verbose_mode_enabled=True,
|
|
181
|
-
vsan_network_diagnostic_mode_enabled=True,
|
|
182
|
-
vsan_unmap_enabled=True,
|
|
183
|
-
vsan_dit_encryption_enabled=True,
|
|
184
|
-
vsan_dit_rekey_interval=1800,
|
|
185
|
-
vsan_disk_groups=[vsphere.ComputeClusterVsanDiskGroupArgs(
|
|
186
|
-
cache=cache_disks[0],
|
|
187
|
-
storages=storage_disks,
|
|
188
|
-
)],
|
|
189
|
-
vsan_fault_domains=[vsphere.ComputeClusterVsanFaultDomainArgs(
|
|
190
|
-
fault_domains=[
|
|
191
|
-
vsphere.ComputeClusterVsanFaultDomainFaultDomainArgs(
|
|
192
|
-
name="fd1",
|
|
193
|
-
host_ids=[[__item["id"] for __item in faultdomain1_hosts]],
|
|
194
|
-
),
|
|
195
|
-
vsphere.ComputeClusterVsanFaultDomainFaultDomainArgs(
|
|
196
|
-
name="fd2",
|
|
197
|
-
host_ids=[[__item["id"] for __item in faultdomain2_hosts]],
|
|
198
|
-
),
|
|
199
|
-
],
|
|
200
|
-
)],
|
|
201
|
-
vsan_stretched_cluster=vsphere.ComputeClusterVsanStretchedClusterArgs(
|
|
202
|
-
preferred_fault_domain_host_ids=[[__item["id"] for __item in preferred_fault_domain_host]],
|
|
203
|
-
secondary_fault_domain_host_ids=[[__item["id"] for __item in secondary_fault_domain_host]],
|
|
204
|
-
witness_node=witness_host["id"],
|
|
205
|
-
))
|
|
206
|
-
```
|
|
207
|
-
<!--End PulumiCodeChooser -->
|
|
157
|
+
:param pulumi.Input[str] preferred_fault_domain_name: The name of prepferred fault domain.
|
|
158
|
+
:param pulumi.Input[str] secondary_fault_domain_name: The name of secondary fault domain.
|
|
208
159
|
"""
|
|
209
160
|
pulumi.set(__self__, "preferred_fault_domain_host_ids", preferred_fault_domain_host_ids)
|
|
210
161
|
pulumi.set(__self__, "secondary_fault_domain_host_ids", secondary_fault_domain_host_ids)
|
|
@@ -254,7 +205,7 @@ class ComputeClusterVsanStretchedClusterArgs:
|
|
|
254
205
|
@pulumi.getter(name="preferredFaultDomainName")
|
|
255
206
|
def preferred_fault_domain_name(self) -> Optional[pulumi.Input[str]]:
|
|
256
207
|
"""
|
|
257
|
-
The name of
|
|
208
|
+
The name of prepferred fault domain.
|
|
258
209
|
"""
|
|
259
210
|
return pulumi.get(self, "preferred_fault_domain_name")
|
|
260
211
|
|
|
@@ -266,56 +217,7 @@ class ComputeClusterVsanStretchedClusterArgs:
|
|
|
266
217
|
@pulumi.getter(name="secondaryFaultDomainName")
|
|
267
218
|
def secondary_fault_domain_name(self) -> Optional[pulumi.Input[str]]:
|
|
268
219
|
"""
|
|
269
|
-
The name of
|
|
270
|
-
|
|
271
|
-
> **NOTE:** You must disable vSphere HA before you enable vSAN on the cluster.
|
|
272
|
-
You can enable or re-enable vSphere HA after vSAN is configured.
|
|
273
|
-
|
|
274
|
-
<!--Start PulumiCodeChooser -->
|
|
275
|
-
```python
|
|
276
|
-
import pulumi
|
|
277
|
-
import pulumi_vsphere as vsphere
|
|
278
|
-
|
|
279
|
-
compute_cluster = vsphere.ComputeCluster("compute_cluster",
|
|
280
|
-
name="terraform-compute-cluster-test",
|
|
281
|
-
datacenter_id=datacenter["id"],
|
|
282
|
-
host_system_ids=[[__item["id"] for __item in host]],
|
|
283
|
-
drs_enabled=True,
|
|
284
|
-
drs_automation_level="fullyAutomated",
|
|
285
|
-
ha_enabled=False,
|
|
286
|
-
vsan_enabled=True,
|
|
287
|
-
vsan_esa_enabled=True,
|
|
288
|
-
vsan_dedup_enabled=True,
|
|
289
|
-
vsan_compression_enabled=True,
|
|
290
|
-
vsan_performance_enabled=True,
|
|
291
|
-
vsan_verbose_mode_enabled=True,
|
|
292
|
-
vsan_network_diagnostic_mode_enabled=True,
|
|
293
|
-
vsan_unmap_enabled=True,
|
|
294
|
-
vsan_dit_encryption_enabled=True,
|
|
295
|
-
vsan_dit_rekey_interval=1800,
|
|
296
|
-
vsan_disk_groups=[vsphere.ComputeClusterVsanDiskGroupArgs(
|
|
297
|
-
cache=cache_disks[0],
|
|
298
|
-
storages=storage_disks,
|
|
299
|
-
)],
|
|
300
|
-
vsan_fault_domains=[vsphere.ComputeClusterVsanFaultDomainArgs(
|
|
301
|
-
fault_domains=[
|
|
302
|
-
vsphere.ComputeClusterVsanFaultDomainFaultDomainArgs(
|
|
303
|
-
name="fd1",
|
|
304
|
-
host_ids=[[__item["id"] for __item in faultdomain1_hosts]],
|
|
305
|
-
),
|
|
306
|
-
vsphere.ComputeClusterVsanFaultDomainFaultDomainArgs(
|
|
307
|
-
name="fd2",
|
|
308
|
-
host_ids=[[__item["id"] for __item in faultdomain2_hosts]],
|
|
309
|
-
),
|
|
310
|
-
],
|
|
311
|
-
)],
|
|
312
|
-
vsan_stretched_cluster=vsphere.ComputeClusterVsanStretchedClusterArgs(
|
|
313
|
-
preferred_fault_domain_host_ids=[[__item["id"] for __item in preferred_fault_domain_host]],
|
|
314
|
-
secondary_fault_domain_host_ids=[[__item["id"] for __item in secondary_fault_domain_host]],
|
|
315
|
-
witness_node=witness_host["id"],
|
|
316
|
-
))
|
|
317
|
-
```
|
|
318
|
-
<!--End PulumiCodeChooser -->
|
|
220
|
+
The name of secondary fault domain.
|
|
319
221
|
"""
|
|
320
222
|
return pulumi.get(self, "secondary_fault_domain_name")
|
|
321
223
|
|
|
@@ -333,11 +235,11 @@ class ContentLibraryPublicationArgs:
|
|
|
333
235
|
published: Optional[pulumi.Input[bool]] = None,
|
|
334
236
|
username: Optional[pulumi.Input[str]] = None):
|
|
335
237
|
"""
|
|
336
|
-
:param pulumi.Input[str] authentication_method:
|
|
337
|
-
:param pulumi.Input[str] password: Password used
|
|
238
|
+
:param pulumi.Input[str] authentication_method: Method to authenticate users. Must be `NONE` or `BASIC`.
|
|
239
|
+
:param pulumi.Input[str] password: Password used by subscribers to authenticate.
|
|
338
240
|
:param pulumi.Input[str] publish_url: The URL of the published content library.
|
|
339
241
|
:param pulumi.Input[bool] published: Publish the content library. Default `false`.
|
|
340
|
-
:param pulumi.Input[str] username: Username used
|
|
242
|
+
:param pulumi.Input[str] username: Username used by subscribers to authenticate. Currently can only be `vcsp`.
|
|
341
243
|
"""
|
|
342
244
|
if authentication_method is not None:
|
|
343
245
|
pulumi.set(__self__, "authentication_method", authentication_method)
|
|
@@ -354,7 +256,7 @@ class ContentLibraryPublicationArgs:
|
|
|
354
256
|
@pulumi.getter(name="authenticationMethod")
|
|
355
257
|
def authentication_method(self) -> Optional[pulumi.Input[str]]:
|
|
356
258
|
"""
|
|
357
|
-
|
|
259
|
+
Method to authenticate users. Must be `NONE` or `BASIC`.
|
|
358
260
|
"""
|
|
359
261
|
return pulumi.get(self, "authentication_method")
|
|
360
262
|
|
|
@@ -366,7 +268,7 @@ class ContentLibraryPublicationArgs:
|
|
|
366
268
|
@pulumi.getter
|
|
367
269
|
def password(self) -> Optional[pulumi.Input[str]]:
|
|
368
270
|
"""
|
|
369
|
-
Password used
|
|
271
|
+
Password used by subscribers to authenticate.
|
|
370
272
|
"""
|
|
371
273
|
return pulumi.get(self, "password")
|
|
372
274
|
|
|
@@ -402,7 +304,7 @@ class ContentLibraryPublicationArgs:
|
|
|
402
304
|
@pulumi.getter
|
|
403
305
|
def username(self) -> Optional[pulumi.Input[str]]:
|
|
404
306
|
"""
|
|
405
|
-
Username used
|
|
307
|
+
Username used by subscribers to authenticate. Currently can only be `vcsp`.
|
|
406
308
|
"""
|
|
407
309
|
return pulumi.get(self, "username")
|
|
408
310
|
|
|
@@ -557,10 +459,8 @@ class DistributedVirtualSwitchHostArgs:
|
|
|
557
459
|
host_system_id: pulumi.Input[str],
|
|
558
460
|
devices: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
|
559
461
|
"""
|
|
560
|
-
:param pulumi.Input[str] host_system_id: The
|
|
561
|
-
|
|
562
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] devices: The list of NIC devices to map to uplinks on the VDS,
|
|
563
|
-
added in order they are specified.
|
|
462
|
+
:param pulumi.Input[str] host_system_id: The managed object ID of the host this specification applies to.
|
|
463
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] devices: Name of the physical NIC to be added to the proxy switch.
|
|
564
464
|
"""
|
|
565
465
|
pulumi.set(__self__, "host_system_id", host_system_id)
|
|
566
466
|
if devices is not None:
|
|
@@ -570,8 +470,7 @@ class DistributedVirtualSwitchHostArgs:
|
|
|
570
470
|
@pulumi.getter(name="hostSystemId")
|
|
571
471
|
def host_system_id(self) -> pulumi.Input[str]:
|
|
572
472
|
"""
|
|
573
|
-
The
|
|
574
|
-
VDS.
|
|
473
|
+
The managed object ID of the host this specification applies to.
|
|
575
474
|
"""
|
|
576
475
|
return pulumi.get(self, "host_system_id")
|
|
577
476
|
|
|
@@ -583,8 +482,7 @@ class DistributedVirtualSwitchHostArgs:
|
|
|
583
482
|
@pulumi.getter
|
|
584
483
|
def devices(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
585
484
|
"""
|
|
586
|
-
|
|
587
|
-
added in order they are specified.
|
|
485
|
+
Name of the physical NIC to be added to the proxy switch.
|
|
588
486
|
"""
|
|
589
487
|
return pulumi.get(self, "devices")
|
|
590
488
|
|
|
@@ -600,12 +498,9 @@ class DistributedVirtualSwitchPvlanMappingArgs:
|
|
|
600
498
|
pvlan_type: pulumi.Input[str],
|
|
601
499
|
secondary_vlan_id: pulumi.Input[int]):
|
|
602
500
|
"""
|
|
603
|
-
:param pulumi.Input[int] primary_vlan_id: The primary VLAN ID. The VLAN IDs of 0 and
|
|
604
|
-
|
|
605
|
-
:param pulumi.Input[
|
|
606
|
-
promiscuous, community and isolated.
|
|
607
|
-
:param pulumi.Input[int] secondary_vlan_id: The secondary VLAN ID. The VLAN IDs of 0
|
|
608
|
-
and 4095 are reserved and cannot be used in this property.
|
|
501
|
+
:param pulumi.Input[int] primary_vlan_id: The primary VLAN ID. The VLAN IDs of 0 and 4095 are reserved and cannot be used in this property.
|
|
502
|
+
:param pulumi.Input[str] pvlan_type: The private VLAN type. Valid values are promiscuous, community and isolated.
|
|
503
|
+
:param pulumi.Input[int] secondary_vlan_id: The secondary VLAN ID. The VLAN IDs of 0 and 4095 are reserved and cannot be used in this property.
|
|
609
504
|
"""
|
|
610
505
|
pulumi.set(__self__, "primary_vlan_id", primary_vlan_id)
|
|
611
506
|
pulumi.set(__self__, "pvlan_type", pvlan_type)
|
|
@@ -615,8 +510,7 @@ class DistributedVirtualSwitchPvlanMappingArgs:
|
|
|
615
510
|
@pulumi.getter(name="primaryVlanId")
|
|
616
511
|
def primary_vlan_id(self) -> pulumi.Input[int]:
|
|
617
512
|
"""
|
|
618
|
-
The primary VLAN ID. The VLAN IDs of 0 and
|
|
619
|
-
4095 are reserved and cannot be used in this property.
|
|
513
|
+
The primary VLAN ID. The VLAN IDs of 0 and 4095 are reserved and cannot be used in this property.
|
|
620
514
|
"""
|
|
621
515
|
return pulumi.get(self, "primary_vlan_id")
|
|
622
516
|
|
|
@@ -628,8 +522,7 @@ class DistributedVirtualSwitchPvlanMappingArgs:
|
|
|
628
522
|
@pulumi.getter(name="pvlanType")
|
|
629
523
|
def pvlan_type(self) -> pulumi.Input[str]:
|
|
630
524
|
"""
|
|
631
|
-
The private VLAN type. Valid values are
|
|
632
|
-
promiscuous, community and isolated.
|
|
525
|
+
The private VLAN type. Valid values are promiscuous, community and isolated.
|
|
633
526
|
"""
|
|
634
527
|
return pulumi.get(self, "pvlan_type")
|
|
635
528
|
|
|
@@ -641,8 +534,7 @@ class DistributedVirtualSwitchPvlanMappingArgs:
|
|
|
641
534
|
@pulumi.getter(name="secondaryVlanId")
|
|
642
535
|
def secondary_vlan_id(self) -> pulumi.Input[int]:
|
|
643
536
|
"""
|
|
644
|
-
The secondary VLAN ID. The VLAN IDs of 0
|
|
645
|
-
and 4095 are reserved and cannot be used in this property.
|
|
537
|
+
The secondary VLAN ID. The VLAN IDs of 0 and 4095 are reserved and cannot be used in this property.
|
|
646
538
|
"""
|
|
647
539
|
return pulumi.get(self, "secondary_vlan_id")
|
|
648
540
|
|
|
@@ -1356,15 +1248,11 @@ class VirtualMachineCdromArgs:
|
|
|
1356
1248
|
key: Optional[pulumi.Input[int]] = None,
|
|
1357
1249
|
path: Optional[pulumi.Input[str]] = None):
|
|
1358
1250
|
"""
|
|
1359
|
-
:param pulumi.Input[bool] client_device: Indicates whether the device should be
|
|
1360
|
-
:param pulumi.Input[str] datastore_id: The datastore ID
|
|
1251
|
+
:param pulumi.Input[bool] client_device: Indicates whether the device should be mapped to a remote client device
|
|
1252
|
+
:param pulumi.Input[str] datastore_id: The datastore ID the ISO is located on.
|
|
1361
1253
|
: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.
|
|
1362
1254
|
:param pulumi.Input[int] key: The ID of the device within the virtual machine.
|
|
1363
|
-
:param pulumi.Input[str] path: The path to the ISO file
|
|
1364
|
-
|
|
1365
|
-
> **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 .
|
|
1366
|
-
|
|
1367
|
-
> **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.
|
|
1255
|
+
:param pulumi.Input[str] path: The path to the ISO file on the datastore.
|
|
1368
1256
|
"""
|
|
1369
1257
|
if client_device is not None:
|
|
1370
1258
|
pulumi.set(__self__, "client_device", client_device)
|
|
@@ -1381,7 +1269,7 @@ class VirtualMachineCdromArgs:
|
|
|
1381
1269
|
@pulumi.getter(name="clientDevice")
|
|
1382
1270
|
def client_device(self) -> Optional[pulumi.Input[bool]]:
|
|
1383
1271
|
"""
|
|
1384
|
-
Indicates whether the device should be
|
|
1272
|
+
Indicates whether the device should be mapped to a remote client device
|
|
1385
1273
|
"""
|
|
1386
1274
|
return pulumi.get(self, "client_device")
|
|
1387
1275
|
|
|
@@ -1393,7 +1281,7 @@ class VirtualMachineCdromArgs:
|
|
|
1393
1281
|
@pulumi.getter(name="datastoreId")
|
|
1394
1282
|
def datastore_id(self) -> Optional[pulumi.Input[str]]:
|
|
1395
1283
|
"""
|
|
1396
|
-
The datastore ID
|
|
1284
|
+
The datastore ID the ISO is located on.
|
|
1397
1285
|
"""
|
|
1398
1286
|
return pulumi.get(self, "datastore_id")
|
|
1399
1287
|
|
|
@@ -1429,11 +1317,7 @@ class VirtualMachineCdromArgs:
|
|
|
1429
1317
|
@pulumi.getter
|
|
1430
1318
|
def path(self) -> Optional[pulumi.Input[str]]:
|
|
1431
1319
|
"""
|
|
1432
|
-
The path to the ISO file
|
|
1433
|
-
|
|
1434
|
-
> **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 .
|
|
1435
|
-
|
|
1436
|
-
> **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.
|
|
1320
|
+
The path to the ISO file on the datastore.
|
|
1437
1321
|
"""
|
|
1438
1322
|
return pulumi.get(self, "path")
|
|
1439
1323
|
|
|
@@ -1616,7 +1500,7 @@ class VirtualMachineCloneCustomizeArgs:
|
|
|
1616
1500
|
: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.
|
|
1617
1501
|
: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.
|
|
1618
1502
|
:param pulumi.Input['VirtualMachineCloneCustomizeLinuxOptionsArgs'] linux_options: A list of configuration options specific to Linux virtual machines.
|
|
1619
|
-
:param pulumi.Input[Sequence[pulumi.Input['VirtualMachineCloneCustomizeNetworkInterfaceArgs']]] network_interfaces: A specification
|
|
1503
|
+
:param pulumi.Input[Sequence[pulumi.Input['VirtualMachineCloneCustomizeNetworkInterfaceArgs']]] network_interfaces: A specification of network interface configuration options.
|
|
1620
1504
|
: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.
|
|
1621
1505
|
:param pulumi.Input['VirtualMachineCloneCustomizeWindowsOptionsArgs'] windows_options: A list of configuration options specific to Windows virtual machines.
|
|
1622
1506
|
:param pulumi.Input[str] windows_sysprep_text: Use this option to specify a windows sysprep file directly.
|
|
@@ -1704,7 +1588,7 @@ class VirtualMachineCloneCustomizeArgs:
|
|
|
1704
1588
|
@pulumi.getter(name="networkInterfaces")
|
|
1705
1589
|
def network_interfaces(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['VirtualMachineCloneCustomizeNetworkInterfaceArgs']]]]:
|
|
1706
1590
|
"""
|
|
1707
|
-
A specification
|
|
1591
|
+
A specification of network interface configuration options.
|
|
1708
1592
|
"""
|
|
1709
1593
|
return pulumi.get(self, "network_interfaces")
|
|
1710
1594
|
|
|
@@ -2177,36 +2061,26 @@ class VirtualMachineDiskArgs:
|
|
|
2177
2061
|
write_through: Optional[pulumi.Input[bool]] = None):
|
|
2178
2062
|
"""
|
|
2179
2063
|
:param pulumi.Input[str] label: A unique label for this disk.
|
|
2180
|
-
:param pulumi.Input[bool] attach:
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
: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`.
|
|
2184
|
-
: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`.
|
|
2064
|
+
:param pulumi.Input[bool] attach: If this is true, the disk is attached instead of created. Implies keep_on_remove.
|
|
2065
|
+
:param pulumi.Input[str] controller_type: The type of controller the disk should be connected to. Must be 'scsi', 'sata', or 'ide'.
|
|
2066
|
+
:param pulumi.Input[str] datastore_id: The datastore ID for this virtual disk, if different than the virtual machine.
|
|
2185
2067
|
: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.
|
|
2186
|
-
:param pulumi.Input[str] disk_mode: The mode of this this virtual disk for purposes of writes and
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
:param pulumi.Input[
|
|
2190
|
-
|
|
2191
|
-
|
|
2192
|
-
:param pulumi.Input[
|
|
2193
|
-
:param pulumi.Input[
|
|
2194
|
-
:param pulumi.Input[int] io_reservation: The I/O reservation (guarantee) for the virtual disk has, in IOPS. The default is no reservation.
|
|
2195
|
-
:param pulumi.Input[int] io_share_count: The share count for the virtual disk when the share level is `custom`.
|
|
2196
|
-
:param pulumi.Input[str] io_share_level: The share allocation level for the virtual disk. One of `low`, `normal`, `high`, or `custom`. Default: `normal`.
|
|
2197
|
-
:param pulumi.Input[bool] keep_on_remove: Keep this disk when removing the device or destroying the virtual machine. Default: `false`.
|
|
2068
|
+
:param pulumi.Input[str] disk_mode: The mode of this this virtual disk for purposes of writes and snapshotting. Can be one of append, independent_nonpersistent, independent_persistent, nonpersistent, persistent, or undoable.
|
|
2069
|
+
:param pulumi.Input[str] disk_sharing: The sharing mode of this virtual disk. Can be one of sharingMultiWriter or sharingNone.
|
|
2070
|
+
:param pulumi.Input[bool] eagerly_scrub: The virtual disk file zeroing policy when thin_provision is not true. The default is false, which lazily-zeros the disk, speeding up thick-provisioned disk creation time.
|
|
2071
|
+
:param pulumi.Input[int] io_limit: The upper limit of IOPS that this disk can use.
|
|
2072
|
+
:param pulumi.Input[int] io_reservation: The I/O guarantee that this disk has, in IOPS.
|
|
2073
|
+
:param pulumi.Input[int] io_share_count: The share count for this disk when the share level is custom.
|
|
2074
|
+
:param pulumi.Input[str] io_share_level: The share allocation level for this disk. Can be one of low, normal, high, or custom.
|
|
2075
|
+
:param pulumi.Input[bool] keep_on_remove: Set to true to keep the underlying VMDK file when removing this virtual disk from configuration.
|
|
2198
2076
|
:param pulumi.Input[int] key: The ID of the device within the virtual machine.
|
|
2199
|
-
:param pulumi.Input[str] path: The path
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
|
|
2203
|
-
|
|
2204
|
-
:param pulumi.Input[
|
|
2205
|
-
:param pulumi.Input[
|
|
2206
|
-
: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`.
|
|
2207
|
-
: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.
|
|
2208
|
-
: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.
|
|
2209
|
-
: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`.
|
|
2077
|
+
:param pulumi.Input[str] path: The full path of the virtual disk. This can only be provided if attach is set to true, otherwise it is a read-only value.
|
|
2078
|
+
:param pulumi.Input[int] size: The size of the disk, in GB.
|
|
2079
|
+
:param pulumi.Input[str] storage_policy_id: The ID of the storage policy to assign to the virtual disk in VM.
|
|
2080
|
+
:param pulumi.Input[bool] thin_provisioned: If true, this disk is thin provisioned, with space for the file being allocated on an as-needed basis.
|
|
2081
|
+
:param pulumi.Input[int] unit_number: The unique device number for this disk. This number determines where on the SCSI bus this device will be attached.
|
|
2082
|
+
:param pulumi.Input[str] uuid: The UUID of the virtual machine. Also exposed as the `id` of the resource.
|
|
2083
|
+
:param pulumi.Input[bool] write_through: If true, writes for this disk are sent directly to the filesystem immediately instead of being buffered.
|
|
2210
2084
|
"""
|
|
2211
2085
|
pulumi.set(__self__, "label", label)
|
|
2212
2086
|
if attach is not None:
|
|
@@ -2266,9 +2140,7 @@ class VirtualMachineDiskArgs:
|
|
|
2266
2140
|
@pulumi.getter
|
|
2267
2141
|
def attach(self) -> Optional[pulumi.Input[bool]]:
|
|
2268
2142
|
"""
|
|
2269
|
-
|
|
2270
|
-
|
|
2271
|
-
> **NOTE:** External disks cannot be attached when `datastore_cluster_id` is used.
|
|
2143
|
+
If this is true, the disk is attached instead of created. Implies keep_on_remove.
|
|
2272
2144
|
"""
|
|
2273
2145
|
return pulumi.get(self, "attach")
|
|
2274
2146
|
|
|
@@ -2280,7 +2152,7 @@ class VirtualMachineDiskArgs:
|
|
|
2280
2152
|
@pulumi.getter(name="controllerType")
|
|
2281
2153
|
def controller_type(self) -> Optional[pulumi.Input[str]]:
|
|
2282
2154
|
"""
|
|
2283
|
-
The type of
|
|
2155
|
+
The type of controller the disk should be connected to. Must be 'scsi', 'sata', or 'ide'.
|
|
2284
2156
|
"""
|
|
2285
2157
|
return pulumi.get(self, "controller_type")
|
|
2286
2158
|
|
|
@@ -2292,7 +2164,7 @@ class VirtualMachineDiskArgs:
|
|
|
2292
2164
|
@pulumi.getter(name="datastoreId")
|
|
2293
2165
|
def datastore_id(self) -> Optional[pulumi.Input[str]]:
|
|
2294
2166
|
"""
|
|
2295
|
-
The datastore ID
|
|
2167
|
+
The datastore ID for this virtual disk, if different than the virtual machine.
|
|
2296
2168
|
"""
|
|
2297
2169
|
return pulumi.get(self, "datastore_id")
|
|
2298
2170
|
|
|
@@ -2316,9 +2188,7 @@ class VirtualMachineDiskArgs:
|
|
|
2316
2188
|
@pulumi.getter(name="diskMode")
|
|
2317
2189
|
def disk_mode(self) -> Optional[pulumi.Input[str]]:
|
|
2318
2190
|
"""
|
|
2319
|
-
The mode of this this virtual disk for purposes of writes and
|
|
2320
|
-
|
|
2321
|
-
[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
|
|
2191
|
+
The mode of this this virtual disk for purposes of writes and snapshotting. Can be one of append, independent_nonpersistent, independent_persistent, nonpersistent, persistent, or undoable.
|
|
2322
2192
|
"""
|
|
2323
2193
|
return pulumi.get(self, "disk_mode")
|
|
2324
2194
|
|
|
@@ -2330,9 +2200,7 @@ class VirtualMachineDiskArgs:
|
|
|
2330
2200
|
@pulumi.getter(name="diskSharing")
|
|
2331
2201
|
def disk_sharing(self) -> Optional[pulumi.Input[str]]:
|
|
2332
2202
|
"""
|
|
2333
|
-
The sharing mode of this virtual disk.
|
|
2334
|
-
|
|
2335
|
-
> **NOTE:** Disk sharing is only available on vSphere 6.0 and later.
|
|
2203
|
+
The sharing mode of this virtual disk. Can be one of sharingMultiWriter or sharingNone.
|
|
2336
2204
|
"""
|
|
2337
2205
|
return pulumi.get(self, "disk_sharing")
|
|
2338
2206
|
|
|
@@ -2344,7 +2212,7 @@ class VirtualMachineDiskArgs:
|
|
|
2344
2212
|
@pulumi.getter(name="eagerlyScrub")
|
|
2345
2213
|
def eagerly_scrub(self) -> Optional[pulumi.Input[bool]]:
|
|
2346
2214
|
"""
|
|
2347
|
-
|
|
2215
|
+
The virtual disk file zeroing policy when thin_provision is not true. The default is false, which lazily-zeros the disk, speeding up thick-provisioned disk creation time.
|
|
2348
2216
|
"""
|
|
2349
2217
|
return pulumi.get(self, "eagerly_scrub")
|
|
2350
2218
|
|
|
@@ -2356,7 +2224,7 @@ class VirtualMachineDiskArgs:
|
|
|
2356
2224
|
@pulumi.getter(name="ioLimit")
|
|
2357
2225
|
def io_limit(self) -> Optional[pulumi.Input[int]]:
|
|
2358
2226
|
"""
|
|
2359
|
-
The upper limit of IOPS that this disk can use.
|
|
2227
|
+
The upper limit of IOPS that this disk can use.
|
|
2360
2228
|
"""
|
|
2361
2229
|
return pulumi.get(self, "io_limit")
|
|
2362
2230
|
|
|
@@ -2368,7 +2236,7 @@ class VirtualMachineDiskArgs:
|
|
|
2368
2236
|
@pulumi.getter(name="ioReservation")
|
|
2369
2237
|
def io_reservation(self) -> Optional[pulumi.Input[int]]:
|
|
2370
2238
|
"""
|
|
2371
|
-
The I/O
|
|
2239
|
+
The I/O guarantee that this disk has, in IOPS.
|
|
2372
2240
|
"""
|
|
2373
2241
|
return pulumi.get(self, "io_reservation")
|
|
2374
2242
|
|
|
@@ -2380,7 +2248,7 @@ class VirtualMachineDiskArgs:
|
|
|
2380
2248
|
@pulumi.getter(name="ioShareCount")
|
|
2381
2249
|
def io_share_count(self) -> Optional[pulumi.Input[int]]:
|
|
2382
2250
|
"""
|
|
2383
|
-
The share count for
|
|
2251
|
+
The share count for this disk when the share level is custom.
|
|
2384
2252
|
"""
|
|
2385
2253
|
return pulumi.get(self, "io_share_count")
|
|
2386
2254
|
|
|
@@ -2392,7 +2260,7 @@ class VirtualMachineDiskArgs:
|
|
|
2392
2260
|
@pulumi.getter(name="ioShareLevel")
|
|
2393
2261
|
def io_share_level(self) -> Optional[pulumi.Input[str]]:
|
|
2394
2262
|
"""
|
|
2395
|
-
The share allocation level for
|
|
2263
|
+
The share allocation level for this disk. Can be one of low, normal, high, or custom.
|
|
2396
2264
|
"""
|
|
2397
2265
|
return pulumi.get(self, "io_share_level")
|
|
2398
2266
|
|
|
@@ -2404,7 +2272,7 @@ class VirtualMachineDiskArgs:
|
|
|
2404
2272
|
@pulumi.getter(name="keepOnRemove")
|
|
2405
2273
|
def keep_on_remove(self) -> Optional[pulumi.Input[bool]]:
|
|
2406
2274
|
"""
|
|
2407
|
-
|
|
2275
|
+
Set to true to keep the underlying VMDK file when removing this virtual disk from configuration.
|
|
2408
2276
|
"""
|
|
2409
2277
|
return pulumi.get(self, "keep_on_remove")
|
|
2410
2278
|
|
|
@@ -2428,11 +2296,7 @@ class VirtualMachineDiskArgs:
|
|
|
2428
2296
|
@pulumi.getter
|
|
2429
2297
|
def path(self) -> Optional[pulumi.Input[str]]:
|
|
2430
2298
|
"""
|
|
2431
|
-
The path
|
|
2432
|
-
|
|
2433
|
-
> **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 .
|
|
2434
|
-
|
|
2435
|
-
> **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.
|
|
2299
|
+
The full path of the virtual disk. This can only be provided if attach is set to true, otherwise it is a read-only value.
|
|
2436
2300
|
"""
|
|
2437
2301
|
return pulumi.get(self, "path")
|
|
2438
2302
|
|
|
@@ -2444,7 +2308,7 @@ class VirtualMachineDiskArgs:
|
|
|
2444
2308
|
@pulumi.getter
|
|
2445
2309
|
def size(self) -> Optional[pulumi.Input[int]]:
|
|
2446
2310
|
"""
|
|
2447
|
-
The size of the disk, in GB.
|
|
2311
|
+
The size of the disk, in GB.
|
|
2448
2312
|
"""
|
|
2449
2313
|
return pulumi.get(self, "size")
|
|
2450
2314
|
|
|
@@ -2456,7 +2320,7 @@ class VirtualMachineDiskArgs:
|
|
|
2456
2320
|
@pulumi.getter(name="storagePolicyId")
|
|
2457
2321
|
def storage_policy_id(self) -> Optional[pulumi.Input[str]]:
|
|
2458
2322
|
"""
|
|
2459
|
-
The
|
|
2323
|
+
The ID of the storage policy to assign to the virtual disk in VM.
|
|
2460
2324
|
"""
|
|
2461
2325
|
return pulumi.get(self, "storage_policy_id")
|
|
2462
2326
|
|
|
@@ -2468,7 +2332,7 @@ class VirtualMachineDiskArgs:
|
|
|
2468
2332
|
@pulumi.getter(name="thinProvisioned")
|
|
2469
2333
|
def thin_provisioned(self) -> Optional[pulumi.Input[bool]]:
|
|
2470
2334
|
"""
|
|
2471
|
-
If
|
|
2335
|
+
If true, this disk is thin provisioned, with space for the file being allocated on an as-needed basis.
|
|
2472
2336
|
"""
|
|
2473
2337
|
return pulumi.get(self, "thin_provisioned")
|
|
2474
2338
|
|
|
@@ -2480,7 +2344,7 @@ class VirtualMachineDiskArgs:
|
|
|
2480
2344
|
@pulumi.getter(name="unitNumber")
|
|
2481
2345
|
def unit_number(self) -> Optional[pulumi.Input[int]]:
|
|
2482
2346
|
"""
|
|
2483
|
-
The
|
|
2347
|
+
The unique device number for this disk. This number determines where on the SCSI bus this device will be attached.
|
|
2484
2348
|
"""
|
|
2485
2349
|
return pulumi.get(self, "unit_number")
|
|
2486
2350
|
|
|
@@ -2492,7 +2356,7 @@ class VirtualMachineDiskArgs:
|
|
|
2492
2356
|
@pulumi.getter
|
|
2493
2357
|
def uuid(self) -> Optional[pulumi.Input[str]]:
|
|
2494
2358
|
"""
|
|
2495
|
-
The UUID of the virtual
|
|
2359
|
+
The UUID of the virtual machine. Also exposed as the `id` of the resource.
|
|
2496
2360
|
"""
|
|
2497
2361
|
return pulumi.get(self, "uuid")
|
|
2498
2362
|
|
|
@@ -2504,7 +2368,7 @@ class VirtualMachineDiskArgs:
|
|
|
2504
2368
|
@pulumi.getter(name="writeThrough")
|
|
2505
2369
|
def write_through(self) -> Optional[pulumi.Input[bool]]:
|
|
2506
2370
|
"""
|
|
2507
|
-
If
|
|
2371
|
+
If true, writes for this disk are sent directly to the filesystem immediately instead of being buffered.
|
|
2508
2372
|
"""
|
|
2509
2373
|
return pulumi.get(self, "write_through")
|
|
2510
2374
|
|
|
@@ -2529,18 +2393,18 @@ class VirtualMachineNetworkInterfaceArgs:
|
|
|
2529
2393
|
physical_function: Optional[pulumi.Input[str]] = None,
|
|
2530
2394
|
use_static_mac: Optional[pulumi.Input[bool]] = None):
|
|
2531
2395
|
"""
|
|
2532
|
-
:param pulumi.Input[str] network_id: The
|
|
2533
|
-
:param pulumi.Input[str] adapter_type: The
|
|
2534
|
-
:param pulumi.Input[int] bandwidth_limit: The upper bandwidth limit of
|
|
2535
|
-
:param pulumi.Input[int] bandwidth_reservation: The bandwidth reservation of
|
|
2536
|
-
:param pulumi.Input[int] bandwidth_share_count: The share count for
|
|
2537
|
-
:param pulumi.Input[str] bandwidth_share_level: The bandwidth share allocation level for
|
|
2396
|
+
:param pulumi.Input[str] network_id: The ID of the network to connect this network interface to.
|
|
2397
|
+
:param pulumi.Input[str] adapter_type: The controller type. Can be one of e1000, e1000e, sriov, vmxnet3, or vrdma.
|
|
2398
|
+
:param pulumi.Input[int] bandwidth_limit: The upper bandwidth limit of this network interface, in Mbits/sec.
|
|
2399
|
+
:param pulumi.Input[int] bandwidth_reservation: The bandwidth reservation of this network interface, in Mbits/sec.
|
|
2400
|
+
:param pulumi.Input[int] bandwidth_share_count: The share count for this network interface when the share level is custom.
|
|
2401
|
+
:param pulumi.Input[str] bandwidth_share_level: The bandwidth share allocation level for this interface. Can be one of low, normal, high, or custom.
|
|
2538
2402
|
: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.
|
|
2539
2403
|
:param pulumi.Input[int] key: The ID of the device within the virtual machine.
|
|
2540
|
-
:param pulumi.Input[str] mac_address: The MAC address of
|
|
2541
|
-
:param pulumi.Input[str] ovf_mapping:
|
|
2404
|
+
:param pulumi.Input[str] mac_address: The MAC address of this network interface. Can only be manually set if use_static_mac is true.
|
|
2405
|
+
:param pulumi.Input[str] ovf_mapping: Mapping of network interface to OVF network.
|
|
2542
2406
|
:param pulumi.Input[str] physical_function: The ID of the Physical SR-IOV NIC to attach to, e.g. '0000:d8:00.0'
|
|
2543
|
-
:param pulumi.Input[bool] use_static_mac: If true, the
|
|
2407
|
+
:param pulumi.Input[bool] use_static_mac: If true, the mac_address field is treated as a static MAC address and set accordingly.
|
|
2544
2408
|
"""
|
|
2545
2409
|
pulumi.set(__self__, "network_id", network_id)
|
|
2546
2410
|
if adapter_type is not None:
|
|
@@ -2570,7 +2434,7 @@ class VirtualMachineNetworkInterfaceArgs:
|
|
|
2570
2434
|
@pulumi.getter(name="networkId")
|
|
2571
2435
|
def network_id(self) -> pulumi.Input[str]:
|
|
2572
2436
|
"""
|
|
2573
|
-
The
|
|
2437
|
+
The ID of the network to connect this network interface to.
|
|
2574
2438
|
"""
|
|
2575
2439
|
return pulumi.get(self, "network_id")
|
|
2576
2440
|
|
|
@@ -2582,7 +2446,7 @@ class VirtualMachineNetworkInterfaceArgs:
|
|
|
2582
2446
|
@pulumi.getter(name="adapterType")
|
|
2583
2447
|
def adapter_type(self) -> Optional[pulumi.Input[str]]:
|
|
2584
2448
|
"""
|
|
2585
|
-
The
|
|
2449
|
+
The controller type. Can be one of e1000, e1000e, sriov, vmxnet3, or vrdma.
|
|
2586
2450
|
"""
|
|
2587
2451
|
return pulumi.get(self, "adapter_type")
|
|
2588
2452
|
|
|
@@ -2594,7 +2458,7 @@ class VirtualMachineNetworkInterfaceArgs:
|
|
|
2594
2458
|
@pulumi.getter(name="bandwidthLimit")
|
|
2595
2459
|
def bandwidth_limit(self) -> Optional[pulumi.Input[int]]:
|
|
2596
2460
|
"""
|
|
2597
|
-
The upper bandwidth limit of
|
|
2461
|
+
The upper bandwidth limit of this network interface, in Mbits/sec.
|
|
2598
2462
|
"""
|
|
2599
2463
|
return pulumi.get(self, "bandwidth_limit")
|
|
2600
2464
|
|
|
@@ -2606,7 +2470,7 @@ class VirtualMachineNetworkInterfaceArgs:
|
|
|
2606
2470
|
@pulumi.getter(name="bandwidthReservation")
|
|
2607
2471
|
def bandwidth_reservation(self) -> Optional[pulumi.Input[int]]:
|
|
2608
2472
|
"""
|
|
2609
|
-
The bandwidth reservation of
|
|
2473
|
+
The bandwidth reservation of this network interface, in Mbits/sec.
|
|
2610
2474
|
"""
|
|
2611
2475
|
return pulumi.get(self, "bandwidth_reservation")
|
|
2612
2476
|
|
|
@@ -2618,7 +2482,7 @@ class VirtualMachineNetworkInterfaceArgs:
|
|
|
2618
2482
|
@pulumi.getter(name="bandwidthShareCount")
|
|
2619
2483
|
def bandwidth_share_count(self) -> Optional[pulumi.Input[int]]:
|
|
2620
2484
|
"""
|
|
2621
|
-
The share count for
|
|
2485
|
+
The share count for this network interface when the share level is custom.
|
|
2622
2486
|
"""
|
|
2623
2487
|
return pulumi.get(self, "bandwidth_share_count")
|
|
2624
2488
|
|
|
@@ -2630,7 +2494,7 @@ class VirtualMachineNetworkInterfaceArgs:
|
|
|
2630
2494
|
@pulumi.getter(name="bandwidthShareLevel")
|
|
2631
2495
|
def bandwidth_share_level(self) -> Optional[pulumi.Input[str]]:
|
|
2632
2496
|
"""
|
|
2633
|
-
The bandwidth share allocation level for
|
|
2497
|
+
The bandwidth share allocation level for this interface. Can be one of low, normal, high, or custom.
|
|
2634
2498
|
"""
|
|
2635
2499
|
return pulumi.get(self, "bandwidth_share_level")
|
|
2636
2500
|
|
|
@@ -2666,7 +2530,7 @@ class VirtualMachineNetworkInterfaceArgs:
|
|
|
2666
2530
|
@pulumi.getter(name="macAddress")
|
|
2667
2531
|
def mac_address(self) -> Optional[pulumi.Input[str]]:
|
|
2668
2532
|
"""
|
|
2669
|
-
The MAC address of
|
|
2533
|
+
The MAC address of this network interface. Can only be manually set if use_static_mac is true.
|
|
2670
2534
|
"""
|
|
2671
2535
|
return pulumi.get(self, "mac_address")
|
|
2672
2536
|
|
|
@@ -2678,7 +2542,7 @@ class VirtualMachineNetworkInterfaceArgs:
|
|
|
2678
2542
|
@pulumi.getter(name="ovfMapping")
|
|
2679
2543
|
def ovf_mapping(self) -> Optional[pulumi.Input[str]]:
|
|
2680
2544
|
"""
|
|
2681
|
-
|
|
2545
|
+
Mapping of network interface to OVF network.
|
|
2682
2546
|
"""
|
|
2683
2547
|
return pulumi.get(self, "ovf_mapping")
|
|
2684
2548
|
|
|
@@ -2702,7 +2566,7 @@ class VirtualMachineNetworkInterfaceArgs:
|
|
|
2702
2566
|
@pulumi.getter(name="useStaticMac")
|
|
2703
2567
|
def use_static_mac(self) -> Optional[pulumi.Input[bool]]:
|
|
2704
2568
|
"""
|
|
2705
|
-
If true, the
|
|
2569
|
+
If true, the mac_address field is treated as a static MAC address and set accordingly.
|
|
2706
2570
|
"""
|
|
2707
2571
|
return pulumi.get(self, "use_static_mac")
|
|
2708
2572
|
|
|
@@ -2946,10 +2810,10 @@ class VnicIpv4Args:
|
|
|
2946
2810
|
ip: Optional[pulumi.Input[str]] = None,
|
|
2947
2811
|
netmask: Optional[pulumi.Input[str]] = None):
|
|
2948
2812
|
"""
|
|
2949
|
-
:param pulumi.Input[bool] dhcp: Use DHCP to configure the interface's
|
|
2950
|
-
:param pulumi.Input[str] gw: IP address of the default gateway, if DHCP
|
|
2951
|
-
:param pulumi.Input[str] ip:
|
|
2952
|
-
:param pulumi.Input[str] netmask:
|
|
2813
|
+
:param pulumi.Input[bool] dhcp: Use DHCP to configure the interface's IPv4 stack.
|
|
2814
|
+
:param pulumi.Input[str] gw: IP address of the default gateway, if DHCP is not set.
|
|
2815
|
+
:param pulumi.Input[str] ip: address of the interface, if DHCP is not set.
|
|
2816
|
+
:param pulumi.Input[str] netmask: netmask of the interface, if DHCP is not set.
|
|
2953
2817
|
"""
|
|
2954
2818
|
if dhcp is not None:
|
|
2955
2819
|
pulumi.set(__self__, "dhcp", dhcp)
|
|
@@ -2964,7 +2828,7 @@ class VnicIpv4Args:
|
|
|
2964
2828
|
@pulumi.getter
|
|
2965
2829
|
def dhcp(self) -> Optional[pulumi.Input[bool]]:
|
|
2966
2830
|
"""
|
|
2967
|
-
Use DHCP to configure the interface's
|
|
2831
|
+
Use DHCP to configure the interface's IPv4 stack.
|
|
2968
2832
|
"""
|
|
2969
2833
|
return pulumi.get(self, "dhcp")
|
|
2970
2834
|
|
|
@@ -2976,7 +2840,7 @@ class VnicIpv4Args:
|
|
|
2976
2840
|
@pulumi.getter
|
|
2977
2841
|
def gw(self) -> Optional[pulumi.Input[str]]:
|
|
2978
2842
|
"""
|
|
2979
|
-
IP address of the default gateway, if DHCP
|
|
2843
|
+
IP address of the default gateway, if DHCP is not set.
|
|
2980
2844
|
"""
|
|
2981
2845
|
return pulumi.get(self, "gw")
|
|
2982
2846
|
|
|
@@ -2988,7 +2852,7 @@ class VnicIpv4Args:
|
|
|
2988
2852
|
@pulumi.getter
|
|
2989
2853
|
def ip(self) -> Optional[pulumi.Input[str]]:
|
|
2990
2854
|
"""
|
|
2991
|
-
|
|
2855
|
+
address of the interface, if DHCP is not set.
|
|
2992
2856
|
"""
|
|
2993
2857
|
return pulumi.get(self, "ip")
|
|
2994
2858
|
|
|
@@ -3000,7 +2864,7 @@ class VnicIpv4Args:
|
|
|
3000
2864
|
@pulumi.getter
|
|
3001
2865
|
def netmask(self) -> Optional[pulumi.Input[str]]:
|
|
3002
2866
|
"""
|
|
3003
|
-
|
|
2867
|
+
netmask of the interface, if DHCP is not set.
|
|
3004
2868
|
"""
|
|
3005
2869
|
return pulumi.get(self, "netmask")
|
|
3006
2870
|
|
|
@@ -3019,7 +2883,7 @@ class VnicIpv6Args:
|
|
|
3019
2883
|
"""
|
|
3020
2884
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] addresses: List of IPv6 addresses
|
|
3021
2885
|
:param pulumi.Input[bool] autoconfig: Use IPv6 Autoconfiguration (RFC2462).
|
|
3022
|
-
:param pulumi.Input[bool] dhcp: Use DHCP to configure the interface's
|
|
2886
|
+
:param pulumi.Input[bool] dhcp: Use DHCP to configure the interface's IPv4 stack.
|
|
3023
2887
|
:param pulumi.Input[str] gw: IP address of the default gateway, if DHCP or autoconfig is not set.
|
|
3024
2888
|
"""
|
|
3025
2889
|
if addresses is not None:
|
|
@@ -3059,7 +2923,7 @@ class VnicIpv6Args:
|
|
|
3059
2923
|
@pulumi.getter
|
|
3060
2924
|
def dhcp(self) -> Optional[pulumi.Input[bool]]:
|
|
3061
2925
|
"""
|
|
3062
|
-
Use DHCP to configure the interface's
|
|
2926
|
+
Use DHCP to configure the interface's IPv4 stack.
|
|
3063
2927
|
"""
|
|
3064
2928
|
return pulumi.get(self, "dhcp")
|
|
3065
2929
|
|