Class SecGroupRule
- java.lang.Object
-
- com.pulumi.openstack.compute.outputs.SecGroupRule
-
public final class SecGroupRule extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSecGroupRule.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SecGroupRule.Builderbuilder()static SecGroupRule.Builderbuilder(SecGroupRule defaults)java.util.Optional<java.lang.String>cidr()java.util.Optional<java.lang.String>fromGroupId()java.lang.IntegerfromPort()java.util.Optional<java.lang.String>id()java.lang.StringipProtocol()java.util.Optional<java.lang.Boolean>self()java.lang.IntegertoPort()
-
-
-
Method Detail
-
cidr
public java.util.Optional<java.lang.String> cidr()
- Returns:
- Required if `from_group_id` or `self` is empty. The IP range that will be the source of network traffic to the security group. Use 0.0.0.0/0 to allow all IP addresses. Changing this creates a new security group rule. Cannot be combined with `from_group_id` or `self`.
-
fromGroupId
public java.util.Optional<java.lang.String> fromGroupId()
- Returns:
- Required if `cidr` or `self` is empty. The ID of a group from which to forward traffic to the parent group. Changing this creates a new security group rule. Cannot be combined with `cidr` or `self`.
-
fromPort
public java.lang.Integer fromPort()
- Returns:
- An integer representing the lower bound of the port range to open. Changing this creates a new security group rule.
-
id
public java.util.Optional<java.lang.String> id()
-
ipProtocol
public java.lang.String ipProtocol()
- Returns:
- The protocol type that will be allowed. Changing this creates a new security group rule.
-
self
public java.util.Optional<java.lang.Boolean> self()
- Returns:
- Required if `cidr` and `from_group_id` is empty. If true, the security group itself will be added as a source to this ingress rule. Cannot be combined with `cidr` or `from_group_id`.
-
toPort
public java.lang.Integer toPort()
- Returns:
- An integer representing the upper bound of the port range to open. Changing this creates a new security group rule.
-
builder
public static SecGroupRule.Builder builder()
-
builder
public static SecGroupRule.Builder builder(SecGroupRule defaults)
-
-