Class: Ansible::Ruby::Modules::Os_security_group_rule

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/core/cloud/openstack/os_security_group_rule.rb

Instance Method Summary collapse

Methods inherited from Base

#to_h

Methods inherited from Ansible::Ruby::Models::Base

attr_option, attr_options, attribute, #initialize, #to_h, validates

Constructor Details

This class inherits a constructor from Ansible::Ruby::Models::Base

Instance Method Details

#direction:egress, ...

Returns The direction in which the security group rule is applied. Not all providers support egress.

Returns:

  • (:egress, :ingress, nil)

    The direction in which the security group rule is applied. Not all providers support egress.



37
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/os_security_group_rule.rb', line 37

attribute :direction

#ethertype:IPv4, ...

Returns Must be IPv4 or IPv6, and addresses represented in CIDR must match the ingress or egress rules. Not all providers support IPv6.

Returns:

  • (:IPv4, :IPv6, nil)

    Must be IPv4 or IPv6, and addresses represented in CIDR must match the ingress or egress rules. Not all providers support IPv6.



33
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/os_security_group_rule.rb', line 33

attribute :ethertype

#port_range_maxInteger?

Returns Ending port.

Returns:

  • (Integer, nil)

    Ending port



22
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/os_security_group_rule.rb', line 22

attribute :port_range_max

#port_range_minInteger?

Returns Starting port.

Returns:

  • (Integer, nil)

    Starting port



18
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/os_security_group_rule.rb', line 18

attribute :port_range_min

#protocol:tcp, ...

Returns IP protocol.

Returns:

  • (:tcp, :udp, :icmp, :None, nil)

    IP protocol



14
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/os_security_group_rule.rb', line 14

attribute :protocol

#remote_groupObject?

Returns Name or ID of the Security group to link (exclusive with remote_ip_prefix).

Returns:

  • (Object, nil)

    Name or ID of the Security group to link (exclusive with remote_ip_prefix)



30
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/os_security_group_rule.rb', line 30

attribute :remote_group

#remote_ip_prefixString?

Returns Source IP address(es) in CIDR notation (exclusive with remote_group).

Returns:

  • (String, nil)

    Source IP address(es) in CIDR notation (exclusive with remote_group)



26
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/os_security_group_rule.rb', line 26

attribute :remote_ip_prefix

#security_groupString

Returns Name or ID of the security group.

Returns:

  • (String)

    Name or ID of the security group



10
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/os_security_group_rule.rb', line 10

attribute :security_group

#state:present, ...

Returns Should the resource be present or absent.

Returns:

  • (:present, :absent, nil)

    Should the resource be present or absent.



41
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/os_security_group_rule.rb', line 41

attribute :state