Class SecGroupRuleArgs
- java.lang.Object
-
- com.pulumi.resources.InputArgs
-
- com.pulumi.resources.ResourceArgs
-
- com.pulumi.openstack.compute.inputs.SecGroupRuleArgs
-
public final class SecGroupRuleArgs extends com.pulumi.resources.ResourceArgs
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSecGroupRuleArgs.Builder
-
Field Summary
Fields Modifier and Type Field Description static SecGroupRuleArgsEmpty
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SecGroupRuleArgs.Builderbuilder()static SecGroupRuleArgs.Builderbuilder(SecGroupRuleArgs defaults)java.util.Optional<com.pulumi.core.Output<java.lang.String>>cidr()java.util.Optional<com.pulumi.core.Output<java.lang.String>>fromGroupId()com.pulumi.core.Output<java.lang.Integer>fromPort()java.util.Optional<com.pulumi.core.Output<java.lang.String>>id()com.pulumi.core.Output<java.lang.String>ipProtocol()java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>>self()com.pulumi.core.Output<java.lang.Integer>toPort()
-
-
-
Field Detail
-
Empty
public static final SecGroupRuleArgs Empty
-
-
Method Detail
-
cidr
public java.util.Optional<com.pulumi.core.Output<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<com.pulumi.core.Output<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 com.pulumi.core.Output<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<com.pulumi.core.Output<java.lang.String>> id()
-
ipProtocol
public com.pulumi.core.Output<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<com.pulumi.core.Output<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 com.pulumi.core.Output<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 SecGroupRuleArgs.Builder builder()
-
builder
public static SecGroupRuleArgs.Builder builder(SecGroupRuleArgs defaults)
-
-