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/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?
28 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_securitygroup_rule.rb', line 28 attribute :cidr |
#end_port ⇒ Integer?
40 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_securitygroup_rule.rb', line 40 attribute :end_port |
#icmp_code ⇒ Integer?
48 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_securitygroup_rule.rb', line 48 attribute :icmp_code |
#icmp_type ⇒ Integer?
44 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_securitygroup_rule.rb', line 44 attribute :icmp_type |
#poll_async ⇒ Boolean?
55 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_securitygroup_rule.rb', line 55 attribute :poll_async |
#project ⇒ Object?
52 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_securitygroup_rule.rb', line 52 attribute :project |
#protocol ⇒ :tcp, ...
20 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_securitygroup_rule.rb', line 20 attribute :protocol |
#security_group ⇒ String
12 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_securitygroup_rule.rb', line 12 attribute :security_group |
#start_port ⇒ Integer?
36 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_securitygroup_rule.rb', line 36 attribute :start_port |
#state ⇒ :present, ...
16 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_securitygroup_rule.rb', line 16 attribute :state |
#type ⇒ :ingress, ...
24 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_securitygroup_rule.rb', line 24 attribute :type |
#user_security_group ⇒ String?
32 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_securitygroup_rule.rb', line 32 attribute :user_security_group |