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.

Files changed (89) hide show
  1. pulumi_vsphere/__init__.py +12 -1
  2. pulumi_vsphere/_inputs.py +1172 -1172
  3. pulumi_vsphere/_utilities.py +1 -1
  4. pulumi_vsphere/compute_cluster.py +1226 -1484
  5. pulumi_vsphere/compute_cluster_host_group.py +124 -53
  6. pulumi_vsphere/compute_cluster_vm_affinity_rule.py +88 -87
  7. pulumi_vsphere/compute_cluster_vm_anti_affinity_rule.py +92 -87
  8. pulumi_vsphere/compute_cluster_vm_dependency_rule.py +109 -104
  9. pulumi_vsphere/compute_cluster_vm_group.py +58 -53
  10. pulumi_vsphere/compute_cluster_vm_host_rule.py +126 -121
  11. pulumi_vsphere/config/__init__.py +2 -1
  12. pulumi_vsphere/config/__init__.pyi +2 -2
  13. pulumi_vsphere/config/vars.py +15 -15
  14. pulumi_vsphere/configuration_profile.py +286 -0
  15. pulumi_vsphere/content_library.py +64 -59
  16. pulumi_vsphere/content_library_item.py +109 -104
  17. pulumi_vsphere/custom_attribute.py +41 -36
  18. pulumi_vsphere/datacenter.py +80 -79
  19. pulumi_vsphere/datastore_cluster.py +531 -477
  20. pulumi_vsphere/datastore_cluster_vm_anti_affinity_rule.py +92 -87
  21. pulumi_vsphere/distributed_port_group.py +802 -818
  22. pulumi_vsphere/distributed_virtual_switch.py +1590 -1620
  23. pulumi_vsphere/distributed_virtual_switch_pvlan_mapping.py +71 -70
  24. pulumi_vsphere/dpm_host_override.py +159 -70
  25. pulumi_vsphere/drs_vm_override.py +75 -70
  26. pulumi_vsphere/entity_permissions.py +40 -39
  27. pulumi_vsphere/file.py +148 -162
  28. pulumi_vsphere/folder.py +104 -99
  29. pulumi_vsphere/get_compute_cluster.py +18 -18
  30. pulumi_vsphere/get_compute_cluster_host_group.py +18 -22
  31. pulumi_vsphere/get_configuration_profile.py +145 -0
  32. pulumi_vsphere/get_content_library.py +10 -10
  33. pulumi_vsphere/get_content_library_item.py +22 -22
  34. pulumi_vsphere/get_custom_attribute.py +12 -12
  35. pulumi_vsphere/get_datacenter.py +12 -12
  36. pulumi_vsphere/get_datastore.py +22 -22
  37. pulumi_vsphere/get_datastore_cluster.py +19 -19
  38. pulumi_vsphere/get_datastore_stats.py +22 -26
  39. pulumi_vsphere/get_distributed_virtual_switch.py +18 -18
  40. pulumi_vsphere/get_dynamic.py +22 -26
  41. pulumi_vsphere/get_folder.py +140 -18
  42. pulumi_vsphere/get_guest_os_customization.py +74 -21
  43. pulumi_vsphere/get_host.py +18 -18
  44. pulumi_vsphere/get_host_base_images.py +6 -6
  45. pulumi_vsphere/get_host_pci_device.py +30 -30
  46. pulumi_vsphere/get_host_thumbprint.py +22 -22
  47. pulumi_vsphere/get_host_vgpu_profile.py +17 -17
  48. pulumi_vsphere/get_license.py +26 -24
  49. pulumi_vsphere/get_network.py +80 -29
  50. pulumi_vsphere/get_ovf_vm_template.py +126 -126
  51. pulumi_vsphere/get_policy.py +10 -10
  52. pulumi_vsphere/get_resource_pool.py +77 -26
  53. pulumi_vsphere/get_role.py +26 -26
  54. pulumi_vsphere/get_tag.py +18 -18
  55. pulumi_vsphere/get_tag_category.py +16 -16
  56. pulumi_vsphere/get_vapp_container.py +16 -16
  57. pulumi_vsphere/get_virtual_machine.py +273 -273
  58. pulumi_vsphere/get_vmfs_disks.py +24 -24
  59. pulumi_vsphere/guest_os_customization.py +75 -74
  60. pulumi_vsphere/ha_vm_override.py +295 -374
  61. pulumi_vsphere/host.py +304 -249
  62. pulumi_vsphere/host_port_group.py +321 -341
  63. pulumi_vsphere/host_virtual_switch.py +373 -389
  64. pulumi_vsphere/license.py +125 -84
  65. pulumi_vsphere/nas_datastore.py +324 -261
  66. pulumi_vsphere/offline_software_depot.py +26 -21
  67. pulumi_vsphere/outputs.py +1003 -970
  68. pulumi_vsphere/provider.py +165 -146
  69. pulumi_vsphere/pulumi-plugin.json +1 -1
  70. pulumi_vsphere/resource_pool.py +691 -364
  71. pulumi_vsphere/role.py +46 -45
  72. pulumi_vsphere/storage_drs_vm_override.py +92 -87
  73. pulumi_vsphere/supervisor.py +210 -209
  74. pulumi_vsphere/tag.py +58 -53
  75. pulumi_vsphere/tag_category.py +75 -70
  76. pulumi_vsphere/vapp_container.py +262 -257
  77. pulumi_vsphere/vapp_entity.py +177 -172
  78. pulumi_vsphere/virtual_disk.py +130 -125
  79. pulumi_vsphere/virtual_machine.py +1339 -1443
  80. pulumi_vsphere/virtual_machine_class.py +109 -108
  81. pulumi_vsphere/virtual_machine_snapshot.py +122 -121
  82. pulumi_vsphere/vm_storage_policy.py +40 -39
  83. pulumi_vsphere/vmfs_datastore.py +189 -184
  84. pulumi_vsphere/vnic.py +145 -144
  85. {pulumi_vsphere-4.14.0a1739946909.dist-info → pulumi_vsphere-4.17.0a1763710194.dist-info}/METADATA +4 -4
  86. pulumi_vsphere-4.17.0a1763710194.dist-info/RECORD +89 -0
  87. {pulumi_vsphere-4.14.0a1739946909.dist-info → pulumi_vsphere-4.17.0a1763710194.dist-info}/WHEEL +1 -1
  88. pulumi_vsphere-4.14.0a1739946909.dist-info/RECORD +0 -87
  89. {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 the Pulumi Terraform Bridge (tfgen) Tool. ***
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 copy
5
+ import builtins as _builtins
6
6
  import warnings
7
7
  import sys
8
8
  import pulumi
@@ -19,60 +19,57 @@ __all__ = ['HostVirtualSwitchArgs', 'HostVirtualSwitch']
19
19
  @pulumi.input_type
20
20
  class HostVirtualSwitchArgs:
21
21
  def __init__(__self__, *,
22
- active_nics: pulumi.Input[Sequence[pulumi.Input[str]]],
23
- host_system_id: pulumi.Input[str],
24
- network_adapters: pulumi.Input[Sequence[pulumi.Input[str]]],
25
- allow_forged_transmits: Optional[pulumi.Input[bool]] = None,
26
- allow_mac_changes: Optional[pulumi.Input[bool]] = None,
27
- allow_promiscuous: Optional[pulumi.Input[bool]] = None,
28
- beacon_interval: Optional[pulumi.Input[int]] = None,
29
- check_beacon: Optional[pulumi.Input[bool]] = None,
30
- failback: Optional[pulumi.Input[bool]] = None,
31
- link_discovery_operation: Optional[pulumi.Input[str]] = None,
32
- link_discovery_protocol: Optional[pulumi.Input[str]] = None,
33
- mtu: Optional[pulumi.Input[int]] = None,
34
- name: Optional[pulumi.Input[str]] = None,
35
- notify_switches: Optional[pulumi.Input[bool]] = None,
36
- number_of_ports: Optional[pulumi.Input[int]] = None,
37
- shaping_average_bandwidth: Optional[pulumi.Input[int]] = None,
38
- shaping_burst_size: Optional[pulumi.Input[int]] = None,
39
- shaping_enabled: Optional[pulumi.Input[bool]] = None,
40
- shaping_peak_bandwidth: Optional[pulumi.Input[int]] = None,
41
- standby_nics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
42
- teaming_policy: Optional[pulumi.Input[str]] = None):
22
+ active_nics: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]],
23
+ host_system_id: pulumi.Input[_builtins.str],
24
+ network_adapters: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]],
25
+ allow_forged_transmits: Optional[pulumi.Input[_builtins.bool]] = None,
26
+ allow_mac_changes: Optional[pulumi.Input[_builtins.bool]] = None,
27
+ allow_promiscuous: Optional[pulumi.Input[_builtins.bool]] = None,
28
+ beacon_interval: Optional[pulumi.Input[_builtins.int]] = None,
29
+ check_beacon: Optional[pulumi.Input[_builtins.bool]] = None,
30
+ failback: Optional[pulumi.Input[_builtins.bool]] = None,
31
+ link_discovery_operation: Optional[pulumi.Input[_builtins.str]] = None,
32
+ link_discovery_protocol: Optional[pulumi.Input[_builtins.str]] = None,
33
+ mtu: Optional[pulumi.Input[_builtins.int]] = None,
34
+ name: Optional[pulumi.Input[_builtins.str]] = None,
35
+ notify_switches: Optional[pulumi.Input[_builtins.bool]] = None,
36
+ number_of_ports: Optional[pulumi.Input[_builtins.int]] = None,
37
+ shaping_average_bandwidth: Optional[pulumi.Input[_builtins.int]] = None,
38
+ shaping_burst_size: Optional[pulumi.Input[_builtins.int]] = None,
39
+ shaping_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
40
+ shaping_peak_bandwidth: Optional[pulumi.Input[_builtins.int]] = None,
41
+ standby_nics: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
42
+ teaming_policy: Optional[pulumi.Input[_builtins.str]] = None):
43
43
  """
44
44
  The set of arguments for constructing a HostVirtualSwitch resource.
45
- :param pulumi.Input[Sequence[pulumi.Input[str]]] active_nics: List of active network adapters used for load balancing.
46
- :param pulumi.Input[str] host_system_id: The managed object ID of
45
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] active_nics: List of active network adapters used for load balancing.
46
+ :param pulumi.Input[_builtins.str] host_system_id: The managed object ID of
47
47
  the host to set the virtual switch up on. Forces a new resource if changed.
48
- :param pulumi.Input[Sequence[pulumi.Input[str]]] network_adapters: The list of network adapters to bind to this virtual switch.
49
- :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
50
- that of its own.
51
- :param pulumi.Input[bool] allow_mac_changes: Controls whether or not the Media Access Control (MAC) address can be changed.
52
- :param pulumi.Input[bool] allow_promiscuous: Enable promiscuous mode on the network. This flag indicates whether or not all traffic is seen on a given port.
53
- :param pulumi.Input[int] beacon_interval: Determines how often, in seconds, a beacon should be sent to probe for the validity of a link.
54
- :param pulumi.Input[bool] check_beacon: Enable beacon probing. Requires that the vSwitch has been configured to use a beacon. If disabled, link status is used
55
- only.
56
- :param pulumi.Input[bool] failback: If true, the teaming policy will re-activate failed interfaces higher in precedence when they come back up.
57
- :param pulumi.Input[str] link_discovery_operation: Whether to advertise or listen for link discovery. Valid values are advertise, both, listen, and none.
58
- :param pulumi.Input[str] link_discovery_protocol: The discovery protocol type. Valid values are cdp and lldp.
59
- :param pulumi.Input[int] mtu: The maximum transmission unit (MTU) for the virtual
48
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] network_adapters: The list of network adapters to bind to this virtual switch.
49
+ :param pulumi.Input[_builtins.bool] allow_forged_transmits: Controls whether or not the virtual network adapter is allowed to send network traffic with a different MAC address than that of its own.
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.int] beacon_interval: Determines how often, in seconds, a beacon should be sent to probe for the validity of a link.
53
+ :param pulumi.Input[_builtins.bool] check_beacon: Enable beacon probing. Requires that the vSwitch has been configured to use a beacon. If disabled, link status is used only.
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] link_discovery_operation: Whether to advertise or listen for link discovery. Valid values are advertise, both, listen, and none.
56
+ :param pulumi.Input[_builtins.str] link_discovery_protocol: The discovery protocol type. Valid values are cdp and lldp.
57
+ :param pulumi.Input[_builtins.int] mtu: The maximum transmission unit (MTU) for the virtual
60
58
  switch. Default: `1500`.
61
- :param pulumi.Input[str] name: The name of the virtual switch. Forces a new resource if
59
+ :param pulumi.Input[_builtins.str] name: The name of the virtual switch. Forces a new resource if
62
60
  changed.
63
- :param pulumi.Input[bool] notify_switches: If true, the teaming policy will notify the broadcast network of a NIC failover, triggering cache updates.
64
- :param pulumi.Input[int] number_of_ports: The number of ports to create with this
61
+ :param pulumi.Input[_builtins.bool] notify_switches: If true, the teaming policy will notify the broadcast network of a NIC failover, triggering cache updates.
62
+ :param pulumi.Input[_builtins.int] number_of_ports: The number of ports to create with this
65
63
  virtual switch. Default: `128`.
66
64
 
67
65
  > **NOTE:** Changing the port count requires a reboot of the host. This provider
68
66
  will not restart the host for you.
69
- :param pulumi.Input[int] shaping_average_bandwidth: The average bandwidth in bits per second if traffic shaping is enabled.
70
- :param pulumi.Input[int] shaping_burst_size: The maximum burst size allowed in bytes if traffic shaping is enabled.
71
- :param pulumi.Input[bool] shaping_enabled: Enable traffic shaping on this virtual switch or port group.
72
- :param pulumi.Input[int] shaping_peak_bandwidth: The peak bandwidth during bursts in bits per second if traffic shaping is enabled.
73
- :param pulumi.Input[Sequence[pulumi.Input[str]]] standby_nics: List of standby network adapters used for failover.
74
- :param pulumi.Input[str] teaming_policy: The network adapter teaming policy. Can be one of loadbalance_ip, loadbalance_srcmac, loadbalance_srcid, or
75
- failover_explicit.
67
+ :param pulumi.Input[_builtins.int] shaping_average_bandwidth: The average bandwidth in bits per second if traffic shaping is enabled.
68
+ :param pulumi.Input[_builtins.int] shaping_burst_size: The maximum burst size allowed in bytes if traffic shaping is enabled.
69
+ :param pulumi.Input[_builtins.bool] shaping_enabled: Enable traffic shaping on this virtual switch or port group.
70
+ :param pulumi.Input[_builtins.int] shaping_peak_bandwidth: The peak bandwidth during bursts in bits per second if traffic shaping is enabled.
71
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] standby_nics: List of standby network adapters used for failover.
72
+ :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.
76
73
  """
77
74
  pulumi.set(__self__, "active_nics", active_nics)
78
75
  pulumi.set(__self__, "host_system_id", host_system_id)
@@ -114,21 +111,21 @@ class HostVirtualSwitchArgs:
114
111
  if teaming_policy is not None:
115
112
  pulumi.set(__self__, "teaming_policy", teaming_policy)
116
113
 
117
- @property
114
+ @_builtins.property
118
115
  @pulumi.getter(name="activeNics")
119
- def active_nics(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]:
116
+ def active_nics(self) -> pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]:
120
117
  """
121
118
  List of active network adapters used for load balancing.
122
119
  """
123
120
  return pulumi.get(self, "active_nics")
124
121
 
125
122
  @active_nics.setter
126
- def active_nics(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]):
123
+ def active_nics(self, value: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]):
127
124
  pulumi.set(self, "active_nics", value)
128
125
 
129
- @property
126
+ @_builtins.property
130
127
  @pulumi.getter(name="hostSystemId")
131
- def host_system_id(self) -> pulumi.Input[str]:
128
+ def host_system_id(self) -> pulumi.Input[_builtins.str]:
132
129
  """
133
130
  The managed object ID of
134
131
  the host to set the virtual switch up on. Forces a new resource if changed.
@@ -136,122 +133,120 @@ class HostVirtualSwitchArgs:
136
133
  return pulumi.get(self, "host_system_id")
137
134
 
138
135
  @host_system_id.setter
139
- def host_system_id(self, value: pulumi.Input[str]):
136
+ def host_system_id(self, value: pulumi.Input[_builtins.str]):
140
137
  pulumi.set(self, "host_system_id", value)
141
138
 
142
- @property
139
+ @_builtins.property
143
140
  @pulumi.getter(name="networkAdapters")
144
- def network_adapters(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]:
141
+ def network_adapters(self) -> pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]:
145
142
  """
146
143
  The list of network adapters to bind to this virtual switch.
147
144
  """
148
145
  return pulumi.get(self, "network_adapters")
149
146
 
150
147
  @network_adapters.setter
151
- def network_adapters(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]):
148
+ def network_adapters(self, value: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]):
152
149
  pulumi.set(self, "network_adapters", value)
153
150
 
154
- @property
151
+ @_builtins.property
155
152
  @pulumi.getter(name="allowForgedTransmits")
156
- def allow_forged_transmits(self) -> Optional[pulumi.Input[bool]]:
153
+ def allow_forged_transmits(self) -> Optional[pulumi.Input[_builtins.bool]]:
157
154
  """
158
- Controls whether or not the virtual network adapter is allowed to send network traffic with a different MAC address than
159
- that of its own.
155
+ Controls whether or not the virtual network adapter is allowed to send network traffic with a different MAC address than that of its own.
160
156
  """
161
157
  return pulumi.get(self, "allow_forged_transmits")
162
158
 
163
159
  @allow_forged_transmits.setter
164
- def allow_forged_transmits(self, value: Optional[pulumi.Input[bool]]):
160
+ def allow_forged_transmits(self, value: Optional[pulumi.Input[_builtins.bool]]):
165
161
  pulumi.set(self, "allow_forged_transmits", value)
166
162
 
167
- @property
163
+ @_builtins.property
168
164
  @pulumi.getter(name="allowMacChanges")
169
- def allow_mac_changes(self) -> Optional[pulumi.Input[bool]]:
165
+ def allow_mac_changes(self) -> Optional[pulumi.Input[_builtins.bool]]:
170
166
  """
171
167
  Controls whether or not the Media Access Control (MAC) address can be changed.
172
168
  """
173
169
  return pulumi.get(self, "allow_mac_changes")
174
170
 
175
171
  @allow_mac_changes.setter
176
- def allow_mac_changes(self, value: Optional[pulumi.Input[bool]]):
172
+ def allow_mac_changes(self, value: Optional[pulumi.Input[_builtins.bool]]):
177
173
  pulumi.set(self, "allow_mac_changes", value)
178
174
 
179
- @property
175
+ @_builtins.property
180
176
  @pulumi.getter(name="allowPromiscuous")
181
- def allow_promiscuous(self) -> Optional[pulumi.Input[bool]]:
177
+ def allow_promiscuous(self) -> Optional[pulumi.Input[_builtins.bool]]:
182
178
  """
183
179
  Enable promiscuous mode on the network. This flag indicates whether or not all traffic is seen on a given port.
184
180
  """
185
181
  return pulumi.get(self, "allow_promiscuous")
186
182
 
187
183
  @allow_promiscuous.setter
188
- def allow_promiscuous(self, value: Optional[pulumi.Input[bool]]):
184
+ def allow_promiscuous(self, value: Optional[pulumi.Input[_builtins.bool]]):
189
185
  pulumi.set(self, "allow_promiscuous", value)
190
186
 
191
- @property
187
+ @_builtins.property
192
188
  @pulumi.getter(name="beaconInterval")
193
- def beacon_interval(self) -> Optional[pulumi.Input[int]]:
189
+ def beacon_interval(self) -> Optional[pulumi.Input[_builtins.int]]:
194
190
  """
195
191
  Determines how often, in seconds, a beacon should be sent to probe for the validity of a link.
196
192
  """
197
193
  return pulumi.get(self, "beacon_interval")
198
194
 
199
195
  @beacon_interval.setter
200
- def beacon_interval(self, value: Optional[pulumi.Input[int]]):
196
+ def beacon_interval(self, value: Optional[pulumi.Input[_builtins.int]]):
201
197
  pulumi.set(self, "beacon_interval", value)
202
198
 
203
- @property
199
+ @_builtins.property
204
200
  @pulumi.getter(name="checkBeacon")
205
- def check_beacon(self) -> Optional[pulumi.Input[bool]]:
201
+ def check_beacon(self) -> Optional[pulumi.Input[_builtins.bool]]:
206
202
  """
207
- Enable beacon probing. Requires that the vSwitch has been configured to use a beacon. If disabled, link status is used
208
- only.
203
+ Enable beacon probing. Requires that the vSwitch has been configured to use a beacon. If disabled, link status is used only.
209
204
  """
210
205
  return pulumi.get(self, "check_beacon")
211
206
 
212
207
  @check_beacon.setter
213
- def check_beacon(self, value: Optional[pulumi.Input[bool]]):
208
+ def check_beacon(self, value: Optional[pulumi.Input[_builtins.bool]]):
214
209
  pulumi.set(self, "check_beacon", value)
215
210
 
216
- @property
211
+ @_builtins.property
217
212
  @pulumi.getter
218
- def failback(self) -> Optional[pulumi.Input[bool]]:
213
+ def failback(self) -> Optional[pulumi.Input[_builtins.bool]]:
219
214
  """
220
215
  If true, the teaming policy will re-activate failed interfaces higher in precedence when they come back up.
221
216
  """
222
217
  return pulumi.get(self, "failback")
223
218
 
224
219
  @failback.setter
225
- def failback(self, value: Optional[pulumi.Input[bool]]):
220
+ def failback(self, value: Optional[pulumi.Input[_builtins.bool]]):
226
221
  pulumi.set(self, "failback", value)
227
222
 
228
- @property
223
+ @_builtins.property
229
224
  @pulumi.getter(name="linkDiscoveryOperation")
230
- def link_discovery_operation(self) -> Optional[pulumi.Input[str]]:
225
+ def link_discovery_operation(self) -> Optional[pulumi.Input[_builtins.str]]:
231
226
  """
232
227
  Whether to advertise or listen for link discovery. Valid values are advertise, both, listen, and none.
233
228
  """
234
229
  return pulumi.get(self, "link_discovery_operation")
235
230
 
236
231
  @link_discovery_operation.setter
237
- def link_discovery_operation(self, value: Optional[pulumi.Input[str]]):
232
+ def link_discovery_operation(self, value: Optional[pulumi.Input[_builtins.str]]):
238
233
  pulumi.set(self, "link_discovery_operation", value)
239
234
 
240
- @property
235
+ @_builtins.property
241
236
  @pulumi.getter(name="linkDiscoveryProtocol")
242
- def link_discovery_protocol(self) -> Optional[pulumi.Input[str]]:
237
+ def link_discovery_protocol(self) -> Optional[pulumi.Input[_builtins.str]]:
243
238
  """
244
239
  The discovery protocol type. Valid values are cdp and lldp.
245
240
  """
246
241
  return pulumi.get(self, "link_discovery_protocol")
247
242
 
248
243
  @link_discovery_protocol.setter
249
- def link_discovery_protocol(self, value: Optional[pulumi.Input[str]]):
244
+ def link_discovery_protocol(self, value: Optional[pulumi.Input[_builtins.str]]):
250
245
  pulumi.set(self, "link_discovery_protocol", value)
251
246
 
252
- @property
247
+ @_builtins.property
253
248
  @pulumi.getter
254
- def mtu(self) -> Optional[pulumi.Input[int]]:
249
+ def mtu(self) -> Optional[pulumi.Input[_builtins.int]]:
255
250
  """
256
251
  The maximum transmission unit (MTU) for the virtual
257
252
  switch. Default: `1500`.
@@ -259,12 +254,12 @@ class HostVirtualSwitchArgs:
259
254
  return pulumi.get(self, "mtu")
260
255
 
261
256
  @mtu.setter
262
- def mtu(self, value: Optional[pulumi.Input[int]]):
257
+ def mtu(self, value: Optional[pulumi.Input[_builtins.int]]):
263
258
  pulumi.set(self, "mtu", value)
264
259
 
265
- @property
260
+ @_builtins.property
266
261
  @pulumi.getter
267
- def name(self) -> Optional[pulumi.Input[str]]:
262
+ def name(self) -> Optional[pulumi.Input[_builtins.str]]:
268
263
  """
269
264
  The name of the virtual switch. Forces a new resource if
270
265
  changed.
@@ -272,24 +267,24 @@ class HostVirtualSwitchArgs:
272
267
  return pulumi.get(self, "name")
273
268
 
274
269
  @name.setter
275
- def name(self, value: Optional[pulumi.Input[str]]):
270
+ def name(self, value: Optional[pulumi.Input[_builtins.str]]):
276
271
  pulumi.set(self, "name", value)
277
272
 
278
- @property
273
+ @_builtins.property
279
274
  @pulumi.getter(name="notifySwitches")
280
- def notify_switches(self) -> Optional[pulumi.Input[bool]]:
275
+ def notify_switches(self) -> Optional[pulumi.Input[_builtins.bool]]:
281
276
  """
282
277
  If true, the teaming policy will notify the broadcast network of a NIC failover, triggering cache updates.
283
278
  """
284
279
  return pulumi.get(self, "notify_switches")
285
280
 
286
281
  @notify_switches.setter
287
- def notify_switches(self, value: Optional[pulumi.Input[bool]]):
282
+ def notify_switches(self, value: Optional[pulumi.Input[_builtins.bool]]):
288
283
  pulumi.set(self, "notify_switches", value)
289
284
 
290
- @property
285
+ @_builtins.property
291
286
  @pulumi.getter(name="numberOfPorts")
292
- def number_of_ports(self) -> Optional[pulumi.Input[int]]:
287
+ def number_of_ports(self) -> Optional[pulumi.Input[_builtins.int]]:
293
288
  """
294
289
  The number of ports to create with this
295
290
  virtual switch. Default: `128`.
@@ -300,140 +295,136 @@ class HostVirtualSwitchArgs:
300
295
  return pulumi.get(self, "number_of_ports")
301
296
 
302
297
  @number_of_ports.setter
303
- def number_of_ports(self, value: Optional[pulumi.Input[int]]):
298
+ def number_of_ports(self, value: Optional[pulumi.Input[_builtins.int]]):
304
299
  pulumi.set(self, "number_of_ports", value)
305
300
 
306
- @property
301
+ @_builtins.property
307
302
  @pulumi.getter(name="shapingAverageBandwidth")
308
- def shaping_average_bandwidth(self) -> Optional[pulumi.Input[int]]:
303
+ def shaping_average_bandwidth(self) -> Optional[pulumi.Input[_builtins.int]]:
309
304
  """
310
305
  The average bandwidth in bits per second if traffic shaping is enabled.
311
306
  """
312
307
  return pulumi.get(self, "shaping_average_bandwidth")
313
308
 
314
309
  @shaping_average_bandwidth.setter
315
- def shaping_average_bandwidth(self, value: Optional[pulumi.Input[int]]):
310
+ def shaping_average_bandwidth(self, value: Optional[pulumi.Input[_builtins.int]]):
316
311
  pulumi.set(self, "shaping_average_bandwidth", value)
317
312
 
318
- @property
313
+ @_builtins.property
319
314
  @pulumi.getter(name="shapingBurstSize")
320
- def shaping_burst_size(self) -> Optional[pulumi.Input[int]]:
315
+ def shaping_burst_size(self) -> Optional[pulumi.Input[_builtins.int]]:
321
316
  """
322
317
  The maximum burst size allowed in bytes if traffic shaping is enabled.
323
318
  """
324
319
  return pulumi.get(self, "shaping_burst_size")
325
320
 
326
321
  @shaping_burst_size.setter
327
- def shaping_burst_size(self, value: Optional[pulumi.Input[int]]):
322
+ def shaping_burst_size(self, value: Optional[pulumi.Input[_builtins.int]]):
328
323
  pulumi.set(self, "shaping_burst_size", value)
329
324
 
330
- @property
325
+ @_builtins.property
331
326
  @pulumi.getter(name="shapingEnabled")
332
- def shaping_enabled(self) -> Optional[pulumi.Input[bool]]:
327
+ def shaping_enabled(self) -> Optional[pulumi.Input[_builtins.bool]]:
333
328
  """
334
329
  Enable traffic shaping on this virtual switch or port group.
335
330
  """
336
331
  return pulumi.get(self, "shaping_enabled")
337
332
 
338
333
  @shaping_enabled.setter
339
- def shaping_enabled(self, value: Optional[pulumi.Input[bool]]):
334
+ def shaping_enabled(self, value: Optional[pulumi.Input[_builtins.bool]]):
340
335
  pulumi.set(self, "shaping_enabled", value)
341
336
 
342
- @property
337
+ @_builtins.property
343
338
  @pulumi.getter(name="shapingPeakBandwidth")
344
- def shaping_peak_bandwidth(self) -> Optional[pulumi.Input[int]]:
339
+ def shaping_peak_bandwidth(self) -> Optional[pulumi.Input[_builtins.int]]:
345
340
  """
346
341
  The peak bandwidth during bursts in bits per second if traffic shaping is enabled.
347
342
  """
348
343
  return pulumi.get(self, "shaping_peak_bandwidth")
349
344
 
350
345
  @shaping_peak_bandwidth.setter
351
- def shaping_peak_bandwidth(self, value: Optional[pulumi.Input[int]]):
346
+ def shaping_peak_bandwidth(self, value: Optional[pulumi.Input[_builtins.int]]):
352
347
  pulumi.set(self, "shaping_peak_bandwidth", value)
353
348
 
354
- @property
349
+ @_builtins.property
355
350
  @pulumi.getter(name="standbyNics")
356
- def standby_nics(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
351
+ def standby_nics(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
357
352
  """
358
353
  List of standby network adapters used for failover.
359
354
  """
360
355
  return pulumi.get(self, "standby_nics")
361
356
 
362
357
  @standby_nics.setter
363
- def standby_nics(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
358
+ def standby_nics(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
364
359
  pulumi.set(self, "standby_nics", value)
365
360
 
366
- @property
361
+ @_builtins.property
367
362
  @pulumi.getter(name="teamingPolicy")
368
- def teaming_policy(self) -> Optional[pulumi.Input[str]]:
363
+ def teaming_policy(self) -> Optional[pulumi.Input[_builtins.str]]:
369
364
  """
370
- The network adapter teaming policy. Can be one of loadbalance_ip, loadbalance_srcmac, loadbalance_srcid, or
371
- failover_explicit.
365
+ The network adapter teaming policy. Can be one of loadbalance_ip, loadbalance_srcmac, loadbalance_srcid, or failover_explicit.
372
366
  """
373
367
  return pulumi.get(self, "teaming_policy")
374
368
 
375
369
  @teaming_policy.setter
376
- def teaming_policy(self, value: Optional[pulumi.Input[str]]):
370
+ def teaming_policy(self, value: Optional[pulumi.Input[_builtins.str]]):
377
371
  pulumi.set(self, "teaming_policy", value)
378
372
 
379
373
 
380
374
  @pulumi.input_type
381
375
  class _HostVirtualSwitchState:
382
376
  def __init__(__self__, *,
383
- active_nics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
384
- allow_forged_transmits: Optional[pulumi.Input[bool]] = None,
385
- allow_mac_changes: Optional[pulumi.Input[bool]] = None,
386
- allow_promiscuous: Optional[pulumi.Input[bool]] = None,
387
- beacon_interval: Optional[pulumi.Input[int]] = None,
388
- check_beacon: Optional[pulumi.Input[bool]] = None,
389
- failback: Optional[pulumi.Input[bool]] = None,
390
- host_system_id: Optional[pulumi.Input[str]] = None,
391
- link_discovery_operation: Optional[pulumi.Input[str]] = None,
392
- link_discovery_protocol: Optional[pulumi.Input[str]] = None,
393
- mtu: Optional[pulumi.Input[int]] = None,
394
- name: Optional[pulumi.Input[str]] = None,
395
- network_adapters: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
396
- notify_switches: Optional[pulumi.Input[bool]] = None,
397
- number_of_ports: Optional[pulumi.Input[int]] = None,
398
- shaping_average_bandwidth: Optional[pulumi.Input[int]] = None,
399
- shaping_burst_size: Optional[pulumi.Input[int]] = None,
400
- shaping_enabled: Optional[pulumi.Input[bool]] = None,
401
- shaping_peak_bandwidth: Optional[pulumi.Input[int]] = None,
402
- standby_nics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
403
- teaming_policy: Optional[pulumi.Input[str]] = None):
377
+ active_nics: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
378
+ allow_forged_transmits: Optional[pulumi.Input[_builtins.bool]] = None,
379
+ allow_mac_changes: Optional[pulumi.Input[_builtins.bool]] = None,
380
+ allow_promiscuous: Optional[pulumi.Input[_builtins.bool]] = None,
381
+ beacon_interval: Optional[pulumi.Input[_builtins.int]] = None,
382
+ check_beacon: Optional[pulumi.Input[_builtins.bool]] = None,
383
+ failback: Optional[pulumi.Input[_builtins.bool]] = None,
384
+ host_system_id: Optional[pulumi.Input[_builtins.str]] = None,
385
+ link_discovery_operation: Optional[pulumi.Input[_builtins.str]] = None,
386
+ link_discovery_protocol: Optional[pulumi.Input[_builtins.str]] = None,
387
+ mtu: Optional[pulumi.Input[_builtins.int]] = None,
388
+ name: Optional[pulumi.Input[_builtins.str]] = None,
389
+ network_adapters: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
390
+ notify_switches: Optional[pulumi.Input[_builtins.bool]] = None,
391
+ number_of_ports: Optional[pulumi.Input[_builtins.int]] = None,
392
+ shaping_average_bandwidth: Optional[pulumi.Input[_builtins.int]] = None,
393
+ shaping_burst_size: Optional[pulumi.Input[_builtins.int]] = None,
394
+ shaping_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
395
+ shaping_peak_bandwidth: Optional[pulumi.Input[_builtins.int]] = None,
396
+ standby_nics: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
397
+ teaming_policy: Optional[pulumi.Input[_builtins.str]] = None):
404
398
  """
405
399
  Input properties used for looking up and filtering HostVirtualSwitch resources.
406
- :param pulumi.Input[Sequence[pulumi.Input[str]]] active_nics: List of active network adapters used for load balancing.
407
- :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
408
- that of its own.
409
- :param pulumi.Input[bool] allow_mac_changes: Controls whether or not the Media Access Control (MAC) address can be changed.
410
- :param pulumi.Input[bool] allow_promiscuous: Enable promiscuous mode on the network. This flag indicates whether or not all traffic is seen on a given port.
411
- :param pulumi.Input[int] beacon_interval: Determines how often, in seconds, a beacon should be sent to probe for the validity of a link.
412
- :param pulumi.Input[bool] check_beacon: Enable beacon probing. Requires that the vSwitch has been configured to use a beacon. If disabled, link status is used
413
- only.
414
- :param pulumi.Input[bool] failback: If true, the teaming policy will re-activate failed interfaces higher in precedence when they come back up.
415
- :param pulumi.Input[str] host_system_id: The managed object ID of
400
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] active_nics: List of active network adapters used for load balancing.
401
+ :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.
402
+ :param pulumi.Input[_builtins.bool] allow_mac_changes: Controls whether or not the Media Access Control (MAC) address can be changed.
403
+ :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.
404
+ :param pulumi.Input[_builtins.int] beacon_interval: Determines how often, in seconds, a beacon should be sent to probe for the validity of a link.
405
+ :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.
406
+ :param pulumi.Input[_builtins.bool] failback: If true, the teaming policy will re-activate failed interfaces higher in precedence when they come back up.
407
+ :param pulumi.Input[_builtins.str] host_system_id: The managed object ID of
416
408
  the host to set the virtual switch up on. Forces a new resource if changed.
417
- :param pulumi.Input[str] link_discovery_operation: Whether to advertise or listen for link discovery. Valid values are advertise, both, listen, and none.
418
- :param pulumi.Input[str] link_discovery_protocol: The discovery protocol type. Valid values are cdp and lldp.
419
- :param pulumi.Input[int] mtu: The maximum transmission unit (MTU) for the virtual
409
+ :param pulumi.Input[_builtins.str] link_discovery_operation: Whether to advertise or listen for link discovery. Valid values are advertise, both, listen, and none.
410
+ :param pulumi.Input[_builtins.str] link_discovery_protocol: The discovery protocol type. Valid values are cdp and lldp.
411
+ :param pulumi.Input[_builtins.int] mtu: The maximum transmission unit (MTU) for the virtual
420
412
  switch. Default: `1500`.
421
- :param pulumi.Input[str] name: The name of the virtual switch. Forces a new resource if
413
+ :param pulumi.Input[_builtins.str] name: The name of the virtual switch. Forces a new resource if
422
414
  changed.
423
- :param pulumi.Input[Sequence[pulumi.Input[str]]] network_adapters: The list of network adapters to bind to this virtual switch.
424
- :param pulumi.Input[bool] notify_switches: If true, the teaming policy will notify the broadcast network of a NIC failover, triggering cache updates.
425
- :param pulumi.Input[int] number_of_ports: The number of ports to create with this
415
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] network_adapters: The list of network adapters to bind to this virtual switch.
416
+ :param pulumi.Input[_builtins.bool] notify_switches: If true, the teaming policy will notify the broadcast network of a NIC failover, triggering cache updates.
417
+ :param pulumi.Input[_builtins.int] number_of_ports: The number of ports to create with this
426
418
  virtual switch. Default: `128`.
427
419
 
428
420
  > **NOTE:** Changing the port count requires a reboot of the host. This provider
429
421
  will not restart the host for you.
430
- :param pulumi.Input[int] shaping_average_bandwidth: The average bandwidth in bits per second if traffic shaping is enabled.
431
- :param pulumi.Input[int] shaping_burst_size: The maximum burst size allowed in bytes if traffic shaping is enabled.
432
- :param pulumi.Input[bool] shaping_enabled: Enable traffic shaping on this virtual switch or port group.
433
- :param pulumi.Input[int] shaping_peak_bandwidth: The peak bandwidth during bursts in bits per second if traffic shaping is enabled.
434
- :param pulumi.Input[Sequence[pulumi.Input[str]]] standby_nics: List of standby network adapters used for failover.
435
- :param pulumi.Input[str] teaming_policy: The network adapter teaming policy. Can be one of loadbalance_ip, loadbalance_srcmac, loadbalance_srcid, or
436
- failover_explicit.
422
+ :param pulumi.Input[_builtins.int] shaping_average_bandwidth: The average bandwidth in bits per second if traffic shaping is enabled.
423
+ :param pulumi.Input[_builtins.int] shaping_burst_size: The maximum burst size allowed in bytes if traffic shaping is enabled.
424
+ :param pulumi.Input[_builtins.bool] shaping_enabled: Enable traffic shaping on this virtual switch or port group.
425
+ :param pulumi.Input[_builtins.int] shaping_peak_bandwidth: The peak bandwidth during bursts in bits per second if traffic shaping is enabled.
426
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] standby_nics: List of standby network adapters used for failover.
427
+ :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.
437
428
  """
438
429
  if active_nics is not None:
439
430
  pulumi.set(__self__, "active_nics", active_nics)
@@ -478,95 +469,93 @@ class _HostVirtualSwitchState:
478
469
  if teaming_policy is not None:
479
470
  pulumi.set(__self__, "teaming_policy", teaming_policy)
480
471
 
481
- @property
472
+ @_builtins.property
482
473
  @pulumi.getter(name="activeNics")
483
- def active_nics(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
474
+ def active_nics(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
484
475
  """
485
476
  List of active network adapters used for load balancing.
486
477
  """
487
478
  return pulumi.get(self, "active_nics")
488
479
 
489
480
  @active_nics.setter
490
- def active_nics(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
481
+ def active_nics(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
491
482
  pulumi.set(self, "active_nics", value)
492
483
 
493
- @property
484
+ @_builtins.property
494
485
  @pulumi.getter(name="allowForgedTransmits")
495
- def allow_forged_transmits(self) -> Optional[pulumi.Input[bool]]:
486
+ def allow_forged_transmits(self) -> Optional[pulumi.Input[_builtins.bool]]:
496
487
  """
497
- Controls whether or not the virtual network adapter is allowed to send network traffic with a different MAC address than
498
- that of its own.
488
+ Controls whether or not the virtual network adapter is allowed to send network traffic with a different MAC address than that of its own.
499
489
  """
500
490
  return pulumi.get(self, "allow_forged_transmits")
501
491
 
502
492
  @allow_forged_transmits.setter
503
- def allow_forged_transmits(self, value: Optional[pulumi.Input[bool]]):
493
+ def allow_forged_transmits(self, value: Optional[pulumi.Input[_builtins.bool]]):
504
494
  pulumi.set(self, "allow_forged_transmits", value)
505
495
 
506
- @property
496
+ @_builtins.property
507
497
  @pulumi.getter(name="allowMacChanges")
508
- def allow_mac_changes(self) -> Optional[pulumi.Input[bool]]:
498
+ def allow_mac_changes(self) -> Optional[pulumi.Input[_builtins.bool]]:
509
499
  """
510
500
  Controls whether or not the Media Access Control (MAC) address can be changed.
511
501
  """
512
502
  return pulumi.get(self, "allow_mac_changes")
513
503
 
514
504
  @allow_mac_changes.setter
515
- def allow_mac_changes(self, value: Optional[pulumi.Input[bool]]):
505
+ def allow_mac_changes(self, value: Optional[pulumi.Input[_builtins.bool]]):
516
506
  pulumi.set(self, "allow_mac_changes", value)
517
507
 
518
- @property
508
+ @_builtins.property
519
509
  @pulumi.getter(name="allowPromiscuous")
520
- def allow_promiscuous(self) -> Optional[pulumi.Input[bool]]:
510
+ def allow_promiscuous(self) -> Optional[pulumi.Input[_builtins.bool]]:
521
511
  """
522
512
  Enable promiscuous mode on the network. This flag indicates whether or not all traffic is seen on a given port.
523
513
  """
524
514
  return pulumi.get(self, "allow_promiscuous")
525
515
 
526
516
  @allow_promiscuous.setter
527
- def allow_promiscuous(self, value: Optional[pulumi.Input[bool]]):
517
+ def allow_promiscuous(self, value: Optional[pulumi.Input[_builtins.bool]]):
528
518
  pulumi.set(self, "allow_promiscuous", value)
529
519
 
530
- @property
520
+ @_builtins.property
531
521
  @pulumi.getter(name="beaconInterval")
532
- def beacon_interval(self) -> Optional[pulumi.Input[int]]:
522
+ def beacon_interval(self) -> Optional[pulumi.Input[_builtins.int]]:
533
523
  """
534
524
  Determines how often, in seconds, a beacon should be sent to probe for the validity of a link.
535
525
  """
536
526
  return pulumi.get(self, "beacon_interval")
537
527
 
538
528
  @beacon_interval.setter
539
- def beacon_interval(self, value: Optional[pulumi.Input[int]]):
529
+ def beacon_interval(self, value: Optional[pulumi.Input[_builtins.int]]):
540
530
  pulumi.set(self, "beacon_interval", value)
541
531
 
542
- @property
532
+ @_builtins.property
543
533
  @pulumi.getter(name="checkBeacon")
544
- def check_beacon(self) -> Optional[pulumi.Input[bool]]:
534
+ def check_beacon(self) -> Optional[pulumi.Input[_builtins.bool]]:
545
535
  """
546
- Enable beacon probing. Requires that the vSwitch has been configured to use a beacon. If disabled, link status is used
547
- only.
536
+ Enable beacon probing. Requires that the vSwitch has been configured to use a beacon. If disabled, link status is used only.
548
537
  """
549
538
  return pulumi.get(self, "check_beacon")
550
539
 
551
540
  @check_beacon.setter
552
- def check_beacon(self, value: Optional[pulumi.Input[bool]]):
541
+ def check_beacon(self, value: Optional[pulumi.Input[_builtins.bool]]):
553
542
  pulumi.set(self, "check_beacon", value)
554
543
 
555
- @property
544
+ @_builtins.property
556
545
  @pulumi.getter
557
- def failback(self) -> Optional[pulumi.Input[bool]]:
546
+ def failback(self) -> Optional[pulumi.Input[_builtins.bool]]:
558
547
  """
559
548
  If true, the teaming policy will re-activate failed interfaces higher in precedence when they come back up.
560
549
  """
561
550
  return pulumi.get(self, "failback")
562
551
 
563
552
  @failback.setter
564
- def failback(self, value: Optional[pulumi.Input[bool]]):
553
+ def failback(self, value: Optional[pulumi.Input[_builtins.bool]]):
565
554
  pulumi.set(self, "failback", value)
566
555
 
567
- @property
556
+ @_builtins.property
568
557
  @pulumi.getter(name="hostSystemId")
569
- def host_system_id(self) -> Optional[pulumi.Input[str]]:
558
+ def host_system_id(self) -> Optional[pulumi.Input[_builtins.str]]:
570
559
  """
571
560
  The managed object ID of
572
561
  the host to set the virtual switch up on. Forces a new resource if changed.
@@ -574,36 +563,36 @@ class _HostVirtualSwitchState:
574
563
  return pulumi.get(self, "host_system_id")
575
564
 
576
565
  @host_system_id.setter
577
- def host_system_id(self, value: Optional[pulumi.Input[str]]):
566
+ def host_system_id(self, value: Optional[pulumi.Input[_builtins.str]]):
578
567
  pulumi.set(self, "host_system_id", value)
579
568
 
580
- @property
569
+ @_builtins.property
581
570
  @pulumi.getter(name="linkDiscoveryOperation")
582
- def link_discovery_operation(self) -> Optional[pulumi.Input[str]]:
571
+ def link_discovery_operation(self) -> Optional[pulumi.Input[_builtins.str]]:
583
572
  """
584
573
  Whether to advertise or listen for link discovery. Valid values are advertise, both, listen, and none.
585
574
  """
586
575
  return pulumi.get(self, "link_discovery_operation")
587
576
 
588
577
  @link_discovery_operation.setter
589
- def link_discovery_operation(self, value: Optional[pulumi.Input[str]]):
578
+ def link_discovery_operation(self, value: Optional[pulumi.Input[_builtins.str]]):
590
579
  pulumi.set(self, "link_discovery_operation", value)
591
580
 
592
- @property
581
+ @_builtins.property
593
582
  @pulumi.getter(name="linkDiscoveryProtocol")
594
- def link_discovery_protocol(self) -> Optional[pulumi.Input[str]]:
583
+ def link_discovery_protocol(self) -> Optional[pulumi.Input[_builtins.str]]:
595
584
  """
596
585
  The discovery protocol type. Valid values are cdp and lldp.
597
586
  """
598
587
  return pulumi.get(self, "link_discovery_protocol")
599
588
 
600
589
  @link_discovery_protocol.setter
601
- def link_discovery_protocol(self, value: Optional[pulumi.Input[str]]):
590
+ def link_discovery_protocol(self, value: Optional[pulumi.Input[_builtins.str]]):
602
591
  pulumi.set(self, "link_discovery_protocol", value)
603
592
 
604
- @property
593
+ @_builtins.property
605
594
  @pulumi.getter
606
- def mtu(self) -> Optional[pulumi.Input[int]]:
595
+ def mtu(self) -> Optional[pulumi.Input[_builtins.int]]:
607
596
  """
608
597
  The maximum transmission unit (MTU) for the virtual
609
598
  switch. Default: `1500`.
@@ -611,12 +600,12 @@ class _HostVirtualSwitchState:
611
600
  return pulumi.get(self, "mtu")
612
601
 
613
602
  @mtu.setter
614
- def mtu(self, value: Optional[pulumi.Input[int]]):
603
+ def mtu(self, value: Optional[pulumi.Input[_builtins.int]]):
615
604
  pulumi.set(self, "mtu", value)
616
605
 
617
- @property
606
+ @_builtins.property
618
607
  @pulumi.getter
619
- def name(self) -> Optional[pulumi.Input[str]]:
608
+ def name(self) -> Optional[pulumi.Input[_builtins.str]]:
620
609
  """
621
610
  The name of the virtual switch. Forces a new resource if
622
611
  changed.
@@ -624,36 +613,36 @@ class _HostVirtualSwitchState:
624
613
  return pulumi.get(self, "name")
625
614
 
626
615
  @name.setter
627
- def name(self, value: Optional[pulumi.Input[str]]):
616
+ def name(self, value: Optional[pulumi.Input[_builtins.str]]):
628
617
  pulumi.set(self, "name", value)
629
618
 
630
- @property
619
+ @_builtins.property
631
620
  @pulumi.getter(name="networkAdapters")
632
- def network_adapters(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
621
+ def network_adapters(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
633
622
  """
634
623
  The list of network adapters to bind to this virtual switch.
635
624
  """
636
625
  return pulumi.get(self, "network_adapters")
637
626
 
638
627
  @network_adapters.setter
639
- def network_adapters(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
628
+ def network_adapters(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
640
629
  pulumi.set(self, "network_adapters", value)
641
630
 
642
- @property
631
+ @_builtins.property
643
632
  @pulumi.getter(name="notifySwitches")
644
- def notify_switches(self) -> Optional[pulumi.Input[bool]]:
633
+ def notify_switches(self) -> Optional[pulumi.Input[_builtins.bool]]:
645
634
  """
646
635
  If true, the teaming policy will notify the broadcast network of a NIC failover, triggering cache updates.
647
636
  """
648
637
  return pulumi.get(self, "notify_switches")
649
638
 
650
639
  @notify_switches.setter
651
- def notify_switches(self, value: Optional[pulumi.Input[bool]]):
640
+ def notify_switches(self, value: Optional[pulumi.Input[_builtins.bool]]):
652
641
  pulumi.set(self, "notify_switches", value)
653
642
 
654
- @property
643
+ @_builtins.property
655
644
  @pulumi.getter(name="numberOfPorts")
656
- def number_of_ports(self) -> Optional[pulumi.Input[int]]:
645
+ def number_of_ports(self) -> Optional[pulumi.Input[_builtins.int]]:
657
646
  """
658
647
  The number of ports to create with this
659
648
  virtual switch. Default: `128`.
@@ -664,109 +653,109 @@ class _HostVirtualSwitchState:
664
653
  return pulumi.get(self, "number_of_ports")
665
654
 
666
655
  @number_of_ports.setter
667
- def number_of_ports(self, value: Optional[pulumi.Input[int]]):
656
+ def number_of_ports(self, value: Optional[pulumi.Input[_builtins.int]]):
668
657
  pulumi.set(self, "number_of_ports", value)
669
658
 
670
- @property
659
+ @_builtins.property
671
660
  @pulumi.getter(name="shapingAverageBandwidth")
672
- def shaping_average_bandwidth(self) -> Optional[pulumi.Input[int]]:
661
+ def shaping_average_bandwidth(self) -> Optional[pulumi.Input[_builtins.int]]:
673
662
  """
674
663
  The average bandwidth in bits per second if traffic shaping is enabled.
675
664
  """
676
665
  return pulumi.get(self, "shaping_average_bandwidth")
677
666
 
678
667
  @shaping_average_bandwidth.setter
679
- def shaping_average_bandwidth(self, value: Optional[pulumi.Input[int]]):
668
+ def shaping_average_bandwidth(self, value: Optional[pulumi.Input[_builtins.int]]):
680
669
  pulumi.set(self, "shaping_average_bandwidth", value)
681
670
 
682
- @property
671
+ @_builtins.property
683
672
  @pulumi.getter(name="shapingBurstSize")
684
- def shaping_burst_size(self) -> Optional[pulumi.Input[int]]:
673
+ def shaping_burst_size(self) -> Optional[pulumi.Input[_builtins.int]]:
685
674
  """
686
675
  The maximum burst size allowed in bytes if traffic shaping is enabled.
687
676
  """
688
677
  return pulumi.get(self, "shaping_burst_size")
689
678
 
690
679
  @shaping_burst_size.setter
691
- def shaping_burst_size(self, value: Optional[pulumi.Input[int]]):
680
+ def shaping_burst_size(self, value: Optional[pulumi.Input[_builtins.int]]):
692
681
  pulumi.set(self, "shaping_burst_size", value)
693
682
 
694
- @property
683
+ @_builtins.property
695
684
  @pulumi.getter(name="shapingEnabled")
696
- def shaping_enabled(self) -> Optional[pulumi.Input[bool]]:
685
+ def shaping_enabled(self) -> Optional[pulumi.Input[_builtins.bool]]:
697
686
  """
698
687
  Enable traffic shaping on this virtual switch or port group.
699
688
  """
700
689
  return pulumi.get(self, "shaping_enabled")
701
690
 
702
691
  @shaping_enabled.setter
703
- def shaping_enabled(self, value: Optional[pulumi.Input[bool]]):
692
+ def shaping_enabled(self, value: Optional[pulumi.Input[_builtins.bool]]):
704
693
  pulumi.set(self, "shaping_enabled", value)
705
694
 
706
- @property
695
+ @_builtins.property
707
696
  @pulumi.getter(name="shapingPeakBandwidth")
708
- def shaping_peak_bandwidth(self) -> Optional[pulumi.Input[int]]:
697
+ def shaping_peak_bandwidth(self) -> Optional[pulumi.Input[_builtins.int]]:
709
698
  """
710
699
  The peak bandwidth during bursts in bits per second if traffic shaping is enabled.
711
700
  """
712
701
  return pulumi.get(self, "shaping_peak_bandwidth")
713
702
 
714
703
  @shaping_peak_bandwidth.setter
715
- def shaping_peak_bandwidth(self, value: Optional[pulumi.Input[int]]):
704
+ def shaping_peak_bandwidth(self, value: Optional[pulumi.Input[_builtins.int]]):
716
705
  pulumi.set(self, "shaping_peak_bandwidth", value)
717
706
 
718
- @property
707
+ @_builtins.property
719
708
  @pulumi.getter(name="standbyNics")
720
- def standby_nics(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
709
+ def standby_nics(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
721
710
  """
722
711
  List of standby network adapters used for failover.
723
712
  """
724
713
  return pulumi.get(self, "standby_nics")
725
714
 
726
715
  @standby_nics.setter
727
- def standby_nics(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
716
+ def standby_nics(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
728
717
  pulumi.set(self, "standby_nics", value)
729
718
 
730
- @property
719
+ @_builtins.property
731
720
  @pulumi.getter(name="teamingPolicy")
732
- def teaming_policy(self) -> Optional[pulumi.Input[str]]:
721
+ def teaming_policy(self) -> Optional[pulumi.Input[_builtins.str]]:
733
722
  """
734
- The network adapter teaming policy. Can be one of loadbalance_ip, loadbalance_srcmac, loadbalance_srcid, or
735
- failover_explicit.
723
+ The network adapter teaming policy. Can be one of loadbalance_ip, loadbalance_srcmac, loadbalance_srcid, or failover_explicit.
736
724
  """
737
725
  return pulumi.get(self, "teaming_policy")
738
726
 
739
727
  @teaming_policy.setter
740
- def teaming_policy(self, value: Optional[pulumi.Input[str]]):
728
+ def teaming_policy(self, value: Optional[pulumi.Input[_builtins.str]]):
741
729
  pulumi.set(self, "teaming_policy", value)
742
730
 
743
731
 
732
+ @pulumi.type_token("vsphere:index/hostVirtualSwitch:HostVirtualSwitch")
744
733
  class HostVirtualSwitch(pulumi.CustomResource):
745
734
  @overload
746
735
  def __init__(__self__,
747
736
  resource_name: str,
748
737
  opts: Optional[pulumi.ResourceOptions] = None,
749
- active_nics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
750
- allow_forged_transmits: Optional[pulumi.Input[bool]] = None,
751
- allow_mac_changes: Optional[pulumi.Input[bool]] = None,
752
- allow_promiscuous: Optional[pulumi.Input[bool]] = None,
753
- beacon_interval: Optional[pulumi.Input[int]] = None,
754
- check_beacon: Optional[pulumi.Input[bool]] = None,
755
- failback: Optional[pulumi.Input[bool]] = None,
756
- host_system_id: Optional[pulumi.Input[str]] = None,
757
- link_discovery_operation: Optional[pulumi.Input[str]] = None,
758
- link_discovery_protocol: Optional[pulumi.Input[str]] = None,
759
- mtu: Optional[pulumi.Input[int]] = None,
760
- name: Optional[pulumi.Input[str]] = None,
761
- network_adapters: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
762
- notify_switches: Optional[pulumi.Input[bool]] = None,
763
- number_of_ports: Optional[pulumi.Input[int]] = None,
764
- shaping_average_bandwidth: Optional[pulumi.Input[int]] = None,
765
- shaping_burst_size: Optional[pulumi.Input[int]] = None,
766
- shaping_enabled: Optional[pulumi.Input[bool]] = None,
767
- shaping_peak_bandwidth: Optional[pulumi.Input[int]] = None,
768
- standby_nics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
769
- teaming_policy: Optional[pulumi.Input[str]] = None,
738
+ active_nics: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
739
+ allow_forged_transmits: Optional[pulumi.Input[_builtins.bool]] = None,
740
+ allow_mac_changes: Optional[pulumi.Input[_builtins.bool]] = None,
741
+ allow_promiscuous: Optional[pulumi.Input[_builtins.bool]] = None,
742
+ beacon_interval: Optional[pulumi.Input[_builtins.int]] = None,
743
+ check_beacon: Optional[pulumi.Input[_builtins.bool]] = None,
744
+ failback: Optional[pulumi.Input[_builtins.bool]] = None,
745
+ host_system_id: Optional[pulumi.Input[_builtins.str]] = None,
746
+ link_discovery_operation: Optional[pulumi.Input[_builtins.str]] = None,
747
+ link_discovery_protocol: Optional[pulumi.Input[_builtins.str]] = None,
748
+ mtu: Optional[pulumi.Input[_builtins.int]] = None,
749
+ name: Optional[pulumi.Input[_builtins.str]] = None,
750
+ network_adapters: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
751
+ notify_switches: Optional[pulumi.Input[_builtins.bool]] = None,
752
+ number_of_ports: Optional[pulumi.Input[_builtins.int]] = None,
753
+ shaping_average_bandwidth: Optional[pulumi.Input[_builtins.int]] = None,
754
+ shaping_burst_size: Optional[pulumi.Input[_builtins.int]] = None,
755
+ shaping_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
756
+ shaping_peak_bandwidth: Optional[pulumi.Input[_builtins.int]] = None,
757
+ standby_nics: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
758
+ teaming_policy: Optional[pulumi.Input[_builtins.str]] = None,
770
759
  __props__=None):
771
760
  """
772
761
  The `HostVirtualSwitch` resource can be used to manage vSphere
@@ -839,6 +828,8 @@ class HostVirtualSwitch(pulumi.CustomResource):
839
828
 
840
829
  Import can the be done via the following command:
841
830
 
831
+ [docs-import]: https://developer.hashicorp.com/terraform/cli/import
832
+
842
833
  [docs-about-morefs]: /docs/providers/vsphere/index.html#use-of-managed-object-references-by-the-vsphere-provider
843
834
 
844
835
  ```sh
@@ -851,37 +842,34 @@ class HostVirtualSwitch(pulumi.CustomResource):
851
842
 
852
843
  :param str resource_name: The name of the resource.
853
844
  :param pulumi.ResourceOptions opts: Options for the resource.
854
- :param pulumi.Input[Sequence[pulumi.Input[str]]] active_nics: List of active network adapters used for load balancing.
855
- :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
856
- that of its own.
857
- :param pulumi.Input[bool] allow_mac_changes: Controls whether or not the Media Access Control (MAC) address can be changed.
858
- :param pulumi.Input[bool] allow_promiscuous: Enable promiscuous mode on the network. This flag indicates whether or not all traffic is seen on a given port.
859
- :param pulumi.Input[int] beacon_interval: Determines how often, in seconds, a beacon should be sent to probe for the validity of a link.
860
- :param pulumi.Input[bool] check_beacon: Enable beacon probing. Requires that the vSwitch has been configured to use a beacon. If disabled, link status is used
861
- only.
862
- :param pulumi.Input[bool] failback: If true, the teaming policy will re-activate failed interfaces higher in precedence when they come back up.
863
- :param pulumi.Input[str] host_system_id: The managed object ID of
845
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] active_nics: List of active network adapters used for load balancing.
846
+ :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.
847
+ :param pulumi.Input[_builtins.bool] allow_mac_changes: Controls whether or not the Media Access Control (MAC) address can be changed.
848
+ :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.
849
+ :param pulumi.Input[_builtins.int] beacon_interval: Determines how often, in seconds, a beacon should be sent to probe for the validity of a link.
850
+ :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.
851
+ :param pulumi.Input[_builtins.bool] failback: If true, the teaming policy will re-activate failed interfaces higher in precedence when they come back up.
852
+ :param pulumi.Input[_builtins.str] host_system_id: The managed object ID of
864
853
  the host to set the virtual switch up on. Forces a new resource if changed.
865
- :param pulumi.Input[str] link_discovery_operation: Whether to advertise or listen for link discovery. Valid values are advertise, both, listen, and none.
866
- :param pulumi.Input[str] link_discovery_protocol: The discovery protocol type. Valid values are cdp and lldp.
867
- :param pulumi.Input[int] mtu: The maximum transmission unit (MTU) for the virtual
854
+ :param pulumi.Input[_builtins.str] link_discovery_operation: Whether to advertise or listen for link discovery. Valid values are advertise, both, listen, and none.
855
+ :param pulumi.Input[_builtins.str] link_discovery_protocol: The discovery protocol type. Valid values are cdp and lldp.
856
+ :param pulumi.Input[_builtins.int] mtu: The maximum transmission unit (MTU) for the virtual
868
857
  switch. Default: `1500`.
869
- :param pulumi.Input[str] name: The name of the virtual switch. Forces a new resource if
858
+ :param pulumi.Input[_builtins.str] name: The name of the virtual switch. Forces a new resource if
870
859
  changed.
871
- :param pulumi.Input[Sequence[pulumi.Input[str]]] network_adapters: The list of network adapters to bind to this virtual switch.
872
- :param pulumi.Input[bool] notify_switches: If true, the teaming policy will notify the broadcast network of a NIC failover, triggering cache updates.
873
- :param pulumi.Input[int] number_of_ports: The number of ports to create with this
860
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] network_adapters: The list of network adapters to bind to this virtual switch.
861
+ :param pulumi.Input[_builtins.bool] notify_switches: If true, the teaming policy will notify the broadcast network of a NIC failover, triggering cache updates.
862
+ :param pulumi.Input[_builtins.int] number_of_ports: The number of ports to create with this
874
863
  virtual switch. Default: `128`.
875
864
 
876
865
  > **NOTE:** Changing the port count requires a reboot of the host. This provider
877
866
  will not restart the host for you.
878
- :param pulumi.Input[int] shaping_average_bandwidth: The average bandwidth in bits per second if traffic shaping is enabled.
879
- :param pulumi.Input[int] shaping_burst_size: The maximum burst size allowed in bytes if traffic shaping is enabled.
880
- :param pulumi.Input[bool] shaping_enabled: Enable traffic shaping on this virtual switch or port group.
881
- :param pulumi.Input[int] shaping_peak_bandwidth: The peak bandwidth during bursts in bits per second if traffic shaping is enabled.
882
- :param pulumi.Input[Sequence[pulumi.Input[str]]] standby_nics: List of standby network adapters used for failover.
883
- :param pulumi.Input[str] teaming_policy: The network adapter teaming policy. Can be one of loadbalance_ip, loadbalance_srcmac, loadbalance_srcid, or
884
- failover_explicit.
867
+ :param pulumi.Input[_builtins.int] shaping_average_bandwidth: The average bandwidth in bits per second if traffic shaping is enabled.
868
+ :param pulumi.Input[_builtins.int] shaping_burst_size: The maximum burst size allowed in bytes if traffic shaping is enabled.
869
+ :param pulumi.Input[_builtins.bool] shaping_enabled: Enable traffic shaping on this virtual switch or port group.
870
+ :param pulumi.Input[_builtins.int] shaping_peak_bandwidth: The peak bandwidth during bursts in bits per second if traffic shaping is enabled.
871
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] standby_nics: List of standby network adapters used for failover.
872
+ :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.
885
873
  """
886
874
  ...
887
875
  @overload
@@ -960,6 +948,8 @@ class HostVirtualSwitch(pulumi.CustomResource):
960
948
 
961
949
  Import can the be done via the following command:
962
950
 
951
+ [docs-import]: https://developer.hashicorp.com/terraform/cli/import
952
+
963
953
  [docs-about-morefs]: /docs/providers/vsphere/index.html#use-of-managed-object-references-by-the-vsphere-provider
964
954
 
965
955
  ```sh
@@ -985,27 +975,27 @@ class HostVirtualSwitch(pulumi.CustomResource):
985
975
  def _internal_init(__self__,
986
976
  resource_name: str,
987
977
  opts: Optional[pulumi.ResourceOptions] = None,
988
- active_nics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
989
- allow_forged_transmits: Optional[pulumi.Input[bool]] = None,
990
- allow_mac_changes: Optional[pulumi.Input[bool]] = None,
991
- allow_promiscuous: Optional[pulumi.Input[bool]] = None,
992
- beacon_interval: Optional[pulumi.Input[int]] = None,
993
- check_beacon: Optional[pulumi.Input[bool]] = None,
994
- failback: Optional[pulumi.Input[bool]] = None,
995
- host_system_id: Optional[pulumi.Input[str]] = None,
996
- link_discovery_operation: Optional[pulumi.Input[str]] = None,
997
- link_discovery_protocol: Optional[pulumi.Input[str]] = None,
998
- mtu: Optional[pulumi.Input[int]] = None,
999
- name: Optional[pulumi.Input[str]] = None,
1000
- network_adapters: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
1001
- notify_switches: Optional[pulumi.Input[bool]] = None,
1002
- number_of_ports: Optional[pulumi.Input[int]] = None,
1003
- shaping_average_bandwidth: Optional[pulumi.Input[int]] = None,
1004
- shaping_burst_size: Optional[pulumi.Input[int]] = None,
1005
- shaping_enabled: Optional[pulumi.Input[bool]] = None,
1006
- shaping_peak_bandwidth: Optional[pulumi.Input[int]] = None,
1007
- standby_nics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
1008
- teaming_policy: Optional[pulumi.Input[str]] = None,
978
+ active_nics: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
979
+ allow_forged_transmits: Optional[pulumi.Input[_builtins.bool]] = None,
980
+ allow_mac_changes: Optional[pulumi.Input[_builtins.bool]] = None,
981
+ allow_promiscuous: Optional[pulumi.Input[_builtins.bool]] = None,
982
+ beacon_interval: Optional[pulumi.Input[_builtins.int]] = None,
983
+ check_beacon: Optional[pulumi.Input[_builtins.bool]] = None,
984
+ failback: Optional[pulumi.Input[_builtins.bool]] = None,
985
+ host_system_id: Optional[pulumi.Input[_builtins.str]] = None,
986
+ link_discovery_operation: Optional[pulumi.Input[_builtins.str]] = None,
987
+ link_discovery_protocol: Optional[pulumi.Input[_builtins.str]] = None,
988
+ mtu: Optional[pulumi.Input[_builtins.int]] = None,
989
+ name: Optional[pulumi.Input[_builtins.str]] = None,
990
+ network_adapters: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
991
+ notify_switches: Optional[pulumi.Input[_builtins.bool]] = None,
992
+ number_of_ports: Optional[pulumi.Input[_builtins.int]] = None,
993
+ shaping_average_bandwidth: Optional[pulumi.Input[_builtins.int]] = None,
994
+ shaping_burst_size: Optional[pulumi.Input[_builtins.int]] = None,
995
+ shaping_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
996
+ shaping_peak_bandwidth: Optional[pulumi.Input[_builtins.int]] = None,
997
+ standby_nics: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
998
+ teaming_policy: Optional[pulumi.Input[_builtins.str]] = None,
1009
999
  __props__=None):
1010
1000
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
1011
1001
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -1052,27 +1042,27 @@ class HostVirtualSwitch(pulumi.CustomResource):
1052
1042
  def get(resource_name: str,
1053
1043
  id: pulumi.Input[str],
1054
1044
  opts: Optional[pulumi.ResourceOptions] = None,
1055
- active_nics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
1056
- allow_forged_transmits: Optional[pulumi.Input[bool]] = None,
1057
- allow_mac_changes: Optional[pulumi.Input[bool]] = None,
1058
- allow_promiscuous: Optional[pulumi.Input[bool]] = None,
1059
- beacon_interval: Optional[pulumi.Input[int]] = None,
1060
- check_beacon: Optional[pulumi.Input[bool]] = None,
1061
- failback: Optional[pulumi.Input[bool]] = None,
1062
- host_system_id: Optional[pulumi.Input[str]] = None,
1063
- link_discovery_operation: Optional[pulumi.Input[str]] = None,
1064
- link_discovery_protocol: Optional[pulumi.Input[str]] = None,
1065
- mtu: Optional[pulumi.Input[int]] = None,
1066
- name: Optional[pulumi.Input[str]] = None,
1067
- network_adapters: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
1068
- notify_switches: Optional[pulumi.Input[bool]] = None,
1069
- number_of_ports: Optional[pulumi.Input[int]] = None,
1070
- shaping_average_bandwidth: Optional[pulumi.Input[int]] = None,
1071
- shaping_burst_size: Optional[pulumi.Input[int]] = None,
1072
- shaping_enabled: Optional[pulumi.Input[bool]] = None,
1073
- shaping_peak_bandwidth: Optional[pulumi.Input[int]] = None,
1074
- standby_nics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
1075
- teaming_policy: Optional[pulumi.Input[str]] = None) -> 'HostVirtualSwitch':
1045
+ active_nics: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
1046
+ allow_forged_transmits: Optional[pulumi.Input[_builtins.bool]] = None,
1047
+ allow_mac_changes: Optional[pulumi.Input[_builtins.bool]] = None,
1048
+ allow_promiscuous: Optional[pulumi.Input[_builtins.bool]] = None,
1049
+ beacon_interval: Optional[pulumi.Input[_builtins.int]] = None,
1050
+ check_beacon: Optional[pulumi.Input[_builtins.bool]] = None,
1051
+ failback: Optional[pulumi.Input[_builtins.bool]] = None,
1052
+ host_system_id: Optional[pulumi.Input[_builtins.str]] = None,
1053
+ link_discovery_operation: Optional[pulumi.Input[_builtins.str]] = None,
1054
+ link_discovery_protocol: Optional[pulumi.Input[_builtins.str]] = None,
1055
+ mtu: Optional[pulumi.Input[_builtins.int]] = None,
1056
+ name: Optional[pulumi.Input[_builtins.str]] = None,
1057
+ network_adapters: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
1058
+ notify_switches: Optional[pulumi.Input[_builtins.bool]] = None,
1059
+ number_of_ports: Optional[pulumi.Input[_builtins.int]] = None,
1060
+ shaping_average_bandwidth: Optional[pulumi.Input[_builtins.int]] = None,
1061
+ shaping_burst_size: Optional[pulumi.Input[_builtins.int]] = None,
1062
+ shaping_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
1063
+ shaping_peak_bandwidth: Optional[pulumi.Input[_builtins.int]] = None,
1064
+ standby_nics: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
1065
+ teaming_policy: Optional[pulumi.Input[_builtins.str]] = None) -> 'HostVirtualSwitch':
1076
1066
  """
1077
1067
  Get an existing HostVirtualSwitch resource's state with the given name, id, and optional extra
1078
1068
  properties used to qualify the lookup.
@@ -1080,37 +1070,34 @@ class HostVirtualSwitch(pulumi.CustomResource):
1080
1070
  :param str resource_name: The unique name of the resulting resource.
1081
1071
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
1082
1072
  :param pulumi.ResourceOptions opts: Options for the resource.
1083
- :param pulumi.Input[Sequence[pulumi.Input[str]]] active_nics: List of active network adapters used for load balancing.
1084
- :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
1085
- that of its own.
1086
- :param pulumi.Input[bool] allow_mac_changes: Controls whether or not the Media Access Control (MAC) address can be changed.
1087
- :param pulumi.Input[bool] allow_promiscuous: Enable promiscuous mode on the network. This flag indicates whether or not all traffic is seen on a given port.
1088
- :param pulumi.Input[int] beacon_interval: Determines how often, in seconds, a beacon should be sent to probe for the validity of a link.
1089
- :param pulumi.Input[bool] check_beacon: Enable beacon probing. Requires that the vSwitch has been configured to use a beacon. If disabled, link status is used
1090
- only.
1091
- :param pulumi.Input[bool] failback: If true, the teaming policy will re-activate failed interfaces higher in precedence when they come back up.
1092
- :param pulumi.Input[str] host_system_id: The managed object ID of
1073
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] active_nics: List of active network adapters used for load balancing.
1074
+ :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.
1075
+ :param pulumi.Input[_builtins.bool] allow_mac_changes: Controls whether or not the Media Access Control (MAC) address can be changed.
1076
+ :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.
1077
+ :param pulumi.Input[_builtins.int] beacon_interval: Determines how often, in seconds, a beacon should be sent to probe for the validity of a link.
1078
+ :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.
1079
+ :param pulumi.Input[_builtins.bool] failback: If true, the teaming policy will re-activate failed interfaces higher in precedence when they come back up.
1080
+ :param pulumi.Input[_builtins.str] host_system_id: The managed object ID of
1093
1081
  the host to set the virtual switch up on. Forces a new resource if changed.
1094
- :param pulumi.Input[str] link_discovery_operation: Whether to advertise or listen for link discovery. Valid values are advertise, both, listen, and none.
1095
- :param pulumi.Input[str] link_discovery_protocol: The discovery protocol type. Valid values are cdp and lldp.
1096
- :param pulumi.Input[int] mtu: The maximum transmission unit (MTU) for the virtual
1082
+ :param pulumi.Input[_builtins.str] link_discovery_operation: Whether to advertise or listen for link discovery. Valid values are advertise, both, listen, and none.
1083
+ :param pulumi.Input[_builtins.str] link_discovery_protocol: The discovery protocol type. Valid values are cdp and lldp.
1084
+ :param pulumi.Input[_builtins.int] mtu: The maximum transmission unit (MTU) for the virtual
1097
1085
  switch. Default: `1500`.
1098
- :param pulumi.Input[str] name: The name of the virtual switch. Forces a new resource if
1086
+ :param pulumi.Input[_builtins.str] name: The name of the virtual switch. Forces a new resource if
1099
1087
  changed.
1100
- :param pulumi.Input[Sequence[pulumi.Input[str]]] network_adapters: The list of network adapters to bind to this virtual switch.
1101
- :param pulumi.Input[bool] notify_switches: If true, the teaming policy will notify the broadcast network of a NIC failover, triggering cache updates.
1102
- :param pulumi.Input[int] number_of_ports: The number of ports to create with this
1088
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] network_adapters: The list of network adapters to bind to this virtual switch.
1089
+ :param pulumi.Input[_builtins.bool] notify_switches: If true, the teaming policy will notify the broadcast network of a NIC failover, triggering cache updates.
1090
+ :param pulumi.Input[_builtins.int] number_of_ports: The number of ports to create with this
1103
1091
  virtual switch. Default: `128`.
1104
1092
 
1105
1093
  > **NOTE:** Changing the port count requires a reboot of the host. This provider
1106
1094
  will not restart the host for you.
1107
- :param pulumi.Input[int] shaping_average_bandwidth: The average bandwidth in bits per second if traffic shaping is enabled.
1108
- :param pulumi.Input[int] shaping_burst_size: The maximum burst size allowed in bytes if traffic shaping is enabled.
1109
- :param pulumi.Input[bool] shaping_enabled: Enable traffic shaping on this virtual switch or port group.
1110
- :param pulumi.Input[int] shaping_peak_bandwidth: The peak bandwidth during bursts in bits per second if traffic shaping is enabled.
1111
- :param pulumi.Input[Sequence[pulumi.Input[str]]] standby_nics: List of standby network adapters used for failover.
1112
- :param pulumi.Input[str] teaming_policy: The network adapter teaming policy. Can be one of loadbalance_ip, loadbalance_srcmac, loadbalance_srcid, or
1113
- failover_explicit.
1095
+ :param pulumi.Input[_builtins.int] shaping_average_bandwidth: The average bandwidth in bits per second if traffic shaping is enabled.
1096
+ :param pulumi.Input[_builtins.int] shaping_burst_size: The maximum burst size allowed in bytes if traffic shaping is enabled.
1097
+ :param pulumi.Input[_builtins.bool] shaping_enabled: Enable traffic shaping on this virtual switch or port group.
1098
+ :param pulumi.Input[_builtins.int] shaping_peak_bandwidth: The peak bandwidth during bursts in bits per second if traffic shaping is enabled.
1099
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] standby_nics: List of standby network adapters used for failover.
1100
+ :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.
1114
1101
  """
1115
1102
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
1116
1103
 
@@ -1139,126 +1126,124 @@ class HostVirtualSwitch(pulumi.CustomResource):
1139
1126
  __props__.__dict__["teaming_policy"] = teaming_policy
1140
1127
  return HostVirtualSwitch(resource_name, opts=opts, __props__=__props__)
1141
1128
 
1142
- @property
1129
+ @_builtins.property
1143
1130
  @pulumi.getter(name="activeNics")
1144
- def active_nics(self) -> pulumi.Output[Sequence[str]]:
1131
+ def active_nics(self) -> pulumi.Output[Sequence[_builtins.str]]:
1145
1132
  """
1146
1133
  List of active network adapters used for load balancing.
1147
1134
  """
1148
1135
  return pulumi.get(self, "active_nics")
1149
1136
 
1150
- @property
1137
+ @_builtins.property
1151
1138
  @pulumi.getter(name="allowForgedTransmits")
1152
- def allow_forged_transmits(self) -> pulumi.Output[Optional[bool]]:
1139
+ def allow_forged_transmits(self) -> pulumi.Output[Optional[_builtins.bool]]:
1153
1140
  """
1154
- Controls whether or not the virtual network adapter is allowed to send network traffic with a different MAC address than
1155
- that of its own.
1141
+ Controls whether or not the virtual network adapter is allowed to send network traffic with a different MAC address than that of its own.
1156
1142
  """
1157
1143
  return pulumi.get(self, "allow_forged_transmits")
1158
1144
 
1159
- @property
1145
+ @_builtins.property
1160
1146
  @pulumi.getter(name="allowMacChanges")
1161
- def allow_mac_changes(self) -> pulumi.Output[Optional[bool]]:
1147
+ def allow_mac_changes(self) -> pulumi.Output[Optional[_builtins.bool]]:
1162
1148
  """
1163
1149
  Controls whether or not the Media Access Control (MAC) address can be changed.
1164
1150
  """
1165
1151
  return pulumi.get(self, "allow_mac_changes")
1166
1152
 
1167
- @property
1153
+ @_builtins.property
1168
1154
  @pulumi.getter(name="allowPromiscuous")
1169
- def allow_promiscuous(self) -> pulumi.Output[Optional[bool]]:
1155
+ def allow_promiscuous(self) -> pulumi.Output[Optional[_builtins.bool]]:
1170
1156
  """
1171
1157
  Enable promiscuous mode on the network. This flag indicates whether or not all traffic is seen on a given port.
1172
1158
  """
1173
1159
  return pulumi.get(self, "allow_promiscuous")
1174
1160
 
1175
- @property
1161
+ @_builtins.property
1176
1162
  @pulumi.getter(name="beaconInterval")
1177
- def beacon_interval(self) -> pulumi.Output[Optional[int]]:
1163
+ def beacon_interval(self) -> pulumi.Output[Optional[_builtins.int]]:
1178
1164
  """
1179
1165
  Determines how often, in seconds, a beacon should be sent to probe for the validity of a link.
1180
1166
  """
1181
1167
  return pulumi.get(self, "beacon_interval")
1182
1168
 
1183
- @property
1169
+ @_builtins.property
1184
1170
  @pulumi.getter(name="checkBeacon")
1185
- def check_beacon(self) -> pulumi.Output[Optional[bool]]:
1171
+ def check_beacon(self) -> pulumi.Output[Optional[_builtins.bool]]:
1186
1172
  """
1187
- Enable beacon probing. Requires that the vSwitch has been configured to use a beacon. If disabled, link status is used
1188
- only.
1173
+ Enable beacon probing. Requires that the vSwitch has been configured to use a beacon. If disabled, link status is used only.
1189
1174
  """
1190
1175
  return pulumi.get(self, "check_beacon")
1191
1176
 
1192
- @property
1177
+ @_builtins.property
1193
1178
  @pulumi.getter
1194
- def failback(self) -> pulumi.Output[Optional[bool]]:
1179
+ def failback(self) -> pulumi.Output[Optional[_builtins.bool]]:
1195
1180
  """
1196
1181
  If true, the teaming policy will re-activate failed interfaces higher in precedence when they come back up.
1197
1182
  """
1198
1183
  return pulumi.get(self, "failback")
1199
1184
 
1200
- @property
1185
+ @_builtins.property
1201
1186
  @pulumi.getter(name="hostSystemId")
1202
- def host_system_id(self) -> pulumi.Output[str]:
1187
+ def host_system_id(self) -> pulumi.Output[_builtins.str]:
1203
1188
  """
1204
1189
  The managed object ID of
1205
1190
  the host to set the virtual switch up on. Forces a new resource if changed.
1206
1191
  """
1207
1192
  return pulumi.get(self, "host_system_id")
1208
1193
 
1209
- @property
1194
+ @_builtins.property
1210
1195
  @pulumi.getter(name="linkDiscoveryOperation")
1211
- def link_discovery_operation(self) -> pulumi.Output[Optional[str]]:
1196
+ def link_discovery_operation(self) -> pulumi.Output[Optional[_builtins.str]]:
1212
1197
  """
1213
1198
  Whether to advertise or listen for link discovery. Valid values are advertise, both, listen, and none.
1214
1199
  """
1215
1200
  return pulumi.get(self, "link_discovery_operation")
1216
1201
 
1217
- @property
1202
+ @_builtins.property
1218
1203
  @pulumi.getter(name="linkDiscoveryProtocol")
1219
- def link_discovery_protocol(self) -> pulumi.Output[Optional[str]]:
1204
+ def link_discovery_protocol(self) -> pulumi.Output[Optional[_builtins.str]]:
1220
1205
  """
1221
1206
  The discovery protocol type. Valid values are cdp and lldp.
1222
1207
  """
1223
1208
  return pulumi.get(self, "link_discovery_protocol")
1224
1209
 
1225
- @property
1210
+ @_builtins.property
1226
1211
  @pulumi.getter
1227
- def mtu(self) -> pulumi.Output[Optional[int]]:
1212
+ def mtu(self) -> pulumi.Output[Optional[_builtins.int]]:
1228
1213
  """
1229
1214
  The maximum transmission unit (MTU) for the virtual
1230
1215
  switch. Default: `1500`.
1231
1216
  """
1232
1217
  return pulumi.get(self, "mtu")
1233
1218
 
1234
- @property
1219
+ @_builtins.property
1235
1220
  @pulumi.getter
1236
- def name(self) -> pulumi.Output[str]:
1221
+ def name(self) -> pulumi.Output[_builtins.str]:
1237
1222
  """
1238
1223
  The name of the virtual switch. Forces a new resource if
1239
1224
  changed.
1240
1225
  """
1241
1226
  return pulumi.get(self, "name")
1242
1227
 
1243
- @property
1228
+ @_builtins.property
1244
1229
  @pulumi.getter(name="networkAdapters")
1245
- def network_adapters(self) -> pulumi.Output[Sequence[str]]:
1230
+ def network_adapters(self) -> pulumi.Output[Sequence[_builtins.str]]:
1246
1231
  """
1247
1232
  The list of network adapters to bind to this virtual switch.
1248
1233
  """
1249
1234
  return pulumi.get(self, "network_adapters")
1250
1235
 
1251
- @property
1236
+ @_builtins.property
1252
1237
  @pulumi.getter(name="notifySwitches")
1253
- def notify_switches(self) -> pulumi.Output[Optional[bool]]:
1238
+ def notify_switches(self) -> pulumi.Output[Optional[_builtins.bool]]:
1254
1239
  """
1255
1240
  If true, the teaming policy will notify the broadcast network of a NIC failover, triggering cache updates.
1256
1241
  """
1257
1242
  return pulumi.get(self, "notify_switches")
1258
1243
 
1259
- @property
1244
+ @_builtins.property
1260
1245
  @pulumi.getter(name="numberOfPorts")
1261
- def number_of_ports(self) -> pulumi.Output[Optional[int]]:
1246
+ def number_of_ports(self) -> pulumi.Output[Optional[_builtins.int]]:
1262
1247
  """
1263
1248
  The number of ports to create with this
1264
1249
  virtual switch. Default: `128`.
@@ -1268,52 +1253,51 @@ class HostVirtualSwitch(pulumi.CustomResource):
1268
1253
  """
1269
1254
  return pulumi.get(self, "number_of_ports")
1270
1255
 
1271
- @property
1256
+ @_builtins.property
1272
1257
  @pulumi.getter(name="shapingAverageBandwidth")
1273
- def shaping_average_bandwidth(self) -> pulumi.Output[Optional[int]]:
1258
+ def shaping_average_bandwidth(self) -> pulumi.Output[Optional[_builtins.int]]:
1274
1259
  """
1275
1260
  The average bandwidth in bits per second if traffic shaping is enabled.
1276
1261
  """
1277
1262
  return pulumi.get(self, "shaping_average_bandwidth")
1278
1263
 
1279
- @property
1264
+ @_builtins.property
1280
1265
  @pulumi.getter(name="shapingBurstSize")
1281
- def shaping_burst_size(self) -> pulumi.Output[Optional[int]]:
1266
+ def shaping_burst_size(self) -> pulumi.Output[Optional[_builtins.int]]:
1282
1267
  """
1283
1268
  The maximum burst size allowed in bytes if traffic shaping is enabled.
1284
1269
  """
1285
1270
  return pulumi.get(self, "shaping_burst_size")
1286
1271
 
1287
- @property
1272
+ @_builtins.property
1288
1273
  @pulumi.getter(name="shapingEnabled")
1289
- def shaping_enabled(self) -> pulumi.Output[Optional[bool]]:
1274
+ def shaping_enabled(self) -> pulumi.Output[Optional[_builtins.bool]]:
1290
1275
  """
1291
1276
  Enable traffic shaping on this virtual switch or port group.
1292
1277
  """
1293
1278
  return pulumi.get(self, "shaping_enabled")
1294
1279
 
1295
- @property
1280
+ @_builtins.property
1296
1281
  @pulumi.getter(name="shapingPeakBandwidth")
1297
- def shaping_peak_bandwidth(self) -> pulumi.Output[Optional[int]]:
1282
+ def shaping_peak_bandwidth(self) -> pulumi.Output[Optional[_builtins.int]]:
1298
1283
  """
1299
1284
  The peak bandwidth during bursts in bits per second if traffic shaping is enabled.
1300
1285
  """
1301
1286
  return pulumi.get(self, "shaping_peak_bandwidth")
1302
1287
 
1303
- @property
1288
+ @_builtins.property
1304
1289
  @pulumi.getter(name="standbyNics")
1305
- def standby_nics(self) -> pulumi.Output[Optional[Sequence[str]]]:
1290
+ def standby_nics(self) -> pulumi.Output[Optional[Sequence[_builtins.str]]]:
1306
1291
  """
1307
1292
  List of standby network adapters used for failover.
1308
1293
  """
1309
1294
  return pulumi.get(self, "standby_nics")
1310
1295
 
1311
- @property
1296
+ @_builtins.property
1312
1297
  @pulumi.getter(name="teamingPolicy")
1313
- def teaming_policy(self) -> pulumi.Output[Optional[str]]:
1298
+ def teaming_policy(self) -> pulumi.Output[Optional[_builtins.str]]:
1314
1299
  """
1315
- The network adapter teaming policy. Can be one of loadbalance_ip, loadbalance_srcmac, loadbalance_srcid, or
1316
- failover_explicit.
1300
+ The network adapter teaming policy. Can be one of loadbalance_ip, loadbalance_srcmac, loadbalance_srcid, or failover_explicit.
1317
1301
  """
1318
1302
  return pulumi.get(self, "teaming_policy")
1319
1303