Class: Ansible::Ruby::Modules::Cs_firewall

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_firewall.rb

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #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

#accountObject?

Returns Account the firewall rule is related to.

Returns:

  • (Object, nil)

    Account the firewall rule is related to.



51
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_firewall.rb', line 51

attribute :account

#cidrString?

Returns CIDR (full notation) to be used for firewall rule.

Returns:

  • (String, nil)

    CIDR (full notation) to be used for firewall rule.



30
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_firewall.rb', line 30

attribute :cidr

#domainObject?

Returns Domain the firewall rule is related to.

Returns:

  • (Object, nil)

    Domain the firewall rule is related to.



48
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_firewall.rb', line 48

attribute :domain

#end_portInteger?

Returns End port for this rule. Considered if C(protocol=tcp) or C(protocol=udp). If not specified, equal C(start_port).

Returns:

  • (Integer, nil)

    End port for this rule. Considered if C(protocol=tcp) or C(protocol=udp). If not specified, equal C(start_port).



38
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_firewall.rb', line 38

attribute :end_port

#icmp_codeObject?

Returns Error code for this icmp message. Considered if C(protocol=icmp).

Returns:

  • (Object, nil)

    Error code for this icmp message. Considered if C(protocol=icmp).



45
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_firewall.rb', line 45

attribute :icmp_code

#icmp_typeObject?

Returns Type of the icmp message being sent. Considered if C(protocol=icmp).

Returns:

  • (Object, nil)

    Type of the icmp message being sent. Considered if C(protocol=icmp).



42
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_firewall.rb', line 42

attribute :icmp_type

#ip_addressString?

Returns Public IP address the ingress rule is assigned to.,Required if C(type=ingress).

Returns:

  • (String, nil)

    Public IP address the ingress rule is assigned to.,Required if C(type=ingress).



10
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_firewall.rb', line 10

attribute :ip_address

#networkString?

Returns Network the egress rule is related to.,Required if C(type=egress).

Returns:

  • (String, nil)

    Network the egress rule is related to.,Required if C(type=egress).



14
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_firewall.rb', line 14

attribute :network

#poll_asyncBoolean?

Returns Poll async jobs until job has finished.

Returns:

  • (Boolean, nil)

    Poll async jobs until job has finished.



60
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_firewall.rb', line 60

attribute :poll_async

#projectObject?

Returns Name of the project the firewall rule is related to.

Returns:

  • (Object, nil)

    Name of the project the firewall rule is related to.



54
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_firewall.rb', line 54

attribute :project

#protocol:tcp, ...

Returns Protocol of the firewall rule.,C(all) is only available if C(type=egress).

Returns:

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

    Protocol of the firewall rule.,C(all) is only available if C(type=egress)



26
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_firewall.rb', line 26

attribute :protocol

#start_portInteger?

Returns Start port for this rule. Considered if C(protocol=tcp) or C(protocol=udp).

Returns:

  • (Integer, nil)

    Start port for this rule. Considered if C(protocol=tcp) or C(protocol=udp).



34
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_firewall.rb', line 34

attribute :start_port

#state:present, ...

Returns State of the firewall rule.

Returns:

  • (:present, :absent, nil)

    State of the firewall rule.



18
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_firewall.rb', line 18

attribute :state

#type:ingress, ...

Returns Type of the firewall rule.

Returns:

  • (:ingress, :egress, nil)

    Type of the firewall rule.



22
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_firewall.rb', line 22

attribute :type

#zoneObject?

Returns Name of the zone in which the virtual machine is in.,If not set, default zone is used.

Returns:

  • (Object, nil)

    Name of the zone in which the virtual machine is in.,If not set, default zone is used.



57
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_firewall.rb', line 57

attribute :zone