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