Class PortState
Inherited Members
Namespace: Pulumi.OpenStack.Networking
Assembly: Pulumi.OpenStack.dll
Syntax
public sealed class PortState : ResourceArgs
Constructors
View SourcePortState()
Declaration
public PortState()
Properties
View SourceAdminStateUp
Administrative up/down status for the port
(must be "true" or "false" if provided). Changing this updates the
admin_state_up of an existing port.
Declaration
public Input<bool> AdminStateUp { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
AllFixedIps
The collection of Fixed IP addresses on the port in the order returned by the Network v2 API.
Declaration
public InputList<string> AllFixedIps { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |
AllowedAddressPairs
An IP/MAC Address pair of additional IP addresses that can be active on this port. The structure is described below.
Declaration
public InputList<PortAllowedAddressPairGetArgs> AllowedAddressPairs { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<PortAllowedAddressPairGetArgs> |
AllSecurityGroupIds
The collection of Security Group IDs on the port which have been explicitly and implicitly added.
Declaration
public InputList<string> AllSecurityGroupIds { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |
AllTags
The collection of tags assigned on the port, which have been explicitly and implicitly added.
Declaration
public InputList<string> AllTags { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |
Binding
The port binding allows to specify binding information for the port. The structure is described below.
Declaration
public Input<PortBindingGetArgs> Binding { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<PortBindingGetArgs> |
Description
Human-readable description of the floating IP. Changing
this updates the description of an existing port.
Declaration
public Input<string> Description { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
DeviceId
The ID of the device attached to the port. Changing this creates a new port.
Declaration
public Input<string> DeviceId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
DeviceOwner
The device owner of the Port. Changing this creates a new port.
Declaration
public Input<string> DeviceOwner { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
DnsAssignments
The list of maps representing port DNS assignments.
Declaration
public InputList<ImmutableDictionary<string, object>> DnsAssignments { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.Collections.Immutable.ImmutableDictionary<System.String, System.Object>> |
DnsName
The port DNS name. Available, when Neutron DNS extension is enabled.
Declaration
public Input<string> DnsName { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
ExtraDhcpOptions
An extra DHCP option that needs to be configured on the port. The structure is described below. Can be specified multiple times.
Declaration
public InputList<PortExtraDhcpOptionGetArgs> ExtraDhcpOptions { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<PortExtraDhcpOptionGetArgs> |
FixedIps
An array of desired IPs for this port. The structure is described below.
Declaration
public InputList<PortFixedIpGetArgs> FixedIps { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<PortFixedIpGetArgs> |
MacAddress
The additional MAC address.
Declaration
public Input<string> MacAddress { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Name
Name of the DHCP option.
Declaration
public Input<string> Name { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
NetworkId
The ID of the network to attach the port to. Changing this creates a new port.
Declaration
public Input<string> NetworkId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
NoFixedIp
Create a port with no fixed
IP address. This will also remove any fixed IPs previously set on a port. true
is the only valid value for this argument.
Declaration
public Input<bool> NoFixedIp { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
NoSecurityGroups
If set to
true, then no security groups are applied to the port. If set to false and
no security_group_ids are specified, then the Port will yield to the default
behavior of the Networking service, which is to usually apply the "default"
security group.
Declaration
public Input<bool> NoSecurityGroups { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
PortSecurityEnabled
Whether to explicitly enable or disable
port security on the port. Port Security is usually enabled by default, so
omitting argument will usually result in a value of "true". Setting this
explicitly to false will disable port security. In order to disable port
security, the port must not have any security groups. Valid values are true
and false.
Declaration
public Input<bool> PortSecurityEnabled { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
QosPolicyId
Reference to the associated QoS policy.
Declaration
public Input<string> QosPolicyId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Region
The region in which to obtain the V2 networking client.
A networking client is needed to create a port. If omitted, the
region argument of the provider is used. Changing this creates a new
port.
Declaration
public Input<string> Region { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
SecurityGroupIds
A list of security group IDs to apply to the port. The security groups must be specified by ID and not name (as opposed to how they are configured with the Compute Instance).
Declaration
public InputList<string> SecurityGroupIds { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |
Tags
A set of string tags for the port.
Declaration
public InputList<string> Tags { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |
TenantId
The owner of the Port. Required if admin wants to create a port for another tenant. Changing this creates a new port.
Declaration
public Input<string> TenantId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
ValueSpecs
Map of additional options.
Declaration
public InputMap<object> ValueSpecs { get; set; }
Property Value
| Type | Description |
|---|---|
| InputMap<System.Object> |