Package com.pulumi.openstack.networking
Class PortArgs
- java.lang.Object
-
- com.pulumi.resources.InputArgs
-
- com.pulumi.resources.ResourceArgs
-
- com.pulumi.openstack.networking.PortArgs
-
public final class PortArgs extends com.pulumi.resources.ResourceArgs
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPortArgs.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>>adminStateUp()java.util.Optional<com.pulumi.core.Output<java.util.List<PortAllowedAddressPairArgs>>>allowedAddressPairs()java.util.Optional<com.pulumi.core.Output<PortBindingArgs>>binding()static PortArgs.Builderbuilder()static PortArgs.Builderbuilder(PortArgs defaults)java.util.Optional<com.pulumi.core.Output<java.lang.String>>description()java.util.Optional<com.pulumi.core.Output<java.lang.String>>deviceId()java.util.Optional<com.pulumi.core.Output<java.lang.String>>deviceOwner()java.util.Optional<com.pulumi.core.Output<java.lang.String>>dnsName()java.util.Optional<com.pulumi.core.Output<java.util.List<PortExtraDhcpOptionArgs>>>extraDhcpOptions()java.util.Optional<com.pulumi.core.Output<java.util.List<PortFixedIpArgs>>>fixedIps()java.util.Optional<com.pulumi.core.Output<java.lang.String>>macAddress()java.util.Optional<com.pulumi.core.Output<java.lang.String>>name()com.pulumi.core.Output<java.lang.String>networkId()java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>>noFixedIp()java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>>noSecurityGroups()java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>>portSecurityEnabled()java.util.Optional<com.pulumi.core.Output<java.lang.String>>qosPolicyId()java.util.Optional<com.pulumi.core.Output<java.lang.String>>region()java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>>securityGroupIds()java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>>tags()java.util.Optional<com.pulumi.core.Output<java.lang.String>>tenantId()java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.Object>>>valueSpecs()
-
-
-
Field Detail
-
Empty
public static final PortArgs Empty
-
-
Method Detail
-
adminStateUp
public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> adminStateUp()
- Returns:
- 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.
-
allowedAddressPairs
public java.util.Optional<com.pulumi.core.Output<java.util.List<PortAllowedAddressPairArgs>>> allowedAddressPairs()
- Returns:
- An IP/MAC Address pair of additional IP addresses that can be active on this port. The structure is described below.
-
binding
public java.util.Optional<com.pulumi.core.Output<PortBindingArgs>> binding()
- Returns:
- The port binding allows to specify binding information for the port. The structure is described below.
-
description
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> description()
- Returns:
- Human-readable description of the port. Changing this updates the `description` of an existing port.
-
deviceId
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> deviceId()
- Returns:
- The ID of the device attached to the port. Changing this creates a new port.
-
deviceOwner
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> deviceOwner()
- Returns:
- The device owner of the port. Changing this creates a new port.
-
dnsName
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> dnsName()
- Returns:
- The port DNS name. Available, when Neutron DNS extension is enabled.
-
extraDhcpOptions
public java.util.Optional<com.pulumi.core.Output<java.util.List<PortExtraDhcpOptionArgs>>> extraDhcpOptions()
- Returns:
- An extra DHCP option that needs to be configured on the port. The structure is described below. Can be specified multiple times.
-
fixedIps
public java.util.Optional<com.pulumi.core.Output<java.util.List<PortFixedIpArgs>>> fixedIps()
- Returns:
- An array of desired IPs for this port. The structure is described below.
-
macAddress
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> macAddress()
- Returns:
- Specify a specific MAC address for the port. Changing this creates a new port.
-
name
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> name()
- Returns:
- A unique name for the port. Changing this updates the `name` of an existing port.
-
networkId
public com.pulumi.core.Output<java.lang.String> networkId()
- Returns:
- The ID of the network to attach the port to. Changing this creates a new port.
-
noFixedIp
public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> noFixedIp()
- Returns:
- 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.
-
noSecurityGroups
public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> noSecurityGroups()
- Returns:
- 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.
-
portSecurityEnabled
public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> portSecurityEnabled()
- Returns:
- 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`.
-
qosPolicyId
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> qosPolicyId()
- Returns:
- Reference to the associated QoS policy.
-
region
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> region()
- Returns:
- 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.
-
securityGroupIds
public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> securityGroupIds()
- Returns:
- 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).
-
tags
public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> tags()
- Returns:
- A set of string tags for the port.
-
tenantId
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> tenantId()
- Returns:
- The owner of the port. Required if admin wants to create a port for another tenant. Changing this creates a new port.
-
valueSpecs
public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.Object>>> valueSpecs()
- Returns:
- Map of additional options.
-
builder
public static PortArgs.Builder builder()
-
builder
public static PortArgs.Builder builder(PortArgs defaults)
-
-