pulumi-vsphere 4.16.0a1755919665__py3-none-any.whl → 4.17.0a1763072299__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.
- pulumi_vsphere/compute_cluster.py +203 -462
- pulumi_vsphere/datastore_cluster.py +35 -70
- pulumi_vsphere/distributed_port_group.py +21 -42
- pulumi_vsphere/distributed_virtual_switch.py +35 -70
- pulumi_vsphere/get_guest_os_customization.py +34 -0
- pulumi_vsphere/ha_vm_override.py +77 -161
- pulumi_vsphere/host_port_group.py +21 -42
- pulumi_vsphere/host_virtual_switch.py +21 -42
- pulumi_vsphere/pulumi-plugin.json +1 -1
- pulumi_vsphere/virtual_machine.py +91 -196
- {pulumi_vsphere-4.16.0a1755919665.dist-info → pulumi_vsphere-4.17.0a1763072299.dist-info}/METADATA +1 -1
- {pulumi_vsphere-4.16.0a1755919665.dist-info → pulumi_vsphere-4.17.0a1763072299.dist-info}/RECORD +14 -14
- {pulumi_vsphere-4.16.0a1755919665.dist-info → pulumi_vsphere-4.17.0a1763072299.dist-info}/WHEEL +0 -0
- {pulumi_vsphere-4.16.0a1755919665.dist-info → pulumi_vsphere-4.17.0a1763072299.dist-info}/top_level.txt +0 -0
|
@@ -120,8 +120,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
120
120
|
:param pulumi.Input[_builtins.str] datacenter_id: The ID of the datacenter where the VDS will be
|
|
121
121
|
created. Forces a new resource if changed.
|
|
122
122
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] active_uplinks: List of active uplinks used for load balancing, matching the names of the uplinks assigned in the DVS.
|
|
123
|
-
:param pulumi.Input[_builtins.bool] allow_forged_transmits: Controls whether or not the virtual network adapter is allowed to send network traffic with a different MAC address than
|
|
124
|
-
that of its own.
|
|
123
|
+
:param pulumi.Input[_builtins.bool] allow_forged_transmits: Controls whether or not the virtual network adapter is allowed to send network traffic with a different MAC address than that of its own.
|
|
125
124
|
:param pulumi.Input[_builtins.bool] allow_mac_changes: Controls whether or not the Media Access Control (MAC) address can be changed.
|
|
126
125
|
:param pulumi.Input[_builtins.bool] allow_promiscuous: Enable promiscuous mode on the network. This flag indicates whether or not all traffic is seen on a given port.
|
|
127
126
|
:param pulumi.Input[_builtins.int] backupnfc_maximum_mbit: The maximum allowed usage for the backupNfc traffic class, in Mbits/sec.
|
|
@@ -192,8 +191,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
192
191
|
:param pulumi.Input[_builtins.int] netflow_idle_flow_timeout: The number of seconds after which idle flows are forced to be exported to the collector.
|
|
193
192
|
:param pulumi.Input[_builtins.bool] netflow_internal_flows_only: Whether to limit analysis to traffic that has both source and destination served by the same host.
|
|
194
193
|
:param pulumi.Input[_builtins.int] netflow_observation_domain_id: The observation Domain ID for the netflow collector.
|
|
195
|
-
:param pulumi.Input[_builtins.int] netflow_sampling_rate: The ratio of total number of packets to the number of packets analyzed. Set to 0 to disable sampling, meaning that all
|
|
196
|
-
packets are analyzed.
|
|
194
|
+
:param pulumi.Input[_builtins.int] netflow_sampling_rate: The ratio of total number of packets to the number of packets analyzed. Set to 0 to disable sampling, meaning that all packets are analyzed.
|
|
197
195
|
:param pulumi.Input[_builtins.bool] network_resource_control_enabled: Whether or not to enable network resource control, enabling advanced traffic shaping and resource control features.
|
|
198
196
|
:param pulumi.Input[_builtins.str] network_resource_control_version: The network I/O control version to use. Can be one of version2 or version3.
|
|
199
197
|
:param pulumi.Input[_builtins.int] nfs_maximum_mbit: The maximum allowed usage for the nfs traffic class, in Mbits/sec.
|
|
@@ -205,12 +203,9 @@ class DistributedVirtualSwitchArgs:
|
|
|
205
203
|
:param pulumi.Input[Sequence[pulumi.Input['DistributedVirtualSwitchPvlanMappingArgs']]] pvlan_mappings: A private VLAN (PVLAN) mapping.
|
|
206
204
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] standby_uplinks: List of standby uplinks used for load balancing, matching the names of the uplinks assigned in the DVS.
|
|
207
205
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] tags: The IDs of any tags to attach to this resource.
|
|
208
|
-
:param pulumi.Input[_builtins.str] teaming_policy: The network adapter teaming policy. Can be one of loadbalance_ip, loadbalance_srcmac, loadbalance_srcid,
|
|
209
|
-
|
|
210
|
-
:param pulumi.Input[_builtins.
|
|
211
|
-
forwarded done by the switch.
|
|
212
|
-
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] uplinks: A list of uplink ports. The contents of this list control both the uplink count and names of the uplinks on the DVS
|
|
213
|
-
across hosts.
|
|
206
|
+
:param pulumi.Input[_builtins.str] teaming_policy: The network adapter teaming policy. Can be one of loadbalance_ip, loadbalance_srcmac, loadbalance_srcid, failover_explicit, or loadbalance_loadbased.
|
|
207
|
+
:param pulumi.Input[_builtins.bool] tx_uplink: If true, a copy of packets sent to the switch will always be forwarded to an uplink in addition to the regular packet forwarded done by the switch.
|
|
208
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] uplinks: A list of uplink ports. The contents of this list control both the uplink count and names of the uplinks on the DVS across hosts.
|
|
214
209
|
:param pulumi.Input[_builtins.int] vdp_maximum_mbit: The maximum allowed usage for the vdp traffic class, in Mbits/sec.
|
|
215
210
|
:param pulumi.Input[_builtins.int] vdp_reservation_mbit: The amount of guaranteed bandwidth for the vdp traffic class, in Mbits/sec.
|
|
216
211
|
:param pulumi.Input[_builtins.int] vdp_share_count: The amount of shares to allocate to the vdp traffic class for a custom share level.
|
|
@@ -450,8 +445,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
450
445
|
@pulumi.getter(name="allowForgedTransmits")
|
|
451
446
|
def allow_forged_transmits(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
452
447
|
"""
|
|
453
|
-
Controls whether or not the virtual network adapter is allowed to send network traffic with a different MAC address than
|
|
454
|
-
that of its own.
|
|
448
|
+
Controls whether or not the virtual network adapter is allowed to send network traffic with a different MAC address than that of its own.
|
|
455
449
|
"""
|
|
456
450
|
return pulumi.get(self, "allow_forged_transmits")
|
|
457
451
|
|
|
@@ -1160,8 +1154,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
1160
1154
|
@pulumi.getter(name="netflowSamplingRate")
|
|
1161
1155
|
def netflow_sampling_rate(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
1162
1156
|
"""
|
|
1163
|
-
The ratio of total number of packets to the number of packets analyzed. Set to 0 to disable sampling, meaning that all
|
|
1164
|
-
packets are analyzed.
|
|
1157
|
+
The ratio of total number of packets to the number of packets analyzed. Set to 0 to disable sampling, meaning that all packets are analyzed.
|
|
1165
1158
|
"""
|
|
1166
1159
|
return pulumi.get(self, "netflow_sampling_rate")
|
|
1167
1160
|
|
|
@@ -1305,8 +1298,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
1305
1298
|
@pulumi.getter(name="teamingPolicy")
|
|
1306
1299
|
def teaming_policy(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1307
1300
|
"""
|
|
1308
|
-
The network adapter teaming policy. Can be one of loadbalance_ip, loadbalance_srcmac, loadbalance_srcid,
|
|
1309
|
-
failover_explicit, or loadbalance_loadbased.
|
|
1301
|
+
The network adapter teaming policy. Can be one of loadbalance_ip, loadbalance_srcmac, loadbalance_srcid, failover_explicit, or loadbalance_loadbased.
|
|
1310
1302
|
"""
|
|
1311
1303
|
return pulumi.get(self, "teaming_policy")
|
|
1312
1304
|
|
|
@@ -1318,8 +1310,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
1318
1310
|
@pulumi.getter(name="txUplink")
|
|
1319
1311
|
def tx_uplink(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
1320
1312
|
"""
|
|
1321
|
-
If true, a copy of packets sent to the switch will always be forwarded to an uplink in addition to the regular packet
|
|
1322
|
-
forwarded done by the switch.
|
|
1313
|
+
If true, a copy of packets sent to the switch will always be forwarded to an uplink in addition to the regular packet forwarded done by the switch.
|
|
1323
1314
|
"""
|
|
1324
1315
|
return pulumi.get(self, "tx_uplink")
|
|
1325
1316
|
|
|
@@ -1331,8 +1322,7 @@ class DistributedVirtualSwitchArgs:
|
|
|
1331
1322
|
@pulumi.getter
|
|
1332
1323
|
def uplinks(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
1333
1324
|
"""
|
|
1334
|
-
A list of uplink ports. The contents of this list control both the uplink count and names of the uplinks on the DVS
|
|
1335
|
-
across hosts.
|
|
1325
|
+
A list of uplink ports. The contents of this list control both the uplink count and names of the uplinks on the DVS across hosts.
|
|
1336
1326
|
"""
|
|
1337
1327
|
return pulumi.get(self, "uplinks")
|
|
1338
1328
|
|
|
@@ -1672,8 +1662,7 @@ class _DistributedVirtualSwitchState:
|
|
|
1672
1662
|
"""
|
|
1673
1663
|
Input properties used for looking up and filtering DistributedVirtualSwitch resources.
|
|
1674
1664
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] active_uplinks: List of active uplinks used for load balancing, matching the names of the uplinks assigned in the DVS.
|
|
1675
|
-
:param pulumi.Input[_builtins.bool] allow_forged_transmits: Controls whether or not the virtual network adapter is allowed to send network traffic with a different MAC address than
|
|
1676
|
-
that of its own.
|
|
1665
|
+
:param pulumi.Input[_builtins.bool] allow_forged_transmits: Controls whether or not the virtual network adapter is allowed to send network traffic with a different MAC address than that of its own.
|
|
1677
1666
|
:param pulumi.Input[_builtins.bool] allow_mac_changes: Controls whether or not the Media Access Control (MAC) address can be changed.
|
|
1678
1667
|
:param pulumi.Input[_builtins.bool] allow_promiscuous: Enable promiscuous mode on the network. This flag indicates whether or not all traffic is seen on a given port.
|
|
1679
1668
|
:param pulumi.Input[_builtins.int] backupnfc_maximum_mbit: The maximum allowed usage for the backupNfc traffic class, in Mbits/sec.
|
|
@@ -1748,8 +1737,7 @@ class _DistributedVirtualSwitchState:
|
|
|
1748
1737
|
:param pulumi.Input[_builtins.int] netflow_idle_flow_timeout: The number of seconds after which idle flows are forced to be exported to the collector.
|
|
1749
1738
|
:param pulumi.Input[_builtins.bool] netflow_internal_flows_only: Whether to limit analysis to traffic that has both source and destination served by the same host.
|
|
1750
1739
|
:param pulumi.Input[_builtins.int] netflow_observation_domain_id: The observation Domain ID for the netflow collector.
|
|
1751
|
-
:param pulumi.Input[_builtins.int] netflow_sampling_rate: The ratio of total number of packets to the number of packets analyzed. Set to 0 to disable sampling, meaning that all
|
|
1752
|
-
packets are analyzed.
|
|
1740
|
+
:param pulumi.Input[_builtins.int] netflow_sampling_rate: The ratio of total number of packets to the number of packets analyzed. Set to 0 to disable sampling, meaning that all packets are analyzed.
|
|
1753
1741
|
:param pulumi.Input[_builtins.bool] network_resource_control_enabled: Whether or not to enable network resource control, enabling advanced traffic shaping and resource control features.
|
|
1754
1742
|
:param pulumi.Input[_builtins.str] network_resource_control_version: The network I/O control version to use. Can be one of version2 or version3.
|
|
1755
1743
|
:param pulumi.Input[_builtins.int] nfs_maximum_mbit: The maximum allowed usage for the nfs traffic class, in Mbits/sec.
|
|
@@ -1761,12 +1749,9 @@ class _DistributedVirtualSwitchState:
|
|
|
1761
1749
|
:param pulumi.Input[Sequence[pulumi.Input['DistributedVirtualSwitchPvlanMappingArgs']]] pvlan_mappings: A private VLAN (PVLAN) mapping.
|
|
1762
1750
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] standby_uplinks: List of standby uplinks used for load balancing, matching the names of the uplinks assigned in the DVS.
|
|
1763
1751
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] tags: The IDs of any tags to attach to this resource.
|
|
1764
|
-
:param pulumi.Input[_builtins.str] teaming_policy: The network adapter teaming policy. Can be one of loadbalance_ip, loadbalance_srcmac, loadbalance_srcid,
|
|
1765
|
-
|
|
1766
|
-
:param pulumi.Input[_builtins.
|
|
1767
|
-
forwarded done by the switch.
|
|
1768
|
-
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] uplinks: A list of uplink ports. The contents of this list control both the uplink count and names of the uplinks on the DVS
|
|
1769
|
-
across hosts.
|
|
1752
|
+
:param pulumi.Input[_builtins.str] teaming_policy: The network adapter teaming policy. Can be one of loadbalance_ip, loadbalance_srcmac, loadbalance_srcid, failover_explicit, or loadbalance_loadbased.
|
|
1753
|
+
:param pulumi.Input[_builtins.bool] tx_uplink: If true, a copy of packets sent to the switch will always be forwarded to an uplink in addition to the regular packet forwarded done by the switch.
|
|
1754
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] uplinks: A list of uplink ports. The contents of this list control both the uplink count and names of the uplinks on the DVS across hosts.
|
|
1770
1755
|
:param pulumi.Input[_builtins.int] vdp_maximum_mbit: The maximum allowed usage for the vdp traffic class, in Mbits/sec.
|
|
1771
1756
|
:param pulumi.Input[_builtins.int] vdp_reservation_mbit: The amount of guaranteed bandwidth for the vdp traffic class, in Mbits/sec.
|
|
1772
1757
|
:param pulumi.Input[_builtins.int] vdp_share_count: The amount of shares to allocate to the vdp traffic class for a custom share level.
|
|
@@ -1996,8 +1981,7 @@ class _DistributedVirtualSwitchState:
|
|
|
1996
1981
|
@pulumi.getter(name="allowForgedTransmits")
|
|
1997
1982
|
def allow_forged_transmits(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
1998
1983
|
"""
|
|
1999
|
-
Controls whether or not the virtual network adapter is allowed to send network traffic with a different MAC address than
|
|
2000
|
-
that of its own.
|
|
1984
|
+
Controls whether or not the virtual network adapter is allowed to send network traffic with a different MAC address than that of its own.
|
|
2001
1985
|
"""
|
|
2002
1986
|
return pulumi.get(self, "allow_forged_transmits")
|
|
2003
1987
|
|
|
@@ -2732,8 +2716,7 @@ class _DistributedVirtualSwitchState:
|
|
|
2732
2716
|
@pulumi.getter(name="netflowSamplingRate")
|
|
2733
2717
|
def netflow_sampling_rate(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
2734
2718
|
"""
|
|
2735
|
-
The ratio of total number of packets to the number of packets analyzed. Set to 0 to disable sampling, meaning that all
|
|
2736
|
-
packets are analyzed.
|
|
2719
|
+
The ratio of total number of packets to the number of packets analyzed. Set to 0 to disable sampling, meaning that all packets are analyzed.
|
|
2737
2720
|
"""
|
|
2738
2721
|
return pulumi.get(self, "netflow_sampling_rate")
|
|
2739
2722
|
|
|
@@ -2877,8 +2860,7 @@ class _DistributedVirtualSwitchState:
|
|
|
2877
2860
|
@pulumi.getter(name="teamingPolicy")
|
|
2878
2861
|
def teaming_policy(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2879
2862
|
"""
|
|
2880
|
-
The network adapter teaming policy. Can be one of loadbalance_ip, loadbalance_srcmac, loadbalance_srcid,
|
|
2881
|
-
failover_explicit, or loadbalance_loadbased.
|
|
2863
|
+
The network adapter teaming policy. Can be one of loadbalance_ip, loadbalance_srcmac, loadbalance_srcid, failover_explicit, or loadbalance_loadbased.
|
|
2882
2864
|
"""
|
|
2883
2865
|
return pulumi.get(self, "teaming_policy")
|
|
2884
2866
|
|
|
@@ -2890,8 +2872,7 @@ class _DistributedVirtualSwitchState:
|
|
|
2890
2872
|
@pulumi.getter(name="txUplink")
|
|
2891
2873
|
def tx_uplink(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
2892
2874
|
"""
|
|
2893
|
-
If true, a copy of packets sent to the switch will always be forwarded to an uplink in addition to the regular packet
|
|
2894
|
-
forwarded done by the switch.
|
|
2875
|
+
If true, a copy of packets sent to the switch will always be forwarded to an uplink in addition to the regular packet forwarded done by the switch.
|
|
2895
2876
|
"""
|
|
2896
2877
|
return pulumi.get(self, "tx_uplink")
|
|
2897
2878
|
|
|
@@ -2903,8 +2884,7 @@ class _DistributedVirtualSwitchState:
|
|
|
2903
2884
|
@pulumi.getter
|
|
2904
2885
|
def uplinks(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
2905
2886
|
"""
|
|
2906
|
-
A list of uplink ports. The contents of this list control both the uplink count and names of the uplinks on the DVS
|
|
2907
|
-
across hosts.
|
|
2887
|
+
A list of uplink ports. The contents of this list control both the uplink count and names of the uplinks on the DVS across hosts.
|
|
2908
2888
|
"""
|
|
2909
2889
|
return pulumi.get(self, "uplinks")
|
|
2910
2890
|
|
|
@@ -3378,8 +3358,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
3378
3358
|
:param str resource_name: The name of the resource.
|
|
3379
3359
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
3380
3360
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] active_uplinks: List of active uplinks used for load balancing, matching the names of the uplinks assigned in the DVS.
|
|
3381
|
-
:param pulumi.Input[_builtins.bool] allow_forged_transmits: Controls whether or not the virtual network adapter is allowed to send network traffic with a different MAC address than
|
|
3382
|
-
that of its own.
|
|
3361
|
+
:param pulumi.Input[_builtins.bool] allow_forged_transmits: Controls whether or not the virtual network adapter is allowed to send network traffic with a different MAC address than that of its own.
|
|
3383
3362
|
:param pulumi.Input[_builtins.bool] allow_mac_changes: Controls whether or not the Media Access Control (MAC) address can be changed.
|
|
3384
3363
|
:param pulumi.Input[_builtins.bool] allow_promiscuous: Enable promiscuous mode on the network. This flag indicates whether or not all traffic is seen on a given port.
|
|
3385
3364
|
:param pulumi.Input[_builtins.int] backupnfc_maximum_mbit: The maximum allowed usage for the backupNfc traffic class, in Mbits/sec.
|
|
@@ -3452,8 +3431,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
3452
3431
|
:param pulumi.Input[_builtins.int] netflow_idle_flow_timeout: The number of seconds after which idle flows are forced to be exported to the collector.
|
|
3453
3432
|
:param pulumi.Input[_builtins.bool] netflow_internal_flows_only: Whether to limit analysis to traffic that has both source and destination served by the same host.
|
|
3454
3433
|
:param pulumi.Input[_builtins.int] netflow_observation_domain_id: The observation Domain ID for the netflow collector.
|
|
3455
|
-
:param pulumi.Input[_builtins.int] netflow_sampling_rate: The ratio of total number of packets to the number of packets analyzed. Set to 0 to disable sampling, meaning that all
|
|
3456
|
-
packets are analyzed.
|
|
3434
|
+
:param pulumi.Input[_builtins.int] netflow_sampling_rate: The ratio of total number of packets to the number of packets analyzed. Set to 0 to disable sampling, meaning that all packets are analyzed.
|
|
3457
3435
|
:param pulumi.Input[_builtins.bool] network_resource_control_enabled: Whether or not to enable network resource control, enabling advanced traffic shaping and resource control features.
|
|
3458
3436
|
:param pulumi.Input[_builtins.str] network_resource_control_version: The network I/O control version to use. Can be one of version2 or version3.
|
|
3459
3437
|
:param pulumi.Input[_builtins.int] nfs_maximum_mbit: The maximum allowed usage for the nfs traffic class, in Mbits/sec.
|
|
@@ -3465,12 +3443,9 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
3465
3443
|
:param pulumi.Input[Sequence[pulumi.Input[Union['DistributedVirtualSwitchPvlanMappingArgs', 'DistributedVirtualSwitchPvlanMappingArgsDict']]]] pvlan_mappings: A private VLAN (PVLAN) mapping.
|
|
3466
3444
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] standby_uplinks: List of standby uplinks used for load balancing, matching the names of the uplinks assigned in the DVS.
|
|
3467
3445
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] tags: The IDs of any tags to attach to this resource.
|
|
3468
|
-
:param pulumi.Input[_builtins.str] teaming_policy: The network adapter teaming policy. Can be one of loadbalance_ip, loadbalance_srcmac, loadbalance_srcid,
|
|
3469
|
-
|
|
3470
|
-
:param pulumi.Input[_builtins.
|
|
3471
|
-
forwarded done by the switch.
|
|
3472
|
-
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] uplinks: A list of uplink ports. The contents of this list control both the uplink count and names of the uplinks on the DVS
|
|
3473
|
-
across hosts.
|
|
3446
|
+
:param pulumi.Input[_builtins.str] teaming_policy: The network adapter teaming policy. Can be one of loadbalance_ip, loadbalance_srcmac, loadbalance_srcid, failover_explicit, or loadbalance_loadbased.
|
|
3447
|
+
:param pulumi.Input[_builtins.bool] tx_uplink: If true, a copy of packets sent to the switch will always be forwarded to an uplink in addition to the regular packet forwarded done by the switch.
|
|
3448
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] uplinks: A list of uplink ports. The contents of this list control both the uplink count and names of the uplinks on the DVS across hosts.
|
|
3474
3449
|
:param pulumi.Input[_builtins.int] vdp_maximum_mbit: The maximum allowed usage for the vdp traffic class, in Mbits/sec.
|
|
3475
3450
|
:param pulumi.Input[_builtins.int] vdp_reservation_mbit: The amount of guaranteed bandwidth for the vdp traffic class, in Mbits/sec.
|
|
3476
3451
|
:param pulumi.Input[_builtins.int] vdp_share_count: The amount of shares to allocate to the vdp traffic class for a custom share level.
|
|
@@ -3958,8 +3933,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
3958
3933
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
3959
3934
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
3960
3935
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] active_uplinks: List of active uplinks used for load balancing, matching the names of the uplinks assigned in the DVS.
|
|
3961
|
-
:param pulumi.Input[_builtins.bool] allow_forged_transmits: Controls whether or not the virtual network adapter is allowed to send network traffic with a different MAC address than
|
|
3962
|
-
that of its own.
|
|
3936
|
+
:param pulumi.Input[_builtins.bool] allow_forged_transmits: Controls whether or not the virtual network adapter is allowed to send network traffic with a different MAC address than that of its own.
|
|
3963
3937
|
:param pulumi.Input[_builtins.bool] allow_mac_changes: Controls whether or not the Media Access Control (MAC) address can be changed.
|
|
3964
3938
|
:param pulumi.Input[_builtins.bool] allow_promiscuous: Enable promiscuous mode on the network. This flag indicates whether or not all traffic is seen on a given port.
|
|
3965
3939
|
:param pulumi.Input[_builtins.int] backupnfc_maximum_mbit: The maximum allowed usage for the backupNfc traffic class, in Mbits/sec.
|
|
@@ -4034,8 +4008,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4034
4008
|
:param pulumi.Input[_builtins.int] netflow_idle_flow_timeout: The number of seconds after which idle flows are forced to be exported to the collector.
|
|
4035
4009
|
:param pulumi.Input[_builtins.bool] netflow_internal_flows_only: Whether to limit analysis to traffic that has both source and destination served by the same host.
|
|
4036
4010
|
:param pulumi.Input[_builtins.int] netflow_observation_domain_id: The observation Domain ID for the netflow collector.
|
|
4037
|
-
:param pulumi.Input[_builtins.int] netflow_sampling_rate: The ratio of total number of packets to the number of packets analyzed. Set to 0 to disable sampling, meaning that all
|
|
4038
|
-
packets are analyzed.
|
|
4011
|
+
:param pulumi.Input[_builtins.int] netflow_sampling_rate: The ratio of total number of packets to the number of packets analyzed. Set to 0 to disable sampling, meaning that all packets are analyzed.
|
|
4039
4012
|
:param pulumi.Input[_builtins.bool] network_resource_control_enabled: Whether or not to enable network resource control, enabling advanced traffic shaping and resource control features.
|
|
4040
4013
|
:param pulumi.Input[_builtins.str] network_resource_control_version: The network I/O control version to use. Can be one of version2 or version3.
|
|
4041
4014
|
:param pulumi.Input[_builtins.int] nfs_maximum_mbit: The maximum allowed usage for the nfs traffic class, in Mbits/sec.
|
|
@@ -4047,12 +4020,9 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4047
4020
|
:param pulumi.Input[Sequence[pulumi.Input[Union['DistributedVirtualSwitchPvlanMappingArgs', 'DistributedVirtualSwitchPvlanMappingArgsDict']]]] pvlan_mappings: A private VLAN (PVLAN) mapping.
|
|
4048
4021
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] standby_uplinks: List of standby uplinks used for load balancing, matching the names of the uplinks assigned in the DVS.
|
|
4049
4022
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] tags: The IDs of any tags to attach to this resource.
|
|
4050
|
-
:param pulumi.Input[_builtins.str] teaming_policy: The network adapter teaming policy. Can be one of loadbalance_ip, loadbalance_srcmac, loadbalance_srcid,
|
|
4051
|
-
|
|
4052
|
-
:param pulumi.Input[_builtins.
|
|
4053
|
-
forwarded done by the switch.
|
|
4054
|
-
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] uplinks: A list of uplink ports. The contents of this list control both the uplink count and names of the uplinks on the DVS
|
|
4055
|
-
across hosts.
|
|
4023
|
+
:param pulumi.Input[_builtins.str] teaming_policy: The network adapter teaming policy. Can be one of loadbalance_ip, loadbalance_srcmac, loadbalance_srcid, failover_explicit, or loadbalance_loadbased.
|
|
4024
|
+
:param pulumi.Input[_builtins.bool] tx_uplink: If true, a copy of packets sent to the switch will always be forwarded to an uplink in addition to the regular packet forwarded done by the switch.
|
|
4025
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] uplinks: A list of uplink ports. The contents of this list control both the uplink count and names of the uplinks on the DVS across hosts.
|
|
4056
4026
|
:param pulumi.Input[_builtins.int] vdp_maximum_mbit: The maximum allowed usage for the vdp traffic class, in Mbits/sec.
|
|
4057
4027
|
:param pulumi.Input[_builtins.int] vdp_reservation_mbit: The amount of guaranteed bandwidth for the vdp traffic class, in Mbits/sec.
|
|
4058
4028
|
:param pulumi.Input[_builtins.int] vdp_share_count: The amount of shares to allocate to the vdp traffic class for a custom share level.
|
|
@@ -4188,8 +4158,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4188
4158
|
@pulumi.getter(name="allowForgedTransmits")
|
|
4189
4159
|
def allow_forged_transmits(self) -> pulumi.Output[_builtins.bool]:
|
|
4190
4160
|
"""
|
|
4191
|
-
Controls whether or not the virtual network adapter is allowed to send network traffic with a different MAC address than
|
|
4192
|
-
that of its own.
|
|
4161
|
+
Controls whether or not the virtual network adapter is allowed to send network traffic with a different MAC address than that of its own.
|
|
4193
4162
|
"""
|
|
4194
4163
|
return pulumi.get(self, "allow_forged_transmits")
|
|
4195
4164
|
|
|
@@ -4684,8 +4653,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4684
4653
|
@pulumi.getter(name="netflowSamplingRate")
|
|
4685
4654
|
def netflow_sampling_rate(self) -> pulumi.Output[Optional[_builtins.int]]:
|
|
4686
4655
|
"""
|
|
4687
|
-
The ratio of total number of packets to the number of packets analyzed. Set to 0 to disable sampling, meaning that all
|
|
4688
|
-
packets are analyzed.
|
|
4656
|
+
The ratio of total number of packets to the number of packets analyzed. Set to 0 to disable sampling, meaning that all packets are analyzed.
|
|
4689
4657
|
"""
|
|
4690
4658
|
return pulumi.get(self, "netflow_sampling_rate")
|
|
4691
4659
|
|
|
@@ -4781,8 +4749,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4781
4749
|
@pulumi.getter(name="teamingPolicy")
|
|
4782
4750
|
def teaming_policy(self) -> pulumi.Output[_builtins.str]:
|
|
4783
4751
|
"""
|
|
4784
|
-
The network adapter teaming policy. Can be one of loadbalance_ip, loadbalance_srcmac, loadbalance_srcid,
|
|
4785
|
-
failover_explicit, or loadbalance_loadbased.
|
|
4752
|
+
The network adapter teaming policy. Can be one of loadbalance_ip, loadbalance_srcmac, loadbalance_srcid, failover_explicit, or loadbalance_loadbased.
|
|
4786
4753
|
"""
|
|
4787
4754
|
return pulumi.get(self, "teaming_policy")
|
|
4788
4755
|
|
|
@@ -4790,8 +4757,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4790
4757
|
@pulumi.getter(name="txUplink")
|
|
4791
4758
|
def tx_uplink(self) -> pulumi.Output[_builtins.bool]:
|
|
4792
4759
|
"""
|
|
4793
|
-
If true, a copy of packets sent to the switch will always be forwarded to an uplink in addition to the regular packet
|
|
4794
|
-
forwarded done by the switch.
|
|
4760
|
+
If true, a copy of packets sent to the switch will always be forwarded to an uplink in addition to the regular packet forwarded done by the switch.
|
|
4795
4761
|
"""
|
|
4796
4762
|
return pulumi.get(self, "tx_uplink")
|
|
4797
4763
|
|
|
@@ -4799,8 +4765,7 @@ class DistributedVirtualSwitch(pulumi.CustomResource):
|
|
|
4799
4765
|
@pulumi.getter
|
|
4800
4766
|
def uplinks(self) -> pulumi.Output[Sequence[_builtins.str]]:
|
|
4801
4767
|
"""
|
|
4802
|
-
A list of uplink ports. The contents of this list control both the uplink count and names of the uplinks on the DVS
|
|
4803
|
-
across hosts.
|
|
4768
|
+
A list of uplink ports. The contents of this list control both the uplink count and names of the uplinks on the DVS across hosts.
|
|
4804
4769
|
"""
|
|
4805
4770
|
return pulumi.get(self, "uplinks")
|
|
4806
4771
|
|
|
@@ -129,6 +129,23 @@ def get_guest_os_customization(name: Optional[_builtins.str] = None,
|
|
|
129
129
|
The `GuestOsCustomization` data source can be used to discover the
|
|
130
130
|
details about a customization specification for a guest operating system.
|
|
131
131
|
|
|
132
|
+
## Example Usage
|
|
133
|
+
|
|
134
|
+
```python
|
|
135
|
+
import pulumi
|
|
136
|
+
import pulumi_vsphere as vsphere
|
|
137
|
+
|
|
138
|
+
datacenter = vsphere.get_datacenter(name="dc-01")
|
|
139
|
+
template = vsphere.get_virtual_machine(name="windows-template",
|
|
140
|
+
datacenter_id=datacenter.id)
|
|
141
|
+
windows = vsphere.get_guest_os_customization(name="windows")
|
|
142
|
+
vm = vsphere.VirtualMachine("vm",
|
|
143
|
+
template_uuid=template.id,
|
|
144
|
+
customization_spec=[{
|
|
145
|
+
"id": windows.id,
|
|
146
|
+
}])
|
|
147
|
+
```
|
|
148
|
+
|
|
132
149
|
|
|
133
150
|
:param _builtins.str name: The name of the customization specification is the unique
|
|
134
151
|
identifier per vCenter Server instance.
|
|
@@ -152,6 +169,23 @@ def get_guest_os_customization_output(name: Optional[pulumi.Input[_builtins.str]
|
|
|
152
169
|
The `GuestOsCustomization` data source can be used to discover the
|
|
153
170
|
details about a customization specification for a guest operating system.
|
|
154
171
|
|
|
172
|
+
## Example Usage
|
|
173
|
+
|
|
174
|
+
```python
|
|
175
|
+
import pulumi
|
|
176
|
+
import pulumi_vsphere as vsphere
|
|
177
|
+
|
|
178
|
+
datacenter = vsphere.get_datacenter(name="dc-01")
|
|
179
|
+
template = vsphere.get_virtual_machine(name="windows-template",
|
|
180
|
+
datacenter_id=datacenter.id)
|
|
181
|
+
windows = vsphere.get_guest_os_customization(name="windows")
|
|
182
|
+
vm = vsphere.VirtualMachine("vm",
|
|
183
|
+
template_uuid=template.id,
|
|
184
|
+
customization_spec=[{
|
|
185
|
+
"id": windows.id,
|
|
186
|
+
}])
|
|
187
|
+
```
|
|
188
|
+
|
|
155
189
|
|
|
156
190
|
:param _builtins.str name: The name of the customization specification is the unique
|
|
157
191
|
identifier per vCenter Server instance.
|