Class DistributedPortGroupArgs
Inherited Members
Namespace: Pulumi.VSphere
Assembly: Pulumi.VSphere.dll
Syntax
public sealed class DistributedPortGroupArgs : ResourceArgs
Constructors
View SourceDistributedPortGroupArgs()
Declaration
public DistributedPortGroupArgs()
Properties
View SourceActiveUplinks
List of active uplinks used for load balancing, matching the names of the uplinks assigned in the DVS.
Declaration
public InputList<string> ActiveUplinks { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |
AllowForgedTransmits
Controls whether or not the virtual network adapter is allowed to send network traffic with a different MAC address than that of its own.
Declaration
public Input<bool> AllowForgedTransmits { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
AllowMacChanges
Controls whether or not the Media Access Control (MAC) address can be changed.
Declaration
public Input<bool> AllowMacChanges { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
AllowPromiscuous
Enable promiscuous mode on the network. This flag indicates whether or not all traffic is seen on a given port.
Declaration
public Input<bool> AllowPromiscuous { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
AutoExpand
Allows the port group to create additional ports
past the limit specified in number_of_ports if necessary. Default: true.
Declaration
public Input<bool> AutoExpand { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
BlockAllPorts
Indicates whether to block all ports by default.
Declaration
public Input<bool> BlockAllPorts { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
BlockOverrideAllowed
Allow the port shutdown policy to be overridden on an individual port.
Declaration
public Input<bool> BlockOverrideAllowed { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
CheckBeacon
Enable beacon probing on the ports this policy applies to.
Declaration
public Input<bool> CheckBeacon { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
CustomAttributes
Map of custom attribute ids to attribute value string to set for port group.
Declaration
public InputMap<string> CustomAttributes { get; set; }
Property Value
| Type | Description |
|---|---|
| InputMap<System.String> |
Description
An optional description for the port group.
Declaration
public Input<string> Description { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
DirectpathGen2Allowed
Allow VMDirectPath Gen2 on the ports this policy applies to.
Declaration
public Input<bool> DirectpathGen2Allowed { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
DistributedVirtualSwitchUuid
The ID of the DVS to add the port group to. Forces a new resource if changed.
Declaration
public Input<string> DistributedVirtualSwitchUuid { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
EgressShapingAverageBandwidth
The average egress bandwidth in bits per second if egress shaping is enabled on the port.
Declaration
public Input<int> EgressShapingAverageBandwidth { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
EgressShapingBurstSize
The maximum egress burst size allowed in bytes if egress shaping is enabled on the port.
Declaration
public Input<int> EgressShapingBurstSize { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
EgressShapingEnabled
True if the traffic shaper is enabled for egress traffic on the port.
Declaration
public Input<bool> EgressShapingEnabled { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
EgressShapingPeakBandwidth
The peak egress bandwidth during bursts in bits per second if egress traffic shaping is enabled on the port.
Declaration
public Input<int> EgressShapingPeakBandwidth { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
Failback
If true, the teaming policy will re-activate failed interfaces higher in precedence when they come back up.
Declaration
public Input<bool> Failback { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
IngressShapingAverageBandwidth
The average ingress bandwidth in bits per second if ingress shaping is enabled on the port.
Declaration
public Input<int> IngressShapingAverageBandwidth { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
IngressShapingBurstSize
The maximum ingress burst size allowed in bytes if ingress shaping is enabled on the port.
Declaration
public Input<int> IngressShapingBurstSize { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
IngressShapingEnabled
True if the traffic shaper is enabled for ingress traffic on the port.
Declaration
public Input<bool> IngressShapingEnabled { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
IngressShapingPeakBandwidth
The peak ingress bandwidth during bursts in bits per second if ingress traffic shaping is enabled on the port.
Declaration
public Input<int> IngressShapingPeakBandwidth { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
LacpEnabled
Whether or not to enable LACP on all uplink ports.
Declaration
public Input<bool> LacpEnabled { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
LacpMode
The uplink LACP mode to use. Can be one of active or passive.
Declaration
public Input<string> LacpMode { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
LivePortMovingAllowed
Allow a port in this port group to be moved to another port group while it is connected.
Declaration
public Input<bool> LivePortMovingAllowed { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
Name
The name of the port group.
Declaration
public Input<string> Name { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
NetflowEnabled
Indicates whether to enable netflow on all ports.
Declaration
public Input<bool> NetflowEnabled { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
NetflowOverrideAllowed
Allow the Netflow policy on this port group to be overridden on an individual port.
Declaration
public Input<bool> NetflowOverrideAllowed { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
NetworkResourcePoolKey
The key of a network resource pool
to associate with this port group. The default is -1, which implies no
association.
Declaration
public Input<string> NetworkResourcePoolKey { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
NetworkResourcePoolOverrideAllowed
Allow the network resource pool set on this port group to be overridden on an individual port.
Declaration
public Input<bool> NetworkResourcePoolOverrideAllowed { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
NotifySwitches
If true, the teaming policy will notify the broadcast network of a NIC failover, triggering cache updates.
Declaration
public Input<bool> NotifySwitches { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
NumberOfPorts
The number of ports available on this port group. Cannot be decreased below the amount of used ports on the port group.
Declaration
public Input<int> NumberOfPorts { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
PortConfigResetAtDisconnect
Reset a port's settings to the settings defined on this port group policy when the port disconnects.
Declaration
public Input<bool> PortConfigResetAtDisconnect { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
PortNameFormat
An optional formatting policy for naming of
the ports in this port group. See the portNameFormat attribute listed
[here][ext-vsphere-portname-format] for details on the format syntax.
Declaration
public Input<string> PortNameFormat { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
PortPrivateSecondaryVlanId
The secondary VLAN ID for this port.
Declaration
public Input<int> PortPrivateSecondaryVlanId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
SecurityPolicyOverrideAllowed
Allow the security policy settings defined in this port group policy to be overridden on an individual port.
Declaration
public Input<bool> SecurityPolicyOverrideAllowed { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
ShapingOverrideAllowed
Allow the traffic shaping options on this port group policy to be overridden on an individual port.
Declaration
public Input<bool> ShapingOverrideAllowed { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
StandbyUplinks
List of active uplinks used for load balancing, matching the names of the uplinks assigned in the DVS.
Declaration
public InputList<string> StandbyUplinks { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |
Tags
A list of tag IDs to apply to this object.
Declaration
public InputList<string> Tags { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |
TeamingPolicy
The network adapter teaming policy. Can be one of loadbalance_ip, loadbalance_srcmac, loadbalance_srcid, failover_explicit, or loadbalance_loadbased.
Declaration
public Input<string> TeamingPolicy { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
TrafficFilterOverrideAllowed
Allow any traffic filters on this port group to be overridden on an individual port.
Declaration
public Input<bool> TrafficFilterOverrideAllowed { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
TxUplink
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.
Declaration
public Input<bool> TxUplink { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
Type
The port group type. Can be one of earlyBinding (static
binding) or ephemeral. Default: earlyBinding.
Declaration
public Input<string> Type { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
UplinkTeamingOverrideAllowed
Allow the uplink teaming options on this port group to be overridden on an individual port.
Declaration
public Input<bool> UplinkTeamingOverrideAllowed { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
VlanId
The VLAN ID for single VLAN mode. 0 denotes no VLAN.
Declaration
public Input<int> VlanId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
VlanOverrideAllowed
Allow the VLAN settings on this port group to be overridden on an individual port.
Declaration
public Input<bool> VlanOverrideAllowed { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
VlanRanges
The VLAN ID for single VLAN mode. 0 denotes no VLAN.
Declaration
public InputList<DistributedPortGroupVlanRangeArgs> VlanRanges { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<DistributedPortGroupVlanRangeArgs> |