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