Class: Ansible::Ruby::Modules::Cs_portforward
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Cs_portforward
- Defined in:
- lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_portforward.rb
Overview
Create, update and remove port forwarding rules.
Instance Method Summary collapse
-
#account ⇒ Object?
Account the C(vm) is related to.
-
#domain ⇒ Object?
Domain the C(vm) is related to.
-
#ip_address ⇒ String
Public IP address the rule is assigned to.
-
#open_firewall ⇒ Boolean?
Whether the firewall rule for public port should be created, while creating the new rule.,Use M(cs_firewall) for managing firewall rules.
-
#poll_async ⇒ Boolean?
Poll async jobs until job has finished.
-
#private_end_port ⇒ Object?
End private port for this rule.,If not specified equal C(private_port).
-
#private_port ⇒ Integer
Start private port for this rule.
-
#project ⇒ Object?
Name of the project the C(vm) is located in.
-
#protocol ⇒ :tcp, ...
Protocol of the port forwarding rule.
-
#public_end_port ⇒ Object?
End public port for this rule.,If not specified equal C(public_port).
-
#public_port ⇒ Integer, String
Start public port for this rule.
-
#state ⇒ :present, ...
State of the port forwarding rule.
-
#vm ⇒ String?
Name of virtual machine which we make the port forwarding rule for.,Required if C(state=present).
-
#vm_guest_ip ⇒ Boolean?
VM guest NIC secondary IP address for the port forwarding rule.
-
#zone ⇒ Object?
Name of the zone in which the virtual machine is in.,If not set, default zone is used.
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
#account ⇒ Object?
Returns Account the C(vm) is related to.
52 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_portforward.rb', line 52 attribute :account |
#domain ⇒ Object?
Returns Domain the C(vm) is related to.
49 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_portforward.rb', line 49 attribute :domain |
#ip_address ⇒ String
Returns Public IP address the rule is assigned to.
11 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_portforward.rb', line 11 attribute :ip_address |
#open_firewall ⇒ Boolean?
Returns Whether the firewall rule for public port should be created, while creating the new rule.,Use M(cs_firewall) for managing firewall rules.
41 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_portforward.rb', line 41 attribute :open_firewall |
#poll_async ⇒ Boolean?
Returns Poll async jobs until job has finished.
61 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_portforward.rb', line 61 attribute :poll_async |
#private_end_port ⇒ Object?
Returns End private port for this rule.,If not specified equal C(private_port).
38 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_portforward.rb', line 38 attribute :private_end_port |
#private_port ⇒ Integer
Returns Start private port for this rule.
34 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_portforward.rb', line 34 attribute :private_port |
#project ⇒ Object?
Returns Name of the project the C(vm) is located in.
55 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_portforward.rb', line 55 attribute :project |
#protocol ⇒ :tcp, ...
Returns Protocol of the port forwarding rule.
23 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_portforward.rb', line 23 attribute :protocol |
#public_end_port ⇒ Object?
Returns End public port for this rule.,If not specified equal C(public_port).
31 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_portforward.rb', line 31 attribute :public_end_port |
#public_port ⇒ Integer, String
Returns Start public port for this rule.
27 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_portforward.rb', line 27 attribute :public_port |
#state ⇒ :present, ...
Returns State of the port forwarding rule.
19 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_portforward.rb', line 19 attribute :state |
#vm ⇒ String?
Returns Name of virtual machine which we make the port forwarding rule for.,Required if C(state=present).
15 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_portforward.rb', line 15 attribute :vm |
#vm_guest_ip ⇒ Boolean?
Returns VM guest NIC secondary IP address for the port forwarding rule.
45 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_portforward.rb', line 45 attribute :vm_guest_ip |
#zone ⇒ Object?
Returns Name of the zone in which the virtual machine is in.,If not set, default zone is used.
58 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_portforward.rb', line 58 attribute :zone |