Class: Ansible::Ruby::Modules::Cs_securitygroup_rule
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Cs_securitygroup_rule
- Defined in:
- lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_securitygroup_rule.rb
Overview
Add and remove security group rules.
Instance Method Summary collapse
-
#cidr ⇒ String?
CIDR (full notation) to be used for security group rule.
-
#end_port ⇒ Integer?
End port for this rule.
-
#icmp_code ⇒ Integer?
Error code for this icmp message.
-
#icmp_type ⇒ Integer?
Type of the icmp message being sent.
-
#poll_async ⇒ Boolean?
Poll async jobs until job has finished.
-
#project ⇒ Object?
Name of the project the security group to be created in.
-
#protocol ⇒ :tcp, ...
Protocol of the security group rule.
-
#security_group ⇒ String
Name of the security group the rule is related to.
-
#start_port ⇒ Integer?
Start port for this rule.
-
#state ⇒ :present, ...
State of the security group rule.
-
#type ⇒ :ingress, ...
Ingress or egress security group rule.
-
#user_security_group ⇒ String?
Security group this rule is based of.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, #initialize, remove_existing_validations, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#cidr ⇒ String?
Returns CIDR (full notation) to be used for security group rule.
27 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_securitygroup_rule.rb', line 27 attribute :cidr |
#end_port ⇒ Integer?
Returns End port for this rule. Required if C(protocol=tcp) or C(protocol=udp), but C(start_port) will be used if not set.
39 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_securitygroup_rule.rb', line 39 attribute :end_port |
#icmp_code ⇒ Integer?
Returns Error code for this icmp message. Required if C(protocol=icmp).
47 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_securitygroup_rule.rb', line 47 attribute :icmp_code |
#icmp_type ⇒ Integer?
Returns Type of the icmp message being sent. Required if C(protocol=icmp).
43 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_securitygroup_rule.rb', line 43 attribute :icmp_type |
#poll_async ⇒ Boolean?
Returns Poll async jobs until job has finished.
54 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_securitygroup_rule.rb', line 54 attribute :poll_async |
#project ⇒ Object?
Returns Name of the project the security group to be created in.
51 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_securitygroup_rule.rb', line 51 attribute :project |
#protocol ⇒ :tcp, ...
Returns Protocol of the security group rule.
19 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_securitygroup_rule.rb', line 19 attribute :protocol |
#security_group ⇒ String
Returns Name of the security group the rule is related to. The security group must be existing.
11 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_securitygroup_rule.rb', line 11 attribute :security_group |
#start_port ⇒ Integer?
Returns Start port for this rule. Required if C(protocol=tcp) or C(protocol=udp).
35 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_securitygroup_rule.rb', line 35 attribute :start_port |
#state ⇒ :present, ...
Returns State of the security group rule.
15 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_securitygroup_rule.rb', line 15 attribute :state |
#type ⇒ :ingress, ...
Returns Ingress or egress security group rule.
23 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_securitygroup_rule.rb', line 23 attribute :type |
#user_security_group ⇒ String?
Returns Security group this rule is based of.
31 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_securitygroup_rule.rb', line 31 attribute :user_security_group |