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/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.
-
#network ⇒ Object?
Name of the network.
-
#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.
-
#tags ⇒ Object?
List of tags.
-
#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.
-
#vpc ⇒ Object?
Name of the VPC.
-
#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, 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?
59 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_portforward.rb', line 59 attribute :account |
#domain ⇒ Object?
56 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_portforward.rb', line 56 attribute :domain |
#ip_address ⇒ String
12 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_portforward.rb', line 12 attribute :ip_address |
#network ⇒ Object?
50 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_portforward.rb', line 50 attribute :network |
#open_firewall ⇒ Boolean?
42 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_portforward.rb', line 42 attribute :open_firewall |
#poll_async ⇒ Boolean?
68 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_portforward.rb', line 68 attribute :poll_async |
#private_end_port ⇒ Object?
39 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_portforward.rb', line 39 attribute :private_end_port |
#private_port ⇒ Integer
35 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_portforward.rb', line 35 attribute :private_port |
#project ⇒ Object?
62 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_portforward.rb', line 62 attribute :project |
#protocol ⇒ :tcp, ...
24 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_portforward.rb', line 24 attribute :protocol |
#public_end_port ⇒ Object?
32 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_portforward.rb', line 32 attribute :public_end_port |
#public_port ⇒ Integer, String
28 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_portforward.rb', line 28 attribute :public_port |
#state ⇒ :present, ...
20 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_portforward.rb', line 20 attribute :state |
#tags ⇒ Object?
72 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_portforward.rb', line 72 attribute :tags |
#vm ⇒ String?
16 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_portforward.rb', line 16 attribute :vm |
#vm_guest_ip ⇒ Boolean?
46 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_portforward.rb', line 46 attribute :vm_guest_ip |
#vpc ⇒ Object?
53 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_portforward.rb', line 53 attribute :vpc |
#zone ⇒ Object?
65 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_portforward.rb', line 65 attribute :zone |