Class SecGroupRuleArgs


  • public final class SecGroupRuleArgs
    extends com.pulumi.resources.ResourceArgs
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  SecGroupRuleArgs.Builder  
      • Nested classes/interfaces inherited from class com.pulumi.resources.InputArgs

        com.pulumi.resources.InputArgs.InputArgsInternal
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static SecGroupRuleArgs.Builder builder()  
      static SecGroupRuleArgs.Builder builder​(SecGroupRuleArgs defaults)  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> description()  
      com.pulumi.core.Output<java.lang.String> direction()  
      com.pulumi.core.Output<java.lang.String> ethertype()  
      java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> portRangeMax()  
      java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> portRangeMin()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> protocol()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> region()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> remoteGroupId()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> remoteIpPrefix()  
      com.pulumi.core.Output<java.lang.String> securityGroupId()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> tenantId()  
      • Methods inherited from class com.pulumi.resources.ResourceArgs

        validateMember
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • description

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> description()
        Returns:
        A description of the rule. Changing this creates a new security group rule.
      • direction

        public com.pulumi.core.Output<java.lang.String> direction()
        Returns:
        The direction of the rule, valid values are __ingress__ or __egress__. Changing this creates a new security group rule.
      • ethertype

        public com.pulumi.core.Output<java.lang.String> ethertype()
        Returns:
        The layer 3 protocol type, valid values are __IPv4__ or __IPv6__. Changing this creates a new security group rule.
      • portRangeMax

        public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> portRangeMax()
        Returns:
        The higher part of the allowed port range, valid integer value needs to be between 1 and 65535. Changing this creates a new security group rule.
      • portRangeMin

        public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> portRangeMin()
        Returns:
        The lower part of the allowed port range, valid integer value needs to be between 1 and 65535. Changing this creates a new security group rule.
      • protocol

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> protocol()
        Returns:
        The layer 4 protocol type, valid values are following. Changing this creates a new security group rule. This is required if you want to specify a port range. * __tcp__ * __udp__ * __icmp__ * __ah__ * __dccp__ * __egp__ * __esp__ * __gre__ * __igmp__ * __ipv6-encap__ * __ipv6-frag__ * __ipv6-icmp__ * __ipv6-nonxt__ * __ipv6-opts__ * __ipv6-route__ * __ospf__ * __pgm__ * __rsvp__ * __sctp__ * __udplite__ * __vrrp__
      • 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 security group rule.
      • remoteGroupId

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> remoteGroupId()
        Returns:
        The remote group id, the value needs to be an Openstack ID of a security group in the same tenant. Changing this creates a new security group rule.
      • remoteIpPrefix

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> remoteIpPrefix()
        Returns:
        The remote CIDR, the value needs to be a valid CIDR (i.e. 192.168.0.0/16). Changing this creates a new security group rule.
      • securityGroupId

        public com.pulumi.core.Output<java.lang.String> securityGroupId()
        Returns:
        The security group id the rule should belong to, the value needs to be an Openstack ID of a security group in the same tenant. Changing this creates a new security group rule.
      • tenantId

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> tenantId()
        Returns:
        The owner of the security group. Required if admin wants to create a port for another tenant. Changing this creates a new security group rule.