pulumi-vsphere 4.11.0__py3-none-any.whl → 4.11.0a1710920591__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.
- pulumi_vsphere/__init__.py +0 -28
- pulumi_vsphere/_inputs.py +236 -646
- pulumi_vsphere/_utilities.py +4 -40
- pulumi_vsphere/compute_cluster.py +1486 -756
- pulumi_vsphere/compute_cluster_vm_affinity_rule.py +34 -42
- pulumi_vsphere/content_library.py +10 -10
- pulumi_vsphere/datacenter.py +40 -33
- pulumi_vsphere/datastore_cluster.py +364 -154
- pulumi_vsphere/distributed_port_group.py +187 -131
- pulumi_vsphere/distributed_virtual_switch.py +828 -310
- pulumi_vsphere/entity_permissions.py +38 -59
- pulumi_vsphere/file.py +24 -16
- pulumi_vsphere/folder.py +28 -7
- pulumi_vsphere/get_compute_cluster.py +4 -0
- pulumi_vsphere/get_compute_cluster_host_group.py +20 -20
- pulumi_vsphere/get_content_library.py +10 -10
- pulumi_vsphere/get_content_library_item.py +8 -12
- pulumi_vsphere/get_custom_attribute.py +4 -0
- pulumi_vsphere/get_datacenter.py +4 -0
- pulumi_vsphere/get_datastore.py +16 -12
- pulumi_vsphere/get_datastore_cluster.py +4 -0
- pulumi_vsphere/get_datastore_stats.py +52 -46
- pulumi_vsphere/get_distributed_virtual_switch.py +4 -2
- pulumi_vsphere/get_dynamic.py +20 -18
- pulumi_vsphere/get_folder.py +6 -10
- pulumi_vsphere/get_guest_os_customization.py +47 -8
- pulumi_vsphere/get_host.py +4 -0
- pulumi_vsphere/get_host_pci_device.py +14 -8
- pulumi_vsphere/get_host_thumbprint.py +16 -12
- pulumi_vsphere/get_host_vgpu_profile.py +10 -4
- pulumi_vsphere/get_license.py +5 -2
- pulumi_vsphere/get_network.py +18 -14
- pulumi_vsphere/get_policy.py +4 -0
- pulumi_vsphere/get_resource_pool.py +18 -14
- pulumi_vsphere/get_role.py +8 -4
- pulumi_vsphere/get_tag.py +4 -0
- pulumi_vsphere/get_tag_category.py +4 -0
- pulumi_vsphere/get_vapp_container.py +4 -0
- pulumi_vsphere/get_virtual_machine.py +43 -60
- pulumi_vsphere/get_vmfs_disks.py +4 -0
- pulumi_vsphere/guest_os_customization.py +5 -55
- pulumi_vsphere/ha_vm_override.py +378 -189
- pulumi_vsphere/host.py +60 -49
- pulumi_vsphere/host_port_group.py +26 -14
- pulumi_vsphere/host_virtual_switch.py +287 -140
- pulumi_vsphere/license.py +32 -0
- pulumi_vsphere/nas_datastore.py +7 -7
- pulumi_vsphere/outputs.py +270 -672
- pulumi_vsphere/provider.py +6 -2
- pulumi_vsphere/pulumi-plugin.json +1 -2
- pulumi_vsphere/resource_pool.py +24 -50
- pulumi_vsphere/virtual_disk.py +34 -42
- pulumi_vsphere/virtual_machine.py +827 -598
- pulumi_vsphere/virtual_machine_snapshot.py +12 -8
- pulumi_vsphere/vm_storage_policy.py +127 -115
- pulumi_vsphere/vnic.py +105 -89
- {pulumi_vsphere-4.11.0.dist-info → pulumi_vsphere-4.11.0a1710920591.dist-info}/METADATA +1 -1
- pulumi_vsphere-4.11.0a1710920591.dist-info/RECORD +82 -0
- {pulumi_vsphere-4.11.0.dist-info → pulumi_vsphere-4.11.0a1710920591.dist-info}/WHEEL +1 -1
- pulumi_vsphere/get_host_base_images.py +0 -97
- pulumi_vsphere/offline_software_depot.py +0 -180
- pulumi_vsphere/supervisor.py +0 -962
- pulumi_vsphere/virtual_machine_class.py +0 -442
- pulumi_vsphere-4.11.0.dist-info/RECORD +0 -86
- {pulumi_vsphere-4.11.0.dist-info → pulumi_vsphere-4.11.0a1710920591.dist-info}/top_level.txt +0 -0
|
@@ -78,17 +78,11 @@ class DistributedPortGroupArgs:
|
|
|
78
78
|
may lead to errors when the port count grows past the amount specified. If you
|
|
79
79
|
specify `number_of_ports`, you may wish to set `auto_expand` to `false`.
|
|
80
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
|
|
81
|
+
:param pulumi.Input[bool] block_override_allowed: Allow the port shutdown
|
|
82
|
+
policy to be overridden on an individual port.
|
|
82
83
|
:param pulumi.Input[bool] check_beacon: Enable beacon probing on the ports this policy applies to.
|
|
83
84
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] custom_attributes: Map of custom attribute ids to attribute
|
|
84
|
-
<<<<<<< HEAD
|
|
85
|
-
value string to set for port group. See [here][docs-setting-custom-attributes]
|
|
86
|
-
for a reference on how to set values for custom attributes.
|
|
87
|
-
|
|
88
|
-
[docs-setting-custom-attributes]: /docs/providers/vsphere/r/custom_attribute.html#using-custom-attributes-in-a-supported-resource
|
|
89
|
-
=======
|
|
90
85
|
value string to set for port group.
|
|
91
|
-
>>>>>>> 69c6e040 (fork)
|
|
92
86
|
|
|
93
87
|
> **NOTE:** Custom attributes are not supported on direct ESXi host
|
|
94
88
|
connections and require vCenter Server.
|
|
@@ -105,38 +99,52 @@ class DistributedPortGroupArgs:
|
|
|
105
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.
|
|
106
100
|
:param pulumi.Input[bool] lacp_enabled: Whether or not to enable LACP on all uplink ports.
|
|
107
101
|
:param pulumi.Input[str] lacp_mode: The uplink LACP mode to use. Can be one of active or passive.
|
|
108
|
-
:param pulumi.Input[bool] live_port_moving_allowed: Allow a
|
|
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.
|
|
109
104
|
:param pulumi.Input[str] name: The name of the port group.
|
|
110
105
|
:param pulumi.Input[bool] netflow_enabled: Indicates whether to enable netflow on all ports.
|
|
111
|
-
:param pulumi.Input[bool] netflow_override_allowed: Allow the
|
|
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.
|
|
112
109
|
:param pulumi.Input[str] network_resource_pool_key: The key of a network resource pool
|
|
113
110
|
to associate with this port group. The default is `-1`, which implies no
|
|
114
111
|
association.
|
|
115
|
-
:param pulumi.Input[bool] network_resource_pool_override_allowed: Allow the network
|
|
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.
|
|
116
114
|
:param pulumi.Input[bool] notify_switches: If true, the teaming policy will notify the broadcast network of a NIC failover, triggering cache updates.
|
|
117
115
|
:param pulumi.Input[int] number_of_ports: The number of ports available on this port
|
|
118
116
|
group. Cannot be decreased below the amount of used ports on the port group.
|
|
119
|
-
:param pulumi.Input[bool] port_config_reset_at_disconnect: Reset
|
|
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.
|
|
120
119
|
:param pulumi.Input[str] port_name_format: An optional formatting policy for naming of
|
|
121
120
|
the ports in this port group. See the `portNameFormat` attribute listed
|
|
122
121
|
[here][ext-vsphere-portname-format] for details on the format syntax.
|
|
123
122
|
|
|
124
|
-
[ext-vsphere-portname-format]: https://
|
|
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
|
|
125
124
|
:param pulumi.Input[int] port_private_secondary_vlan_id: The secondary VLAN ID for this port.
|
|
126
|
-
:param pulumi.Input[bool] security_policy_override_allowed: Allow
|
|
127
|
-
|
|
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.
|
|
128
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.
|
|
129
132
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: A list of tag IDs to apply to this object.
|
|
130
133
|
:param pulumi.Input[str] teaming_policy: The network adapter teaming policy. Can be one of loadbalance_ip, loadbalance_srcmac, loadbalance_srcid,
|
|
131
134
|
failover_explicit, or loadbalance_loadbased.
|
|
132
|
-
:param pulumi.Input[bool] traffic_filter_override_allowed: Allow any
|
|
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.
|
|
133
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
|
|
134
138
|
forwarded done by the switch.
|
|
135
139
|
:param pulumi.Input[str] type: The port group type. Can be one of `earlyBinding` (static
|
|
136
140
|
binding) or `ephemeral`. Default: `earlyBinding`.
|
|
137
|
-
:param pulumi.Input[bool] uplink_teaming_override_allowed: Allow the
|
|
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.
|
|
138
144
|
:param pulumi.Input[int] vlan_id: The VLAN ID for single VLAN mode. 0 denotes no VLAN.
|
|
139
|
-
:param pulumi.Input[bool] vlan_override_allowed: Allow the
|
|
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.
|
|
140
148
|
:param pulumi.Input[Sequence[pulumi.Input['DistributedPortGroupVlanRangeArgs']]] vlan_ranges: The VLAN ID for single VLAN mode. 0 denotes no VLAN.
|
|
141
149
|
"""
|
|
142
150
|
pulumi.set(__self__, "distributed_virtual_switch_uuid", distributed_virtual_switch_uuid)
|
|
@@ -326,7 +334,8 @@ class DistributedPortGroupArgs:
|
|
|
326
334
|
@pulumi.getter(name="blockOverrideAllowed")
|
|
327
335
|
def block_override_allowed(self) -> Optional[pulumi.Input[bool]]:
|
|
328
336
|
"""
|
|
329
|
-
Allow the
|
|
337
|
+
Allow the port shutdown
|
|
338
|
+
policy to be overridden on an individual port.
|
|
330
339
|
"""
|
|
331
340
|
return pulumi.get(self, "block_override_allowed")
|
|
332
341
|
|
|
@@ -351,14 +360,7 @@ class DistributedPortGroupArgs:
|
|
|
351
360
|
def custom_attributes(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
352
361
|
"""
|
|
353
362
|
Map of custom attribute ids to attribute
|
|
354
|
-
<<<<<<< HEAD
|
|
355
|
-
value string to set for port group. See [here][docs-setting-custom-attributes]
|
|
356
|
-
for a reference on how to set values for custom attributes.
|
|
357
|
-
|
|
358
|
-
[docs-setting-custom-attributes]: /docs/providers/vsphere/r/custom_attribute.html#using-custom-attributes-in-a-supported-resource
|
|
359
|
-
=======
|
|
360
363
|
value string to set for port group.
|
|
361
|
-
>>>>>>> 69c6e040 (fork)
|
|
362
364
|
|
|
363
365
|
> **NOTE:** Custom attributes are not supported on direct ESXi host
|
|
364
366
|
connections and require vCenter Server.
|
|
@@ -529,7 +531,8 @@ class DistributedPortGroupArgs:
|
|
|
529
531
|
@pulumi.getter(name="livePortMovingAllowed")
|
|
530
532
|
def live_port_moving_allowed(self) -> Optional[pulumi.Input[bool]]:
|
|
531
533
|
"""
|
|
532
|
-
Allow a
|
|
534
|
+
Allow a port in this port group to be
|
|
535
|
+
moved to another port group while it is connected.
|
|
533
536
|
"""
|
|
534
537
|
return pulumi.get(self, "live_port_moving_allowed")
|
|
535
538
|
|
|
@@ -565,7 +568,9 @@ class DistributedPortGroupArgs:
|
|
|
565
568
|
@pulumi.getter(name="netflowOverrideAllowed")
|
|
566
569
|
def netflow_override_allowed(self) -> Optional[pulumi.Input[bool]]:
|
|
567
570
|
"""
|
|
568
|
-
Allow the
|
|
571
|
+
Allow the
|
|
572
|
+
[Netflow policy][netflow-policy] on this port group to be overridden on an
|
|
573
|
+
individual port.
|
|
569
574
|
"""
|
|
570
575
|
return pulumi.get(self, "netflow_override_allowed")
|
|
571
576
|
|
|
@@ -591,7 +596,8 @@ class DistributedPortGroupArgs:
|
|
|
591
596
|
@pulumi.getter(name="networkResourcePoolOverrideAllowed")
|
|
592
597
|
def network_resource_pool_override_allowed(self) -> Optional[pulumi.Input[bool]]:
|
|
593
598
|
"""
|
|
594
|
-
Allow the network
|
|
599
|
+
Allow the network
|
|
600
|
+
resource pool set on this port group to be overridden on an individual port.
|
|
595
601
|
"""
|
|
596
602
|
return pulumi.get(self, "network_resource_pool_override_allowed")
|
|
597
603
|
|
|
@@ -628,7 +634,8 @@ class DistributedPortGroupArgs:
|
|
|
628
634
|
@pulumi.getter(name="portConfigResetAtDisconnect")
|
|
629
635
|
def port_config_reset_at_disconnect(self) -> Optional[pulumi.Input[bool]]:
|
|
630
636
|
"""
|
|
631
|
-
Reset
|
|
637
|
+
Reset a port's settings to the
|
|
638
|
+
settings defined on this port group policy when the port disconnects.
|
|
632
639
|
"""
|
|
633
640
|
return pulumi.get(self, "port_config_reset_at_disconnect")
|
|
634
641
|
|
|
@@ -644,7 +651,7 @@ class DistributedPortGroupArgs:
|
|
|
644
651
|
the ports in this port group. See the `portNameFormat` attribute listed
|
|
645
652
|
[here][ext-vsphere-portname-format] for details on the format syntax.
|
|
646
653
|
|
|
647
|
-
[ext-vsphere-portname-format]: https://
|
|
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
|
|
648
655
|
"""
|
|
649
656
|
return pulumi.get(self, "port_name_format")
|
|
650
657
|
|
|
@@ -668,7 +675,9 @@ class DistributedPortGroupArgs:
|
|
|
668
675
|
@pulumi.getter(name="securityPolicyOverrideAllowed")
|
|
669
676
|
def security_policy_override_allowed(self) -> Optional[pulumi.Input[bool]]:
|
|
670
677
|
"""
|
|
671
|
-
Allow
|
|
678
|
+
Allow the
|
|
679
|
+
[security policy settings][sec-policy-settings] defined in this port group
|
|
680
|
+
policy to be overridden on an individual port.
|
|
672
681
|
"""
|
|
673
682
|
return pulumi.get(self, "security_policy_override_allowed")
|
|
674
683
|
|
|
@@ -680,7 +689,9 @@ class DistributedPortGroupArgs:
|
|
|
680
689
|
@pulumi.getter(name="shapingOverrideAllowed")
|
|
681
690
|
def shaping_override_allowed(self) -> Optional[pulumi.Input[bool]]:
|
|
682
691
|
"""
|
|
683
|
-
Allow the
|
|
692
|
+
Allow the
|
|
693
|
+
[traffic shaping options][traffic-shaping-settings] on this port group policy
|
|
694
|
+
to be overridden on an individual port.
|
|
684
695
|
"""
|
|
685
696
|
return pulumi.get(self, "shaping_override_allowed")
|
|
686
697
|
|
|
@@ -729,7 +740,8 @@ class DistributedPortGroupArgs:
|
|
|
729
740
|
@pulumi.getter(name="trafficFilterOverrideAllowed")
|
|
730
741
|
def traffic_filter_override_allowed(self) -> Optional[pulumi.Input[bool]]:
|
|
731
742
|
"""
|
|
732
|
-
Allow any
|
|
743
|
+
Allow any traffic filters on
|
|
744
|
+
this port group to be overridden on an individual port.
|
|
733
745
|
"""
|
|
734
746
|
return pulumi.get(self, "traffic_filter_override_allowed")
|
|
735
747
|
|
|
@@ -767,7 +779,9 @@ class DistributedPortGroupArgs:
|
|
|
767
779
|
@pulumi.getter(name="uplinkTeamingOverrideAllowed")
|
|
768
780
|
def uplink_teaming_override_allowed(self) -> Optional[pulumi.Input[bool]]:
|
|
769
781
|
"""
|
|
770
|
-
Allow the
|
|
782
|
+
Allow the
|
|
783
|
+
[uplink teaming options][uplink-teaming-settings] on this port group to be
|
|
784
|
+
overridden on an individual port.
|
|
771
785
|
"""
|
|
772
786
|
return pulumi.get(self, "uplink_teaming_override_allowed")
|
|
773
787
|
|
|
@@ -791,7 +805,9 @@ class DistributedPortGroupArgs:
|
|
|
791
805
|
@pulumi.getter(name="vlanOverrideAllowed")
|
|
792
806
|
def vlan_override_allowed(self) -> Optional[pulumi.Input[bool]]:
|
|
793
807
|
"""
|
|
794
|
-
Allow the
|
|
808
|
+
Allow the
|
|
809
|
+
[VLAN settings][vlan-settings] on this port group to be overridden on an
|
|
810
|
+
individual port.
|
|
795
811
|
"""
|
|
796
812
|
return pulumi.get(self, "vlan_override_allowed")
|
|
797
813
|
|
|
@@ -877,19 +893,13 @@ class _DistributedPortGroupState:
|
|
|
877
893
|
may lead to errors when the port count grows past the amount specified. If you
|
|
878
894
|
specify `number_of_ports`, you may wish to set `auto_expand` to `false`.
|
|
879
895
|
:param pulumi.Input[bool] block_all_ports: Indicates whether to block all ports by default.
|
|
880
|
-
:param pulumi.Input[bool] block_override_allowed: Allow the
|
|
896
|
+
:param pulumi.Input[bool] block_override_allowed: Allow the port shutdown
|
|
897
|
+
policy to be overridden on an individual port.
|
|
881
898
|
:param pulumi.Input[bool] check_beacon: Enable beacon probing on the ports this policy applies to.
|
|
882
899
|
:param pulumi.Input[str] config_version: The current version of the port group configuration,
|
|
883
900
|
incremented by subsequent updates to the port group.
|
|
884
901
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] custom_attributes: Map of custom attribute ids to attribute
|
|
885
|
-
<<<<<<< HEAD
|
|
886
|
-
value string to set for port group. See [here][docs-setting-custom-attributes]
|
|
887
|
-
for a reference on how to set values for custom attributes.
|
|
888
|
-
|
|
889
|
-
[docs-setting-custom-attributes]: /docs/providers/vsphere/r/custom_attribute.html#using-custom-attributes-in-a-supported-resource
|
|
890
|
-
=======
|
|
891
902
|
value string to set for port group.
|
|
892
|
-
>>>>>>> 69c6e040 (fork)
|
|
893
903
|
|
|
894
904
|
> **NOTE:** Custom attributes are not supported on direct ESXi host
|
|
895
905
|
connections and require vCenter Server.
|
|
@@ -909,38 +919,52 @@ class _DistributedPortGroupState:
|
|
|
909
919
|
:param pulumi.Input[str] key: The generated UUID of the port group.
|
|
910
920
|
:param pulumi.Input[bool] lacp_enabled: Whether or not to enable LACP on all uplink ports.
|
|
911
921
|
:param pulumi.Input[str] lacp_mode: The uplink LACP mode to use. Can be one of active or passive.
|
|
912
|
-
:param pulumi.Input[bool] live_port_moving_allowed: Allow a
|
|
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.
|
|
913
924
|
:param pulumi.Input[str] name: The name of the port group.
|
|
914
925
|
:param pulumi.Input[bool] netflow_enabled: Indicates whether to enable netflow on all ports.
|
|
915
|
-
:param pulumi.Input[bool] netflow_override_allowed: Allow the
|
|
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.
|
|
916
929
|
:param pulumi.Input[str] network_resource_pool_key: The key of a network resource pool
|
|
917
930
|
to associate with this port group. The default is `-1`, which implies no
|
|
918
931
|
association.
|
|
919
|
-
:param pulumi.Input[bool] network_resource_pool_override_allowed: Allow the network
|
|
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.
|
|
920
934
|
:param pulumi.Input[bool] notify_switches: If true, the teaming policy will notify the broadcast network of a NIC failover, triggering cache updates.
|
|
921
935
|
:param pulumi.Input[int] number_of_ports: The number of ports available on this port
|
|
922
936
|
group. Cannot be decreased below the amount of used ports on the port group.
|
|
923
|
-
:param pulumi.Input[bool] port_config_reset_at_disconnect: Reset
|
|
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.
|
|
924
939
|
:param pulumi.Input[str] port_name_format: An optional formatting policy for naming of
|
|
925
940
|
the ports in this port group. See the `portNameFormat` attribute listed
|
|
926
941
|
[here][ext-vsphere-portname-format] for details on the format syntax.
|
|
927
942
|
|
|
928
|
-
[ext-vsphere-portname-format]: https://
|
|
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
|
|
929
944
|
:param pulumi.Input[int] port_private_secondary_vlan_id: The secondary VLAN ID for this port.
|
|
930
|
-
:param pulumi.Input[bool] security_policy_override_allowed: Allow
|
|
931
|
-
|
|
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.
|
|
932
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.
|
|
933
952
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: A list of tag IDs to apply to this object.
|
|
934
953
|
:param pulumi.Input[str] teaming_policy: The network adapter teaming policy. Can be one of loadbalance_ip, loadbalance_srcmac, loadbalance_srcid,
|
|
935
954
|
failover_explicit, or loadbalance_loadbased.
|
|
936
|
-
:param pulumi.Input[bool] traffic_filter_override_allowed: Allow any
|
|
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.
|
|
937
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
|
|
938
958
|
forwarded done by the switch.
|
|
939
959
|
:param pulumi.Input[str] type: The port group type. Can be one of `earlyBinding` (static
|
|
940
960
|
binding) or `ephemeral`. Default: `earlyBinding`.
|
|
941
|
-
:param pulumi.Input[bool] uplink_teaming_override_allowed: Allow the
|
|
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.
|
|
942
964
|
:param pulumi.Input[int] vlan_id: The VLAN ID for single VLAN mode. 0 denotes no VLAN.
|
|
943
|
-
:param pulumi.Input[bool] vlan_override_allowed: Allow the
|
|
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.
|
|
944
968
|
:param pulumi.Input[Sequence[pulumi.Input['DistributedPortGroupVlanRangeArgs']]] vlan_ranges: The VLAN ID for single VLAN mode. 0 denotes no VLAN.
|
|
945
969
|
"""
|
|
946
970
|
if active_uplinks is not None:
|
|
@@ -1122,7 +1146,8 @@ class _DistributedPortGroupState:
|
|
|
1122
1146
|
@pulumi.getter(name="blockOverrideAllowed")
|
|
1123
1147
|
def block_override_allowed(self) -> Optional[pulumi.Input[bool]]:
|
|
1124
1148
|
"""
|
|
1125
|
-
Allow the
|
|
1149
|
+
Allow the port shutdown
|
|
1150
|
+
policy to be overridden on an individual port.
|
|
1126
1151
|
"""
|
|
1127
1152
|
return pulumi.get(self, "block_override_allowed")
|
|
1128
1153
|
|
|
@@ -1160,14 +1185,7 @@ class _DistributedPortGroupState:
|
|
|
1160
1185
|
def custom_attributes(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
1161
1186
|
"""
|
|
1162
1187
|
Map of custom attribute ids to attribute
|
|
1163
|
-
<<<<<<< HEAD
|
|
1164
|
-
value string to set for port group. See [here][docs-setting-custom-attributes]
|
|
1165
|
-
for a reference on how to set values for custom attributes.
|
|
1166
|
-
|
|
1167
|
-
[docs-setting-custom-attributes]: /docs/providers/vsphere/r/custom_attribute.html#using-custom-attributes-in-a-supported-resource
|
|
1168
|
-
=======
|
|
1169
1188
|
value string to set for port group.
|
|
1170
|
-
>>>>>>> 69c6e040 (fork)
|
|
1171
1189
|
|
|
1172
1190
|
> **NOTE:** Custom attributes are not supported on direct ESXi host
|
|
1173
1191
|
connections and require vCenter Server.
|
|
@@ -1363,7 +1381,8 @@ class _DistributedPortGroupState:
|
|
|
1363
1381
|
@pulumi.getter(name="livePortMovingAllowed")
|
|
1364
1382
|
def live_port_moving_allowed(self) -> Optional[pulumi.Input[bool]]:
|
|
1365
1383
|
"""
|
|
1366
|
-
Allow a
|
|
1384
|
+
Allow a port in this port group to be
|
|
1385
|
+
moved to another port group while it is connected.
|
|
1367
1386
|
"""
|
|
1368
1387
|
return pulumi.get(self, "live_port_moving_allowed")
|
|
1369
1388
|
|
|
@@ -1399,7 +1418,9 @@ class _DistributedPortGroupState:
|
|
|
1399
1418
|
@pulumi.getter(name="netflowOverrideAllowed")
|
|
1400
1419
|
def netflow_override_allowed(self) -> Optional[pulumi.Input[bool]]:
|
|
1401
1420
|
"""
|
|
1402
|
-
Allow the
|
|
1421
|
+
Allow the
|
|
1422
|
+
[Netflow policy][netflow-policy] on this port group to be overridden on an
|
|
1423
|
+
individual port.
|
|
1403
1424
|
"""
|
|
1404
1425
|
return pulumi.get(self, "netflow_override_allowed")
|
|
1405
1426
|
|
|
@@ -1425,7 +1446,8 @@ class _DistributedPortGroupState:
|
|
|
1425
1446
|
@pulumi.getter(name="networkResourcePoolOverrideAllowed")
|
|
1426
1447
|
def network_resource_pool_override_allowed(self) -> Optional[pulumi.Input[bool]]:
|
|
1427
1448
|
"""
|
|
1428
|
-
Allow the network
|
|
1449
|
+
Allow the network
|
|
1450
|
+
resource pool set on this port group to be overridden on an individual port.
|
|
1429
1451
|
"""
|
|
1430
1452
|
return pulumi.get(self, "network_resource_pool_override_allowed")
|
|
1431
1453
|
|
|
@@ -1462,7 +1484,8 @@ class _DistributedPortGroupState:
|
|
|
1462
1484
|
@pulumi.getter(name="portConfigResetAtDisconnect")
|
|
1463
1485
|
def port_config_reset_at_disconnect(self) -> Optional[pulumi.Input[bool]]:
|
|
1464
1486
|
"""
|
|
1465
|
-
Reset
|
|
1487
|
+
Reset a port's settings to the
|
|
1488
|
+
settings defined on this port group policy when the port disconnects.
|
|
1466
1489
|
"""
|
|
1467
1490
|
return pulumi.get(self, "port_config_reset_at_disconnect")
|
|
1468
1491
|
|
|
@@ -1478,7 +1501,7 @@ class _DistributedPortGroupState:
|
|
|
1478
1501
|
the ports in this port group. See the `portNameFormat` attribute listed
|
|
1479
1502
|
[here][ext-vsphere-portname-format] for details on the format syntax.
|
|
1480
1503
|
|
|
1481
|
-
[ext-vsphere-portname-format]: https://
|
|
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
|
|
1482
1505
|
"""
|
|
1483
1506
|
return pulumi.get(self, "port_name_format")
|
|
1484
1507
|
|
|
@@ -1502,7 +1525,9 @@ class _DistributedPortGroupState:
|
|
|
1502
1525
|
@pulumi.getter(name="securityPolicyOverrideAllowed")
|
|
1503
1526
|
def security_policy_override_allowed(self) -> Optional[pulumi.Input[bool]]:
|
|
1504
1527
|
"""
|
|
1505
|
-
Allow
|
|
1528
|
+
Allow the
|
|
1529
|
+
[security policy settings][sec-policy-settings] defined in this port group
|
|
1530
|
+
policy to be overridden on an individual port.
|
|
1506
1531
|
"""
|
|
1507
1532
|
return pulumi.get(self, "security_policy_override_allowed")
|
|
1508
1533
|
|
|
@@ -1514,7 +1539,9 @@ class _DistributedPortGroupState:
|
|
|
1514
1539
|
@pulumi.getter(name="shapingOverrideAllowed")
|
|
1515
1540
|
def shaping_override_allowed(self) -> Optional[pulumi.Input[bool]]:
|
|
1516
1541
|
"""
|
|
1517
|
-
Allow the
|
|
1542
|
+
Allow the
|
|
1543
|
+
[traffic shaping options][traffic-shaping-settings] on this port group policy
|
|
1544
|
+
to be overridden on an individual port.
|
|
1518
1545
|
"""
|
|
1519
1546
|
return pulumi.get(self, "shaping_override_allowed")
|
|
1520
1547
|
|
|
@@ -1563,7 +1590,8 @@ class _DistributedPortGroupState:
|
|
|
1563
1590
|
@pulumi.getter(name="trafficFilterOverrideAllowed")
|
|
1564
1591
|
def traffic_filter_override_allowed(self) -> Optional[pulumi.Input[bool]]:
|
|
1565
1592
|
"""
|
|
1566
|
-
Allow any
|
|
1593
|
+
Allow any traffic filters on
|
|
1594
|
+
this port group to be overridden on an individual port.
|
|
1567
1595
|
"""
|
|
1568
1596
|
return pulumi.get(self, "traffic_filter_override_allowed")
|
|
1569
1597
|
|
|
@@ -1601,7 +1629,9 @@ class _DistributedPortGroupState:
|
|
|
1601
1629
|
@pulumi.getter(name="uplinkTeamingOverrideAllowed")
|
|
1602
1630
|
def uplink_teaming_override_allowed(self) -> Optional[pulumi.Input[bool]]:
|
|
1603
1631
|
"""
|
|
1604
|
-
Allow the
|
|
1632
|
+
Allow the
|
|
1633
|
+
[uplink teaming options][uplink-teaming-settings] on this port group to be
|
|
1634
|
+
overridden on an individual port.
|
|
1605
1635
|
"""
|
|
1606
1636
|
return pulumi.get(self, "uplink_teaming_override_allowed")
|
|
1607
1637
|
|
|
@@ -1625,7 +1655,9 @@ class _DistributedPortGroupState:
|
|
|
1625
1655
|
@pulumi.getter(name="vlanOverrideAllowed")
|
|
1626
1656
|
def vlan_override_allowed(self) -> Optional[pulumi.Input[bool]]:
|
|
1627
1657
|
"""
|
|
1628
|
-
Allow the
|
|
1658
|
+
Allow the
|
|
1659
|
+
[VLAN settings][vlan-settings] on this port group to be overridden on an
|
|
1660
|
+
individual port.
|
|
1629
1661
|
"""
|
|
1630
1662
|
return pulumi.get(self, "vlan_override_allowed")
|
|
1631
1663
|
|
|
@@ -1696,7 +1728,7 @@ class DistributedPortGroup(pulumi.CustomResource):
|
|
|
1696
1728
|
uplink_teaming_override_allowed: Optional[pulumi.Input[bool]] = None,
|
|
1697
1729
|
vlan_id: Optional[pulumi.Input[int]] = None,
|
|
1698
1730
|
vlan_override_allowed: Optional[pulumi.Input[bool]] = None,
|
|
1699
|
-
vlan_ranges: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
1731
|
+
vlan_ranges: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DistributedPortGroupVlanRangeArgs']]]]] = None,
|
|
1700
1732
|
__props__=None):
|
|
1701
1733
|
"""
|
|
1702
1734
|
Create a DistributedPortGroup resource with the given unique name, props, and options.
|
|
@@ -1714,17 +1746,11 @@ class DistributedPortGroup(pulumi.CustomResource):
|
|
|
1714
1746
|
may lead to errors when the port count grows past the amount specified. If you
|
|
1715
1747
|
specify `number_of_ports`, you may wish to set `auto_expand` to `false`.
|
|
1716
1748
|
:param pulumi.Input[bool] block_all_ports: Indicates whether to block all ports by default.
|
|
1717
|
-
:param pulumi.Input[bool] block_override_allowed: Allow the
|
|
1749
|
+
:param pulumi.Input[bool] block_override_allowed: Allow the port shutdown
|
|
1750
|
+
policy to be overridden on an individual port.
|
|
1718
1751
|
:param pulumi.Input[bool] check_beacon: Enable beacon probing on the ports this policy applies to.
|
|
1719
1752
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] custom_attributes: Map of custom attribute ids to attribute
|
|
1720
|
-
<<<<<<< HEAD
|
|
1721
|
-
value string to set for port group. See [here][docs-setting-custom-attributes]
|
|
1722
|
-
for a reference on how to set values for custom attributes.
|
|
1723
|
-
|
|
1724
|
-
[docs-setting-custom-attributes]: /docs/providers/vsphere/r/custom_attribute.html#using-custom-attributes-in-a-supported-resource
|
|
1725
|
-
=======
|
|
1726
1753
|
value string to set for port group.
|
|
1727
|
-
>>>>>>> 69c6e040 (fork)
|
|
1728
1754
|
|
|
1729
1755
|
> **NOTE:** Custom attributes are not supported on direct ESXi host
|
|
1730
1756
|
connections and require vCenter Server.
|
|
@@ -1743,39 +1769,53 @@ class DistributedPortGroup(pulumi.CustomResource):
|
|
|
1743
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.
|
|
1744
1770
|
:param pulumi.Input[bool] lacp_enabled: Whether or not to enable LACP on all uplink ports.
|
|
1745
1771
|
:param pulumi.Input[str] lacp_mode: The uplink LACP mode to use. Can be one of active or passive.
|
|
1746
|
-
:param pulumi.Input[bool] live_port_moving_allowed: Allow a
|
|
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.
|
|
1747
1774
|
:param pulumi.Input[str] name: The name of the port group.
|
|
1748
1775
|
:param pulumi.Input[bool] netflow_enabled: Indicates whether to enable netflow on all ports.
|
|
1749
|
-
:param pulumi.Input[bool] netflow_override_allowed: Allow the
|
|
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.
|
|
1750
1779
|
:param pulumi.Input[str] network_resource_pool_key: The key of a network resource pool
|
|
1751
1780
|
to associate with this port group. The default is `-1`, which implies no
|
|
1752
1781
|
association.
|
|
1753
|
-
:param pulumi.Input[bool] network_resource_pool_override_allowed: Allow the network
|
|
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.
|
|
1754
1784
|
:param pulumi.Input[bool] notify_switches: If true, the teaming policy will notify the broadcast network of a NIC failover, triggering cache updates.
|
|
1755
1785
|
:param pulumi.Input[int] number_of_ports: The number of ports available on this port
|
|
1756
1786
|
group. Cannot be decreased below the amount of used ports on the port group.
|
|
1757
|
-
:param pulumi.Input[bool] port_config_reset_at_disconnect: Reset
|
|
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.
|
|
1758
1789
|
:param pulumi.Input[str] port_name_format: An optional formatting policy for naming of
|
|
1759
1790
|
the ports in this port group. See the `portNameFormat` attribute listed
|
|
1760
1791
|
[here][ext-vsphere-portname-format] for details on the format syntax.
|
|
1761
1792
|
|
|
1762
|
-
[ext-vsphere-portname-format]: https://
|
|
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
|
|
1763
1794
|
:param pulumi.Input[int] port_private_secondary_vlan_id: The secondary VLAN ID for this port.
|
|
1764
|
-
:param pulumi.Input[bool] security_policy_override_allowed: Allow
|
|
1765
|
-
|
|
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.
|
|
1766
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.
|
|
1767
1802
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: A list of tag IDs to apply to this object.
|
|
1768
1803
|
:param pulumi.Input[str] teaming_policy: The network adapter teaming policy. Can be one of loadbalance_ip, loadbalance_srcmac, loadbalance_srcid,
|
|
1769
1804
|
failover_explicit, or loadbalance_loadbased.
|
|
1770
|
-
:param pulumi.Input[bool] traffic_filter_override_allowed: Allow any
|
|
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.
|
|
1771
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
|
|
1772
1808
|
forwarded done by the switch.
|
|
1773
1809
|
:param pulumi.Input[str] type: The port group type. Can be one of `earlyBinding` (static
|
|
1774
1810
|
binding) or `ephemeral`. Default: `earlyBinding`.
|
|
1775
|
-
:param pulumi.Input[bool] uplink_teaming_override_allowed: Allow the
|
|
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.
|
|
1776
1814
|
:param pulumi.Input[int] vlan_id: The VLAN ID for single VLAN mode. 0 denotes no VLAN.
|
|
1777
|
-
:param pulumi.Input[bool] vlan_override_allowed: Allow the
|
|
1778
|
-
|
|
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.
|
|
1779
1819
|
"""
|
|
1780
1820
|
...
|
|
1781
1821
|
@overload
|
|
@@ -1845,7 +1885,7 @@ class DistributedPortGroup(pulumi.CustomResource):
|
|
|
1845
1885
|
uplink_teaming_override_allowed: Optional[pulumi.Input[bool]] = None,
|
|
1846
1886
|
vlan_id: Optional[pulumi.Input[int]] = None,
|
|
1847
1887
|
vlan_override_allowed: Optional[pulumi.Input[bool]] = None,
|
|
1848
|
-
vlan_ranges: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
1888
|
+
vlan_ranges: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DistributedPortGroupVlanRangeArgs']]]]] = None,
|
|
1849
1889
|
__props__=None):
|
|
1850
1890
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
1851
1891
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -1962,7 +2002,7 @@ class DistributedPortGroup(pulumi.CustomResource):
|
|
|
1962
2002
|
uplink_teaming_override_allowed: Optional[pulumi.Input[bool]] = None,
|
|
1963
2003
|
vlan_id: Optional[pulumi.Input[int]] = None,
|
|
1964
2004
|
vlan_override_allowed: Optional[pulumi.Input[bool]] = None,
|
|
1965
|
-
vlan_ranges: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
2005
|
+
vlan_ranges: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DistributedPortGroupVlanRangeArgs']]]]] = None) -> 'DistributedPortGroup':
|
|
1966
2006
|
"""
|
|
1967
2007
|
Get an existing DistributedPortGroup resource's state with the given name, id, and optional extra
|
|
1968
2008
|
properties used to qualify the lookup.
|
|
@@ -1982,19 +2022,13 @@ class DistributedPortGroup(pulumi.CustomResource):
|
|
|
1982
2022
|
may lead to errors when the port count grows past the amount specified. If you
|
|
1983
2023
|
specify `number_of_ports`, you may wish to set `auto_expand` to `false`.
|
|
1984
2024
|
:param pulumi.Input[bool] block_all_ports: Indicates whether to block all ports by default.
|
|
1985
|
-
:param pulumi.Input[bool] block_override_allowed: Allow the
|
|
2025
|
+
:param pulumi.Input[bool] block_override_allowed: Allow the port shutdown
|
|
2026
|
+
policy to be overridden on an individual port.
|
|
1986
2027
|
:param pulumi.Input[bool] check_beacon: Enable beacon probing on the ports this policy applies to.
|
|
1987
2028
|
:param pulumi.Input[str] config_version: The current version of the port group configuration,
|
|
1988
2029
|
incremented by subsequent updates to the port group.
|
|
1989
2030
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] custom_attributes: Map of custom attribute ids to attribute
|
|
1990
|
-
<<<<<<< HEAD
|
|
1991
|
-
value string to set for port group. See [here][docs-setting-custom-attributes]
|
|
1992
|
-
for a reference on how to set values for custom attributes.
|
|
1993
|
-
|
|
1994
|
-
[docs-setting-custom-attributes]: /docs/providers/vsphere/r/custom_attribute.html#using-custom-attributes-in-a-supported-resource
|
|
1995
|
-
=======
|
|
1996
2031
|
value string to set for port group.
|
|
1997
|
-
>>>>>>> 69c6e040 (fork)
|
|
1998
2032
|
|
|
1999
2033
|
> **NOTE:** Custom attributes are not supported on direct ESXi host
|
|
2000
2034
|
connections and require vCenter Server.
|
|
@@ -2014,39 +2048,53 @@ class DistributedPortGroup(pulumi.CustomResource):
|
|
|
2014
2048
|
:param pulumi.Input[str] key: The generated UUID of the port group.
|
|
2015
2049
|
:param pulumi.Input[bool] lacp_enabled: Whether or not to enable LACP on all uplink ports.
|
|
2016
2050
|
:param pulumi.Input[str] lacp_mode: The uplink LACP mode to use. Can be one of active or passive.
|
|
2017
|
-
:param pulumi.Input[bool] live_port_moving_allowed: Allow a
|
|
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.
|
|
2018
2053
|
:param pulumi.Input[str] name: The name of the port group.
|
|
2019
2054
|
:param pulumi.Input[bool] netflow_enabled: Indicates whether to enable netflow on all ports.
|
|
2020
|
-
:param pulumi.Input[bool] netflow_override_allowed: Allow the
|
|
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.
|
|
2021
2058
|
:param pulumi.Input[str] network_resource_pool_key: The key of a network resource pool
|
|
2022
2059
|
to associate with this port group. The default is `-1`, which implies no
|
|
2023
2060
|
association.
|
|
2024
|
-
:param pulumi.Input[bool] network_resource_pool_override_allowed: Allow the network
|
|
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.
|
|
2025
2063
|
:param pulumi.Input[bool] notify_switches: If true, the teaming policy will notify the broadcast network of a NIC failover, triggering cache updates.
|
|
2026
2064
|
:param pulumi.Input[int] number_of_ports: The number of ports available on this port
|
|
2027
2065
|
group. Cannot be decreased below the amount of used ports on the port group.
|
|
2028
|
-
:param pulumi.Input[bool] port_config_reset_at_disconnect: Reset
|
|
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.
|
|
2029
2068
|
:param pulumi.Input[str] port_name_format: An optional formatting policy for naming of
|
|
2030
2069
|
the ports in this port group. See the `portNameFormat` attribute listed
|
|
2031
2070
|
[here][ext-vsphere-portname-format] for details on the format syntax.
|
|
2032
2071
|
|
|
2033
|
-
[ext-vsphere-portname-format]: https://
|
|
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
|
|
2034
2073
|
:param pulumi.Input[int] port_private_secondary_vlan_id: The secondary VLAN ID for this port.
|
|
2035
|
-
:param pulumi.Input[bool] security_policy_override_allowed: Allow
|
|
2036
|
-
|
|
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.
|
|
2037
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.
|
|
2038
2081
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: A list of tag IDs to apply to this object.
|
|
2039
2082
|
:param pulumi.Input[str] teaming_policy: The network adapter teaming policy. Can be one of loadbalance_ip, loadbalance_srcmac, loadbalance_srcid,
|
|
2040
2083
|
failover_explicit, or loadbalance_loadbased.
|
|
2041
|
-
:param pulumi.Input[bool] traffic_filter_override_allowed: Allow any
|
|
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.
|
|
2042
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
|
|
2043
2087
|
forwarded done by the switch.
|
|
2044
2088
|
:param pulumi.Input[str] type: The port group type. Can be one of `earlyBinding` (static
|
|
2045
2089
|
binding) or `ephemeral`. Default: `earlyBinding`.
|
|
2046
|
-
:param pulumi.Input[bool] uplink_teaming_override_allowed: Allow the
|
|
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.
|
|
2047
2093
|
:param pulumi.Input[int] vlan_id: The VLAN ID for single VLAN mode. 0 denotes no VLAN.
|
|
2048
|
-
:param pulumi.Input[bool] vlan_override_allowed: Allow the
|
|
2049
|
-
|
|
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.
|
|
2050
2098
|
"""
|
|
2051
2099
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
2052
2100
|
|
|
@@ -2160,7 +2208,8 @@ class DistributedPortGroup(pulumi.CustomResource):
|
|
|
2160
2208
|
@pulumi.getter(name="blockOverrideAllowed")
|
|
2161
2209
|
def block_override_allowed(self) -> pulumi.Output[Optional[bool]]:
|
|
2162
2210
|
"""
|
|
2163
|
-
Allow the
|
|
2211
|
+
Allow the port shutdown
|
|
2212
|
+
policy to be overridden on an individual port.
|
|
2164
2213
|
"""
|
|
2165
2214
|
return pulumi.get(self, "block_override_allowed")
|
|
2166
2215
|
|
|
@@ -2186,14 +2235,7 @@ class DistributedPortGroup(pulumi.CustomResource):
|
|
|
2186
2235
|
def custom_attributes(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
|
|
2187
2236
|
"""
|
|
2188
2237
|
Map of custom attribute ids to attribute
|
|
2189
|
-
<<<<<<< HEAD
|
|
2190
|
-
value string to set for port group. See [here][docs-setting-custom-attributes]
|
|
2191
|
-
for a reference on how to set values for custom attributes.
|
|
2192
|
-
|
|
2193
|
-
[docs-setting-custom-attributes]: /docs/providers/vsphere/r/custom_attribute.html#using-custom-attributes-in-a-supported-resource
|
|
2194
|
-
=======
|
|
2195
2238
|
value string to set for port group.
|
|
2196
|
-
>>>>>>> 69c6e040 (fork)
|
|
2197
2239
|
|
|
2198
2240
|
> **NOTE:** Custom attributes are not supported on direct ESXi host
|
|
2199
2241
|
connections and require vCenter Server.
|
|
@@ -2325,7 +2367,8 @@ class DistributedPortGroup(pulumi.CustomResource):
|
|
|
2325
2367
|
@pulumi.getter(name="livePortMovingAllowed")
|
|
2326
2368
|
def live_port_moving_allowed(self) -> pulumi.Output[Optional[bool]]:
|
|
2327
2369
|
"""
|
|
2328
|
-
Allow a
|
|
2370
|
+
Allow a port in this port group to be
|
|
2371
|
+
moved to another port group while it is connected.
|
|
2329
2372
|
"""
|
|
2330
2373
|
return pulumi.get(self, "live_port_moving_allowed")
|
|
2331
2374
|
|
|
@@ -2349,7 +2392,9 @@ class DistributedPortGroup(pulumi.CustomResource):
|
|
|
2349
2392
|
@pulumi.getter(name="netflowOverrideAllowed")
|
|
2350
2393
|
def netflow_override_allowed(self) -> pulumi.Output[Optional[bool]]:
|
|
2351
2394
|
"""
|
|
2352
|
-
Allow the
|
|
2395
|
+
Allow the
|
|
2396
|
+
[Netflow policy][netflow-policy] on this port group to be overridden on an
|
|
2397
|
+
individual port.
|
|
2353
2398
|
"""
|
|
2354
2399
|
return pulumi.get(self, "netflow_override_allowed")
|
|
2355
2400
|
|
|
@@ -2367,7 +2412,8 @@ class DistributedPortGroup(pulumi.CustomResource):
|
|
|
2367
2412
|
@pulumi.getter(name="networkResourcePoolOverrideAllowed")
|
|
2368
2413
|
def network_resource_pool_override_allowed(self) -> pulumi.Output[Optional[bool]]:
|
|
2369
2414
|
"""
|
|
2370
|
-
Allow the network
|
|
2415
|
+
Allow the network
|
|
2416
|
+
resource pool set on this port group to be overridden on an individual port.
|
|
2371
2417
|
"""
|
|
2372
2418
|
return pulumi.get(self, "network_resource_pool_override_allowed")
|
|
2373
2419
|
|
|
@@ -2392,7 +2438,8 @@ class DistributedPortGroup(pulumi.CustomResource):
|
|
|
2392
2438
|
@pulumi.getter(name="portConfigResetAtDisconnect")
|
|
2393
2439
|
def port_config_reset_at_disconnect(self) -> pulumi.Output[Optional[bool]]:
|
|
2394
2440
|
"""
|
|
2395
|
-
Reset
|
|
2441
|
+
Reset a port's settings to the
|
|
2442
|
+
settings defined on this port group policy when the port disconnects.
|
|
2396
2443
|
"""
|
|
2397
2444
|
return pulumi.get(self, "port_config_reset_at_disconnect")
|
|
2398
2445
|
|
|
@@ -2404,7 +2451,7 @@ class DistributedPortGroup(pulumi.CustomResource):
|
|
|
2404
2451
|
the ports in this port group. See the `portNameFormat` attribute listed
|
|
2405
2452
|
[here][ext-vsphere-portname-format] for details on the format syntax.
|
|
2406
2453
|
|
|
2407
|
-
[ext-vsphere-portname-format]: https://
|
|
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
|
|
2408
2455
|
"""
|
|
2409
2456
|
return pulumi.get(self, "port_name_format")
|
|
2410
2457
|
|
|
@@ -2420,7 +2467,9 @@ class DistributedPortGroup(pulumi.CustomResource):
|
|
|
2420
2467
|
@pulumi.getter(name="securityPolicyOverrideAllowed")
|
|
2421
2468
|
def security_policy_override_allowed(self) -> pulumi.Output[Optional[bool]]:
|
|
2422
2469
|
"""
|
|
2423
|
-
Allow
|
|
2470
|
+
Allow the
|
|
2471
|
+
[security policy settings][sec-policy-settings] defined in this port group
|
|
2472
|
+
policy to be overridden on an individual port.
|
|
2424
2473
|
"""
|
|
2425
2474
|
return pulumi.get(self, "security_policy_override_allowed")
|
|
2426
2475
|
|
|
@@ -2428,7 +2477,9 @@ class DistributedPortGroup(pulumi.CustomResource):
|
|
|
2428
2477
|
@pulumi.getter(name="shapingOverrideAllowed")
|
|
2429
2478
|
def shaping_override_allowed(self) -> pulumi.Output[Optional[bool]]:
|
|
2430
2479
|
"""
|
|
2431
|
-
Allow the
|
|
2480
|
+
Allow the
|
|
2481
|
+
[traffic shaping options][traffic-shaping-settings] on this port group policy
|
|
2482
|
+
to be overridden on an individual port.
|
|
2432
2483
|
"""
|
|
2433
2484
|
return pulumi.get(self, "shaping_override_allowed")
|
|
2434
2485
|
|
|
@@ -2461,7 +2512,8 @@ class DistributedPortGroup(pulumi.CustomResource):
|
|
|
2461
2512
|
@pulumi.getter(name="trafficFilterOverrideAllowed")
|
|
2462
2513
|
def traffic_filter_override_allowed(self) -> pulumi.Output[Optional[bool]]:
|
|
2463
2514
|
"""
|
|
2464
|
-
Allow any
|
|
2515
|
+
Allow any traffic filters on
|
|
2516
|
+
this port group to be overridden on an individual port.
|
|
2465
2517
|
"""
|
|
2466
2518
|
return pulumi.get(self, "traffic_filter_override_allowed")
|
|
2467
2519
|
|
|
@@ -2487,7 +2539,9 @@ class DistributedPortGroup(pulumi.CustomResource):
|
|
|
2487
2539
|
@pulumi.getter(name="uplinkTeamingOverrideAllowed")
|
|
2488
2540
|
def uplink_teaming_override_allowed(self) -> pulumi.Output[Optional[bool]]:
|
|
2489
2541
|
"""
|
|
2490
|
-
Allow the
|
|
2542
|
+
Allow the
|
|
2543
|
+
[uplink teaming options][uplink-teaming-settings] on this port group to be
|
|
2544
|
+
overridden on an individual port.
|
|
2491
2545
|
"""
|
|
2492
2546
|
return pulumi.get(self, "uplink_teaming_override_allowed")
|
|
2493
2547
|
|
|
@@ -2503,7 +2557,9 @@ class DistributedPortGroup(pulumi.CustomResource):
|
|
|
2503
2557
|
@pulumi.getter(name="vlanOverrideAllowed")
|
|
2504
2558
|
def vlan_override_allowed(self) -> pulumi.Output[Optional[bool]]:
|
|
2505
2559
|
"""
|
|
2506
|
-
Allow the
|
|
2560
|
+
Allow the
|
|
2561
|
+
[VLAN settings][vlan-settings] on this port group to be overridden on an
|
|
2562
|
+
individual port.
|
|
2507
2563
|
"""
|
|
2508
2564
|
return pulumi.get(self, "vlan_override_allowed")
|
|
2509
2565
|
|