pulumi-vsphere 4.14.0a1739946909__py3-none-any.whl → 4.17.0a1763710194__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of pulumi-vsphere might be problematic. Click here for more details.

Files changed (89) hide show
  1. pulumi_vsphere/__init__.py +12 -1
  2. pulumi_vsphere/_inputs.py +1172 -1172
  3. pulumi_vsphere/_utilities.py +1 -1
  4. pulumi_vsphere/compute_cluster.py +1226 -1484
  5. pulumi_vsphere/compute_cluster_host_group.py +124 -53
  6. pulumi_vsphere/compute_cluster_vm_affinity_rule.py +88 -87
  7. pulumi_vsphere/compute_cluster_vm_anti_affinity_rule.py +92 -87
  8. pulumi_vsphere/compute_cluster_vm_dependency_rule.py +109 -104
  9. pulumi_vsphere/compute_cluster_vm_group.py +58 -53
  10. pulumi_vsphere/compute_cluster_vm_host_rule.py +126 -121
  11. pulumi_vsphere/config/__init__.py +2 -1
  12. pulumi_vsphere/config/__init__.pyi +2 -2
  13. pulumi_vsphere/config/vars.py +15 -15
  14. pulumi_vsphere/configuration_profile.py +286 -0
  15. pulumi_vsphere/content_library.py +64 -59
  16. pulumi_vsphere/content_library_item.py +109 -104
  17. pulumi_vsphere/custom_attribute.py +41 -36
  18. pulumi_vsphere/datacenter.py +80 -79
  19. pulumi_vsphere/datastore_cluster.py +531 -477
  20. pulumi_vsphere/datastore_cluster_vm_anti_affinity_rule.py +92 -87
  21. pulumi_vsphere/distributed_port_group.py +802 -818
  22. pulumi_vsphere/distributed_virtual_switch.py +1590 -1620
  23. pulumi_vsphere/distributed_virtual_switch_pvlan_mapping.py +71 -70
  24. pulumi_vsphere/dpm_host_override.py +159 -70
  25. pulumi_vsphere/drs_vm_override.py +75 -70
  26. pulumi_vsphere/entity_permissions.py +40 -39
  27. pulumi_vsphere/file.py +148 -162
  28. pulumi_vsphere/folder.py +104 -99
  29. pulumi_vsphere/get_compute_cluster.py +18 -18
  30. pulumi_vsphere/get_compute_cluster_host_group.py +18 -22
  31. pulumi_vsphere/get_configuration_profile.py +145 -0
  32. pulumi_vsphere/get_content_library.py +10 -10
  33. pulumi_vsphere/get_content_library_item.py +22 -22
  34. pulumi_vsphere/get_custom_attribute.py +12 -12
  35. pulumi_vsphere/get_datacenter.py +12 -12
  36. pulumi_vsphere/get_datastore.py +22 -22
  37. pulumi_vsphere/get_datastore_cluster.py +19 -19
  38. pulumi_vsphere/get_datastore_stats.py +22 -26
  39. pulumi_vsphere/get_distributed_virtual_switch.py +18 -18
  40. pulumi_vsphere/get_dynamic.py +22 -26
  41. pulumi_vsphere/get_folder.py +140 -18
  42. pulumi_vsphere/get_guest_os_customization.py +74 -21
  43. pulumi_vsphere/get_host.py +18 -18
  44. pulumi_vsphere/get_host_base_images.py +6 -6
  45. pulumi_vsphere/get_host_pci_device.py +30 -30
  46. pulumi_vsphere/get_host_thumbprint.py +22 -22
  47. pulumi_vsphere/get_host_vgpu_profile.py +17 -17
  48. pulumi_vsphere/get_license.py +26 -24
  49. pulumi_vsphere/get_network.py +80 -29
  50. pulumi_vsphere/get_ovf_vm_template.py +126 -126
  51. pulumi_vsphere/get_policy.py +10 -10
  52. pulumi_vsphere/get_resource_pool.py +77 -26
  53. pulumi_vsphere/get_role.py +26 -26
  54. pulumi_vsphere/get_tag.py +18 -18
  55. pulumi_vsphere/get_tag_category.py +16 -16
  56. pulumi_vsphere/get_vapp_container.py +16 -16
  57. pulumi_vsphere/get_virtual_machine.py +273 -273
  58. pulumi_vsphere/get_vmfs_disks.py +24 -24
  59. pulumi_vsphere/guest_os_customization.py +75 -74
  60. pulumi_vsphere/ha_vm_override.py +295 -374
  61. pulumi_vsphere/host.py +304 -249
  62. pulumi_vsphere/host_port_group.py +321 -341
  63. pulumi_vsphere/host_virtual_switch.py +373 -389
  64. pulumi_vsphere/license.py +125 -84
  65. pulumi_vsphere/nas_datastore.py +324 -261
  66. pulumi_vsphere/offline_software_depot.py +26 -21
  67. pulumi_vsphere/outputs.py +1003 -970
  68. pulumi_vsphere/provider.py +165 -146
  69. pulumi_vsphere/pulumi-plugin.json +1 -1
  70. pulumi_vsphere/resource_pool.py +691 -364
  71. pulumi_vsphere/role.py +46 -45
  72. pulumi_vsphere/storage_drs_vm_override.py +92 -87
  73. pulumi_vsphere/supervisor.py +210 -209
  74. pulumi_vsphere/tag.py +58 -53
  75. pulumi_vsphere/tag_category.py +75 -70
  76. pulumi_vsphere/vapp_container.py +262 -257
  77. pulumi_vsphere/vapp_entity.py +177 -172
  78. pulumi_vsphere/virtual_disk.py +130 -125
  79. pulumi_vsphere/virtual_machine.py +1339 -1443
  80. pulumi_vsphere/virtual_machine_class.py +109 -108
  81. pulumi_vsphere/virtual_machine_snapshot.py +122 -121
  82. pulumi_vsphere/vm_storage_policy.py +40 -39
  83. pulumi_vsphere/vmfs_datastore.py +189 -184
  84. pulumi_vsphere/vnic.py +145 -144
  85. {pulumi_vsphere-4.14.0a1739946909.dist-info → pulumi_vsphere-4.17.0a1763710194.dist-info}/METADATA +4 -4
  86. pulumi_vsphere-4.17.0a1763710194.dist-info/RECORD +89 -0
  87. {pulumi_vsphere-4.14.0a1739946909.dist-info → pulumi_vsphere-4.17.0a1763710194.dist-info}/WHEEL +1 -1
  88. pulumi_vsphere-4.14.0a1739946909.dist-info/RECORD +0 -87
  89. {pulumi_vsphere-4.14.0a1739946909.dist-info → pulumi_vsphere-4.17.0a1763710194.dist-info}/top_level.txt +0 -0
@@ -1,8 +1,8 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
- import copy
5
+ import builtins as _builtins
6
6
  import warnings
7
7
  import sys
8
8
  import pulumi
@@ -21,120 +21,117 @@ __all__ = ['DistributedPortGroupArgs', 'DistributedPortGroup']
21
21
  @pulumi.input_type
22
22
  class DistributedPortGroupArgs:
23
23
  def __init__(__self__, *,
24
- distributed_virtual_switch_uuid: pulumi.Input[str],
25
- active_uplinks: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
26
- allow_forged_transmits: Optional[pulumi.Input[bool]] = None,
27
- allow_mac_changes: Optional[pulumi.Input[bool]] = None,
28
- allow_promiscuous: Optional[pulumi.Input[bool]] = None,
29
- auto_expand: Optional[pulumi.Input[bool]] = None,
30
- block_all_ports: Optional[pulumi.Input[bool]] = None,
31
- block_override_allowed: Optional[pulumi.Input[bool]] = None,
32
- check_beacon: Optional[pulumi.Input[bool]] = None,
33
- custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
34
- description: Optional[pulumi.Input[str]] = None,
35
- directpath_gen2_allowed: Optional[pulumi.Input[bool]] = None,
36
- egress_shaping_average_bandwidth: Optional[pulumi.Input[int]] = None,
37
- egress_shaping_burst_size: Optional[pulumi.Input[int]] = None,
38
- egress_shaping_enabled: Optional[pulumi.Input[bool]] = None,
39
- egress_shaping_peak_bandwidth: Optional[pulumi.Input[int]] = None,
40
- failback: Optional[pulumi.Input[bool]] = None,
41
- ingress_shaping_average_bandwidth: Optional[pulumi.Input[int]] = None,
42
- ingress_shaping_burst_size: Optional[pulumi.Input[int]] = None,
43
- ingress_shaping_enabled: Optional[pulumi.Input[bool]] = None,
44
- ingress_shaping_peak_bandwidth: Optional[pulumi.Input[int]] = None,
45
- lacp_enabled: Optional[pulumi.Input[bool]] = None,
46
- lacp_mode: Optional[pulumi.Input[str]] = None,
47
- live_port_moving_allowed: Optional[pulumi.Input[bool]] = None,
48
- name: Optional[pulumi.Input[str]] = None,
49
- netflow_enabled: Optional[pulumi.Input[bool]] = None,
50
- netflow_override_allowed: Optional[pulumi.Input[bool]] = None,
51
- network_resource_pool_key: Optional[pulumi.Input[str]] = None,
52
- network_resource_pool_override_allowed: Optional[pulumi.Input[bool]] = None,
53
- notify_switches: Optional[pulumi.Input[bool]] = None,
54
- number_of_ports: Optional[pulumi.Input[int]] = None,
55
- port_config_reset_at_disconnect: Optional[pulumi.Input[bool]] = None,
56
- port_name_format: Optional[pulumi.Input[str]] = None,
57
- port_private_secondary_vlan_id: Optional[pulumi.Input[int]] = None,
58
- security_policy_override_allowed: Optional[pulumi.Input[bool]] = None,
59
- shaping_override_allowed: Optional[pulumi.Input[bool]] = None,
60
- standby_uplinks: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
61
- tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
62
- teaming_policy: Optional[pulumi.Input[str]] = None,
63
- traffic_filter_override_allowed: Optional[pulumi.Input[bool]] = None,
64
- tx_uplink: Optional[pulumi.Input[bool]] = None,
65
- type: Optional[pulumi.Input[str]] = None,
66
- uplink_teaming_override_allowed: Optional[pulumi.Input[bool]] = None,
67
- vlan_id: Optional[pulumi.Input[int]] = None,
68
- vlan_override_allowed: Optional[pulumi.Input[bool]] = None,
24
+ distributed_virtual_switch_uuid: pulumi.Input[_builtins.str],
25
+ active_uplinks: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
26
+ allow_forged_transmits: Optional[pulumi.Input[_builtins.bool]] = None,
27
+ allow_mac_changes: Optional[pulumi.Input[_builtins.bool]] = None,
28
+ allow_promiscuous: Optional[pulumi.Input[_builtins.bool]] = None,
29
+ auto_expand: Optional[pulumi.Input[_builtins.bool]] = None,
30
+ block_all_ports: Optional[pulumi.Input[_builtins.bool]] = None,
31
+ block_override_allowed: Optional[pulumi.Input[_builtins.bool]] = None,
32
+ check_beacon: Optional[pulumi.Input[_builtins.bool]] = None,
33
+ custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
34
+ description: Optional[pulumi.Input[_builtins.str]] = None,
35
+ directpath_gen2_allowed: Optional[pulumi.Input[_builtins.bool]] = None,
36
+ egress_shaping_average_bandwidth: Optional[pulumi.Input[_builtins.int]] = None,
37
+ egress_shaping_burst_size: Optional[pulumi.Input[_builtins.int]] = None,
38
+ egress_shaping_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
39
+ egress_shaping_peak_bandwidth: Optional[pulumi.Input[_builtins.int]] = None,
40
+ failback: Optional[pulumi.Input[_builtins.bool]] = None,
41
+ ingress_shaping_average_bandwidth: Optional[pulumi.Input[_builtins.int]] = None,
42
+ ingress_shaping_burst_size: Optional[pulumi.Input[_builtins.int]] = None,
43
+ ingress_shaping_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
44
+ ingress_shaping_peak_bandwidth: Optional[pulumi.Input[_builtins.int]] = None,
45
+ lacp_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
46
+ lacp_mode: Optional[pulumi.Input[_builtins.str]] = None,
47
+ live_port_moving_allowed: Optional[pulumi.Input[_builtins.bool]] = None,
48
+ name: Optional[pulumi.Input[_builtins.str]] = None,
49
+ netflow_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
50
+ netflow_override_allowed: Optional[pulumi.Input[_builtins.bool]] = None,
51
+ network_resource_pool_key: Optional[pulumi.Input[_builtins.str]] = None,
52
+ network_resource_pool_override_allowed: Optional[pulumi.Input[_builtins.bool]] = None,
53
+ notify_switches: Optional[pulumi.Input[_builtins.bool]] = None,
54
+ number_of_ports: Optional[pulumi.Input[_builtins.int]] = None,
55
+ port_config_reset_at_disconnect: Optional[pulumi.Input[_builtins.bool]] = None,
56
+ port_name_format: Optional[pulumi.Input[_builtins.str]] = None,
57
+ port_private_secondary_vlan_id: Optional[pulumi.Input[_builtins.int]] = None,
58
+ security_policy_override_allowed: Optional[pulumi.Input[_builtins.bool]] = None,
59
+ shaping_override_allowed: Optional[pulumi.Input[_builtins.bool]] = None,
60
+ standby_uplinks: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
61
+ tags: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
62
+ teaming_policy: Optional[pulumi.Input[_builtins.str]] = None,
63
+ traffic_filter_override_allowed: Optional[pulumi.Input[_builtins.bool]] = None,
64
+ tx_uplink: Optional[pulumi.Input[_builtins.bool]] = None,
65
+ type: Optional[pulumi.Input[_builtins.str]] = None,
66
+ uplink_teaming_override_allowed: Optional[pulumi.Input[_builtins.bool]] = None,
67
+ vlan_id: Optional[pulumi.Input[_builtins.int]] = None,
68
+ vlan_override_allowed: Optional[pulumi.Input[_builtins.bool]] = None,
69
69
  vlan_ranges: Optional[pulumi.Input[Sequence[pulumi.Input['DistributedPortGroupVlanRangeArgs']]]] = None):
70
70
  """
71
71
  The set of arguments for constructing a DistributedPortGroup resource.
72
- :param pulumi.Input[str] distributed_virtual_switch_uuid: The ID of the VDS to add the
72
+ :param pulumi.Input[_builtins.str] distributed_virtual_switch_uuid: The ID of the VDS to add the
73
73
  port group to. Forces a new resource if changed.
74
- :param pulumi.Input[Sequence[pulumi.Input[str]]] active_uplinks: List of active uplinks used for load balancing, matching the names of the uplinks assigned in the DVS.
75
- :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
76
- that of its own.
77
- :param pulumi.Input[bool] allow_mac_changes: Controls whether or not the Media Access Control (MAC) address can be changed.
78
- :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.
79
- :param pulumi.Input[bool] auto_expand: Allows the port group to create additional ports
74
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] active_uplinks: List of active uplinks used for load balancing, matching the names of the uplinks assigned in the DVS.
75
+ :param pulumi.Input[_builtins.bool] allow_forged_transmits: Controls whether or not the virtual network adapter is allowed to send network traffic with a different MAC address than that of its own.
76
+ :param pulumi.Input[_builtins.bool] allow_mac_changes: Controls whether or not the Media Access Control (MAC) address can be changed.
77
+ :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.
78
+ :param pulumi.Input[_builtins.bool] auto_expand: Allows the port group to create additional ports
80
79
  past the limit specified in `number_of_ports` if necessary. Default: `true`.
81
80
 
82
81
  > **NOTE:** Using `auto_expand` with a statically defined `number_of_ports`
83
82
  may lead to errors when the port count grows past the amount specified. If you
84
83
  specify `number_of_ports`, you may wish to set `auto_expand` to `false`.
85
- :param pulumi.Input[bool] block_all_ports: Indicates whether to block all ports by default.
86
- :param pulumi.Input[bool] block_override_allowed: Allow the blocked setting of an individual port to override the setting in the portgroup.
87
- :param pulumi.Input[bool] check_beacon: Enable beacon probing on the ports this policy applies to.
88
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] custom_attributes: Map of custom attribute ids to attribute
84
+ :param pulumi.Input[_builtins.bool] block_all_ports: Indicates whether to block all ports by default.
85
+ :param pulumi.Input[_builtins.bool] block_override_allowed: Allow the blocked setting of an individual port to override the setting in the portgroup.
86
+ :param pulumi.Input[_builtins.bool] check_beacon: Enable beacon probing on the ports this policy applies to.
87
+ :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] custom_attributes: Map of custom attribute ids to attribute
89
88
  value string to set for port group.
90
89
 
91
90
  > **NOTE:** Custom attributes are not supported on direct ESXi host
92
91
  connections and require vCenter Server.
93
- :param pulumi.Input[str] description: An optional description for the port group.
94
- :param pulumi.Input[bool] directpath_gen2_allowed: Allow VMDirectPath Gen2 on the ports this policy applies to.
95
- :param pulumi.Input[int] egress_shaping_average_bandwidth: The average egress bandwidth in bits per second if egress shaping is enabled on the port.
96
- :param pulumi.Input[int] egress_shaping_burst_size: The maximum egress burst size allowed in bytes if egress shaping is enabled on the port.
97
- :param pulumi.Input[bool] egress_shaping_enabled: True if the traffic shaper is enabled for egress traffic on the port.
98
- :param pulumi.Input[int] egress_shaping_peak_bandwidth: The peak egress bandwidth during bursts in bits per second if egress traffic shaping is enabled on the port.
99
- :param pulumi.Input[bool] failback: If true, the teaming policy will re-activate failed interfaces higher in precedence when they come back up.
100
- :param pulumi.Input[int] ingress_shaping_average_bandwidth: The average ingress bandwidth in bits per second if ingress shaping is enabled on the port.
101
- :param pulumi.Input[int] ingress_shaping_burst_size: The maximum ingress burst size allowed in bytes if ingress shaping is enabled on the port.
102
- :param pulumi.Input[bool] ingress_shaping_enabled: True if the traffic shaper is enabled for ingress traffic on the port.
103
- :param pulumi.Input[int] ingress_shaping_peak_bandwidth: The peak ingress bandwidth during bursts in bits per second if ingress traffic shaping is enabled on the port.
104
- :param pulumi.Input[bool] lacp_enabled: Whether or not to enable LACP on all uplink ports.
105
- :param pulumi.Input[str] lacp_mode: The uplink LACP mode to use. Can be one of active or passive.
106
- :param pulumi.Input[bool] live_port_moving_allowed: Allow a live port to be moved in and out of the portgroup.
107
- :param pulumi.Input[str] name: The name of the port group.
108
- :param pulumi.Input[bool] netflow_enabled: Indicates whether to enable netflow on all ports.
109
- :param pulumi.Input[bool] netflow_override_allowed: Allow the enabling or disabling of Netflow on a port, contrary to the policy in the portgroup.
110
- :param pulumi.Input[str] network_resource_pool_key: The key of a network resource pool
92
+ :param pulumi.Input[_builtins.str] description: An optional description for the port group.
93
+ :param pulumi.Input[_builtins.bool] directpath_gen2_allowed: Allow VMDirectPath Gen2 on the ports this policy applies to.
94
+ :param pulumi.Input[_builtins.int] egress_shaping_average_bandwidth: The average egress bandwidth in bits per second if egress shaping is enabled on the port.
95
+ :param pulumi.Input[_builtins.int] egress_shaping_burst_size: The maximum egress burst size allowed in bytes if egress shaping is enabled on the port.
96
+ :param pulumi.Input[_builtins.bool] egress_shaping_enabled: True if the traffic shaper is enabled for egress traffic on the port.
97
+ :param pulumi.Input[_builtins.int] egress_shaping_peak_bandwidth: The peak egress bandwidth during bursts in bits per second if egress traffic shaping is enabled on the port.
98
+ :param pulumi.Input[_builtins.bool] failback: If true, the teaming policy will re-activate failed interfaces higher in precedence when they come back up.
99
+ :param pulumi.Input[_builtins.int] ingress_shaping_average_bandwidth: The average ingress bandwidth in bits per second if ingress shaping is enabled on the port.
100
+ :param pulumi.Input[_builtins.int] ingress_shaping_burst_size: The maximum ingress burst size allowed in bytes if ingress shaping is enabled on the port.
101
+ :param pulumi.Input[_builtins.bool] ingress_shaping_enabled: True if the traffic shaper is enabled for ingress traffic on the port.
102
+ :param pulumi.Input[_builtins.int] ingress_shaping_peak_bandwidth: The peak ingress bandwidth during bursts in bits per second if ingress traffic shaping is enabled on the port.
103
+ :param pulumi.Input[_builtins.bool] lacp_enabled: Whether or not to enable LACP on all uplink ports.
104
+ :param pulumi.Input[_builtins.str] lacp_mode: The uplink LACP mode to use. Can be one of active or passive.
105
+ :param pulumi.Input[_builtins.bool] live_port_moving_allowed: Allow a live port to be moved in and out of the portgroup.
106
+ :param pulumi.Input[_builtins.str] name: The name of the port group.
107
+ :param pulumi.Input[_builtins.bool] netflow_enabled: Indicates whether to enable netflow on all ports.
108
+ :param pulumi.Input[_builtins.bool] netflow_override_allowed: Allow the enabling or disabling of Netflow on a port, contrary to the policy in the portgroup.
109
+ :param pulumi.Input[_builtins.str] network_resource_pool_key: The key of a network resource pool
111
110
  to associate with this port group. The default is `-1`, which implies no
112
111
  association.
113
- :param pulumi.Input[bool] network_resource_pool_override_allowed: Allow the network resource pool of an individual port to override the setting in the portgroup.
114
- :param pulumi.Input[bool] notify_switches: If true, the teaming policy will notify the broadcast network of a NIC failover, triggering cache updates.
115
- :param pulumi.Input[int] number_of_ports: The number of ports available on this port
112
+ :param pulumi.Input[_builtins.bool] network_resource_pool_override_allowed: Allow the network resource pool of an individual port to override the setting in the portgroup.
113
+ :param pulumi.Input[_builtins.bool] notify_switches: If true, the teaming policy will notify the broadcast network of a NIC failover, triggering cache updates.
114
+ :param pulumi.Input[_builtins.int] number_of_ports: The number of ports available on this port
116
115
  group. Cannot be decreased below the amount of used ports on the port group.
117
- :param pulumi.Input[bool] port_config_reset_at_disconnect: Reset the setting of any ports in this portgroup back to the default setting when the port disconnects.
118
- :param pulumi.Input[str] port_name_format: An optional formatting policy for naming of
116
+ :param pulumi.Input[_builtins.bool] port_config_reset_at_disconnect: Reset the setting of any ports in this portgroup back to the default setting when the port disconnects.
117
+ :param pulumi.Input[_builtins.str] port_name_format: An optional formatting policy for naming of
119
118
  the ports in this port group. See the `portNameFormat` attribute listed
120
119
  [here][ext-vsphere-portname-format] for details on the format syntax.
121
120
 
122
121
  [ext-vsphere-portname-format]: https://developer.broadcom.com/xapis/virtual-infrastructure-json-api/latest/data-structures/DVPortgroupConfigInfo/
123
- :param pulumi.Input[int] port_private_secondary_vlan_id: The secondary VLAN ID for this port.
124
- :param pulumi.Input[bool] security_policy_override_allowed: Allow security policy settings on a port to override those on the portgroup.
125
- :param pulumi.Input[bool] shaping_override_allowed: Allow the traffic shaping policies of an individual port to override the settings in the portgroup.
126
- :param pulumi.Input[Sequence[pulumi.Input[str]]] standby_uplinks: List of standby uplinks used for load balancing, matching the names of the uplinks assigned in the DVS.
127
- :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: A list of tag IDs to apply to this object.
128
- :param pulumi.Input[str] teaming_policy: The network adapter teaming policy. Can be one of loadbalance_ip, loadbalance_srcmac, loadbalance_srcid,
129
- failover_explicit, or loadbalance_loadbased.
130
- :param pulumi.Input[bool] traffic_filter_override_allowed: Allow any filter policies set on the individual port to override those in the portgroup.
131
- :param pulumi.Input[bool] tx_uplink: If true, a copy of packets sent to the switch will always be forwarded to an uplink in addition to the regular packet
132
- forwarded done by the switch.
133
- :param pulumi.Input[str] type: The port group type. Can be one of `earlyBinding` (static
122
+ :param pulumi.Input[_builtins.int] port_private_secondary_vlan_id: The secondary VLAN ID for this port.
123
+ :param pulumi.Input[_builtins.bool] security_policy_override_allowed: Allow security policy settings on a port to override those on the portgroup.
124
+ :param pulumi.Input[_builtins.bool] shaping_override_allowed: Allow the traffic shaping policies of an individual port to override the settings in the portgroup.
125
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] standby_uplinks: List of standby uplinks used for load balancing, matching the names of the uplinks assigned in the DVS.
126
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] tags: A list of tag IDs to apply to this object.
127
+ :param pulumi.Input[_builtins.str] teaming_policy: The network adapter teaming policy. Can be one of loadbalance_ip, loadbalance_srcmac, loadbalance_srcid, failover_explicit, or loadbalance_loadbased.
128
+ :param pulumi.Input[_builtins.bool] traffic_filter_override_allowed: Allow any filter policies set on the individual port to override those in the portgroup.
129
+ :param pulumi.Input[_builtins.bool] tx_uplink: If true, a copy of packets sent to the switch will always be forwarded to an uplink in addition to the regular packet forwarded done by the switch.
130
+ :param pulumi.Input[_builtins.str] type: The port group type. Can be one of `earlyBinding` (static
134
131
  binding) or `ephemeral`. Default: `earlyBinding`.
135
- :param pulumi.Input[bool] uplink_teaming_override_allowed: Allow the uplink teaming policies on a port to override those on the portgroup.
136
- :param pulumi.Input[int] vlan_id: The VLAN ID for single VLAN mode. 0 denotes no VLAN.
137
- :param pulumi.Input[bool] vlan_override_allowed: Allow the VLAN configuration on a port to override those on the portgroup.
132
+ :param pulumi.Input[_builtins.bool] uplink_teaming_override_allowed: Allow the uplink teaming policies on a port to override those on the portgroup.
133
+ :param pulumi.Input[_builtins.int] vlan_id: The VLAN ID for single VLAN mode. 0 denotes no VLAN.
134
+ :param pulumi.Input[_builtins.bool] vlan_override_allowed: Allow the VLAN configuration on a port to override those on the portgroup.
138
135
  :param pulumi.Input[Sequence[pulumi.Input['DistributedPortGroupVlanRangeArgs']]] vlan_ranges: The VLAN ID for single VLAN mode. 0 denotes no VLAN.
139
136
  """
140
137
  pulumi.set(__self__, "distributed_virtual_switch_uuid", distributed_virtual_switch_uuid)
@@ -229,9 +226,9 @@ class DistributedPortGroupArgs:
229
226
  if vlan_ranges is not None:
230
227
  pulumi.set(__self__, "vlan_ranges", vlan_ranges)
231
228
 
232
- @property
229
+ @_builtins.property
233
230
  @pulumi.getter(name="distributedVirtualSwitchUuid")
234
- def distributed_virtual_switch_uuid(self) -> pulumi.Input[str]:
231
+ def distributed_virtual_switch_uuid(self) -> pulumi.Input[_builtins.str]:
235
232
  """
236
233
  The ID of the VDS to add the
237
234
  port group to. Forces a new resource if changed.
@@ -239,61 +236,60 @@ class DistributedPortGroupArgs:
239
236
  return pulumi.get(self, "distributed_virtual_switch_uuid")
240
237
 
241
238
  @distributed_virtual_switch_uuid.setter
242
- def distributed_virtual_switch_uuid(self, value: pulumi.Input[str]):
239
+ def distributed_virtual_switch_uuid(self, value: pulumi.Input[_builtins.str]):
243
240
  pulumi.set(self, "distributed_virtual_switch_uuid", value)
244
241
 
245
- @property
242
+ @_builtins.property
246
243
  @pulumi.getter(name="activeUplinks")
247
- def active_uplinks(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
244
+ def active_uplinks(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
248
245
  """
249
246
  List of active uplinks used for load balancing, matching the names of the uplinks assigned in the DVS.
250
247
  """
251
248
  return pulumi.get(self, "active_uplinks")
252
249
 
253
250
  @active_uplinks.setter
254
- def active_uplinks(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
251
+ def active_uplinks(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
255
252
  pulumi.set(self, "active_uplinks", value)
256
253
 
257
- @property
254
+ @_builtins.property
258
255
  @pulumi.getter(name="allowForgedTransmits")
259
- def allow_forged_transmits(self) -> Optional[pulumi.Input[bool]]:
256
+ def allow_forged_transmits(self) -> Optional[pulumi.Input[_builtins.bool]]:
260
257
  """
261
- Controls whether or not the virtual network adapter is allowed to send network traffic with a different MAC address than
262
- that of its own.
258
+ Controls whether or not the virtual network adapter is allowed to send network traffic with a different MAC address than that of its own.
263
259
  """
264
260
  return pulumi.get(self, "allow_forged_transmits")
265
261
 
266
262
  @allow_forged_transmits.setter
267
- def allow_forged_transmits(self, value: Optional[pulumi.Input[bool]]):
263
+ def allow_forged_transmits(self, value: Optional[pulumi.Input[_builtins.bool]]):
268
264
  pulumi.set(self, "allow_forged_transmits", value)
269
265
 
270
- @property
266
+ @_builtins.property
271
267
  @pulumi.getter(name="allowMacChanges")
272
- def allow_mac_changes(self) -> Optional[pulumi.Input[bool]]:
268
+ def allow_mac_changes(self) -> Optional[pulumi.Input[_builtins.bool]]:
273
269
  """
274
270
  Controls whether or not the Media Access Control (MAC) address can be changed.
275
271
  """
276
272
  return pulumi.get(self, "allow_mac_changes")
277
273
 
278
274
  @allow_mac_changes.setter
279
- def allow_mac_changes(self, value: Optional[pulumi.Input[bool]]):
275
+ def allow_mac_changes(self, value: Optional[pulumi.Input[_builtins.bool]]):
280
276
  pulumi.set(self, "allow_mac_changes", value)
281
277
 
282
- @property
278
+ @_builtins.property
283
279
  @pulumi.getter(name="allowPromiscuous")
284
- def allow_promiscuous(self) -> Optional[pulumi.Input[bool]]:
280
+ def allow_promiscuous(self) -> Optional[pulumi.Input[_builtins.bool]]:
285
281
  """
286
282
  Enable promiscuous mode on the network. This flag indicates whether or not all traffic is seen on a given port.
287
283
  """
288
284
  return pulumi.get(self, "allow_promiscuous")
289
285
 
290
286
  @allow_promiscuous.setter
291
- def allow_promiscuous(self, value: Optional[pulumi.Input[bool]]):
287
+ def allow_promiscuous(self, value: Optional[pulumi.Input[_builtins.bool]]):
292
288
  pulumi.set(self, "allow_promiscuous", value)
293
289
 
294
- @property
290
+ @_builtins.property
295
291
  @pulumi.getter(name="autoExpand")
296
- def auto_expand(self) -> Optional[pulumi.Input[bool]]:
292
+ def auto_expand(self) -> Optional[pulumi.Input[_builtins.bool]]:
297
293
  """
298
294
  Allows the port group to create additional ports
299
295
  past the limit specified in `number_of_ports` if necessary. Default: `true`.
@@ -305,48 +301,48 @@ class DistributedPortGroupArgs:
305
301
  return pulumi.get(self, "auto_expand")
306
302
 
307
303
  @auto_expand.setter
308
- def auto_expand(self, value: Optional[pulumi.Input[bool]]):
304
+ def auto_expand(self, value: Optional[pulumi.Input[_builtins.bool]]):
309
305
  pulumi.set(self, "auto_expand", value)
310
306
 
311
- @property
307
+ @_builtins.property
312
308
  @pulumi.getter(name="blockAllPorts")
313
- def block_all_ports(self) -> Optional[pulumi.Input[bool]]:
309
+ def block_all_ports(self) -> Optional[pulumi.Input[_builtins.bool]]:
314
310
  """
315
311
  Indicates whether to block all ports by default.
316
312
  """
317
313
  return pulumi.get(self, "block_all_ports")
318
314
 
319
315
  @block_all_ports.setter
320
- def block_all_ports(self, value: Optional[pulumi.Input[bool]]):
316
+ def block_all_ports(self, value: Optional[pulumi.Input[_builtins.bool]]):
321
317
  pulumi.set(self, "block_all_ports", value)
322
318
 
323
- @property
319
+ @_builtins.property
324
320
  @pulumi.getter(name="blockOverrideAllowed")
325
- def block_override_allowed(self) -> Optional[pulumi.Input[bool]]:
321
+ def block_override_allowed(self) -> Optional[pulumi.Input[_builtins.bool]]:
326
322
  """
327
323
  Allow the blocked setting of an individual port to override the setting in the portgroup.
328
324
  """
329
325
  return pulumi.get(self, "block_override_allowed")
330
326
 
331
327
  @block_override_allowed.setter
332
- def block_override_allowed(self, value: Optional[pulumi.Input[bool]]):
328
+ def block_override_allowed(self, value: Optional[pulumi.Input[_builtins.bool]]):
333
329
  pulumi.set(self, "block_override_allowed", value)
334
330
 
335
- @property
331
+ @_builtins.property
336
332
  @pulumi.getter(name="checkBeacon")
337
- def check_beacon(self) -> Optional[pulumi.Input[bool]]:
333
+ def check_beacon(self) -> Optional[pulumi.Input[_builtins.bool]]:
338
334
  """
339
335
  Enable beacon probing on the ports this policy applies to.
340
336
  """
341
337
  return pulumi.get(self, "check_beacon")
342
338
 
343
339
  @check_beacon.setter
344
- def check_beacon(self, value: Optional[pulumi.Input[bool]]):
340
+ def check_beacon(self, value: Optional[pulumi.Input[_builtins.bool]]):
345
341
  pulumi.set(self, "check_beacon", value)
346
342
 
347
- @property
343
+ @_builtins.property
348
344
  @pulumi.getter(name="customAttributes")
349
- def custom_attributes(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
345
+ def custom_attributes(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
350
346
  """
351
347
  Map of custom attribute ids to attribute
352
348
  value string to set for port group.
@@ -357,216 +353,216 @@ class DistributedPortGroupArgs:
357
353
  return pulumi.get(self, "custom_attributes")
358
354
 
359
355
  @custom_attributes.setter
360
- def custom_attributes(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
356
+ def custom_attributes(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
361
357
  pulumi.set(self, "custom_attributes", value)
362
358
 
363
- @property
359
+ @_builtins.property
364
360
  @pulumi.getter
365
- def description(self) -> Optional[pulumi.Input[str]]:
361
+ def description(self) -> Optional[pulumi.Input[_builtins.str]]:
366
362
  """
367
363
  An optional description for the port group.
368
364
  """
369
365
  return pulumi.get(self, "description")
370
366
 
371
367
  @description.setter
372
- def description(self, value: Optional[pulumi.Input[str]]):
368
+ def description(self, value: Optional[pulumi.Input[_builtins.str]]):
373
369
  pulumi.set(self, "description", value)
374
370
 
375
- @property
371
+ @_builtins.property
376
372
  @pulumi.getter(name="directpathGen2Allowed")
377
- def directpath_gen2_allowed(self) -> Optional[pulumi.Input[bool]]:
373
+ def directpath_gen2_allowed(self) -> Optional[pulumi.Input[_builtins.bool]]:
378
374
  """
379
375
  Allow VMDirectPath Gen2 on the ports this policy applies to.
380
376
  """
381
377
  return pulumi.get(self, "directpath_gen2_allowed")
382
378
 
383
379
  @directpath_gen2_allowed.setter
384
- def directpath_gen2_allowed(self, value: Optional[pulumi.Input[bool]]):
380
+ def directpath_gen2_allowed(self, value: Optional[pulumi.Input[_builtins.bool]]):
385
381
  pulumi.set(self, "directpath_gen2_allowed", value)
386
382
 
387
- @property
383
+ @_builtins.property
388
384
  @pulumi.getter(name="egressShapingAverageBandwidth")
389
- def egress_shaping_average_bandwidth(self) -> Optional[pulumi.Input[int]]:
385
+ def egress_shaping_average_bandwidth(self) -> Optional[pulumi.Input[_builtins.int]]:
390
386
  """
391
387
  The average egress bandwidth in bits per second if egress shaping is enabled on the port.
392
388
  """
393
389
  return pulumi.get(self, "egress_shaping_average_bandwidth")
394
390
 
395
391
  @egress_shaping_average_bandwidth.setter
396
- def egress_shaping_average_bandwidth(self, value: Optional[pulumi.Input[int]]):
392
+ def egress_shaping_average_bandwidth(self, value: Optional[pulumi.Input[_builtins.int]]):
397
393
  pulumi.set(self, "egress_shaping_average_bandwidth", value)
398
394
 
399
- @property
395
+ @_builtins.property
400
396
  @pulumi.getter(name="egressShapingBurstSize")
401
- def egress_shaping_burst_size(self) -> Optional[pulumi.Input[int]]:
397
+ def egress_shaping_burst_size(self) -> Optional[pulumi.Input[_builtins.int]]:
402
398
  """
403
399
  The maximum egress burst size allowed in bytes if egress shaping is enabled on the port.
404
400
  """
405
401
  return pulumi.get(self, "egress_shaping_burst_size")
406
402
 
407
403
  @egress_shaping_burst_size.setter
408
- def egress_shaping_burst_size(self, value: Optional[pulumi.Input[int]]):
404
+ def egress_shaping_burst_size(self, value: Optional[pulumi.Input[_builtins.int]]):
409
405
  pulumi.set(self, "egress_shaping_burst_size", value)
410
406
 
411
- @property
407
+ @_builtins.property
412
408
  @pulumi.getter(name="egressShapingEnabled")
413
- def egress_shaping_enabled(self) -> Optional[pulumi.Input[bool]]:
409
+ def egress_shaping_enabled(self) -> Optional[pulumi.Input[_builtins.bool]]:
414
410
  """
415
411
  True if the traffic shaper is enabled for egress traffic on the port.
416
412
  """
417
413
  return pulumi.get(self, "egress_shaping_enabled")
418
414
 
419
415
  @egress_shaping_enabled.setter
420
- def egress_shaping_enabled(self, value: Optional[pulumi.Input[bool]]):
416
+ def egress_shaping_enabled(self, value: Optional[pulumi.Input[_builtins.bool]]):
421
417
  pulumi.set(self, "egress_shaping_enabled", value)
422
418
 
423
- @property
419
+ @_builtins.property
424
420
  @pulumi.getter(name="egressShapingPeakBandwidth")
425
- def egress_shaping_peak_bandwidth(self) -> Optional[pulumi.Input[int]]:
421
+ def egress_shaping_peak_bandwidth(self) -> Optional[pulumi.Input[_builtins.int]]:
426
422
  """
427
423
  The peak egress bandwidth during bursts in bits per second if egress traffic shaping is enabled on the port.
428
424
  """
429
425
  return pulumi.get(self, "egress_shaping_peak_bandwidth")
430
426
 
431
427
  @egress_shaping_peak_bandwidth.setter
432
- def egress_shaping_peak_bandwidth(self, value: Optional[pulumi.Input[int]]):
428
+ def egress_shaping_peak_bandwidth(self, value: Optional[pulumi.Input[_builtins.int]]):
433
429
  pulumi.set(self, "egress_shaping_peak_bandwidth", value)
434
430
 
435
- @property
431
+ @_builtins.property
436
432
  @pulumi.getter
437
- def failback(self) -> Optional[pulumi.Input[bool]]:
433
+ def failback(self) -> Optional[pulumi.Input[_builtins.bool]]:
438
434
  """
439
435
  If true, the teaming policy will re-activate failed interfaces higher in precedence when they come back up.
440
436
  """
441
437
  return pulumi.get(self, "failback")
442
438
 
443
439
  @failback.setter
444
- def failback(self, value: Optional[pulumi.Input[bool]]):
440
+ def failback(self, value: Optional[pulumi.Input[_builtins.bool]]):
445
441
  pulumi.set(self, "failback", value)
446
442
 
447
- @property
443
+ @_builtins.property
448
444
  @pulumi.getter(name="ingressShapingAverageBandwidth")
449
- def ingress_shaping_average_bandwidth(self) -> Optional[pulumi.Input[int]]:
445
+ def ingress_shaping_average_bandwidth(self) -> Optional[pulumi.Input[_builtins.int]]:
450
446
  """
451
447
  The average ingress bandwidth in bits per second if ingress shaping is enabled on the port.
452
448
  """
453
449
  return pulumi.get(self, "ingress_shaping_average_bandwidth")
454
450
 
455
451
  @ingress_shaping_average_bandwidth.setter
456
- def ingress_shaping_average_bandwidth(self, value: Optional[pulumi.Input[int]]):
452
+ def ingress_shaping_average_bandwidth(self, value: Optional[pulumi.Input[_builtins.int]]):
457
453
  pulumi.set(self, "ingress_shaping_average_bandwidth", value)
458
454
 
459
- @property
455
+ @_builtins.property
460
456
  @pulumi.getter(name="ingressShapingBurstSize")
461
- def ingress_shaping_burst_size(self) -> Optional[pulumi.Input[int]]:
457
+ def ingress_shaping_burst_size(self) -> Optional[pulumi.Input[_builtins.int]]:
462
458
  """
463
459
  The maximum ingress burst size allowed in bytes if ingress shaping is enabled on the port.
464
460
  """
465
461
  return pulumi.get(self, "ingress_shaping_burst_size")
466
462
 
467
463
  @ingress_shaping_burst_size.setter
468
- def ingress_shaping_burst_size(self, value: Optional[pulumi.Input[int]]):
464
+ def ingress_shaping_burst_size(self, value: Optional[pulumi.Input[_builtins.int]]):
469
465
  pulumi.set(self, "ingress_shaping_burst_size", value)
470
466
 
471
- @property
467
+ @_builtins.property
472
468
  @pulumi.getter(name="ingressShapingEnabled")
473
- def ingress_shaping_enabled(self) -> Optional[pulumi.Input[bool]]:
469
+ def ingress_shaping_enabled(self) -> Optional[pulumi.Input[_builtins.bool]]:
474
470
  """
475
471
  True if the traffic shaper is enabled for ingress traffic on the port.
476
472
  """
477
473
  return pulumi.get(self, "ingress_shaping_enabled")
478
474
 
479
475
  @ingress_shaping_enabled.setter
480
- def ingress_shaping_enabled(self, value: Optional[pulumi.Input[bool]]):
476
+ def ingress_shaping_enabled(self, value: Optional[pulumi.Input[_builtins.bool]]):
481
477
  pulumi.set(self, "ingress_shaping_enabled", value)
482
478
 
483
- @property
479
+ @_builtins.property
484
480
  @pulumi.getter(name="ingressShapingPeakBandwidth")
485
- def ingress_shaping_peak_bandwidth(self) -> Optional[pulumi.Input[int]]:
481
+ def ingress_shaping_peak_bandwidth(self) -> Optional[pulumi.Input[_builtins.int]]:
486
482
  """
487
483
  The peak ingress bandwidth during bursts in bits per second if ingress traffic shaping is enabled on the port.
488
484
  """
489
485
  return pulumi.get(self, "ingress_shaping_peak_bandwidth")
490
486
 
491
487
  @ingress_shaping_peak_bandwidth.setter
492
- def ingress_shaping_peak_bandwidth(self, value: Optional[pulumi.Input[int]]):
488
+ def ingress_shaping_peak_bandwidth(self, value: Optional[pulumi.Input[_builtins.int]]):
493
489
  pulumi.set(self, "ingress_shaping_peak_bandwidth", value)
494
490
 
495
- @property
491
+ @_builtins.property
496
492
  @pulumi.getter(name="lacpEnabled")
497
- def lacp_enabled(self) -> Optional[pulumi.Input[bool]]:
493
+ def lacp_enabled(self) -> Optional[pulumi.Input[_builtins.bool]]:
498
494
  """
499
495
  Whether or not to enable LACP on all uplink ports.
500
496
  """
501
497
  return pulumi.get(self, "lacp_enabled")
502
498
 
503
499
  @lacp_enabled.setter
504
- def lacp_enabled(self, value: Optional[pulumi.Input[bool]]):
500
+ def lacp_enabled(self, value: Optional[pulumi.Input[_builtins.bool]]):
505
501
  pulumi.set(self, "lacp_enabled", value)
506
502
 
507
- @property
503
+ @_builtins.property
508
504
  @pulumi.getter(name="lacpMode")
509
- def lacp_mode(self) -> Optional[pulumi.Input[str]]:
505
+ def lacp_mode(self) -> Optional[pulumi.Input[_builtins.str]]:
510
506
  """
511
507
  The uplink LACP mode to use. Can be one of active or passive.
512
508
  """
513
509
  return pulumi.get(self, "lacp_mode")
514
510
 
515
511
  @lacp_mode.setter
516
- def lacp_mode(self, value: Optional[pulumi.Input[str]]):
512
+ def lacp_mode(self, value: Optional[pulumi.Input[_builtins.str]]):
517
513
  pulumi.set(self, "lacp_mode", value)
518
514
 
519
- @property
515
+ @_builtins.property
520
516
  @pulumi.getter(name="livePortMovingAllowed")
521
- def live_port_moving_allowed(self) -> Optional[pulumi.Input[bool]]:
517
+ def live_port_moving_allowed(self) -> Optional[pulumi.Input[_builtins.bool]]:
522
518
  """
523
519
  Allow a live port to be moved in and out of the portgroup.
524
520
  """
525
521
  return pulumi.get(self, "live_port_moving_allowed")
526
522
 
527
523
  @live_port_moving_allowed.setter
528
- def live_port_moving_allowed(self, value: Optional[pulumi.Input[bool]]):
524
+ def live_port_moving_allowed(self, value: Optional[pulumi.Input[_builtins.bool]]):
529
525
  pulumi.set(self, "live_port_moving_allowed", value)
530
526
 
531
- @property
527
+ @_builtins.property
532
528
  @pulumi.getter
533
- def name(self) -> Optional[pulumi.Input[str]]:
529
+ def name(self) -> Optional[pulumi.Input[_builtins.str]]:
534
530
  """
535
531
  The name of the port group.
536
532
  """
537
533
  return pulumi.get(self, "name")
538
534
 
539
535
  @name.setter
540
- def name(self, value: Optional[pulumi.Input[str]]):
536
+ def name(self, value: Optional[pulumi.Input[_builtins.str]]):
541
537
  pulumi.set(self, "name", value)
542
538
 
543
- @property
539
+ @_builtins.property
544
540
  @pulumi.getter(name="netflowEnabled")
545
- def netflow_enabled(self) -> Optional[pulumi.Input[bool]]:
541
+ def netflow_enabled(self) -> Optional[pulumi.Input[_builtins.bool]]:
546
542
  """
547
543
  Indicates whether to enable netflow on all ports.
548
544
  """
549
545
  return pulumi.get(self, "netflow_enabled")
550
546
 
551
547
  @netflow_enabled.setter
552
- def netflow_enabled(self, value: Optional[pulumi.Input[bool]]):
548
+ def netflow_enabled(self, value: Optional[pulumi.Input[_builtins.bool]]):
553
549
  pulumi.set(self, "netflow_enabled", value)
554
550
 
555
- @property
551
+ @_builtins.property
556
552
  @pulumi.getter(name="netflowOverrideAllowed")
557
- def netflow_override_allowed(self) -> Optional[pulumi.Input[bool]]:
553
+ def netflow_override_allowed(self) -> Optional[pulumi.Input[_builtins.bool]]:
558
554
  """
559
555
  Allow the enabling or disabling of Netflow on a port, contrary to the policy in the portgroup.
560
556
  """
561
557
  return pulumi.get(self, "netflow_override_allowed")
562
558
 
563
559
  @netflow_override_allowed.setter
564
- def netflow_override_allowed(self, value: Optional[pulumi.Input[bool]]):
560
+ def netflow_override_allowed(self, value: Optional[pulumi.Input[_builtins.bool]]):
565
561
  pulumi.set(self, "netflow_override_allowed", value)
566
562
 
567
- @property
563
+ @_builtins.property
568
564
  @pulumi.getter(name="networkResourcePoolKey")
569
- def network_resource_pool_key(self) -> Optional[pulumi.Input[str]]:
565
+ def network_resource_pool_key(self) -> Optional[pulumi.Input[_builtins.str]]:
570
566
  """
571
567
  The key of a network resource pool
572
568
  to associate with this port group. The default is `-1`, which implies no
@@ -575,36 +571,36 @@ class DistributedPortGroupArgs:
575
571
  return pulumi.get(self, "network_resource_pool_key")
576
572
 
577
573
  @network_resource_pool_key.setter
578
- def network_resource_pool_key(self, value: Optional[pulumi.Input[str]]):
574
+ def network_resource_pool_key(self, value: Optional[pulumi.Input[_builtins.str]]):
579
575
  pulumi.set(self, "network_resource_pool_key", value)
580
576
 
581
- @property
577
+ @_builtins.property
582
578
  @pulumi.getter(name="networkResourcePoolOverrideAllowed")
583
- def network_resource_pool_override_allowed(self) -> Optional[pulumi.Input[bool]]:
579
+ def network_resource_pool_override_allowed(self) -> Optional[pulumi.Input[_builtins.bool]]:
584
580
  """
585
581
  Allow the network resource pool of an individual port to override the setting in the portgroup.
586
582
  """
587
583
  return pulumi.get(self, "network_resource_pool_override_allowed")
588
584
 
589
585
  @network_resource_pool_override_allowed.setter
590
- def network_resource_pool_override_allowed(self, value: Optional[pulumi.Input[bool]]):
586
+ def network_resource_pool_override_allowed(self, value: Optional[pulumi.Input[_builtins.bool]]):
591
587
  pulumi.set(self, "network_resource_pool_override_allowed", value)
592
588
 
593
- @property
589
+ @_builtins.property
594
590
  @pulumi.getter(name="notifySwitches")
595
- def notify_switches(self) -> Optional[pulumi.Input[bool]]:
591
+ def notify_switches(self) -> Optional[pulumi.Input[_builtins.bool]]:
596
592
  """
597
593
  If true, the teaming policy will notify the broadcast network of a NIC failover, triggering cache updates.
598
594
  """
599
595
  return pulumi.get(self, "notify_switches")
600
596
 
601
597
  @notify_switches.setter
602
- def notify_switches(self, value: Optional[pulumi.Input[bool]]):
598
+ def notify_switches(self, value: Optional[pulumi.Input[_builtins.bool]]):
603
599
  pulumi.set(self, "notify_switches", value)
604
600
 
605
- @property
601
+ @_builtins.property
606
602
  @pulumi.getter(name="numberOfPorts")
607
- def number_of_ports(self) -> Optional[pulumi.Input[int]]:
603
+ def number_of_ports(self) -> Optional[pulumi.Input[_builtins.int]]:
608
604
  """
609
605
  The number of ports available on this port
610
606
  group. Cannot be decreased below the amount of used ports on the port group.
@@ -612,24 +608,24 @@ class DistributedPortGroupArgs:
612
608
  return pulumi.get(self, "number_of_ports")
613
609
 
614
610
  @number_of_ports.setter
615
- def number_of_ports(self, value: Optional[pulumi.Input[int]]):
611
+ def number_of_ports(self, value: Optional[pulumi.Input[_builtins.int]]):
616
612
  pulumi.set(self, "number_of_ports", value)
617
613
 
618
- @property
614
+ @_builtins.property
619
615
  @pulumi.getter(name="portConfigResetAtDisconnect")
620
- def port_config_reset_at_disconnect(self) -> Optional[pulumi.Input[bool]]:
616
+ def port_config_reset_at_disconnect(self) -> Optional[pulumi.Input[_builtins.bool]]:
621
617
  """
622
618
  Reset the setting of any ports in this portgroup back to the default setting when the port disconnects.
623
619
  """
624
620
  return pulumi.get(self, "port_config_reset_at_disconnect")
625
621
 
626
622
  @port_config_reset_at_disconnect.setter
627
- def port_config_reset_at_disconnect(self, value: Optional[pulumi.Input[bool]]):
623
+ def port_config_reset_at_disconnect(self, value: Optional[pulumi.Input[_builtins.bool]]):
628
624
  pulumi.set(self, "port_config_reset_at_disconnect", value)
629
625
 
630
- @property
626
+ @_builtins.property
631
627
  @pulumi.getter(name="portNameFormat")
632
- def port_name_format(self) -> Optional[pulumi.Input[str]]:
628
+ def port_name_format(self) -> Optional[pulumi.Input[_builtins.str]]:
633
629
  """
634
630
  An optional formatting policy for naming of
635
631
  the ports in this port group. See the `portNameFormat` attribute listed
@@ -640,110 +636,108 @@ class DistributedPortGroupArgs:
640
636
  return pulumi.get(self, "port_name_format")
641
637
 
642
638
  @port_name_format.setter
643
- def port_name_format(self, value: Optional[pulumi.Input[str]]):
639
+ def port_name_format(self, value: Optional[pulumi.Input[_builtins.str]]):
644
640
  pulumi.set(self, "port_name_format", value)
645
641
 
646
- @property
642
+ @_builtins.property
647
643
  @pulumi.getter(name="portPrivateSecondaryVlanId")
648
- def port_private_secondary_vlan_id(self) -> Optional[pulumi.Input[int]]:
644
+ def port_private_secondary_vlan_id(self) -> Optional[pulumi.Input[_builtins.int]]:
649
645
  """
650
646
  The secondary VLAN ID for this port.
651
647
  """
652
648
  return pulumi.get(self, "port_private_secondary_vlan_id")
653
649
 
654
650
  @port_private_secondary_vlan_id.setter
655
- def port_private_secondary_vlan_id(self, value: Optional[pulumi.Input[int]]):
651
+ def port_private_secondary_vlan_id(self, value: Optional[pulumi.Input[_builtins.int]]):
656
652
  pulumi.set(self, "port_private_secondary_vlan_id", value)
657
653
 
658
- @property
654
+ @_builtins.property
659
655
  @pulumi.getter(name="securityPolicyOverrideAllowed")
660
- def security_policy_override_allowed(self) -> Optional[pulumi.Input[bool]]:
656
+ def security_policy_override_allowed(self) -> Optional[pulumi.Input[_builtins.bool]]:
661
657
  """
662
658
  Allow security policy settings on a port to override those on the portgroup.
663
659
  """
664
660
  return pulumi.get(self, "security_policy_override_allowed")
665
661
 
666
662
  @security_policy_override_allowed.setter
667
- def security_policy_override_allowed(self, value: Optional[pulumi.Input[bool]]):
663
+ def security_policy_override_allowed(self, value: Optional[pulumi.Input[_builtins.bool]]):
668
664
  pulumi.set(self, "security_policy_override_allowed", value)
669
665
 
670
- @property
666
+ @_builtins.property
671
667
  @pulumi.getter(name="shapingOverrideAllowed")
672
- def shaping_override_allowed(self) -> Optional[pulumi.Input[bool]]:
668
+ def shaping_override_allowed(self) -> Optional[pulumi.Input[_builtins.bool]]:
673
669
  """
674
670
  Allow the traffic shaping policies of an individual port to override the settings in the portgroup.
675
671
  """
676
672
  return pulumi.get(self, "shaping_override_allowed")
677
673
 
678
674
  @shaping_override_allowed.setter
679
- def shaping_override_allowed(self, value: Optional[pulumi.Input[bool]]):
675
+ def shaping_override_allowed(self, value: Optional[pulumi.Input[_builtins.bool]]):
680
676
  pulumi.set(self, "shaping_override_allowed", value)
681
677
 
682
- @property
678
+ @_builtins.property
683
679
  @pulumi.getter(name="standbyUplinks")
684
- def standby_uplinks(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
680
+ def standby_uplinks(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
685
681
  """
686
682
  List of standby uplinks used for load balancing, matching the names of the uplinks assigned in the DVS.
687
683
  """
688
684
  return pulumi.get(self, "standby_uplinks")
689
685
 
690
686
  @standby_uplinks.setter
691
- def standby_uplinks(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
687
+ def standby_uplinks(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
692
688
  pulumi.set(self, "standby_uplinks", value)
693
689
 
694
- @property
690
+ @_builtins.property
695
691
  @pulumi.getter
696
- def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
692
+ def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
697
693
  """
698
694
  A list of tag IDs to apply to this object.
699
695
  """
700
696
  return pulumi.get(self, "tags")
701
697
 
702
698
  @tags.setter
703
- def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
699
+ def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
704
700
  pulumi.set(self, "tags", value)
705
701
 
706
- @property
702
+ @_builtins.property
707
703
  @pulumi.getter(name="teamingPolicy")
708
- def teaming_policy(self) -> Optional[pulumi.Input[str]]:
704
+ def teaming_policy(self) -> Optional[pulumi.Input[_builtins.str]]:
709
705
  """
710
- The network adapter teaming policy. Can be one of loadbalance_ip, loadbalance_srcmac, loadbalance_srcid,
711
- failover_explicit, or loadbalance_loadbased.
706
+ The network adapter teaming policy. Can be one of loadbalance_ip, loadbalance_srcmac, loadbalance_srcid, failover_explicit, or loadbalance_loadbased.
712
707
  """
713
708
  return pulumi.get(self, "teaming_policy")
714
709
 
715
710
  @teaming_policy.setter
716
- def teaming_policy(self, value: Optional[pulumi.Input[str]]):
711
+ def teaming_policy(self, value: Optional[pulumi.Input[_builtins.str]]):
717
712
  pulumi.set(self, "teaming_policy", value)
718
713
 
719
- @property
714
+ @_builtins.property
720
715
  @pulumi.getter(name="trafficFilterOverrideAllowed")
721
- def traffic_filter_override_allowed(self) -> Optional[pulumi.Input[bool]]:
716
+ def traffic_filter_override_allowed(self) -> Optional[pulumi.Input[_builtins.bool]]:
722
717
  """
723
718
  Allow any filter policies set on the individual port to override those in the portgroup.
724
719
  """
725
720
  return pulumi.get(self, "traffic_filter_override_allowed")
726
721
 
727
722
  @traffic_filter_override_allowed.setter
728
- def traffic_filter_override_allowed(self, value: Optional[pulumi.Input[bool]]):
723
+ def traffic_filter_override_allowed(self, value: Optional[pulumi.Input[_builtins.bool]]):
729
724
  pulumi.set(self, "traffic_filter_override_allowed", value)
730
725
 
731
- @property
726
+ @_builtins.property
732
727
  @pulumi.getter(name="txUplink")
733
- def tx_uplink(self) -> Optional[pulumi.Input[bool]]:
728
+ def tx_uplink(self) -> Optional[pulumi.Input[_builtins.bool]]:
734
729
  """
735
- If true, a copy of packets sent to the switch will always be forwarded to an uplink in addition to the regular packet
736
- forwarded done by the switch.
730
+ If true, a copy of packets sent to the switch will always be forwarded to an uplink in addition to the regular packet forwarded done by the switch.
737
731
  """
738
732
  return pulumi.get(self, "tx_uplink")
739
733
 
740
734
  @tx_uplink.setter
741
- def tx_uplink(self, value: Optional[pulumi.Input[bool]]):
735
+ def tx_uplink(self, value: Optional[pulumi.Input[_builtins.bool]]):
742
736
  pulumi.set(self, "tx_uplink", value)
743
737
 
744
- @property
738
+ @_builtins.property
745
739
  @pulumi.getter
746
- def type(self) -> Optional[pulumi.Input[str]]:
740
+ def type(self) -> Optional[pulumi.Input[_builtins.str]]:
747
741
  """
748
742
  The port group type. Can be one of `earlyBinding` (static
749
743
  binding) or `ephemeral`. Default: `earlyBinding`.
@@ -751,46 +745,46 @@ class DistributedPortGroupArgs:
751
745
  return pulumi.get(self, "type")
752
746
 
753
747
  @type.setter
754
- def type(self, value: Optional[pulumi.Input[str]]):
748
+ def type(self, value: Optional[pulumi.Input[_builtins.str]]):
755
749
  pulumi.set(self, "type", value)
756
750
 
757
- @property
751
+ @_builtins.property
758
752
  @pulumi.getter(name="uplinkTeamingOverrideAllowed")
759
- def uplink_teaming_override_allowed(self) -> Optional[pulumi.Input[bool]]:
753
+ def uplink_teaming_override_allowed(self) -> Optional[pulumi.Input[_builtins.bool]]:
760
754
  """
761
755
  Allow the uplink teaming policies on a port to override those on the portgroup.
762
756
  """
763
757
  return pulumi.get(self, "uplink_teaming_override_allowed")
764
758
 
765
759
  @uplink_teaming_override_allowed.setter
766
- def uplink_teaming_override_allowed(self, value: Optional[pulumi.Input[bool]]):
760
+ def uplink_teaming_override_allowed(self, value: Optional[pulumi.Input[_builtins.bool]]):
767
761
  pulumi.set(self, "uplink_teaming_override_allowed", value)
768
762
 
769
- @property
763
+ @_builtins.property
770
764
  @pulumi.getter(name="vlanId")
771
- def vlan_id(self) -> Optional[pulumi.Input[int]]:
765
+ def vlan_id(self) -> Optional[pulumi.Input[_builtins.int]]:
772
766
  """
773
767
  The VLAN ID for single VLAN mode. 0 denotes no VLAN.
774
768
  """
775
769
  return pulumi.get(self, "vlan_id")
776
770
 
777
771
  @vlan_id.setter
778
- def vlan_id(self, value: Optional[pulumi.Input[int]]):
772
+ def vlan_id(self, value: Optional[pulumi.Input[_builtins.int]]):
779
773
  pulumi.set(self, "vlan_id", value)
780
774
 
781
- @property
775
+ @_builtins.property
782
776
  @pulumi.getter(name="vlanOverrideAllowed")
783
- def vlan_override_allowed(self) -> Optional[pulumi.Input[bool]]:
777
+ def vlan_override_allowed(self) -> Optional[pulumi.Input[_builtins.bool]]:
784
778
  """
785
779
  Allow the VLAN configuration on a port to override those on the portgroup.
786
780
  """
787
781
  return pulumi.get(self, "vlan_override_allowed")
788
782
 
789
783
  @vlan_override_allowed.setter
790
- def vlan_override_allowed(self, value: Optional[pulumi.Input[bool]]):
784
+ def vlan_override_allowed(self, value: Optional[pulumi.Input[_builtins.bool]]):
791
785
  pulumi.set(self, "vlan_override_allowed", value)
792
786
 
793
- @property
787
+ @_builtins.property
794
788
  @pulumi.getter(name="vlanRanges")
795
789
  def vlan_ranges(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DistributedPortGroupVlanRangeArgs']]]]:
796
790
  """
@@ -806,125 +800,122 @@ class DistributedPortGroupArgs:
806
800
  @pulumi.input_type
807
801
  class _DistributedPortGroupState:
808
802
  def __init__(__self__, *,
809
- active_uplinks: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
810
- allow_forged_transmits: Optional[pulumi.Input[bool]] = None,
811
- allow_mac_changes: Optional[pulumi.Input[bool]] = None,
812
- allow_promiscuous: Optional[pulumi.Input[bool]] = None,
813
- auto_expand: Optional[pulumi.Input[bool]] = None,
814
- block_all_ports: Optional[pulumi.Input[bool]] = None,
815
- block_override_allowed: Optional[pulumi.Input[bool]] = None,
816
- check_beacon: Optional[pulumi.Input[bool]] = None,
817
- config_version: Optional[pulumi.Input[str]] = None,
818
- custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
819
- description: Optional[pulumi.Input[str]] = None,
820
- directpath_gen2_allowed: Optional[pulumi.Input[bool]] = None,
821
- distributed_virtual_switch_uuid: Optional[pulumi.Input[str]] = None,
822
- egress_shaping_average_bandwidth: Optional[pulumi.Input[int]] = None,
823
- egress_shaping_burst_size: Optional[pulumi.Input[int]] = None,
824
- egress_shaping_enabled: Optional[pulumi.Input[bool]] = None,
825
- egress_shaping_peak_bandwidth: Optional[pulumi.Input[int]] = None,
826
- failback: Optional[pulumi.Input[bool]] = None,
827
- ingress_shaping_average_bandwidth: Optional[pulumi.Input[int]] = None,
828
- ingress_shaping_burst_size: Optional[pulumi.Input[int]] = None,
829
- ingress_shaping_enabled: Optional[pulumi.Input[bool]] = None,
830
- ingress_shaping_peak_bandwidth: Optional[pulumi.Input[int]] = None,
831
- key: Optional[pulumi.Input[str]] = None,
832
- lacp_enabled: Optional[pulumi.Input[bool]] = None,
833
- lacp_mode: Optional[pulumi.Input[str]] = None,
834
- live_port_moving_allowed: Optional[pulumi.Input[bool]] = None,
835
- name: Optional[pulumi.Input[str]] = None,
836
- netflow_enabled: Optional[pulumi.Input[bool]] = None,
837
- netflow_override_allowed: Optional[pulumi.Input[bool]] = None,
838
- network_resource_pool_key: Optional[pulumi.Input[str]] = None,
839
- network_resource_pool_override_allowed: Optional[pulumi.Input[bool]] = None,
840
- notify_switches: Optional[pulumi.Input[bool]] = None,
841
- number_of_ports: Optional[pulumi.Input[int]] = None,
842
- port_config_reset_at_disconnect: Optional[pulumi.Input[bool]] = None,
843
- port_name_format: Optional[pulumi.Input[str]] = None,
844
- port_private_secondary_vlan_id: Optional[pulumi.Input[int]] = None,
845
- security_policy_override_allowed: Optional[pulumi.Input[bool]] = None,
846
- shaping_override_allowed: Optional[pulumi.Input[bool]] = None,
847
- standby_uplinks: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
848
- tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
849
- teaming_policy: Optional[pulumi.Input[str]] = None,
850
- traffic_filter_override_allowed: Optional[pulumi.Input[bool]] = None,
851
- tx_uplink: Optional[pulumi.Input[bool]] = None,
852
- type: Optional[pulumi.Input[str]] = None,
853
- uplink_teaming_override_allowed: Optional[pulumi.Input[bool]] = None,
854
- vlan_id: Optional[pulumi.Input[int]] = None,
855
- vlan_override_allowed: Optional[pulumi.Input[bool]] = None,
803
+ active_uplinks: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
804
+ allow_forged_transmits: Optional[pulumi.Input[_builtins.bool]] = None,
805
+ allow_mac_changes: Optional[pulumi.Input[_builtins.bool]] = None,
806
+ allow_promiscuous: Optional[pulumi.Input[_builtins.bool]] = None,
807
+ auto_expand: Optional[pulumi.Input[_builtins.bool]] = None,
808
+ block_all_ports: Optional[pulumi.Input[_builtins.bool]] = None,
809
+ block_override_allowed: Optional[pulumi.Input[_builtins.bool]] = None,
810
+ check_beacon: Optional[pulumi.Input[_builtins.bool]] = None,
811
+ config_version: Optional[pulumi.Input[_builtins.str]] = None,
812
+ custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
813
+ description: Optional[pulumi.Input[_builtins.str]] = None,
814
+ directpath_gen2_allowed: Optional[pulumi.Input[_builtins.bool]] = None,
815
+ distributed_virtual_switch_uuid: Optional[pulumi.Input[_builtins.str]] = None,
816
+ egress_shaping_average_bandwidth: Optional[pulumi.Input[_builtins.int]] = None,
817
+ egress_shaping_burst_size: Optional[pulumi.Input[_builtins.int]] = None,
818
+ egress_shaping_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
819
+ egress_shaping_peak_bandwidth: Optional[pulumi.Input[_builtins.int]] = None,
820
+ failback: Optional[pulumi.Input[_builtins.bool]] = None,
821
+ ingress_shaping_average_bandwidth: Optional[pulumi.Input[_builtins.int]] = None,
822
+ ingress_shaping_burst_size: Optional[pulumi.Input[_builtins.int]] = None,
823
+ ingress_shaping_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
824
+ ingress_shaping_peak_bandwidth: Optional[pulumi.Input[_builtins.int]] = None,
825
+ key: Optional[pulumi.Input[_builtins.str]] = None,
826
+ lacp_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
827
+ lacp_mode: Optional[pulumi.Input[_builtins.str]] = None,
828
+ live_port_moving_allowed: Optional[pulumi.Input[_builtins.bool]] = None,
829
+ name: Optional[pulumi.Input[_builtins.str]] = None,
830
+ netflow_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
831
+ netflow_override_allowed: Optional[pulumi.Input[_builtins.bool]] = None,
832
+ network_resource_pool_key: Optional[pulumi.Input[_builtins.str]] = None,
833
+ network_resource_pool_override_allowed: Optional[pulumi.Input[_builtins.bool]] = None,
834
+ notify_switches: Optional[pulumi.Input[_builtins.bool]] = None,
835
+ number_of_ports: Optional[pulumi.Input[_builtins.int]] = None,
836
+ port_config_reset_at_disconnect: Optional[pulumi.Input[_builtins.bool]] = None,
837
+ port_name_format: Optional[pulumi.Input[_builtins.str]] = None,
838
+ port_private_secondary_vlan_id: Optional[pulumi.Input[_builtins.int]] = None,
839
+ security_policy_override_allowed: Optional[pulumi.Input[_builtins.bool]] = None,
840
+ shaping_override_allowed: Optional[pulumi.Input[_builtins.bool]] = None,
841
+ standby_uplinks: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
842
+ tags: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
843
+ teaming_policy: Optional[pulumi.Input[_builtins.str]] = None,
844
+ traffic_filter_override_allowed: Optional[pulumi.Input[_builtins.bool]] = None,
845
+ tx_uplink: Optional[pulumi.Input[_builtins.bool]] = None,
846
+ type: Optional[pulumi.Input[_builtins.str]] = None,
847
+ uplink_teaming_override_allowed: Optional[pulumi.Input[_builtins.bool]] = None,
848
+ vlan_id: Optional[pulumi.Input[_builtins.int]] = None,
849
+ vlan_override_allowed: Optional[pulumi.Input[_builtins.bool]] = None,
856
850
  vlan_ranges: Optional[pulumi.Input[Sequence[pulumi.Input['DistributedPortGroupVlanRangeArgs']]]] = None):
857
851
  """
858
852
  Input properties used for looking up and filtering DistributedPortGroup resources.
859
- :param pulumi.Input[Sequence[pulumi.Input[str]]] active_uplinks: List of active uplinks used for load balancing, matching the names of the uplinks assigned in the DVS.
860
- :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
861
- that of its own.
862
- :param pulumi.Input[bool] allow_mac_changes: Controls whether or not the Media Access Control (MAC) address can be changed.
863
- :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.
864
- :param pulumi.Input[bool] auto_expand: Allows the port group to create additional ports
853
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] active_uplinks: List of active uplinks used for load balancing, matching the names of the uplinks assigned in the DVS.
854
+ :param pulumi.Input[_builtins.bool] allow_forged_transmits: Controls whether or not the virtual network adapter is allowed to send network traffic with a different MAC address than that of its own.
855
+ :param pulumi.Input[_builtins.bool] allow_mac_changes: Controls whether or not the Media Access Control (MAC) address can be changed.
856
+ :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.
857
+ :param pulumi.Input[_builtins.bool] auto_expand: Allows the port group to create additional ports
865
858
  past the limit specified in `number_of_ports` if necessary. Default: `true`.
866
859
 
867
860
  > **NOTE:** Using `auto_expand` with a statically defined `number_of_ports`
868
861
  may lead to errors when the port count grows past the amount specified. If you
869
862
  specify `number_of_ports`, you may wish to set `auto_expand` to `false`.
870
- :param pulumi.Input[bool] block_all_ports: Indicates whether to block all ports by default.
871
- :param pulumi.Input[bool] block_override_allowed: Allow the blocked setting of an individual port to override the setting in the portgroup.
872
- :param pulumi.Input[bool] check_beacon: Enable beacon probing on the ports this policy applies to.
873
- :param pulumi.Input[str] config_version: The current version of the port group configuration,
863
+ :param pulumi.Input[_builtins.bool] block_all_ports: Indicates whether to block all ports by default.
864
+ :param pulumi.Input[_builtins.bool] block_override_allowed: Allow the blocked setting of an individual port to override the setting in the portgroup.
865
+ :param pulumi.Input[_builtins.bool] check_beacon: Enable beacon probing on the ports this policy applies to.
866
+ :param pulumi.Input[_builtins.str] config_version: The current version of the port group configuration,
874
867
  incremented by subsequent updates to the port group.
875
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] custom_attributes: Map of custom attribute ids to attribute
868
+ :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] custom_attributes: Map of custom attribute ids to attribute
876
869
  value string to set for port group.
877
870
 
878
871
  > **NOTE:** Custom attributes are not supported on direct ESXi host
879
872
  connections and require vCenter Server.
880
- :param pulumi.Input[str] description: An optional description for the port group.
881
- :param pulumi.Input[bool] directpath_gen2_allowed: Allow VMDirectPath Gen2 on the ports this policy applies to.
882
- :param pulumi.Input[str] distributed_virtual_switch_uuid: The ID of the VDS to add the
873
+ :param pulumi.Input[_builtins.str] description: An optional description for the port group.
874
+ :param pulumi.Input[_builtins.bool] directpath_gen2_allowed: Allow VMDirectPath Gen2 on the ports this policy applies to.
875
+ :param pulumi.Input[_builtins.str] distributed_virtual_switch_uuid: The ID of the VDS to add the
883
876
  port group to. Forces a new resource if changed.
884
- :param pulumi.Input[int] egress_shaping_average_bandwidth: The average egress bandwidth in bits per second if egress shaping is enabled on the port.
885
- :param pulumi.Input[int] egress_shaping_burst_size: The maximum egress burst size allowed in bytes if egress shaping is enabled on the port.
886
- :param pulumi.Input[bool] egress_shaping_enabled: True if the traffic shaper is enabled for egress traffic on the port.
887
- :param pulumi.Input[int] egress_shaping_peak_bandwidth: The peak egress bandwidth during bursts in bits per second if egress traffic shaping is enabled on the port.
888
- :param pulumi.Input[bool] failback: If true, the teaming policy will re-activate failed interfaces higher in precedence when they come back up.
889
- :param pulumi.Input[int] ingress_shaping_average_bandwidth: The average ingress bandwidth in bits per second if ingress shaping is enabled on the port.
890
- :param pulumi.Input[int] ingress_shaping_burst_size: The maximum ingress burst size allowed in bytes if ingress shaping is enabled on the port.
891
- :param pulumi.Input[bool] ingress_shaping_enabled: True if the traffic shaper is enabled for ingress traffic on the port.
892
- :param pulumi.Input[int] ingress_shaping_peak_bandwidth: The peak ingress bandwidth during bursts in bits per second if ingress traffic shaping is enabled on the port.
893
- :param pulumi.Input[str] key: The generated UUID of the port group.
894
- :param pulumi.Input[bool] lacp_enabled: Whether or not to enable LACP on all uplink ports.
895
- :param pulumi.Input[str] lacp_mode: The uplink LACP mode to use. Can be one of active or passive.
896
- :param pulumi.Input[bool] live_port_moving_allowed: Allow a live port to be moved in and out of the portgroup.
897
- :param pulumi.Input[str] name: The name of the port group.
898
- :param pulumi.Input[bool] netflow_enabled: Indicates whether to enable netflow on all ports.
899
- :param pulumi.Input[bool] netflow_override_allowed: Allow the enabling or disabling of Netflow on a port, contrary to the policy in the portgroup.
900
- :param pulumi.Input[str] network_resource_pool_key: The key of a network resource pool
877
+ :param pulumi.Input[_builtins.int] egress_shaping_average_bandwidth: The average egress bandwidth in bits per second if egress shaping is enabled on the port.
878
+ :param pulumi.Input[_builtins.int] egress_shaping_burst_size: The maximum egress burst size allowed in bytes if egress shaping is enabled on the port.
879
+ :param pulumi.Input[_builtins.bool] egress_shaping_enabled: True if the traffic shaper is enabled for egress traffic on the port.
880
+ :param pulumi.Input[_builtins.int] egress_shaping_peak_bandwidth: The peak egress bandwidth during bursts in bits per second if egress traffic shaping is enabled on the port.
881
+ :param pulumi.Input[_builtins.bool] failback: If true, the teaming policy will re-activate failed interfaces higher in precedence when they come back up.
882
+ :param pulumi.Input[_builtins.int] ingress_shaping_average_bandwidth: The average ingress bandwidth in bits per second if ingress shaping is enabled on the port.
883
+ :param pulumi.Input[_builtins.int] ingress_shaping_burst_size: The maximum ingress burst size allowed in bytes if ingress shaping is enabled on the port.
884
+ :param pulumi.Input[_builtins.bool] ingress_shaping_enabled: True if the traffic shaper is enabled for ingress traffic on the port.
885
+ :param pulumi.Input[_builtins.int] ingress_shaping_peak_bandwidth: The peak ingress bandwidth during bursts in bits per second if ingress traffic shaping is enabled on the port.
886
+ :param pulumi.Input[_builtins.str] key: The generated UUID of the port group.
887
+ :param pulumi.Input[_builtins.bool] lacp_enabled: Whether or not to enable LACP on all uplink ports.
888
+ :param pulumi.Input[_builtins.str] lacp_mode: The uplink LACP mode to use. Can be one of active or passive.
889
+ :param pulumi.Input[_builtins.bool] live_port_moving_allowed: Allow a live port to be moved in and out of the portgroup.
890
+ :param pulumi.Input[_builtins.str] name: The name of the port group.
891
+ :param pulumi.Input[_builtins.bool] netflow_enabled: Indicates whether to enable netflow on all ports.
892
+ :param pulumi.Input[_builtins.bool] netflow_override_allowed: Allow the enabling or disabling of Netflow on a port, contrary to the policy in the portgroup.
893
+ :param pulumi.Input[_builtins.str] network_resource_pool_key: The key of a network resource pool
901
894
  to associate with this port group. The default is `-1`, which implies no
902
895
  association.
903
- :param pulumi.Input[bool] network_resource_pool_override_allowed: Allow the network resource pool of an individual port to override the setting in the portgroup.
904
- :param pulumi.Input[bool] notify_switches: If true, the teaming policy will notify the broadcast network of a NIC failover, triggering cache updates.
905
- :param pulumi.Input[int] number_of_ports: The number of ports available on this port
896
+ :param pulumi.Input[_builtins.bool] network_resource_pool_override_allowed: Allow the network resource pool of an individual port to override the setting in the portgroup.
897
+ :param pulumi.Input[_builtins.bool] notify_switches: If true, the teaming policy will notify the broadcast network of a NIC failover, triggering cache updates.
898
+ :param pulumi.Input[_builtins.int] number_of_ports: The number of ports available on this port
906
899
  group. Cannot be decreased below the amount of used ports on the port group.
907
- :param pulumi.Input[bool] port_config_reset_at_disconnect: Reset the setting of any ports in this portgroup back to the default setting when the port disconnects.
908
- :param pulumi.Input[str] port_name_format: An optional formatting policy for naming of
900
+ :param pulumi.Input[_builtins.bool] port_config_reset_at_disconnect: Reset the setting of any ports in this portgroup back to the default setting when the port disconnects.
901
+ :param pulumi.Input[_builtins.str] port_name_format: An optional formatting policy for naming of
909
902
  the ports in this port group. See the `portNameFormat` attribute listed
910
903
  [here][ext-vsphere-portname-format] for details on the format syntax.
911
904
 
912
905
  [ext-vsphere-portname-format]: https://developer.broadcom.com/xapis/virtual-infrastructure-json-api/latest/data-structures/DVPortgroupConfigInfo/
913
- :param pulumi.Input[int] port_private_secondary_vlan_id: The secondary VLAN ID for this port.
914
- :param pulumi.Input[bool] security_policy_override_allowed: Allow security policy settings on a port to override those on the portgroup.
915
- :param pulumi.Input[bool] shaping_override_allowed: Allow the traffic shaping policies of an individual port to override the settings in the portgroup.
916
- :param pulumi.Input[Sequence[pulumi.Input[str]]] standby_uplinks: List of standby uplinks used for load balancing, matching the names of the uplinks assigned in the DVS.
917
- :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: A list of tag IDs to apply to this object.
918
- :param pulumi.Input[str] teaming_policy: The network adapter teaming policy. Can be one of loadbalance_ip, loadbalance_srcmac, loadbalance_srcid,
919
- failover_explicit, or loadbalance_loadbased.
920
- :param pulumi.Input[bool] traffic_filter_override_allowed: Allow any filter policies set on the individual port to override those in the portgroup.
921
- :param pulumi.Input[bool] tx_uplink: If true, a copy of packets sent to the switch will always be forwarded to an uplink in addition to the regular packet
922
- forwarded done by the switch.
923
- :param pulumi.Input[str] type: The port group type. Can be one of `earlyBinding` (static
906
+ :param pulumi.Input[_builtins.int] port_private_secondary_vlan_id: The secondary VLAN ID for this port.
907
+ :param pulumi.Input[_builtins.bool] security_policy_override_allowed: Allow security policy settings on a port to override those on the portgroup.
908
+ :param pulumi.Input[_builtins.bool] shaping_override_allowed: Allow the traffic shaping policies of an individual port to override the settings in the portgroup.
909
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] standby_uplinks: List of standby uplinks used for load balancing, matching the names of the uplinks assigned in the DVS.
910
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] tags: A list of tag IDs to apply to this object.
911
+ :param pulumi.Input[_builtins.str] teaming_policy: The network adapter teaming policy. Can be one of loadbalance_ip, loadbalance_srcmac, loadbalance_srcid, failover_explicit, or loadbalance_loadbased.
912
+ :param pulumi.Input[_builtins.bool] traffic_filter_override_allowed: Allow any filter policies set on the individual port to override those in the portgroup.
913
+ :param pulumi.Input[_builtins.bool] tx_uplink: If true, a copy of packets sent to the switch will always be forwarded to an uplink in addition to the regular packet forwarded done by the switch.
914
+ :param pulumi.Input[_builtins.str] type: The port group type. Can be one of `earlyBinding` (static
924
915
  binding) or `ephemeral`. Default: `earlyBinding`.
925
- :param pulumi.Input[bool] uplink_teaming_override_allowed: Allow the uplink teaming policies on a port to override those on the portgroup.
926
- :param pulumi.Input[int] vlan_id: The VLAN ID for single VLAN mode. 0 denotes no VLAN.
927
- :param pulumi.Input[bool] vlan_override_allowed: Allow the VLAN configuration on a port to override those on the portgroup.
916
+ :param pulumi.Input[_builtins.bool] uplink_teaming_override_allowed: Allow the uplink teaming policies on a port to override those on the portgroup.
917
+ :param pulumi.Input[_builtins.int] vlan_id: The VLAN ID for single VLAN mode. 0 denotes no VLAN.
918
+ :param pulumi.Input[_builtins.bool] vlan_override_allowed: Allow the VLAN configuration on a port to override those on the portgroup.
928
919
  :param pulumi.Input[Sequence[pulumi.Input['DistributedPortGroupVlanRangeArgs']]] vlan_ranges: The VLAN ID for single VLAN mode. 0 denotes no VLAN.
929
920
  """
930
921
  if active_uplinks is not None:
@@ -1024,58 +1015,57 @@ class _DistributedPortGroupState:
1024
1015
  if vlan_ranges is not None:
1025
1016
  pulumi.set(__self__, "vlan_ranges", vlan_ranges)
1026
1017
 
1027
- @property
1018
+ @_builtins.property
1028
1019
  @pulumi.getter(name="activeUplinks")
1029
- def active_uplinks(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
1020
+ def active_uplinks(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
1030
1021
  """
1031
1022
  List of active uplinks used for load balancing, matching the names of the uplinks assigned in the DVS.
1032
1023
  """
1033
1024
  return pulumi.get(self, "active_uplinks")
1034
1025
 
1035
1026
  @active_uplinks.setter
1036
- def active_uplinks(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
1027
+ def active_uplinks(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
1037
1028
  pulumi.set(self, "active_uplinks", value)
1038
1029
 
1039
- @property
1030
+ @_builtins.property
1040
1031
  @pulumi.getter(name="allowForgedTransmits")
1041
- def allow_forged_transmits(self) -> Optional[pulumi.Input[bool]]:
1032
+ def allow_forged_transmits(self) -> Optional[pulumi.Input[_builtins.bool]]:
1042
1033
  """
1043
- Controls whether or not the virtual network adapter is allowed to send network traffic with a different MAC address than
1044
- that of its own.
1034
+ Controls whether or not the virtual network adapter is allowed to send network traffic with a different MAC address than that of its own.
1045
1035
  """
1046
1036
  return pulumi.get(self, "allow_forged_transmits")
1047
1037
 
1048
1038
  @allow_forged_transmits.setter
1049
- def allow_forged_transmits(self, value: Optional[pulumi.Input[bool]]):
1039
+ def allow_forged_transmits(self, value: Optional[pulumi.Input[_builtins.bool]]):
1050
1040
  pulumi.set(self, "allow_forged_transmits", value)
1051
1041
 
1052
- @property
1042
+ @_builtins.property
1053
1043
  @pulumi.getter(name="allowMacChanges")
1054
- def allow_mac_changes(self) -> Optional[pulumi.Input[bool]]:
1044
+ def allow_mac_changes(self) -> Optional[pulumi.Input[_builtins.bool]]:
1055
1045
  """
1056
1046
  Controls whether or not the Media Access Control (MAC) address can be changed.
1057
1047
  """
1058
1048
  return pulumi.get(self, "allow_mac_changes")
1059
1049
 
1060
1050
  @allow_mac_changes.setter
1061
- def allow_mac_changes(self, value: Optional[pulumi.Input[bool]]):
1051
+ def allow_mac_changes(self, value: Optional[pulumi.Input[_builtins.bool]]):
1062
1052
  pulumi.set(self, "allow_mac_changes", value)
1063
1053
 
1064
- @property
1054
+ @_builtins.property
1065
1055
  @pulumi.getter(name="allowPromiscuous")
1066
- def allow_promiscuous(self) -> Optional[pulumi.Input[bool]]:
1056
+ def allow_promiscuous(self) -> Optional[pulumi.Input[_builtins.bool]]:
1067
1057
  """
1068
1058
  Enable promiscuous mode on the network. This flag indicates whether or not all traffic is seen on a given port.
1069
1059
  """
1070
1060
  return pulumi.get(self, "allow_promiscuous")
1071
1061
 
1072
1062
  @allow_promiscuous.setter
1073
- def allow_promiscuous(self, value: Optional[pulumi.Input[bool]]):
1063
+ def allow_promiscuous(self, value: Optional[pulumi.Input[_builtins.bool]]):
1074
1064
  pulumi.set(self, "allow_promiscuous", value)
1075
1065
 
1076
- @property
1066
+ @_builtins.property
1077
1067
  @pulumi.getter(name="autoExpand")
1078
- def auto_expand(self) -> Optional[pulumi.Input[bool]]:
1068
+ def auto_expand(self) -> Optional[pulumi.Input[_builtins.bool]]:
1079
1069
  """
1080
1070
  Allows the port group to create additional ports
1081
1071
  past the limit specified in `number_of_ports` if necessary. Default: `true`.
@@ -1087,48 +1077,48 @@ class _DistributedPortGroupState:
1087
1077
  return pulumi.get(self, "auto_expand")
1088
1078
 
1089
1079
  @auto_expand.setter
1090
- def auto_expand(self, value: Optional[pulumi.Input[bool]]):
1080
+ def auto_expand(self, value: Optional[pulumi.Input[_builtins.bool]]):
1091
1081
  pulumi.set(self, "auto_expand", value)
1092
1082
 
1093
- @property
1083
+ @_builtins.property
1094
1084
  @pulumi.getter(name="blockAllPorts")
1095
- def block_all_ports(self) -> Optional[pulumi.Input[bool]]:
1085
+ def block_all_ports(self) -> Optional[pulumi.Input[_builtins.bool]]:
1096
1086
  """
1097
1087
  Indicates whether to block all ports by default.
1098
1088
  """
1099
1089
  return pulumi.get(self, "block_all_ports")
1100
1090
 
1101
1091
  @block_all_ports.setter
1102
- def block_all_ports(self, value: Optional[pulumi.Input[bool]]):
1092
+ def block_all_ports(self, value: Optional[pulumi.Input[_builtins.bool]]):
1103
1093
  pulumi.set(self, "block_all_ports", value)
1104
1094
 
1105
- @property
1095
+ @_builtins.property
1106
1096
  @pulumi.getter(name="blockOverrideAllowed")
1107
- def block_override_allowed(self) -> Optional[pulumi.Input[bool]]:
1097
+ def block_override_allowed(self) -> Optional[pulumi.Input[_builtins.bool]]:
1108
1098
  """
1109
1099
  Allow the blocked setting of an individual port to override the setting in the portgroup.
1110
1100
  """
1111
1101
  return pulumi.get(self, "block_override_allowed")
1112
1102
 
1113
1103
  @block_override_allowed.setter
1114
- def block_override_allowed(self, value: Optional[pulumi.Input[bool]]):
1104
+ def block_override_allowed(self, value: Optional[pulumi.Input[_builtins.bool]]):
1115
1105
  pulumi.set(self, "block_override_allowed", value)
1116
1106
 
1117
- @property
1107
+ @_builtins.property
1118
1108
  @pulumi.getter(name="checkBeacon")
1119
- def check_beacon(self) -> Optional[pulumi.Input[bool]]:
1109
+ def check_beacon(self) -> Optional[pulumi.Input[_builtins.bool]]:
1120
1110
  """
1121
1111
  Enable beacon probing on the ports this policy applies to.
1122
1112
  """
1123
1113
  return pulumi.get(self, "check_beacon")
1124
1114
 
1125
1115
  @check_beacon.setter
1126
- def check_beacon(self, value: Optional[pulumi.Input[bool]]):
1116
+ def check_beacon(self, value: Optional[pulumi.Input[_builtins.bool]]):
1127
1117
  pulumi.set(self, "check_beacon", value)
1128
1118
 
1129
- @property
1119
+ @_builtins.property
1130
1120
  @pulumi.getter(name="configVersion")
1131
- def config_version(self) -> Optional[pulumi.Input[str]]:
1121
+ def config_version(self) -> Optional[pulumi.Input[_builtins.str]]:
1132
1122
  """
1133
1123
  The current version of the port group configuration,
1134
1124
  incremented by subsequent updates to the port group.
@@ -1136,12 +1126,12 @@ class _DistributedPortGroupState:
1136
1126
  return pulumi.get(self, "config_version")
1137
1127
 
1138
1128
  @config_version.setter
1139
- def config_version(self, value: Optional[pulumi.Input[str]]):
1129
+ def config_version(self, value: Optional[pulumi.Input[_builtins.str]]):
1140
1130
  pulumi.set(self, "config_version", value)
1141
1131
 
1142
- @property
1132
+ @_builtins.property
1143
1133
  @pulumi.getter(name="customAttributes")
1144
- def custom_attributes(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
1134
+ def custom_attributes(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
1145
1135
  """
1146
1136
  Map of custom attribute ids to attribute
1147
1137
  value string to set for port group.
@@ -1152,36 +1142,36 @@ class _DistributedPortGroupState:
1152
1142
  return pulumi.get(self, "custom_attributes")
1153
1143
 
1154
1144
  @custom_attributes.setter
1155
- def custom_attributes(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
1145
+ def custom_attributes(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
1156
1146
  pulumi.set(self, "custom_attributes", value)
1157
1147
 
1158
- @property
1148
+ @_builtins.property
1159
1149
  @pulumi.getter
1160
- def description(self) -> Optional[pulumi.Input[str]]:
1150
+ def description(self) -> Optional[pulumi.Input[_builtins.str]]:
1161
1151
  """
1162
1152
  An optional description for the port group.
1163
1153
  """
1164
1154
  return pulumi.get(self, "description")
1165
1155
 
1166
1156
  @description.setter
1167
- def description(self, value: Optional[pulumi.Input[str]]):
1157
+ def description(self, value: Optional[pulumi.Input[_builtins.str]]):
1168
1158
  pulumi.set(self, "description", value)
1169
1159
 
1170
- @property
1160
+ @_builtins.property
1171
1161
  @pulumi.getter(name="directpathGen2Allowed")
1172
- def directpath_gen2_allowed(self) -> Optional[pulumi.Input[bool]]:
1162
+ def directpath_gen2_allowed(self) -> Optional[pulumi.Input[_builtins.bool]]:
1173
1163
  """
1174
1164
  Allow VMDirectPath Gen2 on the ports this policy applies to.
1175
1165
  """
1176
1166
  return pulumi.get(self, "directpath_gen2_allowed")
1177
1167
 
1178
1168
  @directpath_gen2_allowed.setter
1179
- def directpath_gen2_allowed(self, value: Optional[pulumi.Input[bool]]):
1169
+ def directpath_gen2_allowed(self, value: Optional[pulumi.Input[_builtins.bool]]):
1180
1170
  pulumi.set(self, "directpath_gen2_allowed", value)
1181
1171
 
1182
- @property
1172
+ @_builtins.property
1183
1173
  @pulumi.getter(name="distributedVirtualSwitchUuid")
1184
- def distributed_virtual_switch_uuid(self) -> Optional[pulumi.Input[str]]:
1174
+ def distributed_virtual_switch_uuid(self) -> Optional[pulumi.Input[_builtins.str]]:
1185
1175
  """
1186
1176
  The ID of the VDS to add the
1187
1177
  port group to. Forces a new resource if changed.
@@ -1189,204 +1179,204 @@ class _DistributedPortGroupState:
1189
1179
  return pulumi.get(self, "distributed_virtual_switch_uuid")
1190
1180
 
1191
1181
  @distributed_virtual_switch_uuid.setter
1192
- def distributed_virtual_switch_uuid(self, value: Optional[pulumi.Input[str]]):
1182
+ def distributed_virtual_switch_uuid(self, value: Optional[pulumi.Input[_builtins.str]]):
1193
1183
  pulumi.set(self, "distributed_virtual_switch_uuid", value)
1194
1184
 
1195
- @property
1185
+ @_builtins.property
1196
1186
  @pulumi.getter(name="egressShapingAverageBandwidth")
1197
- def egress_shaping_average_bandwidth(self) -> Optional[pulumi.Input[int]]:
1187
+ def egress_shaping_average_bandwidth(self) -> Optional[pulumi.Input[_builtins.int]]:
1198
1188
  """
1199
1189
  The average egress bandwidth in bits per second if egress shaping is enabled on the port.
1200
1190
  """
1201
1191
  return pulumi.get(self, "egress_shaping_average_bandwidth")
1202
1192
 
1203
1193
  @egress_shaping_average_bandwidth.setter
1204
- def egress_shaping_average_bandwidth(self, value: Optional[pulumi.Input[int]]):
1194
+ def egress_shaping_average_bandwidth(self, value: Optional[pulumi.Input[_builtins.int]]):
1205
1195
  pulumi.set(self, "egress_shaping_average_bandwidth", value)
1206
1196
 
1207
- @property
1197
+ @_builtins.property
1208
1198
  @pulumi.getter(name="egressShapingBurstSize")
1209
- def egress_shaping_burst_size(self) -> Optional[pulumi.Input[int]]:
1199
+ def egress_shaping_burst_size(self) -> Optional[pulumi.Input[_builtins.int]]:
1210
1200
  """
1211
1201
  The maximum egress burst size allowed in bytes if egress shaping is enabled on the port.
1212
1202
  """
1213
1203
  return pulumi.get(self, "egress_shaping_burst_size")
1214
1204
 
1215
1205
  @egress_shaping_burst_size.setter
1216
- def egress_shaping_burst_size(self, value: Optional[pulumi.Input[int]]):
1206
+ def egress_shaping_burst_size(self, value: Optional[pulumi.Input[_builtins.int]]):
1217
1207
  pulumi.set(self, "egress_shaping_burst_size", value)
1218
1208
 
1219
- @property
1209
+ @_builtins.property
1220
1210
  @pulumi.getter(name="egressShapingEnabled")
1221
- def egress_shaping_enabled(self) -> Optional[pulumi.Input[bool]]:
1211
+ def egress_shaping_enabled(self) -> Optional[pulumi.Input[_builtins.bool]]:
1222
1212
  """
1223
1213
  True if the traffic shaper is enabled for egress traffic on the port.
1224
1214
  """
1225
1215
  return pulumi.get(self, "egress_shaping_enabled")
1226
1216
 
1227
1217
  @egress_shaping_enabled.setter
1228
- def egress_shaping_enabled(self, value: Optional[pulumi.Input[bool]]):
1218
+ def egress_shaping_enabled(self, value: Optional[pulumi.Input[_builtins.bool]]):
1229
1219
  pulumi.set(self, "egress_shaping_enabled", value)
1230
1220
 
1231
- @property
1221
+ @_builtins.property
1232
1222
  @pulumi.getter(name="egressShapingPeakBandwidth")
1233
- def egress_shaping_peak_bandwidth(self) -> Optional[pulumi.Input[int]]:
1223
+ def egress_shaping_peak_bandwidth(self) -> Optional[pulumi.Input[_builtins.int]]:
1234
1224
  """
1235
1225
  The peak egress bandwidth during bursts in bits per second if egress traffic shaping is enabled on the port.
1236
1226
  """
1237
1227
  return pulumi.get(self, "egress_shaping_peak_bandwidth")
1238
1228
 
1239
1229
  @egress_shaping_peak_bandwidth.setter
1240
- def egress_shaping_peak_bandwidth(self, value: Optional[pulumi.Input[int]]):
1230
+ def egress_shaping_peak_bandwidth(self, value: Optional[pulumi.Input[_builtins.int]]):
1241
1231
  pulumi.set(self, "egress_shaping_peak_bandwidth", value)
1242
1232
 
1243
- @property
1233
+ @_builtins.property
1244
1234
  @pulumi.getter
1245
- def failback(self) -> Optional[pulumi.Input[bool]]:
1235
+ def failback(self) -> Optional[pulumi.Input[_builtins.bool]]:
1246
1236
  """
1247
1237
  If true, the teaming policy will re-activate failed interfaces higher in precedence when they come back up.
1248
1238
  """
1249
1239
  return pulumi.get(self, "failback")
1250
1240
 
1251
1241
  @failback.setter
1252
- def failback(self, value: Optional[pulumi.Input[bool]]):
1242
+ def failback(self, value: Optional[pulumi.Input[_builtins.bool]]):
1253
1243
  pulumi.set(self, "failback", value)
1254
1244
 
1255
- @property
1245
+ @_builtins.property
1256
1246
  @pulumi.getter(name="ingressShapingAverageBandwidth")
1257
- def ingress_shaping_average_bandwidth(self) -> Optional[pulumi.Input[int]]:
1247
+ def ingress_shaping_average_bandwidth(self) -> Optional[pulumi.Input[_builtins.int]]:
1258
1248
  """
1259
1249
  The average ingress bandwidth in bits per second if ingress shaping is enabled on the port.
1260
1250
  """
1261
1251
  return pulumi.get(self, "ingress_shaping_average_bandwidth")
1262
1252
 
1263
1253
  @ingress_shaping_average_bandwidth.setter
1264
- def ingress_shaping_average_bandwidth(self, value: Optional[pulumi.Input[int]]):
1254
+ def ingress_shaping_average_bandwidth(self, value: Optional[pulumi.Input[_builtins.int]]):
1265
1255
  pulumi.set(self, "ingress_shaping_average_bandwidth", value)
1266
1256
 
1267
- @property
1257
+ @_builtins.property
1268
1258
  @pulumi.getter(name="ingressShapingBurstSize")
1269
- def ingress_shaping_burst_size(self) -> Optional[pulumi.Input[int]]:
1259
+ def ingress_shaping_burst_size(self) -> Optional[pulumi.Input[_builtins.int]]:
1270
1260
  """
1271
1261
  The maximum ingress burst size allowed in bytes if ingress shaping is enabled on the port.
1272
1262
  """
1273
1263
  return pulumi.get(self, "ingress_shaping_burst_size")
1274
1264
 
1275
1265
  @ingress_shaping_burst_size.setter
1276
- def ingress_shaping_burst_size(self, value: Optional[pulumi.Input[int]]):
1266
+ def ingress_shaping_burst_size(self, value: Optional[pulumi.Input[_builtins.int]]):
1277
1267
  pulumi.set(self, "ingress_shaping_burst_size", value)
1278
1268
 
1279
- @property
1269
+ @_builtins.property
1280
1270
  @pulumi.getter(name="ingressShapingEnabled")
1281
- def ingress_shaping_enabled(self) -> Optional[pulumi.Input[bool]]:
1271
+ def ingress_shaping_enabled(self) -> Optional[pulumi.Input[_builtins.bool]]:
1282
1272
  """
1283
1273
  True if the traffic shaper is enabled for ingress traffic on the port.
1284
1274
  """
1285
1275
  return pulumi.get(self, "ingress_shaping_enabled")
1286
1276
 
1287
1277
  @ingress_shaping_enabled.setter
1288
- def ingress_shaping_enabled(self, value: Optional[pulumi.Input[bool]]):
1278
+ def ingress_shaping_enabled(self, value: Optional[pulumi.Input[_builtins.bool]]):
1289
1279
  pulumi.set(self, "ingress_shaping_enabled", value)
1290
1280
 
1291
- @property
1281
+ @_builtins.property
1292
1282
  @pulumi.getter(name="ingressShapingPeakBandwidth")
1293
- def ingress_shaping_peak_bandwidth(self) -> Optional[pulumi.Input[int]]:
1283
+ def ingress_shaping_peak_bandwidth(self) -> Optional[pulumi.Input[_builtins.int]]:
1294
1284
  """
1295
1285
  The peak ingress bandwidth during bursts in bits per second if ingress traffic shaping is enabled on the port.
1296
1286
  """
1297
1287
  return pulumi.get(self, "ingress_shaping_peak_bandwidth")
1298
1288
 
1299
1289
  @ingress_shaping_peak_bandwidth.setter
1300
- def ingress_shaping_peak_bandwidth(self, value: Optional[pulumi.Input[int]]):
1290
+ def ingress_shaping_peak_bandwidth(self, value: Optional[pulumi.Input[_builtins.int]]):
1301
1291
  pulumi.set(self, "ingress_shaping_peak_bandwidth", value)
1302
1292
 
1303
- @property
1293
+ @_builtins.property
1304
1294
  @pulumi.getter
1305
- def key(self) -> Optional[pulumi.Input[str]]:
1295
+ def key(self) -> Optional[pulumi.Input[_builtins.str]]:
1306
1296
  """
1307
1297
  The generated UUID of the port group.
1308
1298
  """
1309
1299
  return pulumi.get(self, "key")
1310
1300
 
1311
1301
  @key.setter
1312
- def key(self, value: Optional[pulumi.Input[str]]):
1302
+ def key(self, value: Optional[pulumi.Input[_builtins.str]]):
1313
1303
  pulumi.set(self, "key", value)
1314
1304
 
1315
- @property
1305
+ @_builtins.property
1316
1306
  @pulumi.getter(name="lacpEnabled")
1317
- def lacp_enabled(self) -> Optional[pulumi.Input[bool]]:
1307
+ def lacp_enabled(self) -> Optional[pulumi.Input[_builtins.bool]]:
1318
1308
  """
1319
1309
  Whether or not to enable LACP on all uplink ports.
1320
1310
  """
1321
1311
  return pulumi.get(self, "lacp_enabled")
1322
1312
 
1323
1313
  @lacp_enabled.setter
1324
- def lacp_enabled(self, value: Optional[pulumi.Input[bool]]):
1314
+ def lacp_enabled(self, value: Optional[pulumi.Input[_builtins.bool]]):
1325
1315
  pulumi.set(self, "lacp_enabled", value)
1326
1316
 
1327
- @property
1317
+ @_builtins.property
1328
1318
  @pulumi.getter(name="lacpMode")
1329
- def lacp_mode(self) -> Optional[pulumi.Input[str]]:
1319
+ def lacp_mode(self) -> Optional[pulumi.Input[_builtins.str]]:
1330
1320
  """
1331
1321
  The uplink LACP mode to use. Can be one of active or passive.
1332
1322
  """
1333
1323
  return pulumi.get(self, "lacp_mode")
1334
1324
 
1335
1325
  @lacp_mode.setter
1336
- def lacp_mode(self, value: Optional[pulumi.Input[str]]):
1326
+ def lacp_mode(self, value: Optional[pulumi.Input[_builtins.str]]):
1337
1327
  pulumi.set(self, "lacp_mode", value)
1338
1328
 
1339
- @property
1329
+ @_builtins.property
1340
1330
  @pulumi.getter(name="livePortMovingAllowed")
1341
- def live_port_moving_allowed(self) -> Optional[pulumi.Input[bool]]:
1331
+ def live_port_moving_allowed(self) -> Optional[pulumi.Input[_builtins.bool]]:
1342
1332
  """
1343
1333
  Allow a live port to be moved in and out of the portgroup.
1344
1334
  """
1345
1335
  return pulumi.get(self, "live_port_moving_allowed")
1346
1336
 
1347
1337
  @live_port_moving_allowed.setter
1348
- def live_port_moving_allowed(self, value: Optional[pulumi.Input[bool]]):
1338
+ def live_port_moving_allowed(self, value: Optional[pulumi.Input[_builtins.bool]]):
1349
1339
  pulumi.set(self, "live_port_moving_allowed", value)
1350
1340
 
1351
- @property
1341
+ @_builtins.property
1352
1342
  @pulumi.getter
1353
- def name(self) -> Optional[pulumi.Input[str]]:
1343
+ def name(self) -> Optional[pulumi.Input[_builtins.str]]:
1354
1344
  """
1355
1345
  The name of the port group.
1356
1346
  """
1357
1347
  return pulumi.get(self, "name")
1358
1348
 
1359
1349
  @name.setter
1360
- def name(self, value: Optional[pulumi.Input[str]]):
1350
+ def name(self, value: Optional[pulumi.Input[_builtins.str]]):
1361
1351
  pulumi.set(self, "name", value)
1362
1352
 
1363
- @property
1353
+ @_builtins.property
1364
1354
  @pulumi.getter(name="netflowEnabled")
1365
- def netflow_enabled(self) -> Optional[pulumi.Input[bool]]:
1355
+ def netflow_enabled(self) -> Optional[pulumi.Input[_builtins.bool]]:
1366
1356
  """
1367
1357
  Indicates whether to enable netflow on all ports.
1368
1358
  """
1369
1359
  return pulumi.get(self, "netflow_enabled")
1370
1360
 
1371
1361
  @netflow_enabled.setter
1372
- def netflow_enabled(self, value: Optional[pulumi.Input[bool]]):
1362
+ def netflow_enabled(self, value: Optional[pulumi.Input[_builtins.bool]]):
1373
1363
  pulumi.set(self, "netflow_enabled", value)
1374
1364
 
1375
- @property
1365
+ @_builtins.property
1376
1366
  @pulumi.getter(name="netflowOverrideAllowed")
1377
- def netflow_override_allowed(self) -> Optional[pulumi.Input[bool]]:
1367
+ def netflow_override_allowed(self) -> Optional[pulumi.Input[_builtins.bool]]:
1378
1368
  """
1379
1369
  Allow the enabling or disabling of Netflow on a port, contrary to the policy in the portgroup.
1380
1370
  """
1381
1371
  return pulumi.get(self, "netflow_override_allowed")
1382
1372
 
1383
1373
  @netflow_override_allowed.setter
1384
- def netflow_override_allowed(self, value: Optional[pulumi.Input[bool]]):
1374
+ def netflow_override_allowed(self, value: Optional[pulumi.Input[_builtins.bool]]):
1385
1375
  pulumi.set(self, "netflow_override_allowed", value)
1386
1376
 
1387
- @property
1377
+ @_builtins.property
1388
1378
  @pulumi.getter(name="networkResourcePoolKey")
1389
- def network_resource_pool_key(self) -> Optional[pulumi.Input[str]]:
1379
+ def network_resource_pool_key(self) -> Optional[pulumi.Input[_builtins.str]]:
1390
1380
  """
1391
1381
  The key of a network resource pool
1392
1382
  to associate with this port group. The default is `-1`, which implies no
@@ -1395,36 +1385,36 @@ class _DistributedPortGroupState:
1395
1385
  return pulumi.get(self, "network_resource_pool_key")
1396
1386
 
1397
1387
  @network_resource_pool_key.setter
1398
- def network_resource_pool_key(self, value: Optional[pulumi.Input[str]]):
1388
+ def network_resource_pool_key(self, value: Optional[pulumi.Input[_builtins.str]]):
1399
1389
  pulumi.set(self, "network_resource_pool_key", value)
1400
1390
 
1401
- @property
1391
+ @_builtins.property
1402
1392
  @pulumi.getter(name="networkResourcePoolOverrideAllowed")
1403
- def network_resource_pool_override_allowed(self) -> Optional[pulumi.Input[bool]]:
1393
+ def network_resource_pool_override_allowed(self) -> Optional[pulumi.Input[_builtins.bool]]:
1404
1394
  """
1405
1395
  Allow the network resource pool of an individual port to override the setting in the portgroup.
1406
1396
  """
1407
1397
  return pulumi.get(self, "network_resource_pool_override_allowed")
1408
1398
 
1409
1399
  @network_resource_pool_override_allowed.setter
1410
- def network_resource_pool_override_allowed(self, value: Optional[pulumi.Input[bool]]):
1400
+ def network_resource_pool_override_allowed(self, value: Optional[pulumi.Input[_builtins.bool]]):
1411
1401
  pulumi.set(self, "network_resource_pool_override_allowed", value)
1412
1402
 
1413
- @property
1403
+ @_builtins.property
1414
1404
  @pulumi.getter(name="notifySwitches")
1415
- def notify_switches(self) -> Optional[pulumi.Input[bool]]:
1405
+ def notify_switches(self) -> Optional[pulumi.Input[_builtins.bool]]:
1416
1406
  """
1417
1407
  If true, the teaming policy will notify the broadcast network of a NIC failover, triggering cache updates.
1418
1408
  """
1419
1409
  return pulumi.get(self, "notify_switches")
1420
1410
 
1421
1411
  @notify_switches.setter
1422
- def notify_switches(self, value: Optional[pulumi.Input[bool]]):
1412
+ def notify_switches(self, value: Optional[pulumi.Input[_builtins.bool]]):
1423
1413
  pulumi.set(self, "notify_switches", value)
1424
1414
 
1425
- @property
1415
+ @_builtins.property
1426
1416
  @pulumi.getter(name="numberOfPorts")
1427
- def number_of_ports(self) -> Optional[pulumi.Input[int]]:
1417
+ def number_of_ports(self) -> Optional[pulumi.Input[_builtins.int]]:
1428
1418
  """
1429
1419
  The number of ports available on this port
1430
1420
  group. Cannot be decreased below the amount of used ports on the port group.
@@ -1432,24 +1422,24 @@ class _DistributedPortGroupState:
1432
1422
  return pulumi.get(self, "number_of_ports")
1433
1423
 
1434
1424
  @number_of_ports.setter
1435
- def number_of_ports(self, value: Optional[pulumi.Input[int]]):
1425
+ def number_of_ports(self, value: Optional[pulumi.Input[_builtins.int]]):
1436
1426
  pulumi.set(self, "number_of_ports", value)
1437
1427
 
1438
- @property
1428
+ @_builtins.property
1439
1429
  @pulumi.getter(name="portConfigResetAtDisconnect")
1440
- def port_config_reset_at_disconnect(self) -> Optional[pulumi.Input[bool]]:
1430
+ def port_config_reset_at_disconnect(self) -> Optional[pulumi.Input[_builtins.bool]]:
1441
1431
  """
1442
1432
  Reset the setting of any ports in this portgroup back to the default setting when the port disconnects.
1443
1433
  """
1444
1434
  return pulumi.get(self, "port_config_reset_at_disconnect")
1445
1435
 
1446
1436
  @port_config_reset_at_disconnect.setter
1447
- def port_config_reset_at_disconnect(self, value: Optional[pulumi.Input[bool]]):
1437
+ def port_config_reset_at_disconnect(self, value: Optional[pulumi.Input[_builtins.bool]]):
1448
1438
  pulumi.set(self, "port_config_reset_at_disconnect", value)
1449
1439
 
1450
- @property
1440
+ @_builtins.property
1451
1441
  @pulumi.getter(name="portNameFormat")
1452
- def port_name_format(self) -> Optional[pulumi.Input[str]]:
1442
+ def port_name_format(self) -> Optional[pulumi.Input[_builtins.str]]:
1453
1443
  """
1454
1444
  An optional formatting policy for naming of
1455
1445
  the ports in this port group. See the `portNameFormat` attribute listed
@@ -1460,110 +1450,108 @@ class _DistributedPortGroupState:
1460
1450
  return pulumi.get(self, "port_name_format")
1461
1451
 
1462
1452
  @port_name_format.setter
1463
- def port_name_format(self, value: Optional[pulumi.Input[str]]):
1453
+ def port_name_format(self, value: Optional[pulumi.Input[_builtins.str]]):
1464
1454
  pulumi.set(self, "port_name_format", value)
1465
1455
 
1466
- @property
1456
+ @_builtins.property
1467
1457
  @pulumi.getter(name="portPrivateSecondaryVlanId")
1468
- def port_private_secondary_vlan_id(self) -> Optional[pulumi.Input[int]]:
1458
+ def port_private_secondary_vlan_id(self) -> Optional[pulumi.Input[_builtins.int]]:
1469
1459
  """
1470
1460
  The secondary VLAN ID for this port.
1471
1461
  """
1472
1462
  return pulumi.get(self, "port_private_secondary_vlan_id")
1473
1463
 
1474
1464
  @port_private_secondary_vlan_id.setter
1475
- def port_private_secondary_vlan_id(self, value: Optional[pulumi.Input[int]]):
1465
+ def port_private_secondary_vlan_id(self, value: Optional[pulumi.Input[_builtins.int]]):
1476
1466
  pulumi.set(self, "port_private_secondary_vlan_id", value)
1477
1467
 
1478
- @property
1468
+ @_builtins.property
1479
1469
  @pulumi.getter(name="securityPolicyOverrideAllowed")
1480
- def security_policy_override_allowed(self) -> Optional[pulumi.Input[bool]]:
1470
+ def security_policy_override_allowed(self) -> Optional[pulumi.Input[_builtins.bool]]:
1481
1471
  """
1482
1472
  Allow security policy settings on a port to override those on the portgroup.
1483
1473
  """
1484
1474
  return pulumi.get(self, "security_policy_override_allowed")
1485
1475
 
1486
1476
  @security_policy_override_allowed.setter
1487
- def security_policy_override_allowed(self, value: Optional[pulumi.Input[bool]]):
1477
+ def security_policy_override_allowed(self, value: Optional[pulumi.Input[_builtins.bool]]):
1488
1478
  pulumi.set(self, "security_policy_override_allowed", value)
1489
1479
 
1490
- @property
1480
+ @_builtins.property
1491
1481
  @pulumi.getter(name="shapingOverrideAllowed")
1492
- def shaping_override_allowed(self) -> Optional[pulumi.Input[bool]]:
1482
+ def shaping_override_allowed(self) -> Optional[pulumi.Input[_builtins.bool]]:
1493
1483
  """
1494
1484
  Allow the traffic shaping policies of an individual port to override the settings in the portgroup.
1495
1485
  """
1496
1486
  return pulumi.get(self, "shaping_override_allowed")
1497
1487
 
1498
1488
  @shaping_override_allowed.setter
1499
- def shaping_override_allowed(self, value: Optional[pulumi.Input[bool]]):
1489
+ def shaping_override_allowed(self, value: Optional[pulumi.Input[_builtins.bool]]):
1500
1490
  pulumi.set(self, "shaping_override_allowed", value)
1501
1491
 
1502
- @property
1492
+ @_builtins.property
1503
1493
  @pulumi.getter(name="standbyUplinks")
1504
- def standby_uplinks(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
1494
+ def standby_uplinks(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
1505
1495
  """
1506
1496
  List of standby uplinks used for load balancing, matching the names of the uplinks assigned in the DVS.
1507
1497
  """
1508
1498
  return pulumi.get(self, "standby_uplinks")
1509
1499
 
1510
1500
  @standby_uplinks.setter
1511
- def standby_uplinks(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
1501
+ def standby_uplinks(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
1512
1502
  pulumi.set(self, "standby_uplinks", value)
1513
1503
 
1514
- @property
1504
+ @_builtins.property
1515
1505
  @pulumi.getter
1516
- def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
1506
+ def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
1517
1507
  """
1518
1508
  A list of tag IDs to apply to this object.
1519
1509
  """
1520
1510
  return pulumi.get(self, "tags")
1521
1511
 
1522
1512
  @tags.setter
1523
- def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
1513
+ def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
1524
1514
  pulumi.set(self, "tags", value)
1525
1515
 
1526
- @property
1516
+ @_builtins.property
1527
1517
  @pulumi.getter(name="teamingPolicy")
1528
- def teaming_policy(self) -> Optional[pulumi.Input[str]]:
1518
+ def teaming_policy(self) -> Optional[pulumi.Input[_builtins.str]]:
1529
1519
  """
1530
- The network adapter teaming policy. Can be one of loadbalance_ip, loadbalance_srcmac, loadbalance_srcid,
1531
- failover_explicit, or loadbalance_loadbased.
1520
+ The network adapter teaming policy. Can be one of loadbalance_ip, loadbalance_srcmac, loadbalance_srcid, failover_explicit, or loadbalance_loadbased.
1532
1521
  """
1533
1522
  return pulumi.get(self, "teaming_policy")
1534
1523
 
1535
1524
  @teaming_policy.setter
1536
- def teaming_policy(self, value: Optional[pulumi.Input[str]]):
1525
+ def teaming_policy(self, value: Optional[pulumi.Input[_builtins.str]]):
1537
1526
  pulumi.set(self, "teaming_policy", value)
1538
1527
 
1539
- @property
1528
+ @_builtins.property
1540
1529
  @pulumi.getter(name="trafficFilterOverrideAllowed")
1541
- def traffic_filter_override_allowed(self) -> Optional[pulumi.Input[bool]]:
1530
+ def traffic_filter_override_allowed(self) -> Optional[pulumi.Input[_builtins.bool]]:
1542
1531
  """
1543
1532
  Allow any filter policies set on the individual port to override those in the portgroup.
1544
1533
  """
1545
1534
  return pulumi.get(self, "traffic_filter_override_allowed")
1546
1535
 
1547
1536
  @traffic_filter_override_allowed.setter
1548
- def traffic_filter_override_allowed(self, value: Optional[pulumi.Input[bool]]):
1537
+ def traffic_filter_override_allowed(self, value: Optional[pulumi.Input[_builtins.bool]]):
1549
1538
  pulumi.set(self, "traffic_filter_override_allowed", value)
1550
1539
 
1551
- @property
1540
+ @_builtins.property
1552
1541
  @pulumi.getter(name="txUplink")
1553
- def tx_uplink(self) -> Optional[pulumi.Input[bool]]:
1542
+ def tx_uplink(self) -> Optional[pulumi.Input[_builtins.bool]]:
1554
1543
  """
1555
- If true, a copy of packets sent to the switch will always be forwarded to an uplink in addition to the regular packet
1556
- forwarded done by the switch.
1544
+ If true, a copy of packets sent to the switch will always be forwarded to an uplink in addition to the regular packet forwarded done by the switch.
1557
1545
  """
1558
1546
  return pulumi.get(self, "tx_uplink")
1559
1547
 
1560
1548
  @tx_uplink.setter
1561
- def tx_uplink(self, value: Optional[pulumi.Input[bool]]):
1549
+ def tx_uplink(self, value: Optional[pulumi.Input[_builtins.bool]]):
1562
1550
  pulumi.set(self, "tx_uplink", value)
1563
1551
 
1564
- @property
1552
+ @_builtins.property
1565
1553
  @pulumi.getter
1566
- def type(self) -> Optional[pulumi.Input[str]]:
1554
+ def type(self) -> Optional[pulumi.Input[_builtins.str]]:
1567
1555
  """
1568
1556
  The port group type. Can be one of `earlyBinding` (static
1569
1557
  binding) or `ephemeral`. Default: `earlyBinding`.
@@ -1571,46 +1559,46 @@ class _DistributedPortGroupState:
1571
1559
  return pulumi.get(self, "type")
1572
1560
 
1573
1561
  @type.setter
1574
- def type(self, value: Optional[pulumi.Input[str]]):
1562
+ def type(self, value: Optional[pulumi.Input[_builtins.str]]):
1575
1563
  pulumi.set(self, "type", value)
1576
1564
 
1577
- @property
1565
+ @_builtins.property
1578
1566
  @pulumi.getter(name="uplinkTeamingOverrideAllowed")
1579
- def uplink_teaming_override_allowed(self) -> Optional[pulumi.Input[bool]]:
1567
+ def uplink_teaming_override_allowed(self) -> Optional[pulumi.Input[_builtins.bool]]:
1580
1568
  """
1581
1569
  Allow the uplink teaming policies on a port to override those on the portgroup.
1582
1570
  """
1583
1571
  return pulumi.get(self, "uplink_teaming_override_allowed")
1584
1572
 
1585
1573
  @uplink_teaming_override_allowed.setter
1586
- def uplink_teaming_override_allowed(self, value: Optional[pulumi.Input[bool]]):
1574
+ def uplink_teaming_override_allowed(self, value: Optional[pulumi.Input[_builtins.bool]]):
1587
1575
  pulumi.set(self, "uplink_teaming_override_allowed", value)
1588
1576
 
1589
- @property
1577
+ @_builtins.property
1590
1578
  @pulumi.getter(name="vlanId")
1591
- def vlan_id(self) -> Optional[pulumi.Input[int]]:
1579
+ def vlan_id(self) -> Optional[pulumi.Input[_builtins.int]]:
1592
1580
  """
1593
1581
  The VLAN ID for single VLAN mode. 0 denotes no VLAN.
1594
1582
  """
1595
1583
  return pulumi.get(self, "vlan_id")
1596
1584
 
1597
1585
  @vlan_id.setter
1598
- def vlan_id(self, value: Optional[pulumi.Input[int]]):
1586
+ def vlan_id(self, value: Optional[pulumi.Input[_builtins.int]]):
1599
1587
  pulumi.set(self, "vlan_id", value)
1600
1588
 
1601
- @property
1589
+ @_builtins.property
1602
1590
  @pulumi.getter(name="vlanOverrideAllowed")
1603
- def vlan_override_allowed(self) -> Optional[pulumi.Input[bool]]:
1591
+ def vlan_override_allowed(self) -> Optional[pulumi.Input[_builtins.bool]]:
1604
1592
  """
1605
1593
  Allow the VLAN configuration on a port to override those on the portgroup.
1606
1594
  """
1607
1595
  return pulumi.get(self, "vlan_override_allowed")
1608
1596
 
1609
1597
  @vlan_override_allowed.setter
1610
- def vlan_override_allowed(self, value: Optional[pulumi.Input[bool]]):
1598
+ def vlan_override_allowed(self, value: Optional[pulumi.Input[_builtins.bool]]):
1611
1599
  pulumi.set(self, "vlan_override_allowed", value)
1612
1600
 
1613
- @property
1601
+ @_builtins.property
1614
1602
  @pulumi.getter(name="vlanRanges")
1615
1603
  def vlan_ranges(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DistributedPortGroupVlanRangeArgs']]]]:
1616
1604
  """
@@ -1623,56 +1611,57 @@ class _DistributedPortGroupState:
1623
1611
  pulumi.set(self, "vlan_ranges", value)
1624
1612
 
1625
1613
 
1614
+ @pulumi.type_token("vsphere:index/distributedPortGroup:DistributedPortGroup")
1626
1615
  class DistributedPortGroup(pulumi.CustomResource):
1627
1616
  @overload
1628
1617
  def __init__(__self__,
1629
1618
  resource_name: str,
1630
1619
  opts: Optional[pulumi.ResourceOptions] = None,
1631
- active_uplinks: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
1632
- allow_forged_transmits: Optional[pulumi.Input[bool]] = None,
1633
- allow_mac_changes: Optional[pulumi.Input[bool]] = None,
1634
- allow_promiscuous: Optional[pulumi.Input[bool]] = None,
1635
- auto_expand: Optional[pulumi.Input[bool]] = None,
1636
- block_all_ports: Optional[pulumi.Input[bool]] = None,
1637
- block_override_allowed: Optional[pulumi.Input[bool]] = None,
1638
- check_beacon: Optional[pulumi.Input[bool]] = None,
1639
- custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
1640
- description: Optional[pulumi.Input[str]] = None,
1641
- directpath_gen2_allowed: Optional[pulumi.Input[bool]] = None,
1642
- distributed_virtual_switch_uuid: Optional[pulumi.Input[str]] = None,
1643
- egress_shaping_average_bandwidth: Optional[pulumi.Input[int]] = None,
1644
- egress_shaping_burst_size: Optional[pulumi.Input[int]] = None,
1645
- egress_shaping_enabled: Optional[pulumi.Input[bool]] = None,
1646
- egress_shaping_peak_bandwidth: Optional[pulumi.Input[int]] = None,
1647
- failback: Optional[pulumi.Input[bool]] = None,
1648
- ingress_shaping_average_bandwidth: Optional[pulumi.Input[int]] = None,
1649
- ingress_shaping_burst_size: Optional[pulumi.Input[int]] = None,
1650
- ingress_shaping_enabled: Optional[pulumi.Input[bool]] = None,
1651
- ingress_shaping_peak_bandwidth: Optional[pulumi.Input[int]] = None,
1652
- lacp_enabled: Optional[pulumi.Input[bool]] = None,
1653
- lacp_mode: Optional[pulumi.Input[str]] = None,
1654
- live_port_moving_allowed: Optional[pulumi.Input[bool]] = None,
1655
- name: Optional[pulumi.Input[str]] = None,
1656
- netflow_enabled: Optional[pulumi.Input[bool]] = None,
1657
- netflow_override_allowed: Optional[pulumi.Input[bool]] = None,
1658
- network_resource_pool_key: Optional[pulumi.Input[str]] = None,
1659
- network_resource_pool_override_allowed: Optional[pulumi.Input[bool]] = None,
1660
- notify_switches: Optional[pulumi.Input[bool]] = None,
1661
- number_of_ports: Optional[pulumi.Input[int]] = None,
1662
- port_config_reset_at_disconnect: Optional[pulumi.Input[bool]] = None,
1663
- port_name_format: Optional[pulumi.Input[str]] = None,
1664
- port_private_secondary_vlan_id: Optional[pulumi.Input[int]] = None,
1665
- security_policy_override_allowed: Optional[pulumi.Input[bool]] = None,
1666
- shaping_override_allowed: Optional[pulumi.Input[bool]] = None,
1667
- standby_uplinks: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
1668
- tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
1669
- teaming_policy: Optional[pulumi.Input[str]] = None,
1670
- traffic_filter_override_allowed: Optional[pulumi.Input[bool]] = None,
1671
- tx_uplink: Optional[pulumi.Input[bool]] = None,
1672
- type: Optional[pulumi.Input[str]] = None,
1673
- uplink_teaming_override_allowed: Optional[pulumi.Input[bool]] = None,
1674
- vlan_id: Optional[pulumi.Input[int]] = None,
1675
- vlan_override_allowed: Optional[pulumi.Input[bool]] = None,
1620
+ active_uplinks: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
1621
+ allow_forged_transmits: Optional[pulumi.Input[_builtins.bool]] = None,
1622
+ allow_mac_changes: Optional[pulumi.Input[_builtins.bool]] = None,
1623
+ allow_promiscuous: Optional[pulumi.Input[_builtins.bool]] = None,
1624
+ auto_expand: Optional[pulumi.Input[_builtins.bool]] = None,
1625
+ block_all_ports: Optional[pulumi.Input[_builtins.bool]] = None,
1626
+ block_override_allowed: Optional[pulumi.Input[_builtins.bool]] = None,
1627
+ check_beacon: Optional[pulumi.Input[_builtins.bool]] = None,
1628
+ custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
1629
+ description: Optional[pulumi.Input[_builtins.str]] = None,
1630
+ directpath_gen2_allowed: Optional[pulumi.Input[_builtins.bool]] = None,
1631
+ distributed_virtual_switch_uuid: Optional[pulumi.Input[_builtins.str]] = None,
1632
+ egress_shaping_average_bandwidth: Optional[pulumi.Input[_builtins.int]] = None,
1633
+ egress_shaping_burst_size: Optional[pulumi.Input[_builtins.int]] = None,
1634
+ egress_shaping_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
1635
+ egress_shaping_peak_bandwidth: Optional[pulumi.Input[_builtins.int]] = None,
1636
+ failback: Optional[pulumi.Input[_builtins.bool]] = None,
1637
+ ingress_shaping_average_bandwidth: Optional[pulumi.Input[_builtins.int]] = None,
1638
+ ingress_shaping_burst_size: Optional[pulumi.Input[_builtins.int]] = None,
1639
+ ingress_shaping_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
1640
+ ingress_shaping_peak_bandwidth: Optional[pulumi.Input[_builtins.int]] = None,
1641
+ lacp_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
1642
+ lacp_mode: Optional[pulumi.Input[_builtins.str]] = None,
1643
+ live_port_moving_allowed: Optional[pulumi.Input[_builtins.bool]] = None,
1644
+ name: Optional[pulumi.Input[_builtins.str]] = None,
1645
+ netflow_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
1646
+ netflow_override_allowed: Optional[pulumi.Input[_builtins.bool]] = None,
1647
+ network_resource_pool_key: Optional[pulumi.Input[_builtins.str]] = None,
1648
+ network_resource_pool_override_allowed: Optional[pulumi.Input[_builtins.bool]] = None,
1649
+ notify_switches: Optional[pulumi.Input[_builtins.bool]] = None,
1650
+ number_of_ports: Optional[pulumi.Input[_builtins.int]] = None,
1651
+ port_config_reset_at_disconnect: Optional[pulumi.Input[_builtins.bool]] = None,
1652
+ port_name_format: Optional[pulumi.Input[_builtins.str]] = None,
1653
+ port_private_secondary_vlan_id: Optional[pulumi.Input[_builtins.int]] = None,
1654
+ security_policy_override_allowed: Optional[pulumi.Input[_builtins.bool]] = None,
1655
+ shaping_override_allowed: Optional[pulumi.Input[_builtins.bool]] = None,
1656
+ standby_uplinks: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
1657
+ tags: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
1658
+ teaming_policy: Optional[pulumi.Input[_builtins.str]] = None,
1659
+ traffic_filter_override_allowed: Optional[pulumi.Input[_builtins.bool]] = None,
1660
+ tx_uplink: Optional[pulumi.Input[_builtins.bool]] = None,
1661
+ type: Optional[pulumi.Input[_builtins.str]] = None,
1662
+ uplink_teaming_override_allowed: Optional[pulumi.Input[_builtins.bool]] = None,
1663
+ vlan_id: Optional[pulumi.Input[_builtins.int]] = None,
1664
+ vlan_override_allowed: Optional[pulumi.Input[_builtins.bool]] = None,
1676
1665
  vlan_ranges: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DistributedPortGroupVlanRangeArgs', 'DistributedPortGroupVlanRangeArgsDict']]]]] = None,
1677
1666
  __props__=None):
1678
1667
  """
@@ -1808,6 +1797,8 @@ class DistributedPortGroup(pulumi.CustomResource):
1808
1797
 
1809
1798
  the managed object id of the port group, via the following command:
1810
1799
 
1800
+ [docs-import]: https://developer.hashicorp.com/terraform/cli/import
1801
+
1811
1802
  ```sh
1812
1803
  $ pulumi import vsphere:index/distributedPortGroup:DistributedPortGroup pg /dc-01/network/pg-01
1813
1804
  ```
@@ -1818,72 +1809,69 @@ class DistributedPortGroup(pulumi.CustomResource):
1818
1809
 
1819
1810
  :param str resource_name: The name of the resource.
1820
1811
  :param pulumi.ResourceOptions opts: Options for the resource.
1821
- :param pulumi.Input[Sequence[pulumi.Input[str]]] active_uplinks: List of active uplinks used for load balancing, matching the names of the uplinks assigned in the DVS.
1822
- :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
1823
- that of its own.
1824
- :param pulumi.Input[bool] allow_mac_changes: Controls whether or not the Media Access Control (MAC) address can be changed.
1825
- :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.
1826
- :param pulumi.Input[bool] auto_expand: Allows the port group to create additional ports
1812
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] active_uplinks: List of active uplinks used for load balancing, matching the names of the uplinks assigned in the DVS.
1813
+ :param pulumi.Input[_builtins.bool] allow_forged_transmits: Controls whether or not the virtual network adapter is allowed to send network traffic with a different MAC address than that of its own.
1814
+ :param pulumi.Input[_builtins.bool] allow_mac_changes: Controls whether or not the Media Access Control (MAC) address can be changed.
1815
+ :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.
1816
+ :param pulumi.Input[_builtins.bool] auto_expand: Allows the port group to create additional ports
1827
1817
  past the limit specified in `number_of_ports` if necessary. Default: `true`.
1828
1818
 
1829
1819
  > **NOTE:** Using `auto_expand` with a statically defined `number_of_ports`
1830
1820
  may lead to errors when the port count grows past the amount specified. If you
1831
1821
  specify `number_of_ports`, you may wish to set `auto_expand` to `false`.
1832
- :param pulumi.Input[bool] block_all_ports: Indicates whether to block all ports by default.
1833
- :param pulumi.Input[bool] block_override_allowed: Allow the blocked setting of an individual port to override the setting in the portgroup.
1834
- :param pulumi.Input[bool] check_beacon: Enable beacon probing on the ports this policy applies to.
1835
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] custom_attributes: Map of custom attribute ids to attribute
1822
+ :param pulumi.Input[_builtins.bool] block_all_ports: Indicates whether to block all ports by default.
1823
+ :param pulumi.Input[_builtins.bool] block_override_allowed: Allow the blocked setting of an individual port to override the setting in the portgroup.
1824
+ :param pulumi.Input[_builtins.bool] check_beacon: Enable beacon probing on the ports this policy applies to.
1825
+ :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] custom_attributes: Map of custom attribute ids to attribute
1836
1826
  value string to set for port group.
1837
1827
 
1838
1828
  > **NOTE:** Custom attributes are not supported on direct ESXi host
1839
1829
  connections and require vCenter Server.
1840
- :param pulumi.Input[str] description: An optional description for the port group.
1841
- :param pulumi.Input[bool] directpath_gen2_allowed: Allow VMDirectPath Gen2 on the ports this policy applies to.
1842
- :param pulumi.Input[str] distributed_virtual_switch_uuid: The ID of the VDS to add the
1830
+ :param pulumi.Input[_builtins.str] description: An optional description for the port group.
1831
+ :param pulumi.Input[_builtins.bool] directpath_gen2_allowed: Allow VMDirectPath Gen2 on the ports this policy applies to.
1832
+ :param pulumi.Input[_builtins.str] distributed_virtual_switch_uuid: The ID of the VDS to add the
1843
1833
  port group to. Forces a new resource if changed.
1844
- :param pulumi.Input[int] egress_shaping_average_bandwidth: The average egress bandwidth in bits per second if egress shaping is enabled on the port.
1845
- :param pulumi.Input[int] egress_shaping_burst_size: The maximum egress burst size allowed in bytes if egress shaping is enabled on the port.
1846
- :param pulumi.Input[bool] egress_shaping_enabled: True if the traffic shaper is enabled for egress traffic on the port.
1847
- :param pulumi.Input[int] egress_shaping_peak_bandwidth: The peak egress bandwidth during bursts in bits per second if egress traffic shaping is enabled on the port.
1848
- :param pulumi.Input[bool] failback: If true, the teaming policy will re-activate failed interfaces higher in precedence when they come back up.
1849
- :param pulumi.Input[int] ingress_shaping_average_bandwidth: The average ingress bandwidth in bits per second if ingress shaping is enabled on the port.
1850
- :param pulumi.Input[int] ingress_shaping_burst_size: The maximum ingress burst size allowed in bytes if ingress shaping is enabled on the port.
1851
- :param pulumi.Input[bool] ingress_shaping_enabled: True if the traffic shaper is enabled for ingress traffic on the port.
1852
- :param pulumi.Input[int] ingress_shaping_peak_bandwidth: The peak ingress bandwidth during bursts in bits per second if ingress traffic shaping is enabled on the port.
1853
- :param pulumi.Input[bool] lacp_enabled: Whether or not to enable LACP on all uplink ports.
1854
- :param pulumi.Input[str] lacp_mode: The uplink LACP mode to use. Can be one of active or passive.
1855
- :param pulumi.Input[bool] live_port_moving_allowed: Allow a live port to be moved in and out of the portgroup.
1856
- :param pulumi.Input[str] name: The name of the port group.
1857
- :param pulumi.Input[bool] netflow_enabled: Indicates whether to enable netflow on all ports.
1858
- :param pulumi.Input[bool] netflow_override_allowed: Allow the enabling or disabling of Netflow on a port, contrary to the policy in the portgroup.
1859
- :param pulumi.Input[str] network_resource_pool_key: The key of a network resource pool
1834
+ :param pulumi.Input[_builtins.int] egress_shaping_average_bandwidth: The average egress bandwidth in bits per second if egress shaping is enabled on the port.
1835
+ :param pulumi.Input[_builtins.int] egress_shaping_burst_size: The maximum egress burst size allowed in bytes if egress shaping is enabled on the port.
1836
+ :param pulumi.Input[_builtins.bool] egress_shaping_enabled: True if the traffic shaper is enabled for egress traffic on the port.
1837
+ :param pulumi.Input[_builtins.int] egress_shaping_peak_bandwidth: The peak egress bandwidth during bursts in bits per second if egress traffic shaping is enabled on the port.
1838
+ :param pulumi.Input[_builtins.bool] failback: If true, the teaming policy will re-activate failed interfaces higher in precedence when they come back up.
1839
+ :param pulumi.Input[_builtins.int] ingress_shaping_average_bandwidth: The average ingress bandwidth in bits per second if ingress shaping is enabled on the port.
1840
+ :param pulumi.Input[_builtins.int] ingress_shaping_burst_size: The maximum ingress burst size allowed in bytes if ingress shaping is enabled on the port.
1841
+ :param pulumi.Input[_builtins.bool] ingress_shaping_enabled: True if the traffic shaper is enabled for ingress traffic on the port.
1842
+ :param pulumi.Input[_builtins.int] ingress_shaping_peak_bandwidth: The peak ingress bandwidth during bursts in bits per second if ingress traffic shaping is enabled on the port.
1843
+ :param pulumi.Input[_builtins.bool] lacp_enabled: Whether or not to enable LACP on all uplink ports.
1844
+ :param pulumi.Input[_builtins.str] lacp_mode: The uplink LACP mode to use. Can be one of active or passive.
1845
+ :param pulumi.Input[_builtins.bool] live_port_moving_allowed: Allow a live port to be moved in and out of the portgroup.
1846
+ :param pulumi.Input[_builtins.str] name: The name of the port group.
1847
+ :param pulumi.Input[_builtins.bool] netflow_enabled: Indicates whether to enable netflow on all ports.
1848
+ :param pulumi.Input[_builtins.bool] netflow_override_allowed: Allow the enabling or disabling of Netflow on a port, contrary to the policy in the portgroup.
1849
+ :param pulumi.Input[_builtins.str] network_resource_pool_key: The key of a network resource pool
1860
1850
  to associate with this port group. The default is `-1`, which implies no
1861
1851
  association.
1862
- :param pulumi.Input[bool] network_resource_pool_override_allowed: Allow the network resource pool of an individual port to override the setting in the portgroup.
1863
- :param pulumi.Input[bool] notify_switches: If true, the teaming policy will notify the broadcast network of a NIC failover, triggering cache updates.
1864
- :param pulumi.Input[int] number_of_ports: The number of ports available on this port
1852
+ :param pulumi.Input[_builtins.bool] network_resource_pool_override_allowed: Allow the network resource pool of an individual port to override the setting in the portgroup.
1853
+ :param pulumi.Input[_builtins.bool] notify_switches: If true, the teaming policy will notify the broadcast network of a NIC failover, triggering cache updates.
1854
+ :param pulumi.Input[_builtins.int] number_of_ports: The number of ports available on this port
1865
1855
  group. Cannot be decreased below the amount of used ports on the port group.
1866
- :param pulumi.Input[bool] port_config_reset_at_disconnect: Reset the setting of any ports in this portgroup back to the default setting when the port disconnects.
1867
- :param pulumi.Input[str] port_name_format: An optional formatting policy for naming of
1856
+ :param pulumi.Input[_builtins.bool] port_config_reset_at_disconnect: Reset the setting of any ports in this portgroup back to the default setting when the port disconnects.
1857
+ :param pulumi.Input[_builtins.str] port_name_format: An optional formatting policy for naming of
1868
1858
  the ports in this port group. See the `portNameFormat` attribute listed
1869
1859
  [here][ext-vsphere-portname-format] for details on the format syntax.
1870
1860
 
1871
1861
  [ext-vsphere-portname-format]: https://developer.broadcom.com/xapis/virtual-infrastructure-json-api/latest/data-structures/DVPortgroupConfigInfo/
1872
- :param pulumi.Input[int] port_private_secondary_vlan_id: The secondary VLAN ID for this port.
1873
- :param pulumi.Input[bool] security_policy_override_allowed: Allow security policy settings on a port to override those on the portgroup.
1874
- :param pulumi.Input[bool] shaping_override_allowed: Allow the traffic shaping policies of an individual port to override the settings in the portgroup.
1875
- :param pulumi.Input[Sequence[pulumi.Input[str]]] standby_uplinks: List of standby uplinks used for load balancing, matching the names of the uplinks assigned in the DVS.
1876
- :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: A list of tag IDs to apply to this object.
1877
- :param pulumi.Input[str] teaming_policy: The network adapter teaming policy. Can be one of loadbalance_ip, loadbalance_srcmac, loadbalance_srcid,
1878
- failover_explicit, or loadbalance_loadbased.
1879
- :param pulumi.Input[bool] traffic_filter_override_allowed: Allow any filter policies set on the individual port to override those in the portgroup.
1880
- :param pulumi.Input[bool] tx_uplink: If true, a copy of packets sent to the switch will always be forwarded to an uplink in addition to the regular packet
1881
- forwarded done by the switch.
1882
- :param pulumi.Input[str] type: The port group type. Can be one of `earlyBinding` (static
1862
+ :param pulumi.Input[_builtins.int] port_private_secondary_vlan_id: The secondary VLAN ID for this port.
1863
+ :param pulumi.Input[_builtins.bool] security_policy_override_allowed: Allow security policy settings on a port to override those on the portgroup.
1864
+ :param pulumi.Input[_builtins.bool] shaping_override_allowed: Allow the traffic shaping policies of an individual port to override the settings in the portgroup.
1865
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] standby_uplinks: List of standby uplinks used for load balancing, matching the names of the uplinks assigned in the DVS.
1866
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] tags: A list of tag IDs to apply to this object.
1867
+ :param pulumi.Input[_builtins.str] teaming_policy: The network adapter teaming policy. Can be one of loadbalance_ip, loadbalance_srcmac, loadbalance_srcid, failover_explicit, or loadbalance_loadbased.
1868
+ :param pulumi.Input[_builtins.bool] traffic_filter_override_allowed: Allow any filter policies set on the individual port to override those in the portgroup.
1869
+ :param pulumi.Input[_builtins.bool] tx_uplink: If true, a copy of packets sent to the switch will always be forwarded to an uplink in addition to the regular packet forwarded done by the switch.
1870
+ :param pulumi.Input[_builtins.str] type: The port group type. Can be one of `earlyBinding` (static
1883
1871
  binding) or `ephemeral`. Default: `earlyBinding`.
1884
- :param pulumi.Input[bool] uplink_teaming_override_allowed: Allow the uplink teaming policies on a port to override those on the portgroup.
1885
- :param pulumi.Input[int] vlan_id: The VLAN ID for single VLAN mode. 0 denotes no VLAN.
1886
- :param pulumi.Input[bool] vlan_override_allowed: Allow the VLAN configuration on a port to override those on the portgroup.
1872
+ :param pulumi.Input[_builtins.bool] uplink_teaming_override_allowed: Allow the uplink teaming policies on a port to override those on the portgroup.
1873
+ :param pulumi.Input[_builtins.int] vlan_id: The VLAN ID for single VLAN mode. 0 denotes no VLAN.
1874
+ :param pulumi.Input[_builtins.bool] vlan_override_allowed: Allow the VLAN configuration on a port to override those on the portgroup.
1887
1875
  :param pulumi.Input[Sequence[pulumi.Input[Union['DistributedPortGroupVlanRangeArgs', 'DistributedPortGroupVlanRangeArgsDict']]]] vlan_ranges: The VLAN ID for single VLAN mode. 0 denotes no VLAN.
1888
1876
  """
1889
1877
  ...
@@ -2025,6 +2013,8 @@ class DistributedPortGroup(pulumi.CustomResource):
2025
2013
 
2026
2014
  the managed object id of the port group, via the following command:
2027
2015
 
2016
+ [docs-import]: https://developer.hashicorp.com/terraform/cli/import
2017
+
2028
2018
  ```sh
2029
2019
  $ pulumi import vsphere:index/distributedPortGroup:DistributedPortGroup pg /dc-01/network/pg-01
2030
2020
  ```
@@ -2048,51 +2038,51 @@ class DistributedPortGroup(pulumi.CustomResource):
2048
2038
  def _internal_init(__self__,
2049
2039
  resource_name: str,
2050
2040
  opts: Optional[pulumi.ResourceOptions] = None,
2051
- active_uplinks: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
2052
- allow_forged_transmits: Optional[pulumi.Input[bool]] = None,
2053
- allow_mac_changes: Optional[pulumi.Input[bool]] = None,
2054
- allow_promiscuous: Optional[pulumi.Input[bool]] = None,
2055
- auto_expand: Optional[pulumi.Input[bool]] = None,
2056
- block_all_ports: Optional[pulumi.Input[bool]] = None,
2057
- block_override_allowed: Optional[pulumi.Input[bool]] = None,
2058
- check_beacon: Optional[pulumi.Input[bool]] = None,
2059
- custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
2060
- description: Optional[pulumi.Input[str]] = None,
2061
- directpath_gen2_allowed: Optional[pulumi.Input[bool]] = None,
2062
- distributed_virtual_switch_uuid: Optional[pulumi.Input[str]] = None,
2063
- egress_shaping_average_bandwidth: Optional[pulumi.Input[int]] = None,
2064
- egress_shaping_burst_size: Optional[pulumi.Input[int]] = None,
2065
- egress_shaping_enabled: Optional[pulumi.Input[bool]] = None,
2066
- egress_shaping_peak_bandwidth: Optional[pulumi.Input[int]] = None,
2067
- failback: Optional[pulumi.Input[bool]] = None,
2068
- ingress_shaping_average_bandwidth: Optional[pulumi.Input[int]] = None,
2069
- ingress_shaping_burst_size: Optional[pulumi.Input[int]] = None,
2070
- ingress_shaping_enabled: Optional[pulumi.Input[bool]] = None,
2071
- ingress_shaping_peak_bandwidth: Optional[pulumi.Input[int]] = None,
2072
- lacp_enabled: Optional[pulumi.Input[bool]] = None,
2073
- lacp_mode: Optional[pulumi.Input[str]] = None,
2074
- live_port_moving_allowed: Optional[pulumi.Input[bool]] = None,
2075
- name: Optional[pulumi.Input[str]] = None,
2076
- netflow_enabled: Optional[pulumi.Input[bool]] = None,
2077
- netflow_override_allowed: Optional[pulumi.Input[bool]] = None,
2078
- network_resource_pool_key: Optional[pulumi.Input[str]] = None,
2079
- network_resource_pool_override_allowed: Optional[pulumi.Input[bool]] = None,
2080
- notify_switches: Optional[pulumi.Input[bool]] = None,
2081
- number_of_ports: Optional[pulumi.Input[int]] = None,
2082
- port_config_reset_at_disconnect: Optional[pulumi.Input[bool]] = None,
2083
- port_name_format: Optional[pulumi.Input[str]] = None,
2084
- port_private_secondary_vlan_id: Optional[pulumi.Input[int]] = None,
2085
- security_policy_override_allowed: Optional[pulumi.Input[bool]] = None,
2086
- shaping_override_allowed: Optional[pulumi.Input[bool]] = None,
2087
- standby_uplinks: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
2088
- tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
2089
- teaming_policy: Optional[pulumi.Input[str]] = None,
2090
- traffic_filter_override_allowed: Optional[pulumi.Input[bool]] = None,
2091
- tx_uplink: Optional[pulumi.Input[bool]] = None,
2092
- type: Optional[pulumi.Input[str]] = None,
2093
- uplink_teaming_override_allowed: Optional[pulumi.Input[bool]] = None,
2094
- vlan_id: Optional[pulumi.Input[int]] = None,
2095
- vlan_override_allowed: Optional[pulumi.Input[bool]] = None,
2041
+ active_uplinks: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
2042
+ allow_forged_transmits: Optional[pulumi.Input[_builtins.bool]] = None,
2043
+ allow_mac_changes: Optional[pulumi.Input[_builtins.bool]] = None,
2044
+ allow_promiscuous: Optional[pulumi.Input[_builtins.bool]] = None,
2045
+ auto_expand: Optional[pulumi.Input[_builtins.bool]] = None,
2046
+ block_all_ports: Optional[pulumi.Input[_builtins.bool]] = None,
2047
+ block_override_allowed: Optional[pulumi.Input[_builtins.bool]] = None,
2048
+ check_beacon: Optional[pulumi.Input[_builtins.bool]] = None,
2049
+ custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
2050
+ description: Optional[pulumi.Input[_builtins.str]] = None,
2051
+ directpath_gen2_allowed: Optional[pulumi.Input[_builtins.bool]] = None,
2052
+ distributed_virtual_switch_uuid: Optional[pulumi.Input[_builtins.str]] = None,
2053
+ egress_shaping_average_bandwidth: Optional[pulumi.Input[_builtins.int]] = None,
2054
+ egress_shaping_burst_size: Optional[pulumi.Input[_builtins.int]] = None,
2055
+ egress_shaping_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
2056
+ egress_shaping_peak_bandwidth: Optional[pulumi.Input[_builtins.int]] = None,
2057
+ failback: Optional[pulumi.Input[_builtins.bool]] = None,
2058
+ ingress_shaping_average_bandwidth: Optional[pulumi.Input[_builtins.int]] = None,
2059
+ ingress_shaping_burst_size: Optional[pulumi.Input[_builtins.int]] = None,
2060
+ ingress_shaping_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
2061
+ ingress_shaping_peak_bandwidth: Optional[pulumi.Input[_builtins.int]] = None,
2062
+ lacp_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
2063
+ lacp_mode: Optional[pulumi.Input[_builtins.str]] = None,
2064
+ live_port_moving_allowed: Optional[pulumi.Input[_builtins.bool]] = None,
2065
+ name: Optional[pulumi.Input[_builtins.str]] = None,
2066
+ netflow_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
2067
+ netflow_override_allowed: Optional[pulumi.Input[_builtins.bool]] = None,
2068
+ network_resource_pool_key: Optional[pulumi.Input[_builtins.str]] = None,
2069
+ network_resource_pool_override_allowed: Optional[pulumi.Input[_builtins.bool]] = None,
2070
+ notify_switches: Optional[pulumi.Input[_builtins.bool]] = None,
2071
+ number_of_ports: Optional[pulumi.Input[_builtins.int]] = None,
2072
+ port_config_reset_at_disconnect: Optional[pulumi.Input[_builtins.bool]] = None,
2073
+ port_name_format: Optional[pulumi.Input[_builtins.str]] = None,
2074
+ port_private_secondary_vlan_id: Optional[pulumi.Input[_builtins.int]] = None,
2075
+ security_policy_override_allowed: Optional[pulumi.Input[_builtins.bool]] = None,
2076
+ shaping_override_allowed: Optional[pulumi.Input[_builtins.bool]] = None,
2077
+ standby_uplinks: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
2078
+ tags: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
2079
+ teaming_policy: Optional[pulumi.Input[_builtins.str]] = None,
2080
+ traffic_filter_override_allowed: Optional[pulumi.Input[_builtins.bool]] = None,
2081
+ tx_uplink: Optional[pulumi.Input[_builtins.bool]] = None,
2082
+ type: Optional[pulumi.Input[_builtins.str]] = None,
2083
+ uplink_teaming_override_allowed: Optional[pulumi.Input[_builtins.bool]] = None,
2084
+ vlan_id: Optional[pulumi.Input[_builtins.int]] = None,
2085
+ vlan_override_allowed: Optional[pulumi.Input[_builtins.bool]] = None,
2096
2086
  vlan_ranges: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DistributedPortGroupVlanRangeArgs', 'DistributedPortGroupVlanRangeArgsDict']]]]] = None,
2097
2087
  __props__=None):
2098
2088
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
@@ -2163,53 +2153,53 @@ class DistributedPortGroup(pulumi.CustomResource):
2163
2153
  def get(resource_name: str,
2164
2154
  id: pulumi.Input[str],
2165
2155
  opts: Optional[pulumi.ResourceOptions] = None,
2166
- active_uplinks: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
2167
- allow_forged_transmits: Optional[pulumi.Input[bool]] = None,
2168
- allow_mac_changes: Optional[pulumi.Input[bool]] = None,
2169
- allow_promiscuous: Optional[pulumi.Input[bool]] = None,
2170
- auto_expand: Optional[pulumi.Input[bool]] = None,
2171
- block_all_ports: Optional[pulumi.Input[bool]] = None,
2172
- block_override_allowed: Optional[pulumi.Input[bool]] = None,
2173
- check_beacon: Optional[pulumi.Input[bool]] = None,
2174
- config_version: Optional[pulumi.Input[str]] = None,
2175
- custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
2176
- description: Optional[pulumi.Input[str]] = None,
2177
- directpath_gen2_allowed: Optional[pulumi.Input[bool]] = None,
2178
- distributed_virtual_switch_uuid: Optional[pulumi.Input[str]] = None,
2179
- egress_shaping_average_bandwidth: Optional[pulumi.Input[int]] = None,
2180
- egress_shaping_burst_size: Optional[pulumi.Input[int]] = None,
2181
- egress_shaping_enabled: Optional[pulumi.Input[bool]] = None,
2182
- egress_shaping_peak_bandwidth: Optional[pulumi.Input[int]] = None,
2183
- failback: Optional[pulumi.Input[bool]] = None,
2184
- ingress_shaping_average_bandwidth: Optional[pulumi.Input[int]] = None,
2185
- ingress_shaping_burst_size: Optional[pulumi.Input[int]] = None,
2186
- ingress_shaping_enabled: Optional[pulumi.Input[bool]] = None,
2187
- ingress_shaping_peak_bandwidth: Optional[pulumi.Input[int]] = None,
2188
- key: Optional[pulumi.Input[str]] = None,
2189
- lacp_enabled: Optional[pulumi.Input[bool]] = None,
2190
- lacp_mode: Optional[pulumi.Input[str]] = None,
2191
- live_port_moving_allowed: Optional[pulumi.Input[bool]] = None,
2192
- name: Optional[pulumi.Input[str]] = None,
2193
- netflow_enabled: Optional[pulumi.Input[bool]] = None,
2194
- netflow_override_allowed: Optional[pulumi.Input[bool]] = None,
2195
- network_resource_pool_key: Optional[pulumi.Input[str]] = None,
2196
- network_resource_pool_override_allowed: Optional[pulumi.Input[bool]] = None,
2197
- notify_switches: Optional[pulumi.Input[bool]] = None,
2198
- number_of_ports: Optional[pulumi.Input[int]] = None,
2199
- port_config_reset_at_disconnect: Optional[pulumi.Input[bool]] = None,
2200
- port_name_format: Optional[pulumi.Input[str]] = None,
2201
- port_private_secondary_vlan_id: Optional[pulumi.Input[int]] = None,
2202
- security_policy_override_allowed: Optional[pulumi.Input[bool]] = None,
2203
- shaping_override_allowed: Optional[pulumi.Input[bool]] = None,
2204
- standby_uplinks: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
2205
- tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
2206
- teaming_policy: Optional[pulumi.Input[str]] = None,
2207
- traffic_filter_override_allowed: Optional[pulumi.Input[bool]] = None,
2208
- tx_uplink: Optional[pulumi.Input[bool]] = None,
2209
- type: Optional[pulumi.Input[str]] = None,
2210
- uplink_teaming_override_allowed: Optional[pulumi.Input[bool]] = None,
2211
- vlan_id: Optional[pulumi.Input[int]] = None,
2212
- vlan_override_allowed: Optional[pulumi.Input[bool]] = None,
2156
+ active_uplinks: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
2157
+ allow_forged_transmits: Optional[pulumi.Input[_builtins.bool]] = None,
2158
+ allow_mac_changes: Optional[pulumi.Input[_builtins.bool]] = None,
2159
+ allow_promiscuous: Optional[pulumi.Input[_builtins.bool]] = None,
2160
+ auto_expand: Optional[pulumi.Input[_builtins.bool]] = None,
2161
+ block_all_ports: Optional[pulumi.Input[_builtins.bool]] = None,
2162
+ block_override_allowed: Optional[pulumi.Input[_builtins.bool]] = None,
2163
+ check_beacon: Optional[pulumi.Input[_builtins.bool]] = None,
2164
+ config_version: Optional[pulumi.Input[_builtins.str]] = None,
2165
+ custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
2166
+ description: Optional[pulumi.Input[_builtins.str]] = None,
2167
+ directpath_gen2_allowed: Optional[pulumi.Input[_builtins.bool]] = None,
2168
+ distributed_virtual_switch_uuid: Optional[pulumi.Input[_builtins.str]] = None,
2169
+ egress_shaping_average_bandwidth: Optional[pulumi.Input[_builtins.int]] = None,
2170
+ egress_shaping_burst_size: Optional[pulumi.Input[_builtins.int]] = None,
2171
+ egress_shaping_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
2172
+ egress_shaping_peak_bandwidth: Optional[pulumi.Input[_builtins.int]] = None,
2173
+ failback: Optional[pulumi.Input[_builtins.bool]] = None,
2174
+ ingress_shaping_average_bandwidth: Optional[pulumi.Input[_builtins.int]] = None,
2175
+ ingress_shaping_burst_size: Optional[pulumi.Input[_builtins.int]] = None,
2176
+ ingress_shaping_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
2177
+ ingress_shaping_peak_bandwidth: Optional[pulumi.Input[_builtins.int]] = None,
2178
+ key: Optional[pulumi.Input[_builtins.str]] = None,
2179
+ lacp_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
2180
+ lacp_mode: Optional[pulumi.Input[_builtins.str]] = None,
2181
+ live_port_moving_allowed: Optional[pulumi.Input[_builtins.bool]] = None,
2182
+ name: Optional[pulumi.Input[_builtins.str]] = None,
2183
+ netflow_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
2184
+ netflow_override_allowed: Optional[pulumi.Input[_builtins.bool]] = None,
2185
+ network_resource_pool_key: Optional[pulumi.Input[_builtins.str]] = None,
2186
+ network_resource_pool_override_allowed: Optional[pulumi.Input[_builtins.bool]] = None,
2187
+ notify_switches: Optional[pulumi.Input[_builtins.bool]] = None,
2188
+ number_of_ports: Optional[pulumi.Input[_builtins.int]] = None,
2189
+ port_config_reset_at_disconnect: Optional[pulumi.Input[_builtins.bool]] = None,
2190
+ port_name_format: Optional[pulumi.Input[_builtins.str]] = None,
2191
+ port_private_secondary_vlan_id: Optional[pulumi.Input[_builtins.int]] = None,
2192
+ security_policy_override_allowed: Optional[pulumi.Input[_builtins.bool]] = None,
2193
+ shaping_override_allowed: Optional[pulumi.Input[_builtins.bool]] = None,
2194
+ standby_uplinks: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
2195
+ tags: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
2196
+ teaming_policy: Optional[pulumi.Input[_builtins.str]] = None,
2197
+ traffic_filter_override_allowed: Optional[pulumi.Input[_builtins.bool]] = None,
2198
+ tx_uplink: Optional[pulumi.Input[_builtins.bool]] = None,
2199
+ type: Optional[pulumi.Input[_builtins.str]] = None,
2200
+ uplink_teaming_override_allowed: Optional[pulumi.Input[_builtins.bool]] = None,
2201
+ vlan_id: Optional[pulumi.Input[_builtins.int]] = None,
2202
+ vlan_override_allowed: Optional[pulumi.Input[_builtins.bool]] = None,
2213
2203
  vlan_ranges: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DistributedPortGroupVlanRangeArgs', 'DistributedPortGroupVlanRangeArgsDict']]]]] = None) -> 'DistributedPortGroup':
2214
2204
  """
2215
2205
  Get an existing DistributedPortGroup resource's state with the given name, id, and optional extra
@@ -2218,75 +2208,72 @@ class DistributedPortGroup(pulumi.CustomResource):
2218
2208
  :param str resource_name: The unique name of the resulting resource.
2219
2209
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
2220
2210
  :param pulumi.ResourceOptions opts: Options for the resource.
2221
- :param pulumi.Input[Sequence[pulumi.Input[str]]] active_uplinks: List of active uplinks used for load balancing, matching the names of the uplinks assigned in the DVS.
2222
- :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
2223
- that of its own.
2224
- :param pulumi.Input[bool] allow_mac_changes: Controls whether or not the Media Access Control (MAC) address can be changed.
2225
- :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.
2226
- :param pulumi.Input[bool] auto_expand: Allows the port group to create additional ports
2211
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] active_uplinks: List of active uplinks used for load balancing, matching the names of the uplinks assigned in the DVS.
2212
+ :param pulumi.Input[_builtins.bool] allow_forged_transmits: Controls whether or not the virtual network adapter is allowed to send network traffic with a different MAC address than that of its own.
2213
+ :param pulumi.Input[_builtins.bool] allow_mac_changes: Controls whether or not the Media Access Control (MAC) address can be changed.
2214
+ :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.
2215
+ :param pulumi.Input[_builtins.bool] auto_expand: Allows the port group to create additional ports
2227
2216
  past the limit specified in `number_of_ports` if necessary. Default: `true`.
2228
2217
 
2229
2218
  > **NOTE:** Using `auto_expand` with a statically defined `number_of_ports`
2230
2219
  may lead to errors when the port count grows past the amount specified. If you
2231
2220
  specify `number_of_ports`, you may wish to set `auto_expand` to `false`.
2232
- :param pulumi.Input[bool] block_all_ports: Indicates whether to block all ports by default.
2233
- :param pulumi.Input[bool] block_override_allowed: Allow the blocked setting of an individual port to override the setting in the portgroup.
2234
- :param pulumi.Input[bool] check_beacon: Enable beacon probing on the ports this policy applies to.
2235
- :param pulumi.Input[str] config_version: The current version of the port group configuration,
2221
+ :param pulumi.Input[_builtins.bool] block_all_ports: Indicates whether to block all ports by default.
2222
+ :param pulumi.Input[_builtins.bool] block_override_allowed: Allow the blocked setting of an individual port to override the setting in the portgroup.
2223
+ :param pulumi.Input[_builtins.bool] check_beacon: Enable beacon probing on the ports this policy applies to.
2224
+ :param pulumi.Input[_builtins.str] config_version: The current version of the port group configuration,
2236
2225
  incremented by subsequent updates to the port group.
2237
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] custom_attributes: Map of custom attribute ids to attribute
2226
+ :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] custom_attributes: Map of custom attribute ids to attribute
2238
2227
  value string to set for port group.
2239
2228
 
2240
2229
  > **NOTE:** Custom attributes are not supported on direct ESXi host
2241
2230
  connections and require vCenter Server.
2242
- :param pulumi.Input[str] description: An optional description for the port group.
2243
- :param pulumi.Input[bool] directpath_gen2_allowed: Allow VMDirectPath Gen2 on the ports this policy applies to.
2244
- :param pulumi.Input[str] distributed_virtual_switch_uuid: The ID of the VDS to add the
2231
+ :param pulumi.Input[_builtins.str] description: An optional description for the port group.
2232
+ :param pulumi.Input[_builtins.bool] directpath_gen2_allowed: Allow VMDirectPath Gen2 on the ports this policy applies to.
2233
+ :param pulumi.Input[_builtins.str] distributed_virtual_switch_uuid: The ID of the VDS to add the
2245
2234
  port group to. Forces a new resource if changed.
2246
- :param pulumi.Input[int] egress_shaping_average_bandwidth: The average egress bandwidth in bits per second if egress shaping is enabled on the port.
2247
- :param pulumi.Input[int] egress_shaping_burst_size: The maximum egress burst size allowed in bytes if egress shaping is enabled on the port.
2248
- :param pulumi.Input[bool] egress_shaping_enabled: True if the traffic shaper is enabled for egress traffic on the port.
2249
- :param pulumi.Input[int] egress_shaping_peak_bandwidth: The peak egress bandwidth during bursts in bits per second if egress traffic shaping is enabled on the port.
2250
- :param pulumi.Input[bool] failback: If true, the teaming policy will re-activate failed interfaces higher in precedence when they come back up.
2251
- :param pulumi.Input[int] ingress_shaping_average_bandwidth: The average ingress bandwidth in bits per second if ingress shaping is enabled on the port.
2252
- :param pulumi.Input[int] ingress_shaping_burst_size: The maximum ingress burst size allowed in bytes if ingress shaping is enabled on the port.
2253
- :param pulumi.Input[bool] ingress_shaping_enabled: True if the traffic shaper is enabled for ingress traffic on the port.
2254
- :param pulumi.Input[int] ingress_shaping_peak_bandwidth: The peak ingress bandwidth during bursts in bits per second if ingress traffic shaping is enabled on the port.
2255
- :param pulumi.Input[str] key: The generated UUID of the port group.
2256
- :param pulumi.Input[bool] lacp_enabled: Whether or not to enable LACP on all uplink ports.
2257
- :param pulumi.Input[str] lacp_mode: The uplink LACP mode to use. Can be one of active or passive.
2258
- :param pulumi.Input[bool] live_port_moving_allowed: Allow a live port to be moved in and out of the portgroup.
2259
- :param pulumi.Input[str] name: The name of the port group.
2260
- :param pulumi.Input[bool] netflow_enabled: Indicates whether to enable netflow on all ports.
2261
- :param pulumi.Input[bool] netflow_override_allowed: Allow the enabling or disabling of Netflow on a port, contrary to the policy in the portgroup.
2262
- :param pulumi.Input[str] network_resource_pool_key: The key of a network resource pool
2235
+ :param pulumi.Input[_builtins.int] egress_shaping_average_bandwidth: The average egress bandwidth in bits per second if egress shaping is enabled on the port.
2236
+ :param pulumi.Input[_builtins.int] egress_shaping_burst_size: The maximum egress burst size allowed in bytes if egress shaping is enabled on the port.
2237
+ :param pulumi.Input[_builtins.bool] egress_shaping_enabled: True if the traffic shaper is enabled for egress traffic on the port.
2238
+ :param pulumi.Input[_builtins.int] egress_shaping_peak_bandwidth: The peak egress bandwidth during bursts in bits per second if egress traffic shaping is enabled on the port.
2239
+ :param pulumi.Input[_builtins.bool] failback: If true, the teaming policy will re-activate failed interfaces higher in precedence when they come back up.
2240
+ :param pulumi.Input[_builtins.int] ingress_shaping_average_bandwidth: The average ingress bandwidth in bits per second if ingress shaping is enabled on the port.
2241
+ :param pulumi.Input[_builtins.int] ingress_shaping_burst_size: The maximum ingress burst size allowed in bytes if ingress shaping is enabled on the port.
2242
+ :param pulumi.Input[_builtins.bool] ingress_shaping_enabled: True if the traffic shaper is enabled for ingress traffic on the port.
2243
+ :param pulumi.Input[_builtins.int] ingress_shaping_peak_bandwidth: The peak ingress bandwidth during bursts in bits per second if ingress traffic shaping is enabled on the port.
2244
+ :param pulumi.Input[_builtins.str] key: The generated UUID of the port group.
2245
+ :param pulumi.Input[_builtins.bool] lacp_enabled: Whether or not to enable LACP on all uplink ports.
2246
+ :param pulumi.Input[_builtins.str] lacp_mode: The uplink LACP mode to use. Can be one of active or passive.
2247
+ :param pulumi.Input[_builtins.bool] live_port_moving_allowed: Allow a live port to be moved in and out of the portgroup.
2248
+ :param pulumi.Input[_builtins.str] name: The name of the port group.
2249
+ :param pulumi.Input[_builtins.bool] netflow_enabled: Indicates whether to enable netflow on all ports.
2250
+ :param pulumi.Input[_builtins.bool] netflow_override_allowed: Allow the enabling or disabling of Netflow on a port, contrary to the policy in the portgroup.
2251
+ :param pulumi.Input[_builtins.str] network_resource_pool_key: The key of a network resource pool
2263
2252
  to associate with this port group. The default is `-1`, which implies no
2264
2253
  association.
2265
- :param pulumi.Input[bool] network_resource_pool_override_allowed: Allow the network resource pool of an individual port to override the setting in the portgroup.
2266
- :param pulumi.Input[bool] notify_switches: If true, the teaming policy will notify the broadcast network of a NIC failover, triggering cache updates.
2267
- :param pulumi.Input[int] number_of_ports: The number of ports available on this port
2254
+ :param pulumi.Input[_builtins.bool] network_resource_pool_override_allowed: Allow the network resource pool of an individual port to override the setting in the portgroup.
2255
+ :param pulumi.Input[_builtins.bool] notify_switches: If true, the teaming policy will notify the broadcast network of a NIC failover, triggering cache updates.
2256
+ :param pulumi.Input[_builtins.int] number_of_ports: The number of ports available on this port
2268
2257
  group. Cannot be decreased below the amount of used ports on the port group.
2269
- :param pulumi.Input[bool] port_config_reset_at_disconnect: Reset the setting of any ports in this portgroup back to the default setting when the port disconnects.
2270
- :param pulumi.Input[str] port_name_format: An optional formatting policy for naming of
2258
+ :param pulumi.Input[_builtins.bool] port_config_reset_at_disconnect: Reset the setting of any ports in this portgroup back to the default setting when the port disconnects.
2259
+ :param pulumi.Input[_builtins.str] port_name_format: An optional formatting policy for naming of
2271
2260
  the ports in this port group. See the `portNameFormat` attribute listed
2272
2261
  [here][ext-vsphere-portname-format] for details on the format syntax.
2273
2262
 
2274
2263
  [ext-vsphere-portname-format]: https://developer.broadcom.com/xapis/virtual-infrastructure-json-api/latest/data-structures/DVPortgroupConfigInfo/
2275
- :param pulumi.Input[int] port_private_secondary_vlan_id: The secondary VLAN ID for this port.
2276
- :param pulumi.Input[bool] security_policy_override_allowed: Allow security policy settings on a port to override those on the portgroup.
2277
- :param pulumi.Input[bool] shaping_override_allowed: Allow the traffic shaping policies of an individual port to override the settings in the portgroup.
2278
- :param pulumi.Input[Sequence[pulumi.Input[str]]] standby_uplinks: List of standby uplinks used for load balancing, matching the names of the uplinks assigned in the DVS.
2279
- :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: A list of tag IDs to apply to this object.
2280
- :param pulumi.Input[str] teaming_policy: The network adapter teaming policy. Can be one of loadbalance_ip, loadbalance_srcmac, loadbalance_srcid,
2281
- failover_explicit, or loadbalance_loadbased.
2282
- :param pulumi.Input[bool] traffic_filter_override_allowed: Allow any filter policies set on the individual port to override those in the portgroup.
2283
- :param pulumi.Input[bool] tx_uplink: If true, a copy of packets sent to the switch will always be forwarded to an uplink in addition to the regular packet
2284
- forwarded done by the switch.
2285
- :param pulumi.Input[str] type: The port group type. Can be one of `earlyBinding` (static
2264
+ :param pulumi.Input[_builtins.int] port_private_secondary_vlan_id: The secondary VLAN ID for this port.
2265
+ :param pulumi.Input[_builtins.bool] security_policy_override_allowed: Allow security policy settings on a port to override those on the portgroup.
2266
+ :param pulumi.Input[_builtins.bool] shaping_override_allowed: Allow the traffic shaping policies of an individual port to override the settings in the portgroup.
2267
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] standby_uplinks: List of standby uplinks used for load balancing, matching the names of the uplinks assigned in the DVS.
2268
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] tags: A list of tag IDs to apply to this object.
2269
+ :param pulumi.Input[_builtins.str] teaming_policy: The network adapter teaming policy. Can be one of loadbalance_ip, loadbalance_srcmac, loadbalance_srcid, failover_explicit, or loadbalance_loadbased.
2270
+ :param pulumi.Input[_builtins.bool] traffic_filter_override_allowed: Allow any filter policies set on the individual port to override those in the portgroup.
2271
+ :param pulumi.Input[_builtins.bool] tx_uplink: If true, a copy of packets sent to the switch will always be forwarded to an uplink in addition to the regular packet forwarded done by the switch.
2272
+ :param pulumi.Input[_builtins.str] type: The port group type. Can be one of `earlyBinding` (static
2286
2273
  binding) or `ephemeral`. Default: `earlyBinding`.
2287
- :param pulumi.Input[bool] uplink_teaming_override_allowed: Allow the uplink teaming policies on a port to override those on the portgroup.
2288
- :param pulumi.Input[int] vlan_id: The VLAN ID for single VLAN mode. 0 denotes no VLAN.
2289
- :param pulumi.Input[bool] vlan_override_allowed: Allow the VLAN configuration on a port to override those on the portgroup.
2274
+ :param pulumi.Input[_builtins.bool] uplink_teaming_override_allowed: Allow the uplink teaming policies on a port to override those on the portgroup.
2275
+ :param pulumi.Input[_builtins.int] vlan_id: The VLAN ID for single VLAN mode. 0 denotes no VLAN.
2276
+ :param pulumi.Input[_builtins.bool] vlan_override_allowed: Allow the VLAN configuration on a port to override those on the portgroup.
2290
2277
  :param pulumi.Input[Sequence[pulumi.Input[Union['DistributedPortGroupVlanRangeArgs', 'DistributedPortGroupVlanRangeArgsDict']]]] vlan_ranges: The VLAN ID for single VLAN mode. 0 denotes no VLAN.
2291
2278
  """
2292
2279
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
@@ -2343,42 +2330,41 @@ class DistributedPortGroup(pulumi.CustomResource):
2343
2330
  __props__.__dict__["vlan_ranges"] = vlan_ranges
2344
2331
  return DistributedPortGroup(resource_name, opts=opts, __props__=__props__)
2345
2332
 
2346
- @property
2333
+ @_builtins.property
2347
2334
  @pulumi.getter(name="activeUplinks")
2348
- def active_uplinks(self) -> pulumi.Output[Sequence[str]]:
2335
+ def active_uplinks(self) -> pulumi.Output[Sequence[_builtins.str]]:
2349
2336
  """
2350
2337
  List of active uplinks used for load balancing, matching the names of the uplinks assigned in the DVS.
2351
2338
  """
2352
2339
  return pulumi.get(self, "active_uplinks")
2353
2340
 
2354
- @property
2341
+ @_builtins.property
2355
2342
  @pulumi.getter(name="allowForgedTransmits")
2356
- def allow_forged_transmits(self) -> pulumi.Output[bool]:
2343
+ def allow_forged_transmits(self) -> pulumi.Output[_builtins.bool]:
2357
2344
  """
2358
- Controls whether or not the virtual network adapter is allowed to send network traffic with a different MAC address than
2359
- that of its own.
2345
+ Controls whether or not the virtual network adapter is allowed to send network traffic with a different MAC address than that of its own.
2360
2346
  """
2361
2347
  return pulumi.get(self, "allow_forged_transmits")
2362
2348
 
2363
- @property
2349
+ @_builtins.property
2364
2350
  @pulumi.getter(name="allowMacChanges")
2365
- def allow_mac_changes(self) -> pulumi.Output[bool]:
2351
+ def allow_mac_changes(self) -> pulumi.Output[_builtins.bool]:
2366
2352
  """
2367
2353
  Controls whether or not the Media Access Control (MAC) address can be changed.
2368
2354
  """
2369
2355
  return pulumi.get(self, "allow_mac_changes")
2370
2356
 
2371
- @property
2357
+ @_builtins.property
2372
2358
  @pulumi.getter(name="allowPromiscuous")
2373
- def allow_promiscuous(self) -> pulumi.Output[bool]:
2359
+ def allow_promiscuous(self) -> pulumi.Output[_builtins.bool]:
2374
2360
  """
2375
2361
  Enable promiscuous mode on the network. This flag indicates whether or not all traffic is seen on a given port.
2376
2362
  """
2377
2363
  return pulumi.get(self, "allow_promiscuous")
2378
2364
 
2379
- @property
2365
+ @_builtins.property
2380
2366
  @pulumi.getter(name="autoExpand")
2381
- def auto_expand(self) -> pulumi.Output[Optional[bool]]:
2367
+ def auto_expand(self) -> pulumi.Output[Optional[_builtins.bool]]:
2382
2368
  """
2383
2369
  Allows the port group to create additional ports
2384
2370
  past the limit specified in `number_of_ports` if necessary. Default: `true`.
@@ -2389,42 +2375,42 @@ class DistributedPortGroup(pulumi.CustomResource):
2389
2375
  """
2390
2376
  return pulumi.get(self, "auto_expand")
2391
2377
 
2392
- @property
2378
+ @_builtins.property
2393
2379
  @pulumi.getter(name="blockAllPorts")
2394
- def block_all_ports(self) -> pulumi.Output[bool]:
2380
+ def block_all_ports(self) -> pulumi.Output[_builtins.bool]:
2395
2381
  """
2396
2382
  Indicates whether to block all ports by default.
2397
2383
  """
2398
2384
  return pulumi.get(self, "block_all_ports")
2399
2385
 
2400
- @property
2386
+ @_builtins.property
2401
2387
  @pulumi.getter(name="blockOverrideAllowed")
2402
- def block_override_allowed(self) -> pulumi.Output[Optional[bool]]:
2388
+ def block_override_allowed(self) -> pulumi.Output[Optional[_builtins.bool]]:
2403
2389
  """
2404
2390
  Allow the blocked setting of an individual port to override the setting in the portgroup.
2405
2391
  """
2406
2392
  return pulumi.get(self, "block_override_allowed")
2407
2393
 
2408
- @property
2394
+ @_builtins.property
2409
2395
  @pulumi.getter(name="checkBeacon")
2410
- def check_beacon(self) -> pulumi.Output[bool]:
2396
+ def check_beacon(self) -> pulumi.Output[_builtins.bool]:
2411
2397
  """
2412
2398
  Enable beacon probing on the ports this policy applies to.
2413
2399
  """
2414
2400
  return pulumi.get(self, "check_beacon")
2415
2401
 
2416
- @property
2402
+ @_builtins.property
2417
2403
  @pulumi.getter(name="configVersion")
2418
- def config_version(self) -> pulumi.Output[str]:
2404
+ def config_version(self) -> pulumi.Output[_builtins.str]:
2419
2405
  """
2420
2406
  The current version of the port group configuration,
2421
2407
  incremented by subsequent updates to the port group.
2422
2408
  """
2423
2409
  return pulumi.get(self, "config_version")
2424
2410
 
2425
- @property
2411
+ @_builtins.property
2426
2412
  @pulumi.getter(name="customAttributes")
2427
- def custom_attributes(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
2413
+ def custom_attributes(self) -> pulumi.Output[Optional[Mapping[str, _builtins.str]]]:
2428
2414
  """
2429
2415
  Map of custom attribute ids to attribute
2430
2416
  value string to set for port group.
@@ -2434,162 +2420,162 @@ class DistributedPortGroup(pulumi.CustomResource):
2434
2420
  """
2435
2421
  return pulumi.get(self, "custom_attributes")
2436
2422
 
2437
- @property
2423
+ @_builtins.property
2438
2424
  @pulumi.getter
2439
- def description(self) -> pulumi.Output[Optional[str]]:
2425
+ def description(self) -> pulumi.Output[Optional[_builtins.str]]:
2440
2426
  """
2441
2427
  An optional description for the port group.
2442
2428
  """
2443
2429
  return pulumi.get(self, "description")
2444
2430
 
2445
- @property
2431
+ @_builtins.property
2446
2432
  @pulumi.getter(name="directpathGen2Allowed")
2447
- def directpath_gen2_allowed(self) -> pulumi.Output[bool]:
2433
+ def directpath_gen2_allowed(self) -> pulumi.Output[_builtins.bool]:
2448
2434
  """
2449
2435
  Allow VMDirectPath Gen2 on the ports this policy applies to.
2450
2436
  """
2451
2437
  return pulumi.get(self, "directpath_gen2_allowed")
2452
2438
 
2453
- @property
2439
+ @_builtins.property
2454
2440
  @pulumi.getter(name="distributedVirtualSwitchUuid")
2455
- def distributed_virtual_switch_uuid(self) -> pulumi.Output[str]:
2441
+ def distributed_virtual_switch_uuid(self) -> pulumi.Output[_builtins.str]:
2456
2442
  """
2457
2443
  The ID of the VDS to add the
2458
2444
  port group to. Forces a new resource if changed.
2459
2445
  """
2460
2446
  return pulumi.get(self, "distributed_virtual_switch_uuid")
2461
2447
 
2462
- @property
2448
+ @_builtins.property
2463
2449
  @pulumi.getter(name="egressShapingAverageBandwidth")
2464
- def egress_shaping_average_bandwidth(self) -> pulumi.Output[int]:
2450
+ def egress_shaping_average_bandwidth(self) -> pulumi.Output[_builtins.int]:
2465
2451
  """
2466
2452
  The average egress bandwidth in bits per second if egress shaping is enabled on the port.
2467
2453
  """
2468
2454
  return pulumi.get(self, "egress_shaping_average_bandwidth")
2469
2455
 
2470
- @property
2456
+ @_builtins.property
2471
2457
  @pulumi.getter(name="egressShapingBurstSize")
2472
- def egress_shaping_burst_size(self) -> pulumi.Output[int]:
2458
+ def egress_shaping_burst_size(self) -> pulumi.Output[_builtins.int]:
2473
2459
  """
2474
2460
  The maximum egress burst size allowed in bytes if egress shaping is enabled on the port.
2475
2461
  """
2476
2462
  return pulumi.get(self, "egress_shaping_burst_size")
2477
2463
 
2478
- @property
2464
+ @_builtins.property
2479
2465
  @pulumi.getter(name="egressShapingEnabled")
2480
- def egress_shaping_enabled(self) -> pulumi.Output[bool]:
2466
+ def egress_shaping_enabled(self) -> pulumi.Output[_builtins.bool]:
2481
2467
  """
2482
2468
  True if the traffic shaper is enabled for egress traffic on the port.
2483
2469
  """
2484
2470
  return pulumi.get(self, "egress_shaping_enabled")
2485
2471
 
2486
- @property
2472
+ @_builtins.property
2487
2473
  @pulumi.getter(name="egressShapingPeakBandwidth")
2488
- def egress_shaping_peak_bandwidth(self) -> pulumi.Output[int]:
2474
+ def egress_shaping_peak_bandwidth(self) -> pulumi.Output[_builtins.int]:
2489
2475
  """
2490
2476
  The peak egress bandwidth during bursts in bits per second if egress traffic shaping is enabled on the port.
2491
2477
  """
2492
2478
  return pulumi.get(self, "egress_shaping_peak_bandwidth")
2493
2479
 
2494
- @property
2480
+ @_builtins.property
2495
2481
  @pulumi.getter
2496
- def failback(self) -> pulumi.Output[bool]:
2482
+ def failback(self) -> pulumi.Output[_builtins.bool]:
2497
2483
  """
2498
2484
  If true, the teaming policy will re-activate failed interfaces higher in precedence when they come back up.
2499
2485
  """
2500
2486
  return pulumi.get(self, "failback")
2501
2487
 
2502
- @property
2488
+ @_builtins.property
2503
2489
  @pulumi.getter(name="ingressShapingAverageBandwidth")
2504
- def ingress_shaping_average_bandwidth(self) -> pulumi.Output[int]:
2490
+ def ingress_shaping_average_bandwidth(self) -> pulumi.Output[_builtins.int]:
2505
2491
  """
2506
2492
  The average ingress bandwidth in bits per second if ingress shaping is enabled on the port.
2507
2493
  """
2508
2494
  return pulumi.get(self, "ingress_shaping_average_bandwidth")
2509
2495
 
2510
- @property
2496
+ @_builtins.property
2511
2497
  @pulumi.getter(name="ingressShapingBurstSize")
2512
- def ingress_shaping_burst_size(self) -> pulumi.Output[int]:
2498
+ def ingress_shaping_burst_size(self) -> pulumi.Output[_builtins.int]:
2513
2499
  """
2514
2500
  The maximum ingress burst size allowed in bytes if ingress shaping is enabled on the port.
2515
2501
  """
2516
2502
  return pulumi.get(self, "ingress_shaping_burst_size")
2517
2503
 
2518
- @property
2504
+ @_builtins.property
2519
2505
  @pulumi.getter(name="ingressShapingEnabled")
2520
- def ingress_shaping_enabled(self) -> pulumi.Output[bool]:
2506
+ def ingress_shaping_enabled(self) -> pulumi.Output[_builtins.bool]:
2521
2507
  """
2522
2508
  True if the traffic shaper is enabled for ingress traffic on the port.
2523
2509
  """
2524
2510
  return pulumi.get(self, "ingress_shaping_enabled")
2525
2511
 
2526
- @property
2512
+ @_builtins.property
2527
2513
  @pulumi.getter(name="ingressShapingPeakBandwidth")
2528
- def ingress_shaping_peak_bandwidth(self) -> pulumi.Output[int]:
2514
+ def ingress_shaping_peak_bandwidth(self) -> pulumi.Output[_builtins.int]:
2529
2515
  """
2530
2516
  The peak ingress bandwidth during bursts in bits per second if ingress traffic shaping is enabled on the port.
2531
2517
  """
2532
2518
  return pulumi.get(self, "ingress_shaping_peak_bandwidth")
2533
2519
 
2534
- @property
2520
+ @_builtins.property
2535
2521
  @pulumi.getter
2536
- def key(self) -> pulumi.Output[str]:
2522
+ def key(self) -> pulumi.Output[_builtins.str]:
2537
2523
  """
2538
2524
  The generated UUID of the port group.
2539
2525
  """
2540
2526
  return pulumi.get(self, "key")
2541
2527
 
2542
- @property
2528
+ @_builtins.property
2543
2529
  @pulumi.getter(name="lacpEnabled")
2544
- def lacp_enabled(self) -> pulumi.Output[bool]:
2530
+ def lacp_enabled(self) -> pulumi.Output[_builtins.bool]:
2545
2531
  """
2546
2532
  Whether or not to enable LACP on all uplink ports.
2547
2533
  """
2548
2534
  return pulumi.get(self, "lacp_enabled")
2549
2535
 
2550
- @property
2536
+ @_builtins.property
2551
2537
  @pulumi.getter(name="lacpMode")
2552
- def lacp_mode(self) -> pulumi.Output[str]:
2538
+ def lacp_mode(self) -> pulumi.Output[_builtins.str]:
2553
2539
  """
2554
2540
  The uplink LACP mode to use. Can be one of active or passive.
2555
2541
  """
2556
2542
  return pulumi.get(self, "lacp_mode")
2557
2543
 
2558
- @property
2544
+ @_builtins.property
2559
2545
  @pulumi.getter(name="livePortMovingAllowed")
2560
- def live_port_moving_allowed(self) -> pulumi.Output[Optional[bool]]:
2546
+ def live_port_moving_allowed(self) -> pulumi.Output[Optional[_builtins.bool]]:
2561
2547
  """
2562
2548
  Allow a live port to be moved in and out of the portgroup.
2563
2549
  """
2564
2550
  return pulumi.get(self, "live_port_moving_allowed")
2565
2551
 
2566
- @property
2552
+ @_builtins.property
2567
2553
  @pulumi.getter
2568
- def name(self) -> pulumi.Output[str]:
2554
+ def name(self) -> pulumi.Output[_builtins.str]:
2569
2555
  """
2570
2556
  The name of the port group.
2571
2557
  """
2572
2558
  return pulumi.get(self, "name")
2573
2559
 
2574
- @property
2560
+ @_builtins.property
2575
2561
  @pulumi.getter(name="netflowEnabled")
2576
- def netflow_enabled(self) -> pulumi.Output[bool]:
2562
+ def netflow_enabled(self) -> pulumi.Output[_builtins.bool]:
2577
2563
  """
2578
2564
  Indicates whether to enable netflow on all ports.
2579
2565
  """
2580
2566
  return pulumi.get(self, "netflow_enabled")
2581
2567
 
2582
- @property
2568
+ @_builtins.property
2583
2569
  @pulumi.getter(name="netflowOverrideAllowed")
2584
- def netflow_override_allowed(self) -> pulumi.Output[Optional[bool]]:
2570
+ def netflow_override_allowed(self) -> pulumi.Output[Optional[_builtins.bool]]:
2585
2571
  """
2586
2572
  Allow the enabling or disabling of Netflow on a port, contrary to the policy in the portgroup.
2587
2573
  """
2588
2574
  return pulumi.get(self, "netflow_override_allowed")
2589
2575
 
2590
- @property
2576
+ @_builtins.property
2591
2577
  @pulumi.getter(name="networkResourcePoolKey")
2592
- def network_resource_pool_key(self) -> pulumi.Output[Optional[str]]:
2578
+ def network_resource_pool_key(self) -> pulumi.Output[Optional[_builtins.str]]:
2593
2579
  """
2594
2580
  The key of a network resource pool
2595
2581
  to associate with this port group. The default is `-1`, which implies no
@@ -2597,42 +2583,42 @@ class DistributedPortGroup(pulumi.CustomResource):
2597
2583
  """
2598
2584
  return pulumi.get(self, "network_resource_pool_key")
2599
2585
 
2600
- @property
2586
+ @_builtins.property
2601
2587
  @pulumi.getter(name="networkResourcePoolOverrideAllowed")
2602
- def network_resource_pool_override_allowed(self) -> pulumi.Output[Optional[bool]]:
2588
+ def network_resource_pool_override_allowed(self) -> pulumi.Output[Optional[_builtins.bool]]:
2603
2589
  """
2604
2590
  Allow the network resource pool of an individual port to override the setting in the portgroup.
2605
2591
  """
2606
2592
  return pulumi.get(self, "network_resource_pool_override_allowed")
2607
2593
 
2608
- @property
2594
+ @_builtins.property
2609
2595
  @pulumi.getter(name="notifySwitches")
2610
- def notify_switches(self) -> pulumi.Output[bool]:
2596
+ def notify_switches(self) -> pulumi.Output[_builtins.bool]:
2611
2597
  """
2612
2598
  If true, the teaming policy will notify the broadcast network of a NIC failover, triggering cache updates.
2613
2599
  """
2614
2600
  return pulumi.get(self, "notify_switches")
2615
2601
 
2616
- @property
2602
+ @_builtins.property
2617
2603
  @pulumi.getter(name="numberOfPorts")
2618
- def number_of_ports(self) -> pulumi.Output[int]:
2604
+ def number_of_ports(self) -> pulumi.Output[_builtins.int]:
2619
2605
  """
2620
2606
  The number of ports available on this port
2621
2607
  group. Cannot be decreased below the amount of used ports on the port group.
2622
2608
  """
2623
2609
  return pulumi.get(self, "number_of_ports")
2624
2610
 
2625
- @property
2611
+ @_builtins.property
2626
2612
  @pulumi.getter(name="portConfigResetAtDisconnect")
2627
- def port_config_reset_at_disconnect(self) -> pulumi.Output[Optional[bool]]:
2613
+ def port_config_reset_at_disconnect(self) -> pulumi.Output[Optional[_builtins.bool]]:
2628
2614
  """
2629
2615
  Reset the setting of any ports in this portgroup back to the default setting when the port disconnects.
2630
2616
  """
2631
2617
  return pulumi.get(self, "port_config_reset_at_disconnect")
2632
2618
 
2633
- @property
2619
+ @_builtins.property
2634
2620
  @pulumi.getter(name="portNameFormat")
2635
- def port_name_format(self) -> pulumi.Output[Optional[str]]:
2621
+ def port_name_format(self) -> pulumi.Output[Optional[_builtins.str]]:
2636
2622
  """
2637
2623
  An optional formatting policy for naming of
2638
2624
  the ports in this port group. See the `portNameFormat` attribute listed
@@ -2642,106 +2628,104 @@ class DistributedPortGroup(pulumi.CustomResource):
2642
2628
  """
2643
2629
  return pulumi.get(self, "port_name_format")
2644
2630
 
2645
- @property
2631
+ @_builtins.property
2646
2632
  @pulumi.getter(name="portPrivateSecondaryVlanId")
2647
- def port_private_secondary_vlan_id(self) -> pulumi.Output[int]:
2633
+ def port_private_secondary_vlan_id(self) -> pulumi.Output[_builtins.int]:
2648
2634
  """
2649
2635
  The secondary VLAN ID for this port.
2650
2636
  """
2651
2637
  return pulumi.get(self, "port_private_secondary_vlan_id")
2652
2638
 
2653
- @property
2639
+ @_builtins.property
2654
2640
  @pulumi.getter(name="securityPolicyOverrideAllowed")
2655
- def security_policy_override_allowed(self) -> pulumi.Output[Optional[bool]]:
2641
+ def security_policy_override_allowed(self) -> pulumi.Output[Optional[_builtins.bool]]:
2656
2642
  """
2657
2643
  Allow security policy settings on a port to override those on the portgroup.
2658
2644
  """
2659
2645
  return pulumi.get(self, "security_policy_override_allowed")
2660
2646
 
2661
- @property
2647
+ @_builtins.property
2662
2648
  @pulumi.getter(name="shapingOverrideAllowed")
2663
- def shaping_override_allowed(self) -> pulumi.Output[Optional[bool]]:
2649
+ def shaping_override_allowed(self) -> pulumi.Output[Optional[_builtins.bool]]:
2664
2650
  """
2665
2651
  Allow the traffic shaping policies of an individual port to override the settings in the portgroup.
2666
2652
  """
2667
2653
  return pulumi.get(self, "shaping_override_allowed")
2668
2654
 
2669
- @property
2655
+ @_builtins.property
2670
2656
  @pulumi.getter(name="standbyUplinks")
2671
- def standby_uplinks(self) -> pulumi.Output[Sequence[str]]:
2657
+ def standby_uplinks(self) -> pulumi.Output[Sequence[_builtins.str]]:
2672
2658
  """
2673
2659
  List of standby uplinks used for load balancing, matching the names of the uplinks assigned in the DVS.
2674
2660
  """
2675
2661
  return pulumi.get(self, "standby_uplinks")
2676
2662
 
2677
- @property
2663
+ @_builtins.property
2678
2664
  @pulumi.getter
2679
- def tags(self) -> pulumi.Output[Optional[Sequence[str]]]:
2665
+ def tags(self) -> pulumi.Output[Optional[Sequence[_builtins.str]]]:
2680
2666
  """
2681
2667
  A list of tag IDs to apply to this object.
2682
2668
  """
2683
2669
  return pulumi.get(self, "tags")
2684
2670
 
2685
- @property
2671
+ @_builtins.property
2686
2672
  @pulumi.getter(name="teamingPolicy")
2687
- def teaming_policy(self) -> pulumi.Output[str]:
2673
+ def teaming_policy(self) -> pulumi.Output[_builtins.str]:
2688
2674
  """
2689
- The network adapter teaming policy. Can be one of loadbalance_ip, loadbalance_srcmac, loadbalance_srcid,
2690
- failover_explicit, or loadbalance_loadbased.
2675
+ The network adapter teaming policy. Can be one of loadbalance_ip, loadbalance_srcmac, loadbalance_srcid, failover_explicit, or loadbalance_loadbased.
2691
2676
  """
2692
2677
  return pulumi.get(self, "teaming_policy")
2693
2678
 
2694
- @property
2679
+ @_builtins.property
2695
2680
  @pulumi.getter(name="trafficFilterOverrideAllowed")
2696
- def traffic_filter_override_allowed(self) -> pulumi.Output[Optional[bool]]:
2681
+ def traffic_filter_override_allowed(self) -> pulumi.Output[Optional[_builtins.bool]]:
2697
2682
  """
2698
2683
  Allow any filter policies set on the individual port to override those in the portgroup.
2699
2684
  """
2700
2685
  return pulumi.get(self, "traffic_filter_override_allowed")
2701
2686
 
2702
- @property
2687
+ @_builtins.property
2703
2688
  @pulumi.getter(name="txUplink")
2704
- def tx_uplink(self) -> pulumi.Output[bool]:
2689
+ def tx_uplink(self) -> pulumi.Output[_builtins.bool]:
2705
2690
  """
2706
- If true, a copy of packets sent to the switch will always be forwarded to an uplink in addition to the regular packet
2707
- forwarded done by the switch.
2691
+ If true, a copy of packets sent to the switch will always be forwarded to an uplink in addition to the regular packet forwarded done by the switch.
2708
2692
  """
2709
2693
  return pulumi.get(self, "tx_uplink")
2710
2694
 
2711
- @property
2695
+ @_builtins.property
2712
2696
  @pulumi.getter
2713
- def type(self) -> pulumi.Output[Optional[str]]:
2697
+ def type(self) -> pulumi.Output[Optional[_builtins.str]]:
2714
2698
  """
2715
2699
  The port group type. Can be one of `earlyBinding` (static
2716
2700
  binding) or `ephemeral`. Default: `earlyBinding`.
2717
2701
  """
2718
2702
  return pulumi.get(self, "type")
2719
2703
 
2720
- @property
2704
+ @_builtins.property
2721
2705
  @pulumi.getter(name="uplinkTeamingOverrideAllowed")
2722
- def uplink_teaming_override_allowed(self) -> pulumi.Output[Optional[bool]]:
2706
+ def uplink_teaming_override_allowed(self) -> pulumi.Output[Optional[_builtins.bool]]:
2723
2707
  """
2724
2708
  Allow the uplink teaming policies on a port to override those on the portgroup.
2725
2709
  """
2726
2710
  return pulumi.get(self, "uplink_teaming_override_allowed")
2727
2711
 
2728
- @property
2712
+ @_builtins.property
2729
2713
  @pulumi.getter(name="vlanId")
2730
- def vlan_id(self) -> pulumi.Output[int]:
2714
+ def vlan_id(self) -> pulumi.Output[_builtins.int]:
2731
2715
  """
2732
2716
  The VLAN ID for single VLAN mode. 0 denotes no VLAN.
2733
2717
  """
2734
2718
  return pulumi.get(self, "vlan_id")
2735
2719
 
2736
- @property
2720
+ @_builtins.property
2737
2721
  @pulumi.getter(name="vlanOverrideAllowed")
2738
- def vlan_override_allowed(self) -> pulumi.Output[Optional[bool]]:
2722
+ def vlan_override_allowed(self) -> pulumi.Output[Optional[_builtins.bool]]:
2739
2723
  """
2740
2724
  Allow the VLAN configuration on a port to override those on the portgroup.
2741
2725
  """
2742
2726
  return pulumi.get(self, "vlan_override_allowed")
2743
2727
 
2744
- @property
2728
+ @_builtins.property
2745
2729
  @pulumi.getter(name="vlanRanges")
2746
2730
  def vlan_ranges(self) -> pulumi.Output[Sequence['outputs.DistributedPortGroupVlanRange']]:
2747
2731
  """