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