pulumi-vsphere 4.13.0a1737527662__py3-none-any.whl → 4.13.0a1737580962__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 +9 -0
- pulumi_vsphere/_inputs.py +3 -3
- pulumi_vsphere/compute_cluster.py +4 -4
- pulumi_vsphere/compute_cluster_vm_host_rule.py +124 -0
- pulumi_vsphere/custom_attribute.py +2 -2
- pulumi_vsphere/datastore_cluster.py +2 -2
- pulumi_vsphere/distributed_port_group.py +4 -53
- pulumi_vsphere/distributed_virtual_switch.py +11 -11
- pulumi_vsphere/distributed_virtual_switch_pvlan_mapping.py +293 -0
- pulumi_vsphere/dpm_host_override.py +2 -2
- pulumi_vsphere/drs_vm_override.py +96 -2
- pulumi_vsphere/get_resource_pool.py +2 -2
- pulumi_vsphere/get_virtual_machine.py +22 -3
- pulumi_vsphere/ha_vm_override.py +2 -2
- pulumi_vsphere/host_port_group.py +2 -2
- pulumi_vsphere/host_virtual_switch.py +98 -2
- pulumi_vsphere/outputs.py +2 -2
- pulumi_vsphere/pulumi-plugin.json +1 -1
- pulumi_vsphere/storage_drs_vm_override.py +2 -2
- pulumi_vsphere/tag.py +2 -2
- pulumi_vsphere/tag_category.py +2 -2
- pulumi_vsphere/vapp_container.py +2 -2
- pulumi_vsphere/vapp_entity.py +2 -2
- pulumi_vsphere/virtual_disk.py +7 -7
- pulumi_vsphere/virtual_machine.py +34 -0
- pulumi_vsphere/virtual_machine_snapshot.py +4 -4
- {pulumi_vsphere-4.13.0a1737527662.dist-info → pulumi_vsphere-4.13.0a1737580962.dist-info}/METADATA +1 -1
- {pulumi_vsphere-4.13.0a1737527662.dist-info → pulumi_vsphere-4.13.0a1737580962.dist-info}/RECORD +30 -29
- {pulumi_vsphere-4.13.0a1737527662.dist-info → pulumi_vsphere-4.13.0a1737580962.dist-info}/WHEEL +0 -0
- {pulumi_vsphere-4.13.0a1737527662.dist-info → pulumi_vsphere-4.13.0a1737580962.dist-info}/top_level.txt +0 -0
pulumi_vsphere/__init__.py
CHANGED
|
@@ -20,6 +20,7 @@ from .datastore_cluster import *
|
|
|
20
20
|
from .datastore_cluster_vm_anti_affinity_rule import *
|
|
21
21
|
from .distributed_port_group import *
|
|
22
22
|
from .distributed_virtual_switch import *
|
|
23
|
+
from .distributed_virtual_switch_pvlan_mapping import *
|
|
23
24
|
from .dpm_host_override import *
|
|
24
25
|
from .drs_vm_override import *
|
|
25
26
|
from .entity_permissions import *
|
|
@@ -211,6 +212,14 @@ _utilities.register(
|
|
|
211
212
|
"vsphere:index/distributedVirtualSwitch:DistributedVirtualSwitch": "DistributedVirtualSwitch"
|
|
212
213
|
}
|
|
213
214
|
},
|
|
215
|
+
{
|
|
216
|
+
"pkg": "vsphere",
|
|
217
|
+
"mod": "index/distributedVirtualSwitchPvlanMapping",
|
|
218
|
+
"fqn": "pulumi_vsphere",
|
|
219
|
+
"classes": {
|
|
220
|
+
"vsphere:index/distributedVirtualSwitchPvlanMapping:DistributedVirtualSwitchPvlanMapping": "DistributedVirtualSwitchPvlanMapping"
|
|
221
|
+
}
|
|
222
|
+
},
|
|
214
223
|
{
|
|
215
224
|
"pkg": "vsphere",
|
|
216
225
|
"mod": "index/dpmHostOverride",
|
pulumi_vsphere/_inputs.py
CHANGED
|
@@ -3396,7 +3396,7 @@ if not MYPY:
|
|
|
3396
3396
|
"""
|
|
3397
3397
|
controller_type: NotRequired[pulumi.Input[str]]
|
|
3398
3398
|
"""
|
|
3399
|
-
The type of controller the disk should be connected to. Must be 'scsi', 'sata', or 'ide'.
|
|
3399
|
+
The type of controller the disk should be connected to. Must be 'scsi', 'sata', 'nvme', or 'ide'.
|
|
3400
3400
|
"""
|
|
3401
3401
|
datastore_id: NotRequired[pulumi.Input[str]]
|
|
3402
3402
|
"""
|
|
@@ -3500,7 +3500,7 @@ class VirtualMachineDiskArgs:
|
|
|
3500
3500
|
"""
|
|
3501
3501
|
:param pulumi.Input[str] label: A unique label for this disk.
|
|
3502
3502
|
:param pulumi.Input[bool] attach: If this is true, the disk is attached instead of created. Implies keep_on_remove.
|
|
3503
|
-
:param pulumi.Input[str] controller_type: The type of controller the disk should be connected to. Must be 'scsi', 'sata', or 'ide'.
|
|
3503
|
+
:param pulumi.Input[str] controller_type: The type of controller the disk should be connected to. Must be 'scsi', 'sata', 'nvme', or 'ide'.
|
|
3504
3504
|
:param pulumi.Input[str] datastore_id: The datastore ID for this virtual disk, if different than the virtual machine.
|
|
3505
3505
|
: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.
|
|
3506
3506
|
: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.
|
|
@@ -3590,7 +3590,7 @@ class VirtualMachineDiskArgs:
|
|
|
3590
3590
|
@pulumi.getter(name="controllerType")
|
|
3591
3591
|
def controller_type(self) -> Optional[pulumi.Input[str]]:
|
|
3592
3592
|
"""
|
|
3593
|
-
The type of controller the disk should be connected to. Must be 'scsi', 'sata', or 'ide'.
|
|
3593
|
+
The type of controller the disk should be connected to. Must be 'scsi', 'sata', 'nvme', or 'ide'.
|
|
3594
3594
|
"""
|
|
3595
3595
|
return pulumi.get(self, "controller_type")
|
|
3596
3596
|
|
|
@@ -2547,8 +2547,8 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
2547
2547
|
page][ref-vsphere-drs-clusters]. For more information on vSphere HA, see [this
|
|
2548
2548
|
page][ref-vsphere-ha-clusters].
|
|
2549
2549
|
|
|
2550
|
-
[ref-vsphere-drs-clusters]: https://
|
|
2551
|
-
[ref-vsphere-ha-clusters]: https://
|
|
2550
|
+
[ref-vsphere-drs-clusters]: https://techdocs.broadcom.com/us/en/vmware-cis/vsphere/vsphere/8-0/vsphere-resource-management-8-0/creating-a-drs-cluster.html
|
|
2551
|
+
[ref-vsphere-ha-clusters]: https://techdocs.broadcom.com/us/en/vmware-cis/vsphere/vsphere/8-0/vsphere-availability.html
|
|
2552
2552
|
|
|
2553
2553
|
> **NOTE:** This resource requires vCenter and is not available on
|
|
2554
2554
|
direct ESXi connections.
|
|
@@ -2761,8 +2761,8 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
2761
2761
|
page][ref-vsphere-drs-clusters]. For more information on vSphere HA, see [this
|
|
2762
2762
|
page][ref-vsphere-ha-clusters].
|
|
2763
2763
|
|
|
2764
|
-
[ref-vsphere-drs-clusters]: https://
|
|
2765
|
-
[ref-vsphere-ha-clusters]: https://
|
|
2764
|
+
[ref-vsphere-drs-clusters]: https://techdocs.broadcom.com/us/en/vmware-cis/vsphere/vsphere/8-0/vsphere-resource-management-8-0/creating-a-drs-cluster.html
|
|
2765
|
+
[ref-vsphere-ha-clusters]: https://techdocs.broadcom.com/us/en/vmware-cis/vsphere/vsphere/8-0/vsphere-availability.html
|
|
2766
2766
|
|
|
2767
2767
|
> **NOTE:** This resource requires vCenter and is not available on
|
|
2768
2768
|
direct ESXi connections.
|
|
@@ -352,6 +352,68 @@ class ComputeClusterVmHostRule(pulumi.CustomResource):
|
|
|
352
352
|
> **NOTE:** This resource requires vCenter and is not available on direct ESXi
|
|
353
353
|
connections.
|
|
354
354
|
|
|
355
|
+
## Example Usage
|
|
356
|
+
|
|
357
|
+
The example below creates a virtual machine in a cluster using the
|
|
358
|
+
`VirtualMachine` resource in a cluster
|
|
359
|
+
looked up by the `ComputeCluster`
|
|
360
|
+
data source. It then creates a group with this virtual machine. It also creates
|
|
361
|
+
a host group off of the host looked up via the
|
|
362
|
+
`Host` data source. Finally, this
|
|
363
|
+
virtual machine is configured to run specifically on that host via a
|
|
364
|
+
`ComputeClusterVmHostRule` resource.
|
|
365
|
+
|
|
366
|
+
> Note how `vm_group_name` and
|
|
367
|
+
`affinity_host_group_name` are sourced off of the
|
|
368
|
+
`name` attributes from the
|
|
369
|
+
`ComputeClusterVmGroup` and
|
|
370
|
+
`ComputeClusterHostGroup`
|
|
371
|
+
resources. This is to ensure that the rule is not created before the groups
|
|
372
|
+
exist, which may not possibly happen in the event that the names came from a
|
|
373
|
+
"static" source such as a variable.
|
|
374
|
+
|
|
375
|
+
```python
|
|
376
|
+
import pulumi
|
|
377
|
+
import pulumi_vsphere as vsphere
|
|
378
|
+
|
|
379
|
+
datacenter = vsphere.get_datacenter(name="dc-01")
|
|
380
|
+
datastore = vsphere.get_datastore(name="datastore1",
|
|
381
|
+
datacenter_id=datacenter.id)
|
|
382
|
+
cluster = vsphere.get_compute_cluster(name="cluster-01",
|
|
383
|
+
datacenter_id=datacenter.id)
|
|
384
|
+
host = vsphere.get_host(name="esxi-01.example.com",
|
|
385
|
+
datacenter_id=datacenter.id)
|
|
386
|
+
network = vsphere.get_network(name="network1",
|
|
387
|
+
datacenter_id=datacenter.id)
|
|
388
|
+
vm = vsphere.VirtualMachine("vm",
|
|
389
|
+
name="test",
|
|
390
|
+
resource_pool_id=cluster.resource_pool_id,
|
|
391
|
+
datastore_id=datastore.id,
|
|
392
|
+
num_cpus=2,
|
|
393
|
+
memory=2048,
|
|
394
|
+
guest_id="otherLinux64Guest",
|
|
395
|
+
network_interfaces=[{
|
|
396
|
+
"network_id": network.id,
|
|
397
|
+
}],
|
|
398
|
+
disks=[{
|
|
399
|
+
"label": "disk0",
|
|
400
|
+
"size": 20,
|
|
401
|
+
}])
|
|
402
|
+
cluster_vm_group = vsphere.ComputeClusterVmGroup("cluster_vm_group",
|
|
403
|
+
name="test-cluster-vm-group",
|
|
404
|
+
compute_cluster_id=cluster.id,
|
|
405
|
+
virtual_machine_ids=[vm.id])
|
|
406
|
+
cluster_host_group = vsphere.ComputeClusterHostGroup("cluster_host_group",
|
|
407
|
+
name="test-cluster-vm-group",
|
|
408
|
+
compute_cluster_id=cluster.id,
|
|
409
|
+
host_system_ids=[host.id])
|
|
410
|
+
cluster_vm_host_rule = vsphere.ComputeClusterVmHostRule("cluster_vm_host_rule",
|
|
411
|
+
compute_cluster_id=cluster.id,
|
|
412
|
+
name="test-cluster-vm-host-rule",
|
|
413
|
+
vm_group_name=cluster_vm_group.name,
|
|
414
|
+
affinity_host_group_name=cluster_host_group.name)
|
|
415
|
+
```
|
|
416
|
+
|
|
355
417
|
## Import
|
|
356
418
|
|
|
357
419
|
An existing rule can be imported into this resource by supplying
|
|
@@ -420,6 +482,68 @@ class ComputeClusterVmHostRule(pulumi.CustomResource):
|
|
|
420
482
|
> **NOTE:** This resource requires vCenter and is not available on direct ESXi
|
|
421
483
|
connections.
|
|
422
484
|
|
|
485
|
+
## Example Usage
|
|
486
|
+
|
|
487
|
+
The example below creates a virtual machine in a cluster using the
|
|
488
|
+
`VirtualMachine` resource in a cluster
|
|
489
|
+
looked up by the `ComputeCluster`
|
|
490
|
+
data source. It then creates a group with this virtual machine. It also creates
|
|
491
|
+
a host group off of the host looked up via the
|
|
492
|
+
`Host` data source. Finally, this
|
|
493
|
+
virtual machine is configured to run specifically on that host via a
|
|
494
|
+
`ComputeClusterVmHostRule` resource.
|
|
495
|
+
|
|
496
|
+
> Note how `vm_group_name` and
|
|
497
|
+
`affinity_host_group_name` are sourced off of the
|
|
498
|
+
`name` attributes from the
|
|
499
|
+
`ComputeClusterVmGroup` and
|
|
500
|
+
`ComputeClusterHostGroup`
|
|
501
|
+
resources. This is to ensure that the rule is not created before the groups
|
|
502
|
+
exist, which may not possibly happen in the event that the names came from a
|
|
503
|
+
"static" source such as a variable.
|
|
504
|
+
|
|
505
|
+
```python
|
|
506
|
+
import pulumi
|
|
507
|
+
import pulumi_vsphere as vsphere
|
|
508
|
+
|
|
509
|
+
datacenter = vsphere.get_datacenter(name="dc-01")
|
|
510
|
+
datastore = vsphere.get_datastore(name="datastore1",
|
|
511
|
+
datacenter_id=datacenter.id)
|
|
512
|
+
cluster = vsphere.get_compute_cluster(name="cluster-01",
|
|
513
|
+
datacenter_id=datacenter.id)
|
|
514
|
+
host = vsphere.get_host(name="esxi-01.example.com",
|
|
515
|
+
datacenter_id=datacenter.id)
|
|
516
|
+
network = vsphere.get_network(name="network1",
|
|
517
|
+
datacenter_id=datacenter.id)
|
|
518
|
+
vm = vsphere.VirtualMachine("vm",
|
|
519
|
+
name="test",
|
|
520
|
+
resource_pool_id=cluster.resource_pool_id,
|
|
521
|
+
datastore_id=datastore.id,
|
|
522
|
+
num_cpus=2,
|
|
523
|
+
memory=2048,
|
|
524
|
+
guest_id="otherLinux64Guest",
|
|
525
|
+
network_interfaces=[{
|
|
526
|
+
"network_id": network.id,
|
|
527
|
+
}],
|
|
528
|
+
disks=[{
|
|
529
|
+
"label": "disk0",
|
|
530
|
+
"size": 20,
|
|
531
|
+
}])
|
|
532
|
+
cluster_vm_group = vsphere.ComputeClusterVmGroup("cluster_vm_group",
|
|
533
|
+
name="test-cluster-vm-group",
|
|
534
|
+
compute_cluster_id=cluster.id,
|
|
535
|
+
virtual_machine_ids=[vm.id])
|
|
536
|
+
cluster_host_group = vsphere.ComputeClusterHostGroup("cluster_host_group",
|
|
537
|
+
name="test-cluster-vm-group",
|
|
538
|
+
compute_cluster_id=cluster.id,
|
|
539
|
+
host_system_ids=[host.id])
|
|
540
|
+
cluster_vm_host_rule = vsphere.ComputeClusterVmHostRule("cluster_vm_host_rule",
|
|
541
|
+
compute_cluster_id=cluster.id,
|
|
542
|
+
name="test-cluster-vm-host-rule",
|
|
543
|
+
vm_group_name=cluster_vm_group.name,
|
|
544
|
+
affinity_host_group_name=cluster_host_group.name)
|
|
545
|
+
```
|
|
546
|
+
|
|
423
547
|
## Import
|
|
424
548
|
|
|
425
549
|
An existing rule can be imported into this resource by supplying
|
|
@@ -120,7 +120,7 @@ class CustomAttribute(pulumi.CustomResource):
|
|
|
120
120
|
|
|
121
121
|
For more information about custom attributes, click [here][ext-custom-attributes].
|
|
122
122
|
|
|
123
|
-
[ext-custom-attributes]: https://
|
|
123
|
+
[ext-custom-attributes]: https://techdocs.broadcom.com/us/en/vmware-cis/vsphere/vsphere/8-0/vcenter-and-host-management-8-0/vsphere-tags-and-attributes-host-management/custom-attributes-in-the-vsphere-client-host-management.html
|
|
124
124
|
|
|
125
125
|
> **NOTE:** Custom attributes are unsupported on direct ESXi host connections
|
|
126
126
|
and require vCenter Server.
|
|
@@ -170,7 +170,7 @@ class CustomAttribute(pulumi.CustomResource):
|
|
|
170
170
|
|
|
171
171
|
For more information about custom attributes, click [here][ext-custom-attributes].
|
|
172
172
|
|
|
173
|
-
[ext-custom-attributes]: https://
|
|
173
|
+
[ext-custom-attributes]: https://techdocs.broadcom.com/us/en/vmware-cis/vsphere/vsphere/8-0/vcenter-and-host-management-8-0/vsphere-tags-and-attributes-host-management/custom-attributes-in-the-vsphere-client-host-management.html
|
|
174
174
|
|
|
175
175
|
> **NOTE:** Custom attributes are unsupported on direct ESXi host connections
|
|
176
176
|
and require vCenter Server.
|
|
@@ -959,7 +959,7 @@ class DatastoreCluster(pulumi.CustomResource):
|
|
|
959
959
|
For more information on vSphere datastore clusters and Storage DRS, see [this
|
|
960
960
|
page][ref-vsphere-datastore-clusters].
|
|
961
961
|
|
|
962
|
-
[ref-vsphere-datastore-clusters]: https://
|
|
962
|
+
[ref-vsphere-datastore-clusters]: https://techdocs.broadcom.com/us/en/vmware-cis/vsphere/vsphere/8-0/vsphere-resource-management-8-0/creating-a-datastore-cluster.html
|
|
963
963
|
|
|
964
964
|
> **NOTE:** This resource requires vCenter and is not available on direct ESXi
|
|
965
965
|
connections.
|
|
@@ -1045,7 +1045,7 @@ class DatastoreCluster(pulumi.CustomResource):
|
|
|
1045
1045
|
For more information on vSphere datastore clusters and Storage DRS, see [this
|
|
1046
1046
|
page][ref-vsphere-datastore-clusters].
|
|
1047
1047
|
|
|
1048
|
-
[ref-vsphere-datastore-clusters]: https://
|
|
1048
|
+
[ref-vsphere-datastore-clusters]: https://techdocs.broadcom.com/us/en/vmware-cis/vsphere/vsphere/8-0/vsphere-resource-management-8-0/creating-a-datastore-cluster.html
|
|
1049
1049
|
|
|
1050
1050
|
> **NOTE:** This resource requires vCenter and is not available on direct ESXi
|
|
1051
1051
|
connections.
|
|
@@ -86,14 +86,7 @@ class DistributedPortGroupArgs:
|
|
|
86
86
|
:param pulumi.Input[bool] block_override_allowed: Allow the blocked setting of an individual port to override the setting in the portgroup.
|
|
87
87
|
:param pulumi.Input[bool] check_beacon: Enable beacon probing on the ports this policy applies to.
|
|
88
88
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] custom_attributes: Map of custom attribute ids to attribute
|
|
89
|
-
<<<<<<< HEAD
|
|
90
|
-
value string to set for port group. See [here][docs-setting-custom-attributes]
|
|
91
|
-
for a reference on how to set values for custom attributes.
|
|
92
|
-
|
|
93
|
-
[docs-setting-custom-attributes]: /docs/providers/vsphere/r/custom_attribute.html#using-custom-attributes-in-a-supported-resource
|
|
94
|
-
=======
|
|
95
89
|
value string to set for port group.
|
|
96
|
-
>>>>>>> 69c6e040 (fork)
|
|
97
90
|
|
|
98
91
|
> **NOTE:** Custom attributes are not supported on direct ESXi host
|
|
99
92
|
connections and require vCenter Server.
|
|
@@ -356,14 +349,7 @@ class DistributedPortGroupArgs:
|
|
|
356
349
|
def custom_attributes(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
357
350
|
"""
|
|
358
351
|
Map of custom attribute ids to attribute
|
|
359
|
-
<<<<<<< HEAD
|
|
360
|
-
value string to set for port group. See [here][docs-setting-custom-attributes]
|
|
361
|
-
for a reference on how to set values for custom attributes.
|
|
362
|
-
|
|
363
|
-
[docs-setting-custom-attributes]: /docs/providers/vsphere/r/custom_attribute.html#using-custom-attributes-in-a-supported-resource
|
|
364
|
-
=======
|
|
365
352
|
value string to set for port group.
|
|
366
|
-
>>>>>>> 69c6e040 (fork)
|
|
367
353
|
|
|
368
354
|
> **NOTE:** Custom attributes are not supported on direct ESXi host
|
|
369
355
|
connections and require vCenter Server.
|
|
@@ -887,14 +873,7 @@ class _DistributedPortGroupState:
|
|
|
887
873
|
:param pulumi.Input[str] config_version: The current version of the port group configuration,
|
|
888
874
|
incremented by subsequent updates to the port group.
|
|
889
875
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] custom_attributes: Map of custom attribute ids to attribute
|
|
890
|
-
<<<<<<< HEAD
|
|
891
|
-
value string to set for port group. See [here][docs-setting-custom-attributes]
|
|
892
|
-
for a reference on how to set values for custom attributes.
|
|
893
|
-
|
|
894
|
-
[docs-setting-custom-attributes]: /docs/providers/vsphere/r/custom_attribute.html#using-custom-attributes-in-a-supported-resource
|
|
895
|
-
=======
|
|
896
876
|
value string to set for port group.
|
|
897
|
-
>>>>>>> 69c6e040 (fork)
|
|
898
877
|
|
|
899
878
|
> **NOTE:** Custom attributes are not supported on direct ESXi host
|
|
900
879
|
connections and require vCenter Server.
|
|
@@ -1165,14 +1144,7 @@ class _DistributedPortGroupState:
|
|
|
1165
1144
|
def custom_attributes(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
1166
1145
|
"""
|
|
1167
1146
|
Map of custom attribute ids to attribute
|
|
1168
|
-
<<<<<<< HEAD
|
|
1169
|
-
value string to set for port group. See [here][docs-setting-custom-attributes]
|
|
1170
|
-
for a reference on how to set values for custom attributes.
|
|
1171
|
-
|
|
1172
|
-
[docs-setting-custom-attributes]: /docs/providers/vsphere/r/custom_attribute.html#using-custom-attributes-in-a-supported-resource
|
|
1173
|
-
=======
|
|
1174
1147
|
value string to set for port group.
|
|
1175
|
-
>>>>>>> 69c6e040 (fork)
|
|
1176
1148
|
|
|
1177
1149
|
> **NOTE:** Custom attributes are not supported on direct ESXi host
|
|
1178
1150
|
connections and require vCenter Server.
|
|
@@ -1720,8 +1692,8 @@ class DistributedPortGroup(pulumi.CustomResource):
|
|
|
1720
1692
|
* For more information on distributed port groups, refer to the vSphere
|
|
1721
1693
|
[product documentation][ref-vsphere-dvportgroup].
|
|
1722
1694
|
|
|
1723
|
-
[ref-vsphere-net-concepts]: https://
|
|
1724
|
-
[ref-vsphere-dvportgroup]: https://
|
|
1695
|
+
[ref-vsphere-net-concepts]: https://techdocs.broadcom.com/us/en/vmware-cis/vsphere/vsphere/8-0/vsphere-networking-8-0/introduction-to-vsphere-networking.html
|
|
1696
|
+
[ref-vsphere-dvportgroup]: https://techdocs.broadcom.com/us/en/vmware-cis/vsphere/vsphere/8-0/vsphere-networking-8-0/basic-networking-with-vnetwork-distributed-switches/dvport-groups.html
|
|
1725
1697
|
|
|
1726
1698
|
> **NOTE:** This resource requires vCenter and is not available on
|
|
1727
1699
|
direct ESXi host connections.
|
|
@@ -1861,14 +1833,7 @@ class DistributedPortGroup(pulumi.CustomResource):
|
|
|
1861
1833
|
:param pulumi.Input[bool] block_override_allowed: Allow the blocked setting of an individual port to override the setting in the portgroup.
|
|
1862
1834
|
:param pulumi.Input[bool] check_beacon: Enable beacon probing on the ports this policy applies to.
|
|
1863
1835
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] custom_attributes: Map of custom attribute ids to attribute
|
|
1864
|
-
<<<<<<< HEAD
|
|
1865
|
-
value string to set for port group. See [here][docs-setting-custom-attributes]
|
|
1866
|
-
for a reference on how to set values for custom attributes.
|
|
1867
|
-
|
|
1868
|
-
[docs-setting-custom-attributes]: /docs/providers/vsphere/r/custom_attribute.html#using-custom-attributes-in-a-supported-resource
|
|
1869
|
-
=======
|
|
1870
1836
|
value string to set for port group.
|
|
1871
|
-
>>>>>>> 69c6e040 (fork)
|
|
1872
1837
|
|
|
1873
1838
|
> **NOTE:** Custom attributes are not supported on direct ESXi host
|
|
1874
1839
|
connections and require vCenter Server.
|
|
@@ -1944,8 +1909,8 @@ class DistributedPortGroup(pulumi.CustomResource):
|
|
|
1944
1909
|
* For more information on distributed port groups, refer to the vSphere
|
|
1945
1910
|
[product documentation][ref-vsphere-dvportgroup].
|
|
1946
1911
|
|
|
1947
|
-
[ref-vsphere-net-concepts]: https://
|
|
1948
|
-
[ref-vsphere-dvportgroup]: https://
|
|
1912
|
+
[ref-vsphere-net-concepts]: https://techdocs.broadcom.com/us/en/vmware-cis/vsphere/vsphere/8-0/vsphere-networking-8-0/introduction-to-vsphere-networking.html
|
|
1913
|
+
[ref-vsphere-dvportgroup]: https://techdocs.broadcom.com/us/en/vmware-cis/vsphere/vsphere/8-0/vsphere-networking-8-0/basic-networking-with-vnetwork-distributed-switches/dvport-groups.html
|
|
1949
1914
|
|
|
1950
1915
|
> **NOTE:** This resource requires vCenter and is not available on
|
|
1951
1916
|
direct ESXi host connections.
|
|
@@ -2270,14 +2235,7 @@ class DistributedPortGroup(pulumi.CustomResource):
|
|
|
2270
2235
|
:param pulumi.Input[str] config_version: The current version of the port group configuration,
|
|
2271
2236
|
incremented by subsequent updates to the port group.
|
|
2272
2237
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] custom_attributes: Map of custom attribute ids to attribute
|
|
2273
|
-
<<<<<<< HEAD
|
|
2274
|
-
value string to set for port group. See [here][docs-setting-custom-attributes]
|
|
2275
|
-
for a reference on how to set values for custom attributes.
|
|
2276
|
-
|
|
2277
|
-
[docs-setting-custom-attributes]: /docs/providers/vsphere/r/custom_attribute.html#using-custom-attributes-in-a-supported-resource
|
|
2278
|
-
=======
|
|
2279
2238
|
value string to set for port group.
|
|
2280
|
-
>>>>>>> 69c6e040 (fork)
|
|
2281
2239
|
|
|
2282
2240
|
> **NOTE:** Custom attributes are not supported on direct ESXi host
|
|
2283
2241
|
connections and require vCenter Server.
|
|
@@ -2469,14 +2427,7 @@ class DistributedPortGroup(pulumi.CustomResource):
|
|
|
2469
2427
|
def custom_attributes(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
|
|
2470
2428
|
"""
|
|
2471
2429
|
Map of custom attribute ids to attribute
|
|
2472
|
-
<<<<<<< HEAD
|
|
2473
|
-
value string to set for port group. See [here][docs-setting-custom-attributes]
|
|
2474
|
-
for a reference on how to set values for custom attributes.
|
|
2475
|
-
|
|
2476
|
-
[docs-setting-custom-attributes]: /docs/providers/vsphere/r/custom_attribute.html#using-custom-attributes-in-a-supported-resource
|
|
2477
|
-
=======
|
|
2478
2430
|
value string to set for port group.
|
|
2479
|
-
>>>>>>> 69c6e040 (fork)
|
|
2480
2431
|
|
|
2481
2432
|
> **NOTE:** Custom attributes are not supported on direct ESXi host
|
|
2482
2433
|
connections and require vCenter Server.
|
|
@@ -157,7 +157,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
157
157
|
:param pulumi.Input[int] hbr_share_count: The amount of shares to allocate to the hbr traffic class for a custom share level.
|
|
158
158
|
:param pulumi.Input[str] hbr_share_level: The allocation level for the hbr traffic class. Can be one of high, low, normal, or custom.
|
|
159
159
|
:param pulumi.Input[Sequence[pulumi.Input['DistributedVirtualSwitchHostArgs']]] hosts: A host member specification.
|
|
160
|
-
:param pulumi.Input[bool] ignore_other_pvlan_mappings: Whether to ignore existing PVLAN mappings not managed by this resource.
|
|
160
|
+
:param pulumi.Input[bool] ignore_other_pvlan_mappings: Whether to ignore existing PVLAN mappings not managed by this resource.
|
|
161
161
|
:param pulumi.Input[int] ingress_shaping_average_bandwidth: The average ingress bandwidth in bits per second if ingress shaping is enabled on the port.
|
|
162
162
|
:param pulumi.Input[int] ingress_shaping_burst_size: The maximum ingress burst size allowed in bytes if ingress shaping is enabled on the port.
|
|
163
163
|
:param pulumi.Input[bool] ingress_shaping_enabled: True if the traffic shaper is enabled for ingress traffic on the port.
|
|
@@ -806,7 +806,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
806
806
|
@pulumi.getter(name="ignoreOtherPvlanMappings")
|
|
807
807
|
def ignore_other_pvlan_mappings(self) -> Optional[pulumi.Input[bool]]:
|
|
808
808
|
"""
|
|
809
|
-
Whether to ignore existing PVLAN mappings not managed by this resource.
|
|
809
|
+
Whether to ignore existing PVLAN mappings not managed by this resource.
|
|
810
810
|
"""
|
|
811
811
|
return pulumi.get(self, "ignore_other_pvlan_mappings")
|
|
812
812
|
|
|
@@ -1713,7 +1713,7 @@ class _DistributedVirtualSwitchState:
|
|
|
1713
1713
|
:param pulumi.Input[int] hbr_share_count: The amount of shares to allocate to the hbr traffic class for a custom share level.
|
|
1714
1714
|
:param pulumi.Input[str] hbr_share_level: The allocation level for the hbr traffic class. Can be one of high, low, normal, or custom.
|
|
1715
1715
|
:param pulumi.Input[Sequence[pulumi.Input['DistributedVirtualSwitchHostArgs']]] hosts: A host member specification.
|
|
1716
|
-
:param pulumi.Input[bool] ignore_other_pvlan_mappings: Whether to ignore existing PVLAN mappings not managed by this resource.
|
|
1716
|
+
:param pulumi.Input[bool] ignore_other_pvlan_mappings: Whether to ignore existing PVLAN mappings not managed by this resource.
|
|
1717
1717
|
:param pulumi.Input[int] ingress_shaping_average_bandwidth: The average ingress bandwidth in bits per second if ingress shaping is enabled on the port.
|
|
1718
1718
|
:param pulumi.Input[int] ingress_shaping_burst_size: The maximum ingress burst size allowed in bytes if ingress shaping is enabled on the port.
|
|
1719
1719
|
:param pulumi.Input[bool] ingress_shaping_enabled: True if the traffic shaper is enabled for ingress traffic on the port.
|
|
@@ -2378,7 +2378,7 @@ class _DistributedVirtualSwitchState:
|
|
|
2378
2378
|
@pulumi.getter(name="ignoreOtherPvlanMappings")
|
|
2379
2379
|
def ignore_other_pvlan_mappings(self) -> Optional[pulumi.Input[bool]]:
|
|
2380
2380
|
"""
|
|
2381
|
-
Whether to ignore existing PVLAN mappings not managed by this resource.
|
|
2381
|
+
Whether to ignore existing PVLAN mappings not managed by this resource.
|
|
2382
2382
|
"""
|
|
2383
2383
|
return pulumi.get(self, "ignore_other_pvlan_mappings")
|
|
2384
2384
|
|
|
@@ -3260,8 +3260,8 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
3260
3260
|
|
|
3261
3261
|
For more information on the VDS, see [this page][ref-vsphere-vds].
|
|
3262
3262
|
|
|
3263
|
-
[ref-vsphere-net-concepts]: https://
|
|
3264
|
-
[ref-vsphere-vds]: https://
|
|
3263
|
+
[ref-vsphere-net-concepts]: https://techdocs.broadcom.com/us/en/vmware-cis/vsphere/vsphere/8-0/vsphere-networking-8-0/basic-networking-with-vnetwork-distributed-switches/dvport-groups.html
|
|
3264
|
+
[ref-vsphere-vds]: https://techdocs.broadcom.com/us/en/vmware-cis/vsphere/vsphere/8-0/vsphere-networking-8-0/basic-networking-with-vnetwork-distributed-switches.html
|
|
3265
3265
|
|
|
3266
3266
|
> **NOTE:** This resource requires vCenter and is not available on
|
|
3267
3267
|
direct ESXi host connections.
|
|
@@ -3414,7 +3414,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
3414
3414
|
:param pulumi.Input[int] hbr_share_count: The amount of shares to allocate to the hbr traffic class for a custom share level.
|
|
3415
3415
|
:param pulumi.Input[str] hbr_share_level: The allocation level for the hbr traffic class. Can be one of high, low, normal, or custom.
|
|
3416
3416
|
:param pulumi.Input[Sequence[pulumi.Input[Union['DistributedVirtualSwitchHostArgs', 'DistributedVirtualSwitchHostArgsDict']]]] hosts: A host member specification.
|
|
3417
|
-
:param pulumi.Input[bool] ignore_other_pvlan_mappings: Whether to ignore existing PVLAN mappings not managed by this resource.
|
|
3417
|
+
:param pulumi.Input[bool] ignore_other_pvlan_mappings: Whether to ignore existing PVLAN mappings not managed by this resource.
|
|
3418
3418
|
:param pulumi.Input[int] ingress_shaping_average_bandwidth: The average ingress bandwidth in bits per second if ingress shaping is enabled on the port.
|
|
3419
3419
|
:param pulumi.Input[int] ingress_shaping_burst_size: The maximum ingress burst size allowed in bytes if ingress shaping is enabled on the port.
|
|
3420
3420
|
:param pulumi.Input[bool] ingress_shaping_enabled: True if the traffic shaper is enabled for ingress traffic on the port.
|
|
@@ -3513,8 +3513,8 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
3513
3513
|
|
|
3514
3514
|
For more information on the VDS, see [this page][ref-vsphere-vds].
|
|
3515
3515
|
|
|
3516
|
-
[ref-vsphere-net-concepts]: https://
|
|
3517
|
-
[ref-vsphere-vds]: https://
|
|
3516
|
+
[ref-vsphere-net-concepts]: https://techdocs.broadcom.com/us/en/vmware-cis/vsphere/vsphere/8-0/vsphere-networking-8-0/basic-networking-with-vnetwork-distributed-switches/dvport-groups.html
|
|
3517
|
+
[ref-vsphere-vds]: https://techdocs.broadcom.com/us/en/vmware-cis/vsphere/vsphere/8-0/vsphere-networking-8-0/basic-networking-with-vnetwork-distributed-switches.html
|
|
3518
3518
|
|
|
3519
3519
|
> **NOTE:** This resource requires vCenter and is not available on
|
|
3520
3520
|
direct ESXi host connections.
|
|
@@ -3994,7 +3994,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
3994
3994
|
:param pulumi.Input[int] hbr_share_count: The amount of shares to allocate to the hbr traffic class for a custom share level.
|
|
3995
3995
|
:param pulumi.Input[str] hbr_share_level: The allocation level for the hbr traffic class. Can be one of high, low, normal, or custom.
|
|
3996
3996
|
:param pulumi.Input[Sequence[pulumi.Input[Union['DistributedVirtualSwitchHostArgs', 'DistributedVirtualSwitchHostArgsDict']]]] hosts: A host member specification.
|
|
3997
|
-
:param pulumi.Input[bool] ignore_other_pvlan_mappings: Whether to ignore existing PVLAN mappings not managed by this resource.
|
|
3997
|
+
:param pulumi.Input[bool] ignore_other_pvlan_mappings: Whether to ignore existing PVLAN mappings not managed by this resource.
|
|
3998
3998
|
:param pulumi.Input[int] ingress_shaping_average_bandwidth: The average ingress bandwidth in bits per second if ingress shaping is enabled on the port.
|
|
3999
3999
|
:param pulumi.Input[int] ingress_shaping_burst_size: The maximum ingress burst size allowed in bytes if ingress shaping is enabled on the port.
|
|
4000
4000
|
:param pulumi.Input[bool] ingress_shaping_enabled: True if the traffic shaper is enabled for ingress traffic on the port.
|
|
@@ -4441,7 +4441,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4441
4441
|
@pulumi.getter(name="ignoreOtherPvlanMappings")
|
|
4442
4442
|
def ignore_other_pvlan_mappings(self) -> pulumi.Output[Optional[bool]]:
|
|
4443
4443
|
"""
|
|
4444
|
-
Whether to ignore existing PVLAN mappings not managed by this resource.
|
|
4444
|
+
Whether to ignore existing PVLAN mappings not managed by this resource.
|
|
4445
4445
|
"""
|
|
4446
4446
|
return pulumi.get(self, "ignore_other_pvlan_mappings")
|
|
4447
4447
|
|