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