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