pulumi-vsphere 4.14.0a1741997722__py3-none-any.whl → 4.14.0a1746734806__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 +1 -0
- pulumi_vsphere/_inputs.py +969 -968
- pulumi_vsphere/compute_cluster.py +919 -917
- pulumi_vsphere/compute_cluster_host_group.py +44 -42
- pulumi_vsphere/compute_cluster_vm_affinity_rule.py +72 -70
- pulumi_vsphere/compute_cluster_vm_anti_affinity_rule.py +72 -70
- pulumi_vsphere/compute_cluster_vm_dependency_rule.py +86 -84
- pulumi_vsphere/compute_cluster_vm_group.py +44 -42
- pulumi_vsphere/compute_cluster_vm_host_rule.py +100 -98
- pulumi_vsphere/config/__init__.py +1 -0
- pulumi_vsphere/config/__init__.pyi +1 -0
- pulumi_vsphere/config/vars.py +1 -0
- pulumi_vsphere/content_library.py +44 -42
- pulumi_vsphere/content_library_item.py +86 -84
- pulumi_vsphere/custom_attribute.py +30 -28
- pulumi_vsphere/datacenter.py +65 -63
- pulumi_vsphere/datastore_cluster.py +352 -350
- pulumi_vsphere/datastore_cluster_vm_anti_affinity_rule.py +72 -70
- pulumi_vsphere/distributed_port_group.py +646 -644
- pulumi_vsphere/distributed_virtual_switch.py +1283 -1281
- pulumi_vsphere/distributed_virtual_switch_pvlan_mapping.py +58 -56
- pulumi_vsphere/dpm_host_override.py +58 -56
- pulumi_vsphere/drs_vm_override.py +58 -56
- pulumi_vsphere/entity_permissions.py +30 -28
- pulumi_vsphere/file.py +96 -94
- pulumi_vsphere/folder.py +72 -70
- pulumi_vsphere/get_compute_cluster.py +13 -12
- pulumi_vsphere/get_compute_cluster_host_group.py +13 -12
- pulumi_vsphere/get_content_library.py +7 -6
- pulumi_vsphere/get_content_library_item.py +17 -16
- pulumi_vsphere/get_custom_attribute.py +8 -7
- pulumi_vsphere/get_datacenter.py +8 -7
- pulumi_vsphere/get_datastore.py +17 -16
- pulumi_vsphere/get_datastore_cluster.py +13 -12
- pulumi_vsphere/get_datastore_stats.py +17 -16
- pulumi_vsphere/get_distributed_virtual_switch.py +13 -12
- pulumi_vsphere/get_dynamic.py +17 -16
- pulumi_vsphere/get_folder.py +7 -6
- pulumi_vsphere/get_guest_os_customization.py +11 -10
- pulumi_vsphere/get_host.py +13 -12
- pulumi_vsphere/get_host_base_images.py +3 -2
- pulumi_vsphere/get_host_pci_device.py +23 -22
- pulumi_vsphere/get_host_thumbprint.py +17 -16
- pulumi_vsphere/get_host_vgpu_profile.py +12 -11
- pulumi_vsphere/get_license.py +12 -11
- pulumi_vsphere/get_network.py +18 -17
- pulumi_vsphere/get_ovf_vm_template.py +89 -88
- pulumi_vsphere/get_policy.py +7 -6
- pulumi_vsphere/get_resource_pool.py +12 -11
- pulumi_vsphere/get_role.py +20 -19
- pulumi_vsphere/get_tag.py +13 -12
- pulumi_vsphere/get_tag_category.py +10 -9
- pulumi_vsphere/get_vapp_container.py +12 -11
- pulumi_vsphere/get_virtual_machine.py +204 -203
- pulumi_vsphere/get_vmfs_disks.py +18 -17
- pulumi_vsphere/guest_os_customization.py +58 -56
- pulumi_vsphere/ha_vm_override.py +212 -210
- pulumi_vsphere/host.py +198 -196
- pulumi_vsphere/host_port_group.py +254 -252
- pulumi_vsphere/host_virtual_switch.py +296 -294
- pulumi_vsphere/license.py +58 -56
- pulumi_vsphere/nas_datastore.py +212 -210
- pulumi_vsphere/offline_software_depot.py +16 -14
- pulumi_vsphere/outputs.py +721 -720
- pulumi_vsphere/provider.py +119 -97
- pulumi_vsphere/pulumi-plugin.json +1 -1
- pulumi_vsphere/resource_pool.py +212 -210
- pulumi_vsphere/role.py +37 -35
- pulumi_vsphere/storage_drs_vm_override.py +72 -70
- pulumi_vsphere/supervisor.py +156 -154
- pulumi_vsphere/tag.py +44 -42
- pulumi_vsphere/tag_category.py +58 -56
- pulumi_vsphere/vapp_container.py +212 -210
- pulumi_vsphere/vapp_entity.py +142 -140
- pulumi_vsphere/virtual_disk.py +100 -98
- pulumi_vsphere/virtual_machine.py +1041 -1039
- pulumi_vsphere/virtual_machine_class.py +86 -84
- pulumi_vsphere/virtual_machine_snapshot.py +100 -98
- pulumi_vsphere/vm_storage_policy.py +30 -28
- pulumi_vsphere/vmfs_datastore.py +149 -147
- pulumi_vsphere/vnic.py +114 -112
- {pulumi_vsphere-4.14.0a1741997722.dist-info → pulumi_vsphere-4.14.0a1746734806.dist-info}/METADATA +4 -4
- pulumi_vsphere-4.14.0a1746734806.dist-info/RECORD +87 -0
- {pulumi_vsphere-4.14.0a1741997722.dist-info → pulumi_vsphere-4.14.0a1746734806.dist-info}/WHEEL +1 -1
- pulumi_vsphere-4.14.0a1741997722.dist-info/RECORD +0 -87
- {pulumi_vsphere-4.14.0a1741997722.dist-info → pulumi_vsphere-4.14.0a1746734806.dist-info}/top_level.txt +0 -0
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
+
import builtins
|
|
5
6
|
import copy
|
|
6
7
|
import warnings
|
|
7
8
|
import sys
|
|
@@ -21,48 +22,48 @@ __all__ = ['HostPortGroupArgs', 'HostPortGroup']
|
|
|
21
22
|
@pulumi.input_type
|
|
22
23
|
class HostPortGroupArgs:
|
|
23
24
|
def __init__(__self__, *,
|
|
24
|
-
host_system_id: pulumi.Input[str],
|
|
25
|
-
virtual_switch_name: pulumi.Input[str],
|
|
26
|
-
active_nics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
27
|
-
allow_forged_transmits: Optional[pulumi.Input[bool]] = None,
|
|
28
|
-
allow_mac_changes: Optional[pulumi.Input[bool]] = None,
|
|
29
|
-
allow_promiscuous: Optional[pulumi.Input[bool]] = None,
|
|
30
|
-
check_beacon: Optional[pulumi.Input[bool]] = None,
|
|
31
|
-
failback: Optional[pulumi.Input[bool]] = None,
|
|
32
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
33
|
-
notify_switches: Optional[pulumi.Input[bool]] = None,
|
|
34
|
-
shaping_average_bandwidth: Optional[pulumi.Input[int]] = None,
|
|
35
|
-
shaping_burst_size: Optional[pulumi.Input[int]] = None,
|
|
36
|
-
shaping_enabled: Optional[pulumi.Input[bool]] = None,
|
|
37
|
-
shaping_peak_bandwidth: Optional[pulumi.Input[int]] = None,
|
|
38
|
-
standby_nics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
39
|
-
teaming_policy: Optional[pulumi.Input[str]] = None,
|
|
40
|
-
vlan_id: Optional[pulumi.Input[int]] = None):
|
|
25
|
+
host_system_id: pulumi.Input[builtins.str],
|
|
26
|
+
virtual_switch_name: pulumi.Input[builtins.str],
|
|
27
|
+
active_nics: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
28
|
+
allow_forged_transmits: Optional[pulumi.Input[builtins.bool]] = None,
|
|
29
|
+
allow_mac_changes: Optional[pulumi.Input[builtins.bool]] = None,
|
|
30
|
+
allow_promiscuous: Optional[pulumi.Input[builtins.bool]] = None,
|
|
31
|
+
check_beacon: Optional[pulumi.Input[builtins.bool]] = None,
|
|
32
|
+
failback: Optional[pulumi.Input[builtins.bool]] = None,
|
|
33
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
34
|
+
notify_switches: Optional[pulumi.Input[builtins.bool]] = None,
|
|
35
|
+
shaping_average_bandwidth: Optional[pulumi.Input[builtins.int]] = None,
|
|
36
|
+
shaping_burst_size: Optional[pulumi.Input[builtins.int]] = None,
|
|
37
|
+
shaping_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
38
|
+
shaping_peak_bandwidth: Optional[pulumi.Input[builtins.int]] = None,
|
|
39
|
+
standby_nics: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
40
|
+
teaming_policy: Optional[pulumi.Input[builtins.str]] = None,
|
|
41
|
+
vlan_id: Optional[pulumi.Input[builtins.int]] = None):
|
|
41
42
|
"""
|
|
42
43
|
The set of arguments for constructing a HostPortGroup resource.
|
|
43
|
-
:param pulumi.Input[str] host_system_id: The managed object ID of
|
|
44
|
+
:param pulumi.Input[builtins.str] host_system_id: The managed object ID of
|
|
44
45
|
the host to set the port group up on. Forces a new resource if changed.
|
|
45
|
-
:param pulumi.Input[str] virtual_switch_name: The name of the virtual switch to bind
|
|
46
|
+
:param pulumi.Input[builtins.str] virtual_switch_name: The name of the virtual switch to bind
|
|
46
47
|
this port group to. Forces a new resource if changed.
|
|
47
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] active_nics: List of active network adapters used for load balancing.
|
|
48
|
-
:param pulumi.Input[bool] allow_forged_transmits: Controls whether or not the virtual network adapter is allowed to send network traffic with a different MAC address than
|
|
48
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] active_nics: List of active network adapters used for load balancing.
|
|
49
|
+
: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
|
|
49
50
|
that of its own.
|
|
50
|
-
:param pulumi.Input[bool] allow_mac_changes: Controls whether or not the Media Access Control (MAC) address can be changed.
|
|
51
|
-
:param pulumi.Input[bool] allow_promiscuous: Enable promiscuous mode on the network. This flag indicates whether or not all traffic is seen on a given port.
|
|
52
|
-
:param pulumi.Input[bool] check_beacon: Enable beacon probing. Requires that the vSwitch has been configured to use a beacon. If disabled, link status is used
|
|
51
|
+
:param pulumi.Input[builtins.bool] allow_mac_changes: Controls whether or not the Media Access Control (MAC) address can be changed.
|
|
52
|
+
: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.
|
|
53
|
+
:param pulumi.Input[builtins.bool] check_beacon: Enable beacon probing. Requires that the vSwitch has been configured to use a beacon. If disabled, link status is used
|
|
53
54
|
only.
|
|
54
|
-
:param pulumi.Input[bool] failback: If true, the teaming policy will re-activate failed interfaces higher in precedence when they come back up.
|
|
55
|
-
:param pulumi.Input[str] name: The name of the port group. Forces a new resource if
|
|
55
|
+
:param pulumi.Input[builtins.bool] failback: If true, the teaming policy will re-activate failed interfaces higher in precedence when they come back up.
|
|
56
|
+
:param pulumi.Input[builtins.str] name: The name of the port group. Forces a new resource if
|
|
56
57
|
changed.
|
|
57
|
-
:param pulumi.Input[bool] notify_switches: If true, the teaming policy will notify the broadcast network of a NIC failover, triggering cache updates.
|
|
58
|
-
:param pulumi.Input[int] shaping_average_bandwidth: The average bandwidth in bits per second if traffic shaping is enabled.
|
|
59
|
-
:param pulumi.Input[int] shaping_burst_size: The maximum burst size allowed in bytes if traffic shaping is enabled.
|
|
60
|
-
:param pulumi.Input[bool] shaping_enabled: Enable traffic shaping on this virtual switch or port group.
|
|
61
|
-
:param pulumi.Input[int] shaping_peak_bandwidth: The peak bandwidth during bursts in bits per second if traffic shaping is enabled.
|
|
62
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] standby_nics: List of standby network adapters used for failover.
|
|
63
|
-
:param pulumi.Input[str] teaming_policy: The network adapter teaming policy. Can be one of loadbalance_ip, loadbalance_srcmac, loadbalance_srcid, or
|
|
58
|
+
:param pulumi.Input[builtins.bool] notify_switches: If true, the teaming policy will notify the broadcast network of a NIC failover, triggering cache updates.
|
|
59
|
+
:param pulumi.Input[builtins.int] shaping_average_bandwidth: The average bandwidth in bits per second if traffic shaping is enabled.
|
|
60
|
+
:param pulumi.Input[builtins.int] shaping_burst_size: The maximum burst size allowed in bytes if traffic shaping is enabled.
|
|
61
|
+
:param pulumi.Input[builtins.bool] shaping_enabled: Enable traffic shaping on this virtual switch or port group.
|
|
62
|
+
:param pulumi.Input[builtins.int] shaping_peak_bandwidth: The peak bandwidth during bursts in bits per second if traffic shaping is enabled.
|
|
63
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] standby_nics: List of standby network adapters used for failover.
|
|
64
|
+
:param pulumi.Input[builtins.str] teaming_policy: The network adapter teaming policy. Can be one of loadbalance_ip, loadbalance_srcmac, loadbalance_srcid, or
|
|
64
65
|
failover_explicit.
|
|
65
|
-
:param pulumi.Input[int] vlan_id: The VLAN ID/trunk mode for this port group. An ID of
|
|
66
|
+
:param pulumi.Input[builtins.int] vlan_id: The VLAN ID/trunk mode for this port group. An ID of
|
|
66
67
|
`0` denotes no tagging, an ID of `1`-`4094` tags with the specific ID, and an
|
|
67
68
|
ID of `4095` enables trunk mode, allowing the guest to manage its own
|
|
68
69
|
tagging. Default: `0`.
|
|
@@ -102,7 +103,7 @@ class HostPortGroupArgs:
|
|
|
102
103
|
|
|
103
104
|
@property
|
|
104
105
|
@pulumi.getter(name="hostSystemId")
|
|
105
|
-
def host_system_id(self) -> pulumi.Input[str]:
|
|
106
|
+
def host_system_id(self) -> pulumi.Input[builtins.str]:
|
|
106
107
|
"""
|
|
107
108
|
The managed object ID of
|
|
108
109
|
the host to set the port group up on. Forces a new resource if changed.
|
|
@@ -110,12 +111,12 @@ class HostPortGroupArgs:
|
|
|
110
111
|
return pulumi.get(self, "host_system_id")
|
|
111
112
|
|
|
112
113
|
@host_system_id.setter
|
|
113
|
-
def host_system_id(self, value: pulumi.Input[str]):
|
|
114
|
+
def host_system_id(self, value: pulumi.Input[builtins.str]):
|
|
114
115
|
pulumi.set(self, "host_system_id", value)
|
|
115
116
|
|
|
116
117
|
@property
|
|
117
118
|
@pulumi.getter(name="virtualSwitchName")
|
|
118
|
-
def virtual_switch_name(self) -> pulumi.Input[str]:
|
|
119
|
+
def virtual_switch_name(self) -> pulumi.Input[builtins.str]:
|
|
119
120
|
"""
|
|
120
121
|
The name of the virtual switch to bind
|
|
121
122
|
this port group to. Forces a new resource if changed.
|
|
@@ -123,24 +124,24 @@ class HostPortGroupArgs:
|
|
|
123
124
|
return pulumi.get(self, "virtual_switch_name")
|
|
124
125
|
|
|
125
126
|
@virtual_switch_name.setter
|
|
126
|
-
def virtual_switch_name(self, value: pulumi.Input[str]):
|
|
127
|
+
def virtual_switch_name(self, value: pulumi.Input[builtins.str]):
|
|
127
128
|
pulumi.set(self, "virtual_switch_name", value)
|
|
128
129
|
|
|
129
130
|
@property
|
|
130
131
|
@pulumi.getter(name="activeNics")
|
|
131
|
-
def active_nics(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
132
|
+
def active_nics(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
132
133
|
"""
|
|
133
134
|
List of active network adapters used for load balancing.
|
|
134
135
|
"""
|
|
135
136
|
return pulumi.get(self, "active_nics")
|
|
136
137
|
|
|
137
138
|
@active_nics.setter
|
|
138
|
-
def active_nics(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
139
|
+
def active_nics(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
139
140
|
pulumi.set(self, "active_nics", value)
|
|
140
141
|
|
|
141
142
|
@property
|
|
142
143
|
@pulumi.getter(name="allowForgedTransmits")
|
|
143
|
-
def allow_forged_transmits(self) -> Optional[pulumi.Input[bool]]:
|
|
144
|
+
def allow_forged_transmits(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
144
145
|
"""
|
|
145
146
|
Controls whether or not the virtual network adapter is allowed to send network traffic with a different MAC address than
|
|
146
147
|
that of its own.
|
|
@@ -148,36 +149,36 @@ class HostPortGroupArgs:
|
|
|
148
149
|
return pulumi.get(self, "allow_forged_transmits")
|
|
149
150
|
|
|
150
151
|
@allow_forged_transmits.setter
|
|
151
|
-
def allow_forged_transmits(self, value: Optional[pulumi.Input[bool]]):
|
|
152
|
+
def allow_forged_transmits(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
152
153
|
pulumi.set(self, "allow_forged_transmits", value)
|
|
153
154
|
|
|
154
155
|
@property
|
|
155
156
|
@pulumi.getter(name="allowMacChanges")
|
|
156
|
-
def allow_mac_changes(self) -> Optional[pulumi.Input[bool]]:
|
|
157
|
+
def allow_mac_changes(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
157
158
|
"""
|
|
158
159
|
Controls whether or not the Media Access Control (MAC) address can be changed.
|
|
159
160
|
"""
|
|
160
161
|
return pulumi.get(self, "allow_mac_changes")
|
|
161
162
|
|
|
162
163
|
@allow_mac_changes.setter
|
|
163
|
-
def allow_mac_changes(self, value: Optional[pulumi.Input[bool]]):
|
|
164
|
+
def allow_mac_changes(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
164
165
|
pulumi.set(self, "allow_mac_changes", value)
|
|
165
166
|
|
|
166
167
|
@property
|
|
167
168
|
@pulumi.getter(name="allowPromiscuous")
|
|
168
|
-
def allow_promiscuous(self) -> Optional[pulumi.Input[bool]]:
|
|
169
|
+
def allow_promiscuous(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
169
170
|
"""
|
|
170
171
|
Enable promiscuous mode on the network. This flag indicates whether or not all traffic is seen on a given port.
|
|
171
172
|
"""
|
|
172
173
|
return pulumi.get(self, "allow_promiscuous")
|
|
173
174
|
|
|
174
175
|
@allow_promiscuous.setter
|
|
175
|
-
def allow_promiscuous(self, value: Optional[pulumi.Input[bool]]):
|
|
176
|
+
def allow_promiscuous(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
176
177
|
pulumi.set(self, "allow_promiscuous", value)
|
|
177
178
|
|
|
178
179
|
@property
|
|
179
180
|
@pulumi.getter(name="checkBeacon")
|
|
180
|
-
def check_beacon(self) -> Optional[pulumi.Input[bool]]:
|
|
181
|
+
def check_beacon(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
181
182
|
"""
|
|
182
183
|
Enable beacon probing. Requires that the vSwitch has been configured to use a beacon. If disabled, link status is used
|
|
183
184
|
only.
|
|
@@ -185,24 +186,24 @@ class HostPortGroupArgs:
|
|
|
185
186
|
return pulumi.get(self, "check_beacon")
|
|
186
187
|
|
|
187
188
|
@check_beacon.setter
|
|
188
|
-
def check_beacon(self, value: Optional[pulumi.Input[bool]]):
|
|
189
|
+
def check_beacon(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
189
190
|
pulumi.set(self, "check_beacon", value)
|
|
190
191
|
|
|
191
192
|
@property
|
|
192
193
|
@pulumi.getter
|
|
193
|
-
def failback(self) -> Optional[pulumi.Input[bool]]:
|
|
194
|
+
def failback(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
194
195
|
"""
|
|
195
196
|
If true, the teaming policy will re-activate failed interfaces higher in precedence when they come back up.
|
|
196
197
|
"""
|
|
197
198
|
return pulumi.get(self, "failback")
|
|
198
199
|
|
|
199
200
|
@failback.setter
|
|
200
|
-
def failback(self, value: Optional[pulumi.Input[bool]]):
|
|
201
|
+
def failback(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
201
202
|
pulumi.set(self, "failback", value)
|
|
202
203
|
|
|
203
204
|
@property
|
|
204
205
|
@pulumi.getter
|
|
205
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
206
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
206
207
|
"""
|
|
207
208
|
The name of the port group. Forces a new resource if
|
|
208
209
|
changed.
|
|
@@ -210,84 +211,84 @@ class HostPortGroupArgs:
|
|
|
210
211
|
return pulumi.get(self, "name")
|
|
211
212
|
|
|
212
213
|
@name.setter
|
|
213
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
214
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
214
215
|
pulumi.set(self, "name", value)
|
|
215
216
|
|
|
216
217
|
@property
|
|
217
218
|
@pulumi.getter(name="notifySwitches")
|
|
218
|
-
def notify_switches(self) -> Optional[pulumi.Input[bool]]:
|
|
219
|
+
def notify_switches(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
219
220
|
"""
|
|
220
221
|
If true, the teaming policy will notify the broadcast network of a NIC failover, triggering cache updates.
|
|
221
222
|
"""
|
|
222
223
|
return pulumi.get(self, "notify_switches")
|
|
223
224
|
|
|
224
225
|
@notify_switches.setter
|
|
225
|
-
def notify_switches(self, value: Optional[pulumi.Input[bool]]):
|
|
226
|
+
def notify_switches(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
226
227
|
pulumi.set(self, "notify_switches", value)
|
|
227
228
|
|
|
228
229
|
@property
|
|
229
230
|
@pulumi.getter(name="shapingAverageBandwidth")
|
|
230
|
-
def shaping_average_bandwidth(self) -> Optional[pulumi.Input[int]]:
|
|
231
|
+
def shaping_average_bandwidth(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
231
232
|
"""
|
|
232
233
|
The average bandwidth in bits per second if traffic shaping is enabled.
|
|
233
234
|
"""
|
|
234
235
|
return pulumi.get(self, "shaping_average_bandwidth")
|
|
235
236
|
|
|
236
237
|
@shaping_average_bandwidth.setter
|
|
237
|
-
def shaping_average_bandwidth(self, value: Optional[pulumi.Input[int]]):
|
|
238
|
+
def shaping_average_bandwidth(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
238
239
|
pulumi.set(self, "shaping_average_bandwidth", value)
|
|
239
240
|
|
|
240
241
|
@property
|
|
241
242
|
@pulumi.getter(name="shapingBurstSize")
|
|
242
|
-
def shaping_burst_size(self) -> Optional[pulumi.Input[int]]:
|
|
243
|
+
def shaping_burst_size(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
243
244
|
"""
|
|
244
245
|
The maximum burst size allowed in bytes if traffic shaping is enabled.
|
|
245
246
|
"""
|
|
246
247
|
return pulumi.get(self, "shaping_burst_size")
|
|
247
248
|
|
|
248
249
|
@shaping_burst_size.setter
|
|
249
|
-
def shaping_burst_size(self, value: Optional[pulumi.Input[int]]):
|
|
250
|
+
def shaping_burst_size(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
250
251
|
pulumi.set(self, "shaping_burst_size", value)
|
|
251
252
|
|
|
252
253
|
@property
|
|
253
254
|
@pulumi.getter(name="shapingEnabled")
|
|
254
|
-
def shaping_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
255
|
+
def shaping_enabled(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
255
256
|
"""
|
|
256
257
|
Enable traffic shaping on this virtual switch or port group.
|
|
257
258
|
"""
|
|
258
259
|
return pulumi.get(self, "shaping_enabled")
|
|
259
260
|
|
|
260
261
|
@shaping_enabled.setter
|
|
261
|
-
def shaping_enabled(self, value: Optional[pulumi.Input[bool]]):
|
|
262
|
+
def shaping_enabled(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
262
263
|
pulumi.set(self, "shaping_enabled", value)
|
|
263
264
|
|
|
264
265
|
@property
|
|
265
266
|
@pulumi.getter(name="shapingPeakBandwidth")
|
|
266
|
-
def shaping_peak_bandwidth(self) -> Optional[pulumi.Input[int]]:
|
|
267
|
+
def shaping_peak_bandwidth(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
267
268
|
"""
|
|
268
269
|
The peak bandwidth during bursts in bits per second if traffic shaping is enabled.
|
|
269
270
|
"""
|
|
270
271
|
return pulumi.get(self, "shaping_peak_bandwidth")
|
|
271
272
|
|
|
272
273
|
@shaping_peak_bandwidth.setter
|
|
273
|
-
def shaping_peak_bandwidth(self, value: Optional[pulumi.Input[int]]):
|
|
274
|
+
def shaping_peak_bandwidth(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
274
275
|
pulumi.set(self, "shaping_peak_bandwidth", value)
|
|
275
276
|
|
|
276
277
|
@property
|
|
277
278
|
@pulumi.getter(name="standbyNics")
|
|
278
|
-
def standby_nics(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
279
|
+
def standby_nics(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
279
280
|
"""
|
|
280
281
|
List of standby network adapters used for failover.
|
|
281
282
|
"""
|
|
282
283
|
return pulumi.get(self, "standby_nics")
|
|
283
284
|
|
|
284
285
|
@standby_nics.setter
|
|
285
|
-
def standby_nics(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
286
|
+
def standby_nics(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
286
287
|
pulumi.set(self, "standby_nics", value)
|
|
287
288
|
|
|
288
289
|
@property
|
|
289
290
|
@pulumi.getter(name="teamingPolicy")
|
|
290
|
-
def teaming_policy(self) -> Optional[pulumi.Input[str]]:
|
|
291
|
+
def teaming_policy(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
291
292
|
"""
|
|
292
293
|
The network adapter teaming policy. Can be one of loadbalance_ip, loadbalance_srcmac, loadbalance_srcid, or
|
|
293
294
|
failover_explicit.
|
|
@@ -295,12 +296,12 @@ class HostPortGroupArgs:
|
|
|
295
296
|
return pulumi.get(self, "teaming_policy")
|
|
296
297
|
|
|
297
298
|
@teaming_policy.setter
|
|
298
|
-
def teaming_policy(self, value: Optional[pulumi.Input[str]]):
|
|
299
|
+
def teaming_policy(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
299
300
|
pulumi.set(self, "teaming_policy", value)
|
|
300
301
|
|
|
301
302
|
@property
|
|
302
303
|
@pulumi.getter(name="vlanId")
|
|
303
|
-
def vlan_id(self) -> Optional[pulumi.Input[int]]:
|
|
304
|
+
def vlan_id(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
304
305
|
"""
|
|
305
306
|
The VLAN ID/trunk mode for this port group. An ID of
|
|
306
307
|
`0` denotes no tagging, an ID of `1`-`4094` tags with the specific ID, and an
|
|
@@ -310,63 +311,63 @@ class HostPortGroupArgs:
|
|
|
310
311
|
return pulumi.get(self, "vlan_id")
|
|
311
312
|
|
|
312
313
|
@vlan_id.setter
|
|
313
|
-
def vlan_id(self, value: Optional[pulumi.Input[int]]):
|
|
314
|
+
def vlan_id(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
314
315
|
pulumi.set(self, "vlan_id", value)
|
|
315
316
|
|
|
316
317
|
|
|
317
318
|
@pulumi.input_type
|
|
318
319
|
class _HostPortGroupState:
|
|
319
320
|
def __init__(__self__, *,
|
|
320
|
-
active_nics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
321
|
-
allow_forged_transmits: Optional[pulumi.Input[bool]] = None,
|
|
322
|
-
allow_mac_changes: Optional[pulumi.Input[bool]] = None,
|
|
323
|
-
allow_promiscuous: Optional[pulumi.Input[bool]] = None,
|
|
324
|
-
check_beacon: Optional[pulumi.Input[bool]] = None,
|
|
325
|
-
computed_policy: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
326
|
-
failback: Optional[pulumi.Input[bool]] = None,
|
|
327
|
-
host_system_id: Optional[pulumi.Input[str]] = None,
|
|
328
|
-
key: Optional[pulumi.Input[str]] = None,
|
|
329
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
330
|
-
notify_switches: Optional[pulumi.Input[bool]] = None,
|
|
321
|
+
active_nics: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
322
|
+
allow_forged_transmits: Optional[pulumi.Input[builtins.bool]] = None,
|
|
323
|
+
allow_mac_changes: Optional[pulumi.Input[builtins.bool]] = None,
|
|
324
|
+
allow_promiscuous: Optional[pulumi.Input[builtins.bool]] = None,
|
|
325
|
+
check_beacon: Optional[pulumi.Input[builtins.bool]] = None,
|
|
326
|
+
computed_policy: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
327
|
+
failback: Optional[pulumi.Input[builtins.bool]] = None,
|
|
328
|
+
host_system_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
329
|
+
key: Optional[pulumi.Input[builtins.str]] = None,
|
|
330
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
331
|
+
notify_switches: Optional[pulumi.Input[builtins.bool]] = None,
|
|
331
332
|
ports: Optional[pulumi.Input[Sequence[pulumi.Input['HostPortGroupPortArgs']]]] = None,
|
|
332
|
-
shaping_average_bandwidth: Optional[pulumi.Input[int]] = None,
|
|
333
|
-
shaping_burst_size: Optional[pulumi.Input[int]] = None,
|
|
334
|
-
shaping_enabled: Optional[pulumi.Input[bool]] = None,
|
|
335
|
-
shaping_peak_bandwidth: Optional[pulumi.Input[int]] = None,
|
|
336
|
-
standby_nics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
337
|
-
teaming_policy: Optional[pulumi.Input[str]] = None,
|
|
338
|
-
virtual_switch_name: Optional[pulumi.Input[str]] = None,
|
|
339
|
-
vlan_id: Optional[pulumi.Input[int]] = None):
|
|
333
|
+
shaping_average_bandwidth: Optional[pulumi.Input[builtins.int]] = None,
|
|
334
|
+
shaping_burst_size: Optional[pulumi.Input[builtins.int]] = None,
|
|
335
|
+
shaping_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
336
|
+
shaping_peak_bandwidth: Optional[pulumi.Input[builtins.int]] = None,
|
|
337
|
+
standby_nics: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
338
|
+
teaming_policy: Optional[pulumi.Input[builtins.str]] = None,
|
|
339
|
+
virtual_switch_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
340
|
+
vlan_id: Optional[pulumi.Input[builtins.int]] = None):
|
|
340
341
|
"""
|
|
341
342
|
Input properties used for looking up and filtering HostPortGroup resources.
|
|
342
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] active_nics: List of active network adapters used for load balancing.
|
|
343
|
-
:param pulumi.Input[bool] allow_forged_transmits: Controls whether or not the virtual network adapter is allowed to send network traffic with a different MAC address than
|
|
343
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] active_nics: List of active network adapters used for load balancing.
|
|
344
|
+
: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
|
|
344
345
|
that of its own.
|
|
345
|
-
:param pulumi.Input[bool] allow_mac_changes: Controls whether or not the Media Access Control (MAC) address can be changed.
|
|
346
|
-
:param pulumi.Input[bool] allow_promiscuous: Enable promiscuous mode on the network. This flag indicates whether or not all traffic is seen on a given port.
|
|
347
|
-
:param pulumi.Input[bool] check_beacon: Enable beacon probing. Requires that the vSwitch has been configured to use a beacon. If disabled, link status is used
|
|
346
|
+
:param pulumi.Input[builtins.bool] allow_mac_changes: Controls whether or not the Media Access Control (MAC) address can be changed.
|
|
347
|
+
: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.
|
|
348
|
+
:param pulumi.Input[builtins.bool] check_beacon: Enable beacon probing. Requires that the vSwitch has been configured to use a beacon. If disabled, link status is used
|
|
348
349
|
only.
|
|
349
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] computed_policy: A map with a full set of the policy
|
|
350
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] computed_policy: A map with a full set of the policy
|
|
350
351
|
options computed from defaults and overrides,
|
|
351
352
|
explaining the effective policy for this port group.
|
|
352
|
-
:param pulumi.Input[bool] failback: If true, the teaming policy will re-activate failed interfaces higher in precedence when they come back up.
|
|
353
|
-
:param pulumi.Input[str] host_system_id: The managed object ID of
|
|
353
|
+
:param pulumi.Input[builtins.bool] failback: If true, the teaming policy will re-activate failed interfaces higher in precedence when they come back up.
|
|
354
|
+
:param pulumi.Input[builtins.str] host_system_id: The managed object ID of
|
|
354
355
|
the host to set the port group up on. Forces a new resource if changed.
|
|
355
|
-
:param pulumi.Input[str] key: The key for this port group as returned from the vSphere API.
|
|
356
|
-
:param pulumi.Input[str] name: The name of the port group. Forces a new resource if
|
|
356
|
+
:param pulumi.Input[builtins.str] key: The key for this port group as returned from the vSphere API.
|
|
357
|
+
:param pulumi.Input[builtins.str] name: The name of the port group. Forces a new resource if
|
|
357
358
|
changed.
|
|
358
|
-
:param pulumi.Input[bool] notify_switches: If true, the teaming policy will notify the broadcast network of a NIC failover, triggering cache updates.
|
|
359
|
+
:param pulumi.Input[builtins.bool] notify_switches: If true, the teaming policy will notify the broadcast network of a NIC failover, triggering cache updates.
|
|
359
360
|
:param pulumi.Input[Sequence[pulumi.Input['HostPortGroupPortArgs']]] ports: A list of ports that currently exist and are used on this port group.
|
|
360
|
-
:param pulumi.Input[int] shaping_average_bandwidth: The average bandwidth in bits per second if traffic shaping is enabled.
|
|
361
|
-
:param pulumi.Input[int] shaping_burst_size: The maximum burst size allowed in bytes if traffic shaping is enabled.
|
|
362
|
-
:param pulumi.Input[bool] shaping_enabled: Enable traffic shaping on this virtual switch or port group.
|
|
363
|
-
:param pulumi.Input[int] shaping_peak_bandwidth: The peak bandwidth during bursts in bits per second if traffic shaping is enabled.
|
|
364
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] standby_nics: List of standby network adapters used for failover.
|
|
365
|
-
:param pulumi.Input[str] teaming_policy: The network adapter teaming policy. Can be one of loadbalance_ip, loadbalance_srcmac, loadbalance_srcid, or
|
|
361
|
+
:param pulumi.Input[builtins.int] shaping_average_bandwidth: The average bandwidth in bits per second if traffic shaping is enabled.
|
|
362
|
+
:param pulumi.Input[builtins.int] shaping_burst_size: The maximum burst size allowed in bytes if traffic shaping is enabled.
|
|
363
|
+
:param pulumi.Input[builtins.bool] shaping_enabled: Enable traffic shaping on this virtual switch or port group.
|
|
364
|
+
:param pulumi.Input[builtins.int] shaping_peak_bandwidth: The peak bandwidth during bursts in bits per second if traffic shaping is enabled.
|
|
365
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] standby_nics: List of standby network adapters used for failover.
|
|
366
|
+
:param pulumi.Input[builtins.str] teaming_policy: The network adapter teaming policy. Can be one of loadbalance_ip, loadbalance_srcmac, loadbalance_srcid, or
|
|
366
367
|
failover_explicit.
|
|
367
|
-
:param pulumi.Input[str] virtual_switch_name: The name of the virtual switch to bind
|
|
368
|
+
:param pulumi.Input[builtins.str] virtual_switch_name: The name of the virtual switch to bind
|
|
368
369
|
this port group to. Forces a new resource if changed.
|
|
369
|
-
:param pulumi.Input[int] vlan_id: The VLAN ID/trunk mode for this port group. An ID of
|
|
370
|
+
:param pulumi.Input[builtins.int] vlan_id: The VLAN ID/trunk mode for this port group. An ID of
|
|
370
371
|
`0` denotes no tagging, an ID of `1`-`4094` tags with the specific ID, and an
|
|
371
372
|
ID of `4095` enables trunk mode, allowing the guest to manage its own
|
|
372
373
|
tagging. Default: `0`.
|
|
@@ -414,19 +415,19 @@ class _HostPortGroupState:
|
|
|
414
415
|
|
|
415
416
|
@property
|
|
416
417
|
@pulumi.getter(name="activeNics")
|
|
417
|
-
def active_nics(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
418
|
+
def active_nics(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
418
419
|
"""
|
|
419
420
|
List of active network adapters used for load balancing.
|
|
420
421
|
"""
|
|
421
422
|
return pulumi.get(self, "active_nics")
|
|
422
423
|
|
|
423
424
|
@active_nics.setter
|
|
424
|
-
def active_nics(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
425
|
+
def active_nics(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
425
426
|
pulumi.set(self, "active_nics", value)
|
|
426
427
|
|
|
427
428
|
@property
|
|
428
429
|
@pulumi.getter(name="allowForgedTransmits")
|
|
429
|
-
def allow_forged_transmits(self) -> Optional[pulumi.Input[bool]]:
|
|
430
|
+
def allow_forged_transmits(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
430
431
|
"""
|
|
431
432
|
Controls whether or not the virtual network adapter is allowed to send network traffic with a different MAC address than
|
|
432
433
|
that of its own.
|
|
@@ -434,36 +435,36 @@ class _HostPortGroupState:
|
|
|
434
435
|
return pulumi.get(self, "allow_forged_transmits")
|
|
435
436
|
|
|
436
437
|
@allow_forged_transmits.setter
|
|
437
|
-
def allow_forged_transmits(self, value: Optional[pulumi.Input[bool]]):
|
|
438
|
+
def allow_forged_transmits(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
438
439
|
pulumi.set(self, "allow_forged_transmits", value)
|
|
439
440
|
|
|
440
441
|
@property
|
|
441
442
|
@pulumi.getter(name="allowMacChanges")
|
|
442
|
-
def allow_mac_changes(self) -> Optional[pulumi.Input[bool]]:
|
|
443
|
+
def allow_mac_changes(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
443
444
|
"""
|
|
444
445
|
Controls whether or not the Media Access Control (MAC) address can be changed.
|
|
445
446
|
"""
|
|
446
447
|
return pulumi.get(self, "allow_mac_changes")
|
|
447
448
|
|
|
448
449
|
@allow_mac_changes.setter
|
|
449
|
-
def allow_mac_changes(self, value: Optional[pulumi.Input[bool]]):
|
|
450
|
+
def allow_mac_changes(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
450
451
|
pulumi.set(self, "allow_mac_changes", value)
|
|
451
452
|
|
|
452
453
|
@property
|
|
453
454
|
@pulumi.getter(name="allowPromiscuous")
|
|
454
|
-
def allow_promiscuous(self) -> Optional[pulumi.Input[bool]]:
|
|
455
|
+
def allow_promiscuous(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
455
456
|
"""
|
|
456
457
|
Enable promiscuous mode on the network. This flag indicates whether or not all traffic is seen on a given port.
|
|
457
458
|
"""
|
|
458
459
|
return pulumi.get(self, "allow_promiscuous")
|
|
459
460
|
|
|
460
461
|
@allow_promiscuous.setter
|
|
461
|
-
def allow_promiscuous(self, value: Optional[pulumi.Input[bool]]):
|
|
462
|
+
def allow_promiscuous(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
462
463
|
pulumi.set(self, "allow_promiscuous", value)
|
|
463
464
|
|
|
464
465
|
@property
|
|
465
466
|
@pulumi.getter(name="checkBeacon")
|
|
466
|
-
def check_beacon(self) -> Optional[pulumi.Input[bool]]:
|
|
467
|
+
def check_beacon(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
467
468
|
"""
|
|
468
469
|
Enable beacon probing. Requires that the vSwitch has been configured to use a beacon. If disabled, link status is used
|
|
469
470
|
only.
|
|
@@ -471,12 +472,12 @@ class _HostPortGroupState:
|
|
|
471
472
|
return pulumi.get(self, "check_beacon")
|
|
472
473
|
|
|
473
474
|
@check_beacon.setter
|
|
474
|
-
def check_beacon(self, value: Optional[pulumi.Input[bool]]):
|
|
475
|
+
def check_beacon(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
475
476
|
pulumi.set(self, "check_beacon", value)
|
|
476
477
|
|
|
477
478
|
@property
|
|
478
479
|
@pulumi.getter(name="computedPolicy")
|
|
479
|
-
def computed_policy(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
480
|
+
def computed_policy(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
|
480
481
|
"""
|
|
481
482
|
A map with a full set of the policy
|
|
482
483
|
options computed from defaults and overrides,
|
|
@@ -485,24 +486,24 @@ class _HostPortGroupState:
|
|
|
485
486
|
return pulumi.get(self, "computed_policy")
|
|
486
487
|
|
|
487
488
|
@computed_policy.setter
|
|
488
|
-
def computed_policy(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
|
489
|
+
def computed_policy(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
|
489
490
|
pulumi.set(self, "computed_policy", value)
|
|
490
491
|
|
|
491
492
|
@property
|
|
492
493
|
@pulumi.getter
|
|
493
|
-
def failback(self) -> Optional[pulumi.Input[bool]]:
|
|
494
|
+
def failback(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
494
495
|
"""
|
|
495
496
|
If true, the teaming policy will re-activate failed interfaces higher in precedence when they come back up.
|
|
496
497
|
"""
|
|
497
498
|
return pulumi.get(self, "failback")
|
|
498
499
|
|
|
499
500
|
@failback.setter
|
|
500
|
-
def failback(self, value: Optional[pulumi.Input[bool]]):
|
|
501
|
+
def failback(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
501
502
|
pulumi.set(self, "failback", value)
|
|
502
503
|
|
|
503
504
|
@property
|
|
504
505
|
@pulumi.getter(name="hostSystemId")
|
|
505
|
-
def host_system_id(self) -> Optional[pulumi.Input[str]]:
|
|
506
|
+
def host_system_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
506
507
|
"""
|
|
507
508
|
The managed object ID of
|
|
508
509
|
the host to set the port group up on. Forces a new resource if changed.
|
|
@@ -510,24 +511,24 @@ class _HostPortGroupState:
|
|
|
510
511
|
return pulumi.get(self, "host_system_id")
|
|
511
512
|
|
|
512
513
|
@host_system_id.setter
|
|
513
|
-
def host_system_id(self, value: Optional[pulumi.Input[str]]):
|
|
514
|
+
def host_system_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
514
515
|
pulumi.set(self, "host_system_id", value)
|
|
515
516
|
|
|
516
517
|
@property
|
|
517
518
|
@pulumi.getter
|
|
518
|
-
def key(self) -> Optional[pulumi.Input[str]]:
|
|
519
|
+
def key(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
519
520
|
"""
|
|
520
521
|
The key for this port group as returned from the vSphere API.
|
|
521
522
|
"""
|
|
522
523
|
return pulumi.get(self, "key")
|
|
523
524
|
|
|
524
525
|
@key.setter
|
|
525
|
-
def key(self, value: Optional[pulumi.Input[str]]):
|
|
526
|
+
def key(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
526
527
|
pulumi.set(self, "key", value)
|
|
527
528
|
|
|
528
529
|
@property
|
|
529
530
|
@pulumi.getter
|
|
530
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
531
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
531
532
|
"""
|
|
532
533
|
The name of the port group. Forces a new resource if
|
|
533
534
|
changed.
|
|
@@ -535,19 +536,19 @@ class _HostPortGroupState:
|
|
|
535
536
|
return pulumi.get(self, "name")
|
|
536
537
|
|
|
537
538
|
@name.setter
|
|
538
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
539
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
539
540
|
pulumi.set(self, "name", value)
|
|
540
541
|
|
|
541
542
|
@property
|
|
542
543
|
@pulumi.getter(name="notifySwitches")
|
|
543
|
-
def notify_switches(self) -> Optional[pulumi.Input[bool]]:
|
|
544
|
+
def notify_switches(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
544
545
|
"""
|
|
545
546
|
If true, the teaming policy will notify the broadcast network of a NIC failover, triggering cache updates.
|
|
546
547
|
"""
|
|
547
548
|
return pulumi.get(self, "notify_switches")
|
|
548
549
|
|
|
549
550
|
@notify_switches.setter
|
|
550
|
-
def notify_switches(self, value: Optional[pulumi.Input[bool]]):
|
|
551
|
+
def notify_switches(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
551
552
|
pulumi.set(self, "notify_switches", value)
|
|
552
553
|
|
|
553
554
|
@property
|
|
@@ -564,67 +565,67 @@ class _HostPortGroupState:
|
|
|
564
565
|
|
|
565
566
|
@property
|
|
566
567
|
@pulumi.getter(name="shapingAverageBandwidth")
|
|
567
|
-
def shaping_average_bandwidth(self) -> Optional[pulumi.Input[int]]:
|
|
568
|
+
def shaping_average_bandwidth(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
568
569
|
"""
|
|
569
570
|
The average bandwidth in bits per second if traffic shaping is enabled.
|
|
570
571
|
"""
|
|
571
572
|
return pulumi.get(self, "shaping_average_bandwidth")
|
|
572
573
|
|
|
573
574
|
@shaping_average_bandwidth.setter
|
|
574
|
-
def shaping_average_bandwidth(self, value: Optional[pulumi.Input[int]]):
|
|
575
|
+
def shaping_average_bandwidth(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
575
576
|
pulumi.set(self, "shaping_average_bandwidth", value)
|
|
576
577
|
|
|
577
578
|
@property
|
|
578
579
|
@pulumi.getter(name="shapingBurstSize")
|
|
579
|
-
def shaping_burst_size(self) -> Optional[pulumi.Input[int]]:
|
|
580
|
+
def shaping_burst_size(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
580
581
|
"""
|
|
581
582
|
The maximum burst size allowed in bytes if traffic shaping is enabled.
|
|
582
583
|
"""
|
|
583
584
|
return pulumi.get(self, "shaping_burst_size")
|
|
584
585
|
|
|
585
586
|
@shaping_burst_size.setter
|
|
586
|
-
def shaping_burst_size(self, value: Optional[pulumi.Input[int]]):
|
|
587
|
+
def shaping_burst_size(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
587
588
|
pulumi.set(self, "shaping_burst_size", value)
|
|
588
589
|
|
|
589
590
|
@property
|
|
590
591
|
@pulumi.getter(name="shapingEnabled")
|
|
591
|
-
def shaping_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
592
|
+
def shaping_enabled(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
592
593
|
"""
|
|
593
594
|
Enable traffic shaping on this virtual switch or port group.
|
|
594
595
|
"""
|
|
595
596
|
return pulumi.get(self, "shaping_enabled")
|
|
596
597
|
|
|
597
598
|
@shaping_enabled.setter
|
|
598
|
-
def shaping_enabled(self, value: Optional[pulumi.Input[bool]]):
|
|
599
|
+
def shaping_enabled(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
599
600
|
pulumi.set(self, "shaping_enabled", value)
|
|
600
601
|
|
|
601
602
|
@property
|
|
602
603
|
@pulumi.getter(name="shapingPeakBandwidth")
|
|
603
|
-
def shaping_peak_bandwidth(self) -> Optional[pulumi.Input[int]]:
|
|
604
|
+
def shaping_peak_bandwidth(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
604
605
|
"""
|
|
605
606
|
The peak bandwidth during bursts in bits per second if traffic shaping is enabled.
|
|
606
607
|
"""
|
|
607
608
|
return pulumi.get(self, "shaping_peak_bandwidth")
|
|
608
609
|
|
|
609
610
|
@shaping_peak_bandwidth.setter
|
|
610
|
-
def shaping_peak_bandwidth(self, value: Optional[pulumi.Input[int]]):
|
|
611
|
+
def shaping_peak_bandwidth(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
611
612
|
pulumi.set(self, "shaping_peak_bandwidth", value)
|
|
612
613
|
|
|
613
614
|
@property
|
|
614
615
|
@pulumi.getter(name="standbyNics")
|
|
615
|
-
def standby_nics(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
616
|
+
def standby_nics(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
616
617
|
"""
|
|
617
618
|
List of standby network adapters used for failover.
|
|
618
619
|
"""
|
|
619
620
|
return pulumi.get(self, "standby_nics")
|
|
620
621
|
|
|
621
622
|
@standby_nics.setter
|
|
622
|
-
def standby_nics(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
623
|
+
def standby_nics(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
623
624
|
pulumi.set(self, "standby_nics", value)
|
|
624
625
|
|
|
625
626
|
@property
|
|
626
627
|
@pulumi.getter(name="teamingPolicy")
|
|
627
|
-
def teaming_policy(self) -> Optional[pulumi.Input[str]]:
|
|
628
|
+
def teaming_policy(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
628
629
|
"""
|
|
629
630
|
The network adapter teaming policy. Can be one of loadbalance_ip, loadbalance_srcmac, loadbalance_srcid, or
|
|
630
631
|
failover_explicit.
|
|
@@ -632,12 +633,12 @@ class _HostPortGroupState:
|
|
|
632
633
|
return pulumi.get(self, "teaming_policy")
|
|
633
634
|
|
|
634
635
|
@teaming_policy.setter
|
|
635
|
-
def teaming_policy(self, value: Optional[pulumi.Input[str]]):
|
|
636
|
+
def teaming_policy(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
636
637
|
pulumi.set(self, "teaming_policy", value)
|
|
637
638
|
|
|
638
639
|
@property
|
|
639
640
|
@pulumi.getter(name="virtualSwitchName")
|
|
640
|
-
def virtual_switch_name(self) -> Optional[pulumi.Input[str]]:
|
|
641
|
+
def virtual_switch_name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
641
642
|
"""
|
|
642
643
|
The name of the virtual switch to bind
|
|
643
644
|
this port group to. Forces a new resource if changed.
|
|
@@ -645,12 +646,12 @@ class _HostPortGroupState:
|
|
|
645
646
|
return pulumi.get(self, "virtual_switch_name")
|
|
646
647
|
|
|
647
648
|
@virtual_switch_name.setter
|
|
648
|
-
def virtual_switch_name(self, value: Optional[pulumi.Input[str]]):
|
|
649
|
+
def virtual_switch_name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
649
650
|
pulumi.set(self, "virtual_switch_name", value)
|
|
650
651
|
|
|
651
652
|
@property
|
|
652
653
|
@pulumi.getter(name="vlanId")
|
|
653
|
-
def vlan_id(self) -> Optional[pulumi.Input[int]]:
|
|
654
|
+
def vlan_id(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
654
655
|
"""
|
|
655
656
|
The VLAN ID/trunk mode for this port group. An ID of
|
|
656
657
|
`0` denotes no tagging, an ID of `1`-`4094` tags with the specific ID, and an
|
|
@@ -660,32 +661,33 @@ class _HostPortGroupState:
|
|
|
660
661
|
return pulumi.get(self, "vlan_id")
|
|
661
662
|
|
|
662
663
|
@vlan_id.setter
|
|
663
|
-
def vlan_id(self, value: Optional[pulumi.Input[int]]):
|
|
664
|
+
def vlan_id(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
664
665
|
pulumi.set(self, "vlan_id", value)
|
|
665
666
|
|
|
666
667
|
|
|
668
|
+
@pulumi.type_token("vsphere:index/hostPortGroup:HostPortGroup")
|
|
667
669
|
class HostPortGroup(pulumi.CustomResource):
|
|
668
670
|
@overload
|
|
669
671
|
def __init__(__self__,
|
|
670
672
|
resource_name: str,
|
|
671
673
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
672
|
-
active_nics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
673
|
-
allow_forged_transmits: Optional[pulumi.Input[bool]] = None,
|
|
674
|
-
allow_mac_changes: Optional[pulumi.Input[bool]] = None,
|
|
675
|
-
allow_promiscuous: Optional[pulumi.Input[bool]] = None,
|
|
676
|
-
check_beacon: Optional[pulumi.Input[bool]] = None,
|
|
677
|
-
failback: Optional[pulumi.Input[bool]] = None,
|
|
678
|
-
host_system_id: Optional[pulumi.Input[str]] = None,
|
|
679
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
680
|
-
notify_switches: Optional[pulumi.Input[bool]] = None,
|
|
681
|
-
shaping_average_bandwidth: Optional[pulumi.Input[int]] = None,
|
|
682
|
-
shaping_burst_size: Optional[pulumi.Input[int]] = None,
|
|
683
|
-
shaping_enabled: Optional[pulumi.Input[bool]] = None,
|
|
684
|
-
shaping_peak_bandwidth: Optional[pulumi.Input[int]] = None,
|
|
685
|
-
standby_nics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
686
|
-
teaming_policy: Optional[pulumi.Input[str]] = None,
|
|
687
|
-
virtual_switch_name: Optional[pulumi.Input[str]] = None,
|
|
688
|
-
vlan_id: Optional[pulumi.Input[int]] = None,
|
|
674
|
+
active_nics: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
675
|
+
allow_forged_transmits: Optional[pulumi.Input[builtins.bool]] = None,
|
|
676
|
+
allow_mac_changes: Optional[pulumi.Input[builtins.bool]] = None,
|
|
677
|
+
allow_promiscuous: Optional[pulumi.Input[builtins.bool]] = None,
|
|
678
|
+
check_beacon: Optional[pulumi.Input[builtins.bool]] = None,
|
|
679
|
+
failback: Optional[pulumi.Input[builtins.bool]] = None,
|
|
680
|
+
host_system_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
681
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
682
|
+
notify_switches: Optional[pulumi.Input[builtins.bool]] = None,
|
|
683
|
+
shaping_average_bandwidth: Optional[pulumi.Input[builtins.int]] = None,
|
|
684
|
+
shaping_burst_size: Optional[pulumi.Input[builtins.int]] = None,
|
|
685
|
+
shaping_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
686
|
+
shaping_peak_bandwidth: Optional[pulumi.Input[builtins.int]] = None,
|
|
687
|
+
standby_nics: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
688
|
+
teaming_policy: Optional[pulumi.Input[builtins.str]] = None,
|
|
689
|
+
virtual_switch_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
690
|
+
vlan_id: Optional[pulumi.Input[builtins.int]] = None,
|
|
689
691
|
__props__=None):
|
|
690
692
|
"""
|
|
691
693
|
The `HostPortGroup` resource can be used to manage port groups on
|
|
@@ -769,29 +771,29 @@ class HostPortGroup(pulumi.CustomResource):
|
|
|
769
771
|
|
|
770
772
|
:param str resource_name: The name of the resource.
|
|
771
773
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
772
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] active_nics: List of active network adapters used for load balancing.
|
|
773
|
-
:param pulumi.Input[bool] allow_forged_transmits: Controls whether or not the virtual network adapter is allowed to send network traffic with a different MAC address than
|
|
774
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] active_nics: List of active network adapters used for load balancing.
|
|
775
|
+
: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
|
|
774
776
|
that of its own.
|
|
775
|
-
:param pulumi.Input[bool] allow_mac_changes: Controls whether or not the Media Access Control (MAC) address can be changed.
|
|
776
|
-
:param pulumi.Input[bool] allow_promiscuous: Enable promiscuous mode on the network. This flag indicates whether or not all traffic is seen on a given port.
|
|
777
|
-
:param pulumi.Input[bool] check_beacon: Enable beacon probing. Requires that the vSwitch has been configured to use a beacon. If disabled, link status is used
|
|
777
|
+
:param pulumi.Input[builtins.bool] allow_mac_changes: Controls whether or not the Media Access Control (MAC) address can be changed.
|
|
778
|
+
: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.
|
|
779
|
+
:param pulumi.Input[builtins.bool] check_beacon: Enable beacon probing. Requires that the vSwitch has been configured to use a beacon. If disabled, link status is used
|
|
778
780
|
only.
|
|
779
|
-
:param pulumi.Input[bool] failback: If true, the teaming policy will re-activate failed interfaces higher in precedence when they come back up.
|
|
780
|
-
:param pulumi.Input[str] host_system_id: The managed object ID of
|
|
781
|
+
:param pulumi.Input[builtins.bool] failback: If true, the teaming policy will re-activate failed interfaces higher in precedence when they come back up.
|
|
782
|
+
:param pulumi.Input[builtins.str] host_system_id: The managed object ID of
|
|
781
783
|
the host to set the port group up on. Forces a new resource if changed.
|
|
782
|
-
:param pulumi.Input[str] name: The name of the port group. Forces a new resource if
|
|
784
|
+
:param pulumi.Input[builtins.str] name: The name of the port group. Forces a new resource if
|
|
783
785
|
changed.
|
|
784
|
-
:param pulumi.Input[bool] notify_switches: If true, the teaming policy will notify the broadcast network of a NIC failover, triggering cache updates.
|
|
785
|
-
:param pulumi.Input[int] shaping_average_bandwidth: The average bandwidth in bits per second if traffic shaping is enabled.
|
|
786
|
-
:param pulumi.Input[int] shaping_burst_size: The maximum burst size allowed in bytes if traffic shaping is enabled.
|
|
787
|
-
:param pulumi.Input[bool] shaping_enabled: Enable traffic shaping on this virtual switch or port group.
|
|
788
|
-
:param pulumi.Input[int] shaping_peak_bandwidth: The peak bandwidth during bursts in bits per second if traffic shaping is enabled.
|
|
789
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] standby_nics: List of standby network adapters used for failover.
|
|
790
|
-
:param pulumi.Input[str] teaming_policy: The network adapter teaming policy. Can be one of loadbalance_ip, loadbalance_srcmac, loadbalance_srcid, or
|
|
786
|
+
:param pulumi.Input[builtins.bool] notify_switches: If true, the teaming policy will notify the broadcast network of a NIC failover, triggering cache updates.
|
|
787
|
+
:param pulumi.Input[builtins.int] shaping_average_bandwidth: The average bandwidth in bits per second if traffic shaping is enabled.
|
|
788
|
+
:param pulumi.Input[builtins.int] shaping_burst_size: The maximum burst size allowed in bytes if traffic shaping is enabled.
|
|
789
|
+
:param pulumi.Input[builtins.bool] shaping_enabled: Enable traffic shaping on this virtual switch or port group.
|
|
790
|
+
:param pulumi.Input[builtins.int] shaping_peak_bandwidth: The peak bandwidth during bursts in bits per second if traffic shaping is enabled.
|
|
791
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] standby_nics: List of standby network adapters used for failover.
|
|
792
|
+
:param pulumi.Input[builtins.str] teaming_policy: The network adapter teaming policy. Can be one of loadbalance_ip, loadbalance_srcmac, loadbalance_srcid, or
|
|
791
793
|
failover_explicit.
|
|
792
|
-
:param pulumi.Input[str] virtual_switch_name: The name of the virtual switch to bind
|
|
794
|
+
:param pulumi.Input[builtins.str] virtual_switch_name: The name of the virtual switch to bind
|
|
793
795
|
this port group to. Forces a new resource if changed.
|
|
794
|
-
:param pulumi.Input[int] vlan_id: The VLAN ID/trunk mode for this port group. An ID of
|
|
796
|
+
:param pulumi.Input[builtins.int] vlan_id: The VLAN ID/trunk mode for this port group. An ID of
|
|
795
797
|
`0` denotes no tagging, an ID of `1`-`4094` tags with the specific ID, and an
|
|
796
798
|
ID of `4095` enables trunk mode, allowing the guest to manage its own
|
|
797
799
|
tagging. Default: `0`.
|
|
@@ -897,23 +899,23 @@ class HostPortGroup(pulumi.CustomResource):
|
|
|
897
899
|
def _internal_init(__self__,
|
|
898
900
|
resource_name: str,
|
|
899
901
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
900
|
-
active_nics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
901
|
-
allow_forged_transmits: Optional[pulumi.Input[bool]] = None,
|
|
902
|
-
allow_mac_changes: Optional[pulumi.Input[bool]] = None,
|
|
903
|
-
allow_promiscuous: Optional[pulumi.Input[bool]] = None,
|
|
904
|
-
check_beacon: Optional[pulumi.Input[bool]] = None,
|
|
905
|
-
failback: Optional[pulumi.Input[bool]] = None,
|
|
906
|
-
host_system_id: Optional[pulumi.Input[str]] = None,
|
|
907
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
908
|
-
notify_switches: Optional[pulumi.Input[bool]] = None,
|
|
909
|
-
shaping_average_bandwidth: Optional[pulumi.Input[int]] = None,
|
|
910
|
-
shaping_burst_size: Optional[pulumi.Input[int]] = None,
|
|
911
|
-
shaping_enabled: Optional[pulumi.Input[bool]] = None,
|
|
912
|
-
shaping_peak_bandwidth: Optional[pulumi.Input[int]] = None,
|
|
913
|
-
standby_nics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
914
|
-
teaming_policy: Optional[pulumi.Input[str]] = None,
|
|
915
|
-
virtual_switch_name: Optional[pulumi.Input[str]] = None,
|
|
916
|
-
vlan_id: Optional[pulumi.Input[int]] = None,
|
|
902
|
+
active_nics: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
903
|
+
allow_forged_transmits: Optional[pulumi.Input[builtins.bool]] = None,
|
|
904
|
+
allow_mac_changes: Optional[pulumi.Input[builtins.bool]] = None,
|
|
905
|
+
allow_promiscuous: Optional[pulumi.Input[builtins.bool]] = None,
|
|
906
|
+
check_beacon: Optional[pulumi.Input[builtins.bool]] = None,
|
|
907
|
+
failback: Optional[pulumi.Input[builtins.bool]] = None,
|
|
908
|
+
host_system_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
909
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
910
|
+
notify_switches: Optional[pulumi.Input[builtins.bool]] = None,
|
|
911
|
+
shaping_average_bandwidth: Optional[pulumi.Input[builtins.int]] = None,
|
|
912
|
+
shaping_burst_size: Optional[pulumi.Input[builtins.int]] = None,
|
|
913
|
+
shaping_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
914
|
+
shaping_peak_bandwidth: Optional[pulumi.Input[builtins.int]] = None,
|
|
915
|
+
standby_nics: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
916
|
+
teaming_policy: Optional[pulumi.Input[builtins.str]] = None,
|
|
917
|
+
virtual_switch_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
918
|
+
vlan_id: Optional[pulumi.Input[builtins.int]] = None,
|
|
917
919
|
__props__=None):
|
|
918
920
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
919
921
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -957,26 +959,26 @@ class HostPortGroup(pulumi.CustomResource):
|
|
|
957
959
|
def get(resource_name: str,
|
|
958
960
|
id: pulumi.Input[str],
|
|
959
961
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
960
|
-
active_nics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
961
|
-
allow_forged_transmits: Optional[pulumi.Input[bool]] = None,
|
|
962
|
-
allow_mac_changes: Optional[pulumi.Input[bool]] = None,
|
|
963
|
-
allow_promiscuous: Optional[pulumi.Input[bool]] = None,
|
|
964
|
-
check_beacon: Optional[pulumi.Input[bool]] = None,
|
|
965
|
-
computed_policy: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
966
|
-
failback: Optional[pulumi.Input[bool]] = None,
|
|
967
|
-
host_system_id: Optional[pulumi.Input[str]] = None,
|
|
968
|
-
key: Optional[pulumi.Input[str]] = None,
|
|
969
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
970
|
-
notify_switches: Optional[pulumi.Input[bool]] = None,
|
|
962
|
+
active_nics: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
963
|
+
allow_forged_transmits: Optional[pulumi.Input[builtins.bool]] = None,
|
|
964
|
+
allow_mac_changes: Optional[pulumi.Input[builtins.bool]] = None,
|
|
965
|
+
allow_promiscuous: Optional[pulumi.Input[builtins.bool]] = None,
|
|
966
|
+
check_beacon: Optional[pulumi.Input[builtins.bool]] = None,
|
|
967
|
+
computed_policy: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
968
|
+
failback: Optional[pulumi.Input[builtins.bool]] = None,
|
|
969
|
+
host_system_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
970
|
+
key: Optional[pulumi.Input[builtins.str]] = None,
|
|
971
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
972
|
+
notify_switches: Optional[pulumi.Input[builtins.bool]] = None,
|
|
971
973
|
ports: Optional[pulumi.Input[Sequence[pulumi.Input[Union['HostPortGroupPortArgs', 'HostPortGroupPortArgsDict']]]]] = None,
|
|
972
|
-
shaping_average_bandwidth: Optional[pulumi.Input[int]] = None,
|
|
973
|
-
shaping_burst_size: Optional[pulumi.Input[int]] = None,
|
|
974
|
-
shaping_enabled: Optional[pulumi.Input[bool]] = None,
|
|
975
|
-
shaping_peak_bandwidth: Optional[pulumi.Input[int]] = None,
|
|
976
|
-
standby_nics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
977
|
-
teaming_policy: Optional[pulumi.Input[str]] = None,
|
|
978
|
-
virtual_switch_name: Optional[pulumi.Input[str]] = None,
|
|
979
|
-
vlan_id: Optional[pulumi.Input[int]] = None) -> 'HostPortGroup':
|
|
974
|
+
shaping_average_bandwidth: Optional[pulumi.Input[builtins.int]] = None,
|
|
975
|
+
shaping_burst_size: Optional[pulumi.Input[builtins.int]] = None,
|
|
976
|
+
shaping_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
977
|
+
shaping_peak_bandwidth: Optional[pulumi.Input[builtins.int]] = None,
|
|
978
|
+
standby_nics: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
979
|
+
teaming_policy: Optional[pulumi.Input[builtins.str]] = None,
|
|
980
|
+
virtual_switch_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
981
|
+
vlan_id: Optional[pulumi.Input[builtins.int]] = None) -> 'HostPortGroup':
|
|
980
982
|
"""
|
|
981
983
|
Get an existing HostPortGroup resource's state with the given name, id, and optional extra
|
|
982
984
|
properties used to qualify the lookup.
|
|
@@ -984,34 +986,34 @@ class HostPortGroup(pulumi.CustomResource):
|
|
|
984
986
|
:param str resource_name: The unique name of the resulting resource.
|
|
985
987
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
986
988
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
987
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] active_nics: List of active network adapters used for load balancing.
|
|
988
|
-
:param pulumi.Input[bool] allow_forged_transmits: Controls whether or not the virtual network adapter is allowed to send network traffic with a different MAC address than
|
|
989
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] active_nics: List of active network adapters used for load balancing.
|
|
990
|
+
: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
|
|
989
991
|
that of its own.
|
|
990
|
-
:param pulumi.Input[bool] allow_mac_changes: Controls whether or not the Media Access Control (MAC) address can be changed.
|
|
991
|
-
:param pulumi.Input[bool] allow_promiscuous: Enable promiscuous mode on the network. This flag indicates whether or not all traffic is seen on a given port.
|
|
992
|
-
:param pulumi.Input[bool] check_beacon: Enable beacon probing. Requires that the vSwitch has been configured to use a beacon. If disabled, link status is used
|
|
992
|
+
:param pulumi.Input[builtins.bool] allow_mac_changes: Controls whether or not the Media Access Control (MAC) address can be changed.
|
|
993
|
+
: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.
|
|
994
|
+
:param pulumi.Input[builtins.bool] check_beacon: Enable beacon probing. Requires that the vSwitch has been configured to use a beacon. If disabled, link status is used
|
|
993
995
|
only.
|
|
994
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] computed_policy: A map with a full set of the policy
|
|
996
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] computed_policy: A map with a full set of the policy
|
|
995
997
|
options computed from defaults and overrides,
|
|
996
998
|
explaining the effective policy for this port group.
|
|
997
|
-
:param pulumi.Input[bool] failback: If true, the teaming policy will re-activate failed interfaces higher in precedence when they come back up.
|
|
998
|
-
:param pulumi.Input[str] host_system_id: The managed object ID of
|
|
999
|
+
:param pulumi.Input[builtins.bool] failback: If true, the teaming policy will re-activate failed interfaces higher in precedence when they come back up.
|
|
1000
|
+
:param pulumi.Input[builtins.str] host_system_id: The managed object ID of
|
|
999
1001
|
the host to set the port group up on. Forces a new resource if changed.
|
|
1000
|
-
:param pulumi.Input[str] key: The key for this port group as returned from the vSphere API.
|
|
1001
|
-
:param pulumi.Input[str] name: The name of the port group. Forces a new resource if
|
|
1002
|
+
:param pulumi.Input[builtins.str] key: The key for this port group as returned from the vSphere API.
|
|
1003
|
+
:param pulumi.Input[builtins.str] name: The name of the port group. Forces a new resource if
|
|
1002
1004
|
changed.
|
|
1003
|
-
:param pulumi.Input[bool] notify_switches: If true, the teaming policy will notify the broadcast network of a NIC failover, triggering cache updates.
|
|
1005
|
+
:param pulumi.Input[builtins.bool] notify_switches: If true, the teaming policy will notify the broadcast network of a NIC failover, triggering cache updates.
|
|
1004
1006
|
:param pulumi.Input[Sequence[pulumi.Input[Union['HostPortGroupPortArgs', 'HostPortGroupPortArgsDict']]]] ports: A list of ports that currently exist and are used on this port group.
|
|
1005
|
-
:param pulumi.Input[int] shaping_average_bandwidth: The average bandwidth in bits per second if traffic shaping is enabled.
|
|
1006
|
-
:param pulumi.Input[int] shaping_burst_size: The maximum burst size allowed in bytes if traffic shaping is enabled.
|
|
1007
|
-
:param pulumi.Input[bool] shaping_enabled: Enable traffic shaping on this virtual switch or port group.
|
|
1008
|
-
:param pulumi.Input[int] shaping_peak_bandwidth: The peak bandwidth during bursts in bits per second if traffic shaping is enabled.
|
|
1009
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] standby_nics: List of standby network adapters used for failover.
|
|
1010
|
-
:param pulumi.Input[str] teaming_policy: The network adapter teaming policy. Can be one of loadbalance_ip, loadbalance_srcmac, loadbalance_srcid, or
|
|
1007
|
+
:param pulumi.Input[builtins.int] shaping_average_bandwidth: The average bandwidth in bits per second if traffic shaping is enabled.
|
|
1008
|
+
:param pulumi.Input[builtins.int] shaping_burst_size: The maximum burst size allowed in bytes if traffic shaping is enabled.
|
|
1009
|
+
:param pulumi.Input[builtins.bool] shaping_enabled: Enable traffic shaping on this virtual switch or port group.
|
|
1010
|
+
:param pulumi.Input[builtins.int] shaping_peak_bandwidth: The peak bandwidth during bursts in bits per second if traffic shaping is enabled.
|
|
1011
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] standby_nics: List of standby network adapters used for failover.
|
|
1012
|
+
:param pulumi.Input[builtins.str] teaming_policy: The network adapter teaming policy. Can be one of loadbalance_ip, loadbalance_srcmac, loadbalance_srcid, or
|
|
1011
1013
|
failover_explicit.
|
|
1012
|
-
:param pulumi.Input[str] virtual_switch_name: The name of the virtual switch to bind
|
|
1014
|
+
:param pulumi.Input[builtins.str] virtual_switch_name: The name of the virtual switch to bind
|
|
1013
1015
|
this port group to. Forces a new resource if changed.
|
|
1014
|
-
:param pulumi.Input[int] vlan_id: The VLAN ID/trunk mode for this port group. An ID of
|
|
1016
|
+
:param pulumi.Input[builtins.int] vlan_id: The VLAN ID/trunk mode for this port group. An ID of
|
|
1015
1017
|
`0` denotes no tagging, an ID of `1`-`4094` tags with the specific ID, and an
|
|
1016
1018
|
ID of `4095` enables trunk mode, allowing the guest to manage its own
|
|
1017
1019
|
tagging. Default: `0`.
|
|
@@ -1044,7 +1046,7 @@ class HostPortGroup(pulumi.CustomResource):
|
|
|
1044
1046
|
|
|
1045
1047
|
@property
|
|
1046
1048
|
@pulumi.getter(name="activeNics")
|
|
1047
|
-
def active_nics(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
1049
|
+
def active_nics(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]:
|
|
1048
1050
|
"""
|
|
1049
1051
|
List of active network adapters used for load balancing.
|
|
1050
1052
|
"""
|
|
@@ -1052,7 +1054,7 @@ class HostPortGroup(pulumi.CustomResource):
|
|
|
1052
1054
|
|
|
1053
1055
|
@property
|
|
1054
1056
|
@pulumi.getter(name="allowForgedTransmits")
|
|
1055
|
-
def allow_forged_transmits(self) -> pulumi.Output[Optional[bool]]:
|
|
1057
|
+
def allow_forged_transmits(self) -> pulumi.Output[Optional[builtins.bool]]:
|
|
1056
1058
|
"""
|
|
1057
1059
|
Controls whether or not the virtual network adapter is allowed to send network traffic with a different MAC address than
|
|
1058
1060
|
that of its own.
|
|
@@ -1061,7 +1063,7 @@ class HostPortGroup(pulumi.CustomResource):
|
|
|
1061
1063
|
|
|
1062
1064
|
@property
|
|
1063
1065
|
@pulumi.getter(name="allowMacChanges")
|
|
1064
|
-
def allow_mac_changes(self) -> pulumi.Output[Optional[bool]]:
|
|
1066
|
+
def allow_mac_changes(self) -> pulumi.Output[Optional[builtins.bool]]:
|
|
1065
1067
|
"""
|
|
1066
1068
|
Controls whether or not the Media Access Control (MAC) address can be changed.
|
|
1067
1069
|
"""
|
|
@@ -1069,7 +1071,7 @@ class HostPortGroup(pulumi.CustomResource):
|
|
|
1069
1071
|
|
|
1070
1072
|
@property
|
|
1071
1073
|
@pulumi.getter(name="allowPromiscuous")
|
|
1072
|
-
def allow_promiscuous(self) -> pulumi.Output[Optional[bool]]:
|
|
1074
|
+
def allow_promiscuous(self) -> pulumi.Output[Optional[builtins.bool]]:
|
|
1073
1075
|
"""
|
|
1074
1076
|
Enable promiscuous mode on the network. This flag indicates whether or not all traffic is seen on a given port.
|
|
1075
1077
|
"""
|
|
@@ -1077,7 +1079,7 @@ class HostPortGroup(pulumi.CustomResource):
|
|
|
1077
1079
|
|
|
1078
1080
|
@property
|
|
1079
1081
|
@pulumi.getter(name="checkBeacon")
|
|
1080
|
-
def check_beacon(self) -> pulumi.Output[Optional[bool]]:
|
|
1082
|
+
def check_beacon(self) -> pulumi.Output[Optional[builtins.bool]]:
|
|
1081
1083
|
"""
|
|
1082
1084
|
Enable beacon probing. Requires that the vSwitch has been configured to use a beacon. If disabled, link status is used
|
|
1083
1085
|
only.
|
|
@@ -1086,7 +1088,7 @@ class HostPortGroup(pulumi.CustomResource):
|
|
|
1086
1088
|
|
|
1087
1089
|
@property
|
|
1088
1090
|
@pulumi.getter(name="computedPolicy")
|
|
1089
|
-
def computed_policy(self) -> pulumi.Output[Mapping[str, str]]:
|
|
1091
|
+
def computed_policy(self) -> pulumi.Output[Mapping[str, builtins.str]]:
|
|
1090
1092
|
"""
|
|
1091
1093
|
A map with a full set of the policy
|
|
1092
1094
|
options computed from defaults and overrides,
|
|
@@ -1096,7 +1098,7 @@ class HostPortGroup(pulumi.CustomResource):
|
|
|
1096
1098
|
|
|
1097
1099
|
@property
|
|
1098
1100
|
@pulumi.getter
|
|
1099
|
-
def failback(self) -> pulumi.Output[Optional[bool]]:
|
|
1101
|
+
def failback(self) -> pulumi.Output[Optional[builtins.bool]]:
|
|
1100
1102
|
"""
|
|
1101
1103
|
If true, the teaming policy will re-activate failed interfaces higher in precedence when they come back up.
|
|
1102
1104
|
"""
|
|
@@ -1104,7 +1106,7 @@ class HostPortGroup(pulumi.CustomResource):
|
|
|
1104
1106
|
|
|
1105
1107
|
@property
|
|
1106
1108
|
@pulumi.getter(name="hostSystemId")
|
|
1107
|
-
def host_system_id(self) -> pulumi.Output[str]:
|
|
1109
|
+
def host_system_id(self) -> pulumi.Output[builtins.str]:
|
|
1108
1110
|
"""
|
|
1109
1111
|
The managed object ID of
|
|
1110
1112
|
the host to set the port group up on. Forces a new resource if changed.
|
|
@@ -1113,7 +1115,7 @@ class HostPortGroup(pulumi.CustomResource):
|
|
|
1113
1115
|
|
|
1114
1116
|
@property
|
|
1115
1117
|
@pulumi.getter
|
|
1116
|
-
def key(self) -> pulumi.Output[str]:
|
|
1118
|
+
def key(self) -> pulumi.Output[builtins.str]:
|
|
1117
1119
|
"""
|
|
1118
1120
|
The key for this port group as returned from the vSphere API.
|
|
1119
1121
|
"""
|
|
@@ -1121,7 +1123,7 @@ class HostPortGroup(pulumi.CustomResource):
|
|
|
1121
1123
|
|
|
1122
1124
|
@property
|
|
1123
1125
|
@pulumi.getter
|
|
1124
|
-
def name(self) -> pulumi.Output[str]:
|
|
1126
|
+
def name(self) -> pulumi.Output[builtins.str]:
|
|
1125
1127
|
"""
|
|
1126
1128
|
The name of the port group. Forces a new resource if
|
|
1127
1129
|
changed.
|
|
@@ -1130,7 +1132,7 @@ class HostPortGroup(pulumi.CustomResource):
|
|
|
1130
1132
|
|
|
1131
1133
|
@property
|
|
1132
1134
|
@pulumi.getter(name="notifySwitches")
|
|
1133
|
-
def notify_switches(self) -> pulumi.Output[Optional[bool]]:
|
|
1135
|
+
def notify_switches(self) -> pulumi.Output[Optional[builtins.bool]]:
|
|
1134
1136
|
"""
|
|
1135
1137
|
If true, the teaming policy will notify the broadcast network of a NIC failover, triggering cache updates.
|
|
1136
1138
|
"""
|
|
@@ -1146,7 +1148,7 @@ class HostPortGroup(pulumi.CustomResource):
|
|
|
1146
1148
|
|
|
1147
1149
|
@property
|
|
1148
1150
|
@pulumi.getter(name="shapingAverageBandwidth")
|
|
1149
|
-
def shaping_average_bandwidth(self) -> pulumi.Output[Optional[int]]:
|
|
1151
|
+
def shaping_average_bandwidth(self) -> pulumi.Output[Optional[builtins.int]]:
|
|
1150
1152
|
"""
|
|
1151
1153
|
The average bandwidth in bits per second if traffic shaping is enabled.
|
|
1152
1154
|
"""
|
|
@@ -1154,7 +1156,7 @@ class HostPortGroup(pulumi.CustomResource):
|
|
|
1154
1156
|
|
|
1155
1157
|
@property
|
|
1156
1158
|
@pulumi.getter(name="shapingBurstSize")
|
|
1157
|
-
def shaping_burst_size(self) -> pulumi.Output[Optional[int]]:
|
|
1159
|
+
def shaping_burst_size(self) -> pulumi.Output[Optional[builtins.int]]:
|
|
1158
1160
|
"""
|
|
1159
1161
|
The maximum burst size allowed in bytes if traffic shaping is enabled.
|
|
1160
1162
|
"""
|
|
@@ -1162,7 +1164,7 @@ class HostPortGroup(pulumi.CustomResource):
|
|
|
1162
1164
|
|
|
1163
1165
|
@property
|
|
1164
1166
|
@pulumi.getter(name="shapingEnabled")
|
|
1165
|
-
def shaping_enabled(self) -> pulumi.Output[Optional[bool]]:
|
|
1167
|
+
def shaping_enabled(self) -> pulumi.Output[Optional[builtins.bool]]:
|
|
1166
1168
|
"""
|
|
1167
1169
|
Enable traffic shaping on this virtual switch or port group.
|
|
1168
1170
|
"""
|
|
@@ -1170,7 +1172,7 @@ class HostPortGroup(pulumi.CustomResource):
|
|
|
1170
1172
|
|
|
1171
1173
|
@property
|
|
1172
1174
|
@pulumi.getter(name="shapingPeakBandwidth")
|
|
1173
|
-
def shaping_peak_bandwidth(self) -> pulumi.Output[Optional[int]]:
|
|
1175
|
+
def shaping_peak_bandwidth(self) -> pulumi.Output[Optional[builtins.int]]:
|
|
1174
1176
|
"""
|
|
1175
1177
|
The peak bandwidth during bursts in bits per second if traffic shaping is enabled.
|
|
1176
1178
|
"""
|
|
@@ -1178,7 +1180,7 @@ class HostPortGroup(pulumi.CustomResource):
|
|
|
1178
1180
|
|
|
1179
1181
|
@property
|
|
1180
1182
|
@pulumi.getter(name="standbyNics")
|
|
1181
|
-
def standby_nics(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
1183
|
+
def standby_nics(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]:
|
|
1182
1184
|
"""
|
|
1183
1185
|
List of standby network adapters used for failover.
|
|
1184
1186
|
"""
|
|
@@ -1186,7 +1188,7 @@ class HostPortGroup(pulumi.CustomResource):
|
|
|
1186
1188
|
|
|
1187
1189
|
@property
|
|
1188
1190
|
@pulumi.getter(name="teamingPolicy")
|
|
1189
|
-
def teaming_policy(self) -> pulumi.Output[Optional[str]]:
|
|
1191
|
+
def teaming_policy(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
1190
1192
|
"""
|
|
1191
1193
|
The network adapter teaming policy. Can be one of loadbalance_ip, loadbalance_srcmac, loadbalance_srcid, or
|
|
1192
1194
|
failover_explicit.
|
|
@@ -1195,7 +1197,7 @@ class HostPortGroup(pulumi.CustomResource):
|
|
|
1195
1197
|
|
|
1196
1198
|
@property
|
|
1197
1199
|
@pulumi.getter(name="virtualSwitchName")
|
|
1198
|
-
def virtual_switch_name(self) -> pulumi.Output[str]:
|
|
1200
|
+
def virtual_switch_name(self) -> pulumi.Output[builtins.str]:
|
|
1199
1201
|
"""
|
|
1200
1202
|
The name of the virtual switch to bind
|
|
1201
1203
|
this port group to. Forces a new resource if changed.
|
|
@@ -1204,7 +1206,7 @@ class HostPortGroup(pulumi.CustomResource):
|
|
|
1204
1206
|
|
|
1205
1207
|
@property
|
|
1206
1208
|
@pulumi.getter(name="vlanId")
|
|
1207
|
-
def vlan_id(self) -> pulumi.Output[Optional[int]]:
|
|
1209
|
+
def vlan_id(self) -> pulumi.Output[Optional[builtins.int]]:
|
|
1208
1210
|
"""
|
|
1209
1211
|
The VLAN ID/trunk mode for this port group. An ID of
|
|
1210
1212
|
`0` denotes no tagging, an ID of `1`-`4094` tags with the specific ID, and an
|