pulumi-vsphere 4.11.0__py3-none-any.whl → 4.11.0a1710920591__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 +236 -646
- pulumi_vsphere/_utilities.py +4 -40
- pulumi_vsphere/compute_cluster.py +1486 -756
- pulumi_vsphere/compute_cluster_vm_affinity_rule.py +34 -42
- pulumi_vsphere/content_library.py +10 -10
- pulumi_vsphere/datacenter.py +40 -33
- pulumi_vsphere/datastore_cluster.py +364 -154
- pulumi_vsphere/distributed_port_group.py +187 -131
- pulumi_vsphere/distributed_virtual_switch.py +828 -310
- pulumi_vsphere/entity_permissions.py +38 -59
- pulumi_vsphere/file.py +24 -16
- pulumi_vsphere/folder.py +28 -7
- pulumi_vsphere/get_compute_cluster.py +4 -0
- pulumi_vsphere/get_compute_cluster_host_group.py +20 -20
- pulumi_vsphere/get_content_library.py +10 -10
- pulumi_vsphere/get_content_library_item.py +8 -12
- pulumi_vsphere/get_custom_attribute.py +4 -0
- pulumi_vsphere/get_datacenter.py +4 -0
- pulumi_vsphere/get_datastore.py +16 -12
- pulumi_vsphere/get_datastore_cluster.py +4 -0
- pulumi_vsphere/get_datastore_stats.py +52 -46
- pulumi_vsphere/get_distributed_virtual_switch.py +4 -2
- pulumi_vsphere/get_dynamic.py +20 -18
- pulumi_vsphere/get_folder.py +6 -10
- pulumi_vsphere/get_guest_os_customization.py +47 -8
- pulumi_vsphere/get_host.py +4 -0
- pulumi_vsphere/get_host_pci_device.py +14 -8
- pulumi_vsphere/get_host_thumbprint.py +16 -12
- pulumi_vsphere/get_host_vgpu_profile.py +10 -4
- pulumi_vsphere/get_license.py +5 -2
- pulumi_vsphere/get_network.py +18 -14
- pulumi_vsphere/get_policy.py +4 -0
- pulumi_vsphere/get_resource_pool.py +18 -14
- pulumi_vsphere/get_role.py +8 -4
- 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 +43 -60
- pulumi_vsphere/get_vmfs_disks.py +4 -0
- pulumi_vsphere/guest_os_customization.py +5 -55
- pulumi_vsphere/ha_vm_override.py +378 -189
- pulumi_vsphere/host.py +60 -49
- pulumi_vsphere/host_port_group.py +26 -14
- pulumi_vsphere/host_virtual_switch.py +287 -140
- pulumi_vsphere/license.py +32 -0
- pulumi_vsphere/nas_datastore.py +7 -7
- pulumi_vsphere/outputs.py +270 -672
- pulumi_vsphere/provider.py +6 -2
- pulumi_vsphere/pulumi-plugin.json +1 -2
- pulumi_vsphere/resource_pool.py +24 -50
- pulumi_vsphere/virtual_disk.py +34 -42
- pulumi_vsphere/virtual_machine.py +827 -598
- pulumi_vsphere/virtual_machine_snapshot.py +12 -8
- pulumi_vsphere/vm_storage_policy.py +127 -115
- pulumi_vsphere/vnic.py +105 -89
- {pulumi_vsphere-4.11.0.dist-info → pulumi_vsphere-4.11.0a1710920591.dist-info}/METADATA +1 -1
- pulumi_vsphere-4.11.0a1710920591.dist-info/RECORD +82 -0
- {pulumi_vsphere-4.11.0.dist-info → pulumi_vsphere-4.11.0a1710920591.dist-info}/WHEEL +1 -1
- pulumi_vsphere/get_host_base_images.py +0 -97
- pulumi_vsphere/offline_software_depot.py +0 -180
- pulumi_vsphere/supervisor.py +0 -962
- pulumi_vsphere/virtual_machine_class.py +0 -442
- pulumi_vsphere-4.11.0.dist-info/RECORD +0 -86
- {pulumi_vsphere-4.11.0.dist-info → pulumi_vsphere-4.11.0a1710920591.dist-info}/top_level.txt +0 -0
pulumi_vsphere/vnic.py
CHANGED
|
@@ -30,7 +30,7 @@ class VnicArgs:
|
|
|
30
30
|
The set of arguments for constructing a Vnic resource.
|
|
31
31
|
:param pulumi.Input[str] host: ESX host the interface belongs to
|
|
32
32
|
:param pulumi.Input[str] distributed_port_group: Key of the distributed portgroup the nic will connect to.
|
|
33
|
-
:param pulumi.Input[str] distributed_switch_port: UUID of the
|
|
33
|
+
:param pulumi.Input[str] distributed_switch_port: UUID of the DVSwitch the nic will be attached to. Do not set if you set portgroup.
|
|
34
34
|
:param pulumi.Input['VnicIpv4Args'] ipv4: IPv4 settings. Either this or `ipv6` needs to be set. See IPv4 options below.
|
|
35
35
|
:param pulumi.Input['VnicIpv6Args'] ipv6: IPv6 settings. Either this or `ipv6` needs to be set. See IPv6 options below.
|
|
36
36
|
:param pulumi.Input[str] mac: MAC address of the interface.
|
|
@@ -87,7 +87,7 @@ class VnicArgs:
|
|
|
87
87
|
@pulumi.getter(name="distributedSwitchPort")
|
|
88
88
|
def distributed_switch_port(self) -> Optional[pulumi.Input[str]]:
|
|
89
89
|
"""
|
|
90
|
-
UUID of the
|
|
90
|
+
UUID of the DVSwitch the nic will be attached to. Do not set if you set portgroup.
|
|
91
91
|
"""
|
|
92
92
|
return pulumi.get(self, "distributed_switch_port")
|
|
93
93
|
|
|
@@ -196,7 +196,7 @@ class _VnicState:
|
|
|
196
196
|
"""
|
|
197
197
|
Input properties used for looking up and filtering Vnic resources.
|
|
198
198
|
:param pulumi.Input[str] distributed_port_group: Key of the distributed portgroup the nic will connect to.
|
|
199
|
-
:param pulumi.Input[str] distributed_switch_port: UUID of the
|
|
199
|
+
:param pulumi.Input[str] distributed_switch_port: UUID of the DVSwitch the nic will be attached to. Do not set if you set portgroup.
|
|
200
200
|
:param pulumi.Input[str] host: ESX host the interface belongs to
|
|
201
201
|
:param pulumi.Input['VnicIpv4Args'] ipv4: IPv4 settings. Either this or `ipv6` needs to be set. See IPv4 options below.
|
|
202
202
|
:param pulumi.Input['VnicIpv6Args'] ipv6: IPv6 settings. Either this or `ipv6` needs to be set. See IPv6 options below.
|
|
@@ -243,7 +243,7 @@ class _VnicState:
|
|
|
243
243
|
@pulumi.getter(name="distributedSwitchPort")
|
|
244
244
|
def distributed_switch_port(self) -> Optional[pulumi.Input[str]]:
|
|
245
245
|
"""
|
|
246
|
-
UUID of the
|
|
246
|
+
UUID of the DVSwitch the nic will be attached to. Do not set if you set portgroup.
|
|
247
247
|
"""
|
|
248
248
|
return pulumi.get(self, "distributed_switch_port")
|
|
249
249
|
|
|
@@ -356,8 +356,8 @@ class Vnic(pulumi.CustomResource):
|
|
|
356
356
|
distributed_port_group: Optional[pulumi.Input[str]] = None,
|
|
357
357
|
distributed_switch_port: Optional[pulumi.Input[str]] = None,
|
|
358
358
|
host: Optional[pulumi.Input[str]] = None,
|
|
359
|
-
ipv4: Optional[pulumi.Input[
|
|
360
|
-
ipv6: Optional[pulumi.Input[
|
|
359
|
+
ipv4: Optional[pulumi.Input[pulumi.InputType['VnicIpv4Args']]] = None,
|
|
360
|
+
ipv6: Optional[pulumi.Input[pulumi.InputType['VnicIpv6Args']]] = None,
|
|
361
361
|
mac: Optional[pulumi.Input[str]] = None,
|
|
362
362
|
mtu: Optional[pulumi.Input[int]] = None,
|
|
363
363
|
netstack: Optional[pulumi.Input[str]] = None,
|
|
@@ -369,69 +369,71 @@ class Vnic(pulumi.CustomResource):
|
|
|
369
369
|
|
|
370
370
|
## Example Usage
|
|
371
371
|
|
|
372
|
+
### S
|
|
373
|
+
|
|
372
374
|
### Create a vnic attached to a distributed virtual switch using the vmotion TCP/IP stack
|
|
373
375
|
|
|
376
|
+
<!--Start PulumiCodeChooser -->
|
|
374
377
|
```python
|
|
375
378
|
import pulumi
|
|
376
379
|
import pulumi_vsphere as vsphere
|
|
377
380
|
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
datacenter_id=
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
"
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
pg = vsphere.DistributedPortGroup("pg",
|
|
389
|
-
name="pg-01",
|
|
381
|
+
dc = vsphere.get_datacenter(name="mydc")
|
|
382
|
+
h1 = vsphere.get_host(name="esxi1.host.test",
|
|
383
|
+
datacenter_id=dc.id)
|
|
384
|
+
d1 = vsphere.DistributedVirtualSwitch("d1",
|
|
385
|
+
datacenter_id=dc.id,
|
|
386
|
+
hosts=[vsphere.DistributedVirtualSwitchHostArgs(
|
|
387
|
+
host_system_id=h1.id,
|
|
388
|
+
devices=["vnic3"],
|
|
389
|
+
)])
|
|
390
|
+
p1 = vsphere.DistributedPortGroup("p1",
|
|
390
391
|
vlan_id=1234,
|
|
391
|
-
distributed_virtual_switch_uuid=
|
|
392
|
-
|
|
393
|
-
host=
|
|
394
|
-
distributed_switch_port=
|
|
395
|
-
distributed_port_group=
|
|
396
|
-
ipv4=
|
|
397
|
-
|
|
398
|
-
|
|
392
|
+
distributed_virtual_switch_uuid=d1.id)
|
|
393
|
+
v1 = vsphere.Vnic("v1",
|
|
394
|
+
host=h1.id,
|
|
395
|
+
distributed_switch_port=d1.id,
|
|
396
|
+
distributed_port_group=p1.id,
|
|
397
|
+
ipv4=vsphere.VnicIpv4Args(
|
|
398
|
+
dhcp=True,
|
|
399
|
+
),
|
|
399
400
|
netstack="vmotion")
|
|
400
401
|
```
|
|
402
|
+
<!--End PulumiCodeChooser -->
|
|
401
403
|
|
|
402
404
|
### Create a vnic attached to a portgroup using the default TCP/IP stack
|
|
403
405
|
|
|
406
|
+
<!--Start PulumiCodeChooser -->
|
|
404
407
|
```python
|
|
405
408
|
import pulumi
|
|
406
409
|
import pulumi_vsphere as vsphere
|
|
407
410
|
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
datacenter_id=
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
host_system_id=host.id,
|
|
411
|
+
dc = vsphere.get_datacenter(name="mydc")
|
|
412
|
+
h1 = vsphere.get_host(name="esxi1.host.test",
|
|
413
|
+
datacenter_id=dc.id)
|
|
414
|
+
hvs1 = vsphere.HostVirtualSwitch("hvs1",
|
|
415
|
+
host_system_id=h1.id,
|
|
414
416
|
network_adapters=[
|
|
415
417
|
"vmnic3",
|
|
416
418
|
"vmnic4",
|
|
417
419
|
],
|
|
418
420
|
active_nics=["vmnic3"],
|
|
419
421
|
standby_nics=["vmnic4"])
|
|
420
|
-
|
|
421
|
-
name
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
},
|
|
422
|
+
p1 = vsphere.HostPortGroup("p1",
|
|
423
|
+
virtual_switch_name=hvs1.name,
|
|
424
|
+
host_system_id=h1.id)
|
|
425
|
+
v1 = vsphere.Vnic("v1",
|
|
426
|
+
host=h1.id,
|
|
427
|
+
portgroup=p1.name,
|
|
428
|
+
ipv4=vsphere.VnicIpv4Args(
|
|
429
|
+
dhcp=True,
|
|
430
|
+
),
|
|
430
431
|
services=[
|
|
431
432
|
"vsan",
|
|
432
433
|
"management",
|
|
433
434
|
])
|
|
434
435
|
```
|
|
436
|
+
<!--End PulumiCodeChooser -->
|
|
435
437
|
|
|
436
438
|
## Importing
|
|
437
439
|
|
|
@@ -440,15 +442,21 @@ class Vnic(pulumi.CustomResource):
|
|
|
440
442
|
|
|
441
443
|
[docs-import]: /docs/import/index.html
|
|
442
444
|
|
|
445
|
+
<!--Start PulumiCodeChooser -->
|
|
446
|
+
```python
|
|
447
|
+
import pulumi
|
|
448
|
+
```
|
|
449
|
+
<!--End PulumiCodeChooser -->
|
|
450
|
+
|
|
443
451
|
The above would import the vnic `vmk2` from host with ID `host-123`.
|
|
444
452
|
|
|
445
453
|
:param str resource_name: The name of the resource.
|
|
446
454
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
447
455
|
:param pulumi.Input[str] distributed_port_group: Key of the distributed portgroup the nic will connect to.
|
|
448
|
-
:param pulumi.Input[str] distributed_switch_port: UUID of the
|
|
456
|
+
:param pulumi.Input[str] distributed_switch_port: UUID of the DVSwitch the nic will be attached to. Do not set if you set portgroup.
|
|
449
457
|
:param pulumi.Input[str] host: ESX host the interface belongs to
|
|
450
|
-
:param pulumi.Input[
|
|
451
|
-
:param pulumi.Input[
|
|
458
|
+
:param pulumi.Input[pulumi.InputType['VnicIpv4Args']] ipv4: IPv4 settings. Either this or `ipv6` needs to be set. See IPv4 options below.
|
|
459
|
+
:param pulumi.Input[pulumi.InputType['VnicIpv6Args']] ipv6: IPv6 settings. Either this or `ipv6` needs to be set. See IPv6 options below.
|
|
452
460
|
:param pulumi.Input[str] mac: MAC address of the interface.
|
|
453
461
|
:param pulumi.Input[int] mtu: MTU of the interface.
|
|
454
462
|
:param pulumi.Input[str] netstack: TCP/IP stack setting for this interface. Possible values are `defaultTcpipStack``, 'vmotion', 'vSphereProvisioning'. Changing this will force the creation of a new interface since it's not possible to change the stack once it gets created. (Default:`defaultTcpipStack`)
|
|
@@ -466,69 +474,71 @@ class Vnic(pulumi.CustomResource):
|
|
|
466
474
|
|
|
467
475
|
## Example Usage
|
|
468
476
|
|
|
477
|
+
### S
|
|
478
|
+
|
|
469
479
|
### Create a vnic attached to a distributed virtual switch using the vmotion TCP/IP stack
|
|
470
480
|
|
|
481
|
+
<!--Start PulumiCodeChooser -->
|
|
471
482
|
```python
|
|
472
483
|
import pulumi
|
|
473
484
|
import pulumi_vsphere as vsphere
|
|
474
485
|
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
datacenter_id=
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
"
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
pg = vsphere.DistributedPortGroup("pg",
|
|
486
|
-
name="pg-01",
|
|
486
|
+
dc = vsphere.get_datacenter(name="mydc")
|
|
487
|
+
h1 = vsphere.get_host(name="esxi1.host.test",
|
|
488
|
+
datacenter_id=dc.id)
|
|
489
|
+
d1 = vsphere.DistributedVirtualSwitch("d1",
|
|
490
|
+
datacenter_id=dc.id,
|
|
491
|
+
hosts=[vsphere.DistributedVirtualSwitchHostArgs(
|
|
492
|
+
host_system_id=h1.id,
|
|
493
|
+
devices=["vnic3"],
|
|
494
|
+
)])
|
|
495
|
+
p1 = vsphere.DistributedPortGroup("p1",
|
|
487
496
|
vlan_id=1234,
|
|
488
|
-
distributed_virtual_switch_uuid=
|
|
489
|
-
|
|
490
|
-
host=
|
|
491
|
-
distributed_switch_port=
|
|
492
|
-
distributed_port_group=
|
|
493
|
-
ipv4=
|
|
494
|
-
|
|
495
|
-
|
|
497
|
+
distributed_virtual_switch_uuid=d1.id)
|
|
498
|
+
v1 = vsphere.Vnic("v1",
|
|
499
|
+
host=h1.id,
|
|
500
|
+
distributed_switch_port=d1.id,
|
|
501
|
+
distributed_port_group=p1.id,
|
|
502
|
+
ipv4=vsphere.VnicIpv4Args(
|
|
503
|
+
dhcp=True,
|
|
504
|
+
),
|
|
496
505
|
netstack="vmotion")
|
|
497
506
|
```
|
|
507
|
+
<!--End PulumiCodeChooser -->
|
|
498
508
|
|
|
499
509
|
### Create a vnic attached to a portgroup using the default TCP/IP stack
|
|
500
510
|
|
|
511
|
+
<!--Start PulumiCodeChooser -->
|
|
501
512
|
```python
|
|
502
513
|
import pulumi
|
|
503
514
|
import pulumi_vsphere as vsphere
|
|
504
515
|
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
datacenter_id=
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
host_system_id=host.id,
|
|
516
|
+
dc = vsphere.get_datacenter(name="mydc")
|
|
517
|
+
h1 = vsphere.get_host(name="esxi1.host.test",
|
|
518
|
+
datacenter_id=dc.id)
|
|
519
|
+
hvs1 = vsphere.HostVirtualSwitch("hvs1",
|
|
520
|
+
host_system_id=h1.id,
|
|
511
521
|
network_adapters=[
|
|
512
522
|
"vmnic3",
|
|
513
523
|
"vmnic4",
|
|
514
524
|
],
|
|
515
525
|
active_nics=["vmnic3"],
|
|
516
526
|
standby_nics=["vmnic4"])
|
|
517
|
-
|
|
518
|
-
name
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
},
|
|
527
|
+
p1 = vsphere.HostPortGroup("p1",
|
|
528
|
+
virtual_switch_name=hvs1.name,
|
|
529
|
+
host_system_id=h1.id)
|
|
530
|
+
v1 = vsphere.Vnic("v1",
|
|
531
|
+
host=h1.id,
|
|
532
|
+
portgroup=p1.name,
|
|
533
|
+
ipv4=vsphere.VnicIpv4Args(
|
|
534
|
+
dhcp=True,
|
|
535
|
+
),
|
|
527
536
|
services=[
|
|
528
537
|
"vsan",
|
|
529
538
|
"management",
|
|
530
539
|
])
|
|
531
540
|
```
|
|
541
|
+
<!--End PulumiCodeChooser -->
|
|
532
542
|
|
|
533
543
|
## Importing
|
|
534
544
|
|
|
@@ -537,6 +547,12 @@ class Vnic(pulumi.CustomResource):
|
|
|
537
547
|
|
|
538
548
|
[docs-import]: /docs/import/index.html
|
|
539
549
|
|
|
550
|
+
<!--Start PulumiCodeChooser -->
|
|
551
|
+
```python
|
|
552
|
+
import pulumi
|
|
553
|
+
```
|
|
554
|
+
<!--End PulumiCodeChooser -->
|
|
555
|
+
|
|
540
556
|
The above would import the vnic `vmk2` from host with ID `host-123`.
|
|
541
557
|
|
|
542
558
|
:param str resource_name: The name of the resource.
|
|
@@ -557,8 +573,8 @@ class Vnic(pulumi.CustomResource):
|
|
|
557
573
|
distributed_port_group: Optional[pulumi.Input[str]] = None,
|
|
558
574
|
distributed_switch_port: Optional[pulumi.Input[str]] = None,
|
|
559
575
|
host: Optional[pulumi.Input[str]] = None,
|
|
560
|
-
ipv4: Optional[pulumi.Input[
|
|
561
|
-
ipv6: Optional[pulumi.Input[
|
|
576
|
+
ipv4: Optional[pulumi.Input[pulumi.InputType['VnicIpv4Args']]] = None,
|
|
577
|
+
ipv6: Optional[pulumi.Input[pulumi.InputType['VnicIpv6Args']]] = None,
|
|
562
578
|
mac: Optional[pulumi.Input[str]] = None,
|
|
563
579
|
mtu: Optional[pulumi.Input[int]] = None,
|
|
564
580
|
netstack: Optional[pulumi.Input[str]] = None,
|
|
@@ -598,8 +614,8 @@ class Vnic(pulumi.CustomResource):
|
|
|
598
614
|
distributed_port_group: Optional[pulumi.Input[str]] = None,
|
|
599
615
|
distributed_switch_port: Optional[pulumi.Input[str]] = None,
|
|
600
616
|
host: Optional[pulumi.Input[str]] = None,
|
|
601
|
-
ipv4: Optional[pulumi.Input[
|
|
602
|
-
ipv6: Optional[pulumi.Input[
|
|
617
|
+
ipv4: Optional[pulumi.Input[pulumi.InputType['VnicIpv4Args']]] = None,
|
|
618
|
+
ipv6: Optional[pulumi.Input[pulumi.InputType['VnicIpv6Args']]] = None,
|
|
603
619
|
mac: Optional[pulumi.Input[str]] = None,
|
|
604
620
|
mtu: Optional[pulumi.Input[int]] = None,
|
|
605
621
|
netstack: Optional[pulumi.Input[str]] = None,
|
|
@@ -613,10 +629,10 @@ class Vnic(pulumi.CustomResource):
|
|
|
613
629
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
614
630
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
615
631
|
:param pulumi.Input[str] distributed_port_group: Key of the distributed portgroup the nic will connect to.
|
|
616
|
-
:param pulumi.Input[str] distributed_switch_port: UUID of the
|
|
632
|
+
:param pulumi.Input[str] distributed_switch_port: UUID of the DVSwitch the nic will be attached to. Do not set if you set portgroup.
|
|
617
633
|
:param pulumi.Input[str] host: ESX host the interface belongs to
|
|
618
|
-
:param pulumi.Input[
|
|
619
|
-
:param pulumi.Input[
|
|
634
|
+
:param pulumi.Input[pulumi.InputType['VnicIpv4Args']] ipv4: IPv4 settings. Either this or `ipv6` needs to be set. See IPv4 options below.
|
|
635
|
+
:param pulumi.Input[pulumi.InputType['VnicIpv6Args']] ipv6: IPv6 settings. Either this or `ipv6` needs to be set. See IPv6 options below.
|
|
620
636
|
:param pulumi.Input[str] mac: MAC address of the interface.
|
|
621
637
|
:param pulumi.Input[int] mtu: MTU of the interface.
|
|
622
638
|
:param pulumi.Input[str] netstack: TCP/IP stack setting for this interface. Possible values are `defaultTcpipStack``, 'vmotion', 'vSphereProvisioning'. Changing this will force the creation of a new interface since it's not possible to change the stack once it gets created. (Default:`defaultTcpipStack`)
|
|
@@ -651,7 +667,7 @@ class Vnic(pulumi.CustomResource):
|
|
|
651
667
|
@pulumi.getter(name="distributedSwitchPort")
|
|
652
668
|
def distributed_switch_port(self) -> pulumi.Output[Optional[str]]:
|
|
653
669
|
"""
|
|
654
|
-
UUID of the
|
|
670
|
+
UUID of the DVSwitch the nic will be attached to. Do not set if you set portgroup.
|
|
655
671
|
"""
|
|
656
672
|
return pulumi.get(self, "distributed_switch_port")
|
|
657
673
|
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
pulumi_vsphere/__init__.py,sha256=D0xUdIG9TzexthoPimJXUxoqiIfxr5H0lOHIAJhhsjE,10114
|
|
2
|
+
pulumi_vsphere/_inputs.py,sha256=n7IWt2LMpbsan_Pw5DPlEWWXolg15HOVJQ1dAIgPKGM,136898
|
|
3
|
+
pulumi_vsphere/_utilities.py,sha256=b6gJn0IIeM1t6Q7EVjqw3yhuGyP-uENQhtL5yp7aHR8,9248
|
|
4
|
+
pulumi_vsphere/compute_cluster.py,sha256=8HJuTuH9JIxCMh2WTG7zT7f6JwUy8qScFsr2S8ozkHg,245818
|
|
5
|
+
pulumi_vsphere/compute_cluster_host_group.py,sha256=QUCBKwC2RaJI6ZuC_qBDZJl5gey-rs3iVsbPrFFK-1g,13437
|
|
6
|
+
pulumi_vsphere/compute_cluster_vm_affinity_rule.py,sha256=tEW7sHDqTawVmI28q1xqprkpoU-fnan1hAeZkOUmNIM,24771
|
|
7
|
+
pulumi_vsphere/compute_cluster_vm_anti_affinity_rule.py,sha256=-5K0E6HRhIWGBKAcMZsqXNFQLWIAhJs07_PKVi-3PBg,17554
|
|
8
|
+
pulumi_vsphere/compute_cluster_vm_dependency_rule.py,sha256=_q1lrkr1pWzl10dGA1PdRSOXibmYvLKBLTdZG0O0YNQ,21613
|
|
9
|
+
pulumi_vsphere/compute_cluster_vm_group.py,sha256=l3gk0qAc9UiX6DpkCZl30L6qmTigu4pGo5O1YBJoatU,13459
|
|
10
|
+
pulumi_vsphere/compute_cluster_vm_host_rule.py,sha256=Am9PFFU8PghrdOTRbqJzeFS6nLxgX5Pob-SKqCEaY3k,24422
|
|
11
|
+
pulumi_vsphere/content_library.py,sha256=-3mst76bjX3vq4izMl8pIlZR2B9RjEG3A0VA7jpOfRc,15087
|
|
12
|
+
pulumi_vsphere/content_library_item.py,sha256=qjHPcnsxpNiFOzCPxQXngZXtR1R1RrsqAhdJgpqgZUc,15640
|
|
13
|
+
pulumi_vsphere/custom_attribute.py,sha256=wTuv97G4uXpJ9kv_TaKZc1OYj1e_68c9dAsFc9Ds5nQ,9031
|
|
14
|
+
pulumi_vsphere/datacenter.py,sha256=wz6ZhWNMg88zY21kTSALXAXyG1HBuZfyYGFhHtM--lM,19182
|
|
15
|
+
pulumi_vsphere/datastore_cluster.py,sha256=zTzK-jiRFBc7Cka5T3nAyZW8WJ2wcu3YFQddLhQ1yYo,90219
|
|
16
|
+
pulumi_vsphere/datastore_cluster_vm_anti_affinity_rule.py,sha256=8eKwKS9ZYaZICVxjNrNLDDBqBKyQqOJmC_nt0jlqYJY,16842
|
|
17
|
+
pulumi_vsphere/distributed_port_group.py,sha256=LWuv8PgWOo6MRx82QTrpiDAzORv9s6da7qdg3ZyV-KA,134499
|
|
18
|
+
pulumi_vsphere/distributed_virtual_switch.py,sha256=L6Vd4C9N9JRaILTt4Ll-CvQM9SVHhvBZ__61P61osok,264137
|
|
19
|
+
pulumi_vsphere/dpm_host_override.py,sha256=i3eG4PkI3Hi2KodP6OFAGC6QLczmNDRcSIt9MbK7U1Q,15371
|
|
20
|
+
pulumi_vsphere/drs_vm_override.py,sha256=qGlUe9gq9StYW4OHDSZKA03j0ru3Ruvb9SEaVcpHo1c,16657
|
|
21
|
+
pulumi_vsphere/entity_permissions.py,sha256=uPVnBk47c6csM0kQLwJC3Niml9uCTq23KGOfhNyNrrk,12429
|
|
22
|
+
pulumi_vsphere/file.py,sha256=00qPdnT7-00SNMacM8_lGQrEbGSXv9rTC_ERTZHtB3U,23703
|
|
23
|
+
pulumi_vsphere/folder.py,sha256=wCsVzpLVQn5tbx0kn4hKNUBxQpalVn9ydGemsbz_MLc,25630
|
|
24
|
+
pulumi_vsphere/get_compute_cluster.py,sha256=rOCQTRMnHzOz3lCSZOQUQJ80qkXUqkxJPOihH_GxrVk,6137
|
|
25
|
+
pulumi_vsphere/get_compute_cluster_host_group.py,sha256=1vMYBvHD7-b4d6k9wPR_DlRAqjoBMSC-vCjFFvtUpgE,6266
|
|
26
|
+
pulumi_vsphere/get_content_library.py,sha256=zaz3CNzLrJLB5rH0D1zQk5Mi_g_LANjeHfHJDXW9o6k,3358
|
|
27
|
+
pulumi_vsphere/get_content_library_item.py,sha256=-yztx7VLc3cyG8nwjZ4iA4QbwvVGgL6K81YHOrYHJ4U,4496
|
|
28
|
+
pulumi_vsphere/get_custom_attribute.py,sha256=KMIPUXKbqrRMzUFgQ91V6A_qwHttMHIaSSof4KOoD9Q,4494
|
|
29
|
+
pulumi_vsphere/get_datacenter.py,sha256=XjgzHmheL3QNXnywVEoJ7dHZqzR2P-_kmJrfx14tX-k,4223
|
|
30
|
+
pulumi_vsphere/get_datastore.py,sha256=paiKxWPfdEyz7Z9yRAe_wcfMVDVeJH59_ezscPg09_s,6119
|
|
31
|
+
pulumi_vsphere/get_datastore_cluster.py,sha256=U108Z7EMqK4Q-7QYzIAuYSLaZQywdA7HVMT417ppC2E,5297
|
|
32
|
+
pulumi_vsphere/get_datastore_stats.py,sha256=O8FhEGF5NT2mlFnNzgU-v3kxqvQjscPCtia-daF4qA4,7917
|
|
33
|
+
pulumi_vsphere/get_distributed_virtual_switch.py,sha256=3Y9Z7qhXnUz60I1WGF3g6UUQu_iwqdmZYumZxM6iFVE,7014
|
|
34
|
+
pulumi_vsphere/get_dynamic.py,sha256=4evdnVACuoARVhytaBkXCPOQTJfAhzU63H1dy2MYYL4,6242
|
|
35
|
+
pulumi_vsphere/get_folder.py,sha256=cZn7YUGiNn6sziSiH1_6v-p9LVLxiiiEwXgUnjR93Qk,3765
|
|
36
|
+
pulumi_vsphere/get_guest_os_customization.py,sha256=a-hctk_ltCSfcjAgx_IxqQtOCd-df9a5vZeKXY8mNoU,6510
|
|
37
|
+
pulumi_vsphere/get_host.py,sha256=PBTK0McfwvgkKjuBeZbQWESeBrhbeIL1mafQO5Au0kY,5340
|
|
38
|
+
pulumi_vsphere/get_host_pci_device.py,sha256=47KyrlqKw_mnLK3eaVMbmI8bEGqUye0BVh6YGPO_cWI,7898
|
|
39
|
+
pulumi_vsphere/get_host_thumbprint.py,sha256=9UmtSmyhiewNXW-7cifViECzkU6RXUN0aNcbhOKsf5k,5103
|
|
40
|
+
pulumi_vsphere/get_host_vgpu_profile.py,sha256=5LP_PDfY3wXA4zCml3Cz_yANEHPIh0OFoMK9PNJnJhI,6628
|
|
41
|
+
pulumi_vsphere/get_license.py,sha256=2egn7bCzJt6Eul_HWgPTrHpzzfruab3JlPBrNWCWfkc,5398
|
|
42
|
+
pulumi_vsphere/get_network.py,sha256=Cm2IZobXCW_RbyfGJybAqULksx4LUNFg-7oNKEWL0qs,7273
|
|
43
|
+
pulumi_vsphere/get_ovf_vm_template.py,sha256=1C3sBBXBAzpxaZBiv4knADbzSNN7XaV3ItNLwRcFwb4,25791
|
|
44
|
+
pulumi_vsphere/get_policy.py,sha256=RmwMeG08vPnbebfPw4Qyvi60zofxLdx5sHFbH73hFBY,3565
|
|
45
|
+
pulumi_vsphere/get_resource_pool.py,sha256=SybwTomV_rYafuE4Xegm67g1exIHi66_PA-ZzNwz_cE,7597
|
|
46
|
+
pulumi_vsphere/get_role.py,sha256=ZH7ycfvudtiCgmFZV3fJobeitdyFYCrZ0gmli46rFCs,5351
|
|
47
|
+
pulumi_vsphere/get_tag.py,sha256=Cf7jDIln9TEHBrjH9AWWUEFreEA9Z2Anm7umdbBWVlA,4956
|
|
48
|
+
pulumi_vsphere/get_tag_category.py,sha256=vB023_5_viINfklL9-KKhvADQKoY8ZDjTTQVgF2w3-Q,5174
|
|
49
|
+
pulumi_vsphere/get_vapp_container.py,sha256=Ae77fQHwunAm8Ab97wEYqjL-ZmdTuyj8yoE57RU6xzs,4613
|
|
50
|
+
pulumi_vsphere/get_virtual_machine.py,sha256=FsY6V0eKMRXr2JBqFtkdyu1nU9PvVmFsLd30FHhMlJc,58811
|
|
51
|
+
pulumi_vsphere/get_vmfs_disks.py,sha256=ItMOx8cK9l12N4Yc4hQb2Ocuk_hCwb4Ql39QX9Tt1HQ,6857
|
|
52
|
+
pulumi_vsphere/guest_os_customization.py,sha256=HB-qrGxduUJH_cUpKyLbnmmV-HOBqJWesV4lWTLdETk,15360
|
|
53
|
+
pulumi_vsphere/ha_vm_override.py,sha256=gGQd5NMeFDznmfLTQvuXuVM5JT_ZAmQRxwuVEDe_FxI,58963
|
|
54
|
+
pulumi_vsphere/host.py,sha256=jX-4FYaKACBU2OwgK3khdQwDs81bMR5GG-aMlIRaGTg,46389
|
|
55
|
+
pulumi_vsphere/host_port_group.py,sha256=_0k6zNLexAWeaOocfTLZRCWwbsZ5vRbrsceoL1AsWrc,57254
|
|
56
|
+
pulumi_vsphere/host_virtual_switch.py,sha256=gj2BcglObvCxe4tkIze0OxW2xnGDDOhWKUc2Qbz99eQ,61643
|
|
57
|
+
pulumi_vsphere/license.py,sha256=FUrMgYlPCR74DuWahcgZttso7Q2m9kpoKiTb-6IOWy4,12908
|
|
58
|
+
pulumi_vsphere/nas_datastore.py,sha256=X5PeUipclE4MG0uHS_SlmpaHBrz4jtaLhVEfOybjYQY,48202
|
|
59
|
+
pulumi_vsphere/outputs.py,sha256=PQWYuK0-fabmFt2L7I7YXrCRJluhu8mvak_KSlGwMJw,151078
|
|
60
|
+
pulumi_vsphere/provider.py,sha256=ljEs3n-BiTMtFb7qqPn6YDZh3M-L5Oq2LAbX1QfV274,20511
|
|
61
|
+
pulumi_vsphere/pulumi-plugin.json,sha256=GPkzWdIfUGLp-CeSzzIZ8ksrThmeZnOYMcpaT3JCpTU,44
|
|
62
|
+
pulumi_vsphere/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
63
|
+
pulumi_vsphere/resource_pool.py,sha256=h8uuERR45TUAH2-IvtbR1uZfcJq55FyW_ZqET7OVifE,54219
|
|
64
|
+
pulumi_vsphere/role.py,sha256=kO9DfdLWHq5bfwD0EBAsZuWQxrcX7amJBVUrfREHf3c,8528
|
|
65
|
+
pulumi_vsphere/storage_drs_vm_override.py,sha256=f1DoLBiMk4_JQdPaemv5RW6xPksw5p4w-AFLZsC6Jr8,20828
|
|
66
|
+
pulumi_vsphere/tag.py,sha256=gF7uOgj1Xm_k2cV7YIiwBGakQvhi-jlsNYKDm7JDFWw,9943
|
|
67
|
+
pulumi_vsphere/tag_category.py,sha256=FzqdUOMwmAo7W6Xuw3-CByCbBSmsvkCGXiLRaMUVVQ4,15120
|
|
68
|
+
pulumi_vsphere/vapp_container.py,sha256=1On1t7PnLEqnQvNIt1XIh9VFu7LaSegyRyDaJf8lQmQ,48255
|
|
69
|
+
pulumi_vsphere/vapp_entity.py,sha256=JePz7OF__e1x7aFp_9I257S61HnDT7gdHsWK-u17nlM,29555
|
|
70
|
+
pulumi_vsphere/virtual_disk.py,sha256=kWAUojQyOg9zFj_sYAjz0O_FtSWmwfDzeCOdTWelNZ0,28723
|
|
71
|
+
pulumi_vsphere/virtual_machine.py,sha256=VzvF0jXEWx_ROG_t8MiIUJqEaJ4lW29uVimFFCbyxP4,273930
|
|
72
|
+
pulumi_vsphere/virtual_machine_snapshot.py,sha256=G8-3jJEsViVYhF4v4LSfWSw1ajq3AdaSloMO1rseyww,24082
|
|
73
|
+
pulumi_vsphere/vm_storage_policy.py,sha256=MzAcDxZfj6p25LFT6sS-zho9i_uDXlU6uytttWQyJkg,21426
|
|
74
|
+
pulumi_vsphere/vmfs_datastore.py,sha256=gNhmetE0wMDKMEM_ImATFpnTJhqMEPd0q8eOgqpedr0,34596
|
|
75
|
+
pulumi_vsphere/vnic.py,sha256=upByAXkmwaA7U9VYF2huy2yntN2creeBaFvIoRfee_o,30855
|
|
76
|
+
pulumi_vsphere/config/__init__.py,sha256=cfY0smRZD3fDVc93ZIAxEl_IM2pynmXB52n3Ahzi030,285
|
|
77
|
+
pulumi_vsphere/config/__init__.pyi,sha256=ZO6ktIIpO1bKQNe2__l8JqDti_ZKgnRvHTcXcRWzb0M,1351
|
|
78
|
+
pulumi_vsphere/config/vars.py,sha256=fcurb1Hwqp3evWnRD4s2t--MUjqR9R11nIm04F1UMW0,3210
|
|
79
|
+
pulumi_vsphere-4.11.0a1710920591.dist-info/METADATA,sha256=okTcA7ZHk0-PVaTyRR_qYYcNUUQJItOdX_eDiWrseog,4958
|
|
80
|
+
pulumi_vsphere-4.11.0a1710920591.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
|
81
|
+
pulumi_vsphere-4.11.0a1710920591.dist-info/top_level.txt,sha256=00BIE8zaYtdsw0_tBfXR8E5sTs3lRnwlcZ6lUdu4loI,15
|
|
82
|
+
pulumi_vsphere-4.11.0a1710920591.dist-info/RECORD,,
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
# coding=utf-8
|
|
2
|
-
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
-
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
-
|
|
5
|
-
import copy
|
|
6
|
-
import warnings
|
|
7
|
-
import pulumi
|
|
8
|
-
import pulumi.runtime
|
|
9
|
-
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
10
|
-
from . import _utilities
|
|
11
|
-
|
|
12
|
-
__all__ = [
|
|
13
|
-
'GetHostBaseImagesResult',
|
|
14
|
-
'AwaitableGetHostBaseImagesResult',
|
|
15
|
-
'get_host_base_images',
|
|
16
|
-
'get_host_base_images_output',
|
|
17
|
-
]
|
|
18
|
-
|
|
19
|
-
@pulumi.output_type
|
|
20
|
-
class GetHostBaseImagesResult:
|
|
21
|
-
"""
|
|
22
|
-
A collection of values returned by getHostBaseImages.
|
|
23
|
-
"""
|
|
24
|
-
def __init__(__self__, id=None, versions=None):
|
|
25
|
-
if id and not isinstance(id, str):
|
|
26
|
-
raise TypeError("Expected argument 'id' to be a str")
|
|
27
|
-
pulumi.set(__self__, "id", id)
|
|
28
|
-
if versions and not isinstance(versions, list):
|
|
29
|
-
raise TypeError("Expected argument 'versions' to be a list")
|
|
30
|
-
pulumi.set(__self__, "versions", versions)
|
|
31
|
-
|
|
32
|
-
@property
|
|
33
|
-
@pulumi.getter
|
|
34
|
-
def id(self) -> str:
|
|
35
|
-
"""
|
|
36
|
-
The provider-assigned unique ID for this managed resource.
|
|
37
|
-
"""
|
|
38
|
-
return pulumi.get(self, "id")
|
|
39
|
-
|
|
40
|
-
@property
|
|
41
|
-
@pulumi.getter
|
|
42
|
-
def versions(self) -> Sequence[str]:
|
|
43
|
-
"""
|
|
44
|
-
The ESXi version identifier for the image
|
|
45
|
-
"""
|
|
46
|
-
return pulumi.get(self, "versions")
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
class AwaitableGetHostBaseImagesResult(GetHostBaseImagesResult):
|
|
50
|
-
# pylint: disable=using-constant-test
|
|
51
|
-
def __await__(self):
|
|
52
|
-
if False:
|
|
53
|
-
yield self
|
|
54
|
-
return GetHostBaseImagesResult(
|
|
55
|
-
id=self.id,
|
|
56
|
-
versions=self.versions)
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
def get_host_base_images(opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetHostBaseImagesResult:
|
|
60
|
-
"""
|
|
61
|
-
The `get_host_base_images` data source can be used to get the list of ESXi
|
|
62
|
-
base images available for cluster software management.
|
|
63
|
-
|
|
64
|
-
## Example Usage
|
|
65
|
-
|
|
66
|
-
```python
|
|
67
|
-
import pulumi
|
|
68
|
-
import pulumi_vsphere as vsphere
|
|
69
|
-
|
|
70
|
-
base_images = vsphere.get_host_base_images()
|
|
71
|
-
```
|
|
72
|
-
"""
|
|
73
|
-
__args__ = dict()
|
|
74
|
-
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
75
|
-
__ret__ = pulumi.runtime.invoke('vsphere:index/getHostBaseImages:getHostBaseImages', __args__, opts=opts, typ=GetHostBaseImagesResult).value
|
|
76
|
-
|
|
77
|
-
return AwaitableGetHostBaseImagesResult(
|
|
78
|
-
id=pulumi.get(__ret__, 'id'),
|
|
79
|
-
versions=pulumi.get(__ret__, 'versions'))
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
@_utilities.lift_output_func(get_host_base_images)
|
|
83
|
-
def get_host_base_images_output(opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetHostBaseImagesResult]:
|
|
84
|
-
"""
|
|
85
|
-
The `get_host_base_images` data source can be used to get the list of ESXi
|
|
86
|
-
base images available for cluster software management.
|
|
87
|
-
|
|
88
|
-
## Example Usage
|
|
89
|
-
|
|
90
|
-
```python
|
|
91
|
-
import pulumi
|
|
92
|
-
import pulumi_vsphere as vsphere
|
|
93
|
-
|
|
94
|
-
base_images = vsphere.get_host_base_images()
|
|
95
|
-
```
|
|
96
|
-
"""
|
|
97
|
-
...
|