Class: Ansible::Ruby::Modules::Cs_network_acl_rule
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Cs_network_acl_rule
- Defined in:
- lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_network_acl_rule.rb
Overview
Add, update and remove network ACL rules.
Instance Method Summary collapse
-
#account ⇒ Object?
Account the VPC is related to.
-
#action_policy ⇒ :allow, ...
Action policy of the rule.
-
#cidr ⇒ String?
CIDR of the rule.
-
#domain ⇒ Object?
Domain the VPC is related to.
-
#end_port ⇒ Integer?
End port for this rule.,Considered if C(protocol=tcp) or C(protocol=udp).,If not specified, equal C(start_port).
-
#icmp_code ⇒ Object?
Error code for this icmp message.,Considered if C(protocol=icmp).
-
#icmp_type ⇒ Object?
Type of the icmp message being sent.,Considered if C(protocol=icmp).
-
#network_acl ⇒ String
Name of the network ACL.
-
#poll_async ⇒ :yes, ...
Poll async jobs until job has finished.
-
#project ⇒ Object?
Name of the project the VPC is related to.
-
#protocol ⇒ :tcp, ...
Protocol of the rule.
-
#protocol_number ⇒ Object?
Protocol number from 1 to 256 required if C(protocol=by_number).
-
#rule_position ⇒ Integer
CIDR of the rule.
-
#start_port ⇒ Integer?
Start port for this rule.,Considered if C(protocol=tcp) or C(protocol=udp).
-
#state ⇒ :present, ...
State of the network ACL rule.
-
#tags ⇒ Object?
List of tags.
-
#traffic_type ⇒ :ingress, ...
Traffic type of the rule.
-
#vpc ⇒ String
VPC the network ACL is related to.
-
#zone ⇒ Object?
Name of the zone the VPC related to.,If not set, default zone is used.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, fix_inclusion, #initialize, remove_existing_validations, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#account ⇒ Object?
Returns Account the VPC is related to.
63 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_network_acl_rule.rb', line 63 attribute :account |
#action_policy ⇒ :allow, ...
Returns Action policy of the rule.
53 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_network_acl_rule.rb', line 53 attribute :action_policy |
#cidr ⇒ String?
Returns CIDR of the rule.
16 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_network_acl_rule.rb', line 16 attribute :cidr |
#domain ⇒ Object?
Returns Domain the VPC is related to.
60 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_network_acl_rule.rb', line 60 attribute :domain |
#end_port ⇒ Integer?
Returns End port for this rule.,Considered if C(protocol=tcp) or C(protocol=udp).,If not specified, equal C(start_port).
35 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_network_acl_rule.rb', line 35 attribute :end_port |
#icmp_code ⇒ Object?
Returns Error code for this icmp message.,Considered if C(protocol=icmp).
42 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_network_acl_rule.rb', line 42 attribute :icmp_code |
#icmp_type ⇒ Object?
Returns Type of the icmp message being sent.,Considered if C(protocol=icmp).
39 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_network_acl_rule.rb', line 39 attribute :icmp_type |
#network_acl ⇒ String
Returns Name of the network ACL.
12 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_network_acl_rule.rb', line 12 attribute :network_acl |
#poll_async ⇒ :yes, ...
Returns Poll async jobs until job has finished.
76 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_network_acl_rule.rb', line 76 attribute :poll_async |
#project ⇒ Object?
Returns Name of the project the VPC is related to.
66 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_network_acl_rule.rb', line 66 attribute :project |
#protocol ⇒ :tcp, ...
Returns Protocol of the rule.
24 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_network_acl_rule.rb', line 24 attribute :protocol |
#protocol_number ⇒ Object?
Returns Protocol number from 1 to 256 required if C(protocol=by_number).
28 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_network_acl_rule.rb', line 28 attribute :protocol_number |
#rule_position ⇒ Integer
Returns CIDR of the rule.
20 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_network_acl_rule.rb', line 20 attribute :rule_position |
#start_port ⇒ Integer?
Returns Start port for this rule.,Considered if C(protocol=tcp) or C(protocol=udp).
31 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_network_acl_rule.rb', line 31 attribute :start_port |
#state ⇒ :present, ...
Returns State of the network ACL rule.
72 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_network_acl_rule.rb', line 72 attribute :state |
#tags ⇒ Object?
Returns List of tags. Tags are a list of dictionaries having keys C(key) and C(value).,If you want to delete all tags, set a empty list e.g. C(tags: []).
57 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_network_acl_rule.rb', line 57 attribute :tags |
#traffic_type ⇒ :ingress, ...
Returns Traffic type of the rule.
49 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_network_acl_rule.rb', line 49 attribute :traffic_type |
#vpc ⇒ String
Returns VPC the network ACL is related to.
45 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_network_acl_rule.rb', line 45 attribute :vpc |
#zone ⇒ Object?
Returns Name of the zone the VPC related to.,If not set, default zone is used.
69 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_network_acl_rule.rb', line 69 attribute :zone |