Class: Ansible::Ruby::Modules::Gcp_compute_forwarding_rule
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Gcp_compute_forwarding_rule
- Defined in:
- lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_forwarding_rule.rb
Overview
A ForwardingRule resource. A ForwardingRule resource specifies which pool of target virtual machines to forward a packet to if it matches the given [IPAddress, IPProtocol, portRange] tuple.
Instance Method Summary collapse
-
#backend_service ⇒ Object?
A reference to a BackendService to receive the matched traffic.,This is used for internal load balancing.,(not used for external load balancing) .
-
#description ⇒ Object?
An optional description of this resource.
-
#ip_address ⇒ String?
The IP address that this forwarding rule is serving on behalf of.,Addresses are restricted based on the forwarding rule’s load balancing scheme (EXTERNAL or INTERNAL) and scope (global or regional).,When the load balancing scheme is EXTERNAL, for global forwarding rules, the address must be a global IP, and for regional forwarding rules, the address must live in the same region as the forwarding rule.
-
#ip_protocol ⇒ :TCP, ...
The IP protocol to which this rule applies.
-
#ip_version ⇒ :IPV4, ...
The IP Version that will be used by this forwarding rule.
-
#load_balancing_scheme ⇒ :INTERNAL, ...
This signifies what the ForwardingRule will be used for and can only take the following values: INTERNAL, EXTERNAL The value of INTERNAL means that this will be used for Internal Network Load Balancing (TCP, UDP).
-
#name ⇒ String
Name of the resource; provided by the client when the resource is created.
-
#network ⇒ Object?
For internal load balancing, this field identifies the network that the load balanced IP should belong to for this Forwarding Rule.
-
#port_range ⇒ String?
This field is used along with the target field for TargetHttpProxy, TargetHttpsProxy, TargetSslProxy, TargetTcpProxy, TargetVpnGateway, TargetPool, TargetInstance.,Applicable only when IPProtocol is TCP, UDP, or SCTP, only packets addressed to ports in the specified range will be forwarded to target.,Forwarding rules with the same [IPAddress, IPProtocol] pair must have disjoint port ranges.,Some types of forwarding target have constraints on the acceptable ports: * TargetHttpProxy: 80, 8080 * TargetHttpsProxy: 443 * TargetTcpProxy: 25, 43, 110, 143, 195, 443, 465, 587, 700, 993, 995, 1883, 5222 * TargetSslProxy: 25, 43, 110, 143, 195, 443, 465, 587, 700, 993, 995, 1883, 5222 * TargetVpnGateway: 500, 4500 .
-
#ports ⇒ Object?
This field is used along with the backend_service field for internal load balancing.,When the load balancing scheme is INTERNAL, a single port or a comma separated list of ports can be configured.
-
#region ⇒ String
A reference to the region where the regional forwarding rule resides.,This field is not applicable to global forwarding rules.
-
#state ⇒ :present, ...
Whether the given object should exist in GCP.
-
#subnetwork ⇒ Object?
A reference to a subnetwork.,For internal load balancing, this field identifies the subnetwork that the load balanced IP should belong to for this Forwarding Rule.,If the network specified is in auto subnet mode, this field is optional.
-
#target ⇒ String?
A reference to a TargetPool resource to receive the matched traffic.,For regional forwarding rules, this target must live in the same region as the forwarding rule.
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
#backend_service ⇒ Object?
27 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_forwarding_rule.rb', line 27 attribute :backend_service |
#description ⇒ Object?
16 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_forwarding_rule.rb', line 16 attribute :description |
#ip_address ⇒ String?
19 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_forwarding_rule.rb', line 19 attribute :ip_address |
#ip_protocol ⇒ :TCP, ...
23 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_forwarding_rule.rb', line 23 attribute :ip_protocol |
#ip_version ⇒ :IPV4, ...
30 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_forwarding_rule.rb', line 30 attribute :ip_version |
#load_balancing_scheme ⇒ :INTERNAL, ...
34 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_forwarding_rule.rb', line 34 attribute :load_balancing_scheme |
#name ⇒ String
38 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_forwarding_rule.rb', line 38 attribute :name |
#network ⇒ Object?
42 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_forwarding_rule.rb', line 42 attribute :network |
#port_range ⇒ String?
45 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_forwarding_rule.rb', line 45 attribute :port_range |
#ports ⇒ Object?
49 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_forwarding_rule.rb', line 49 attribute :ports |
#region ⇒ String
59 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_forwarding_rule.rb', line 59 attribute :region |
#state ⇒ :present, ...
12 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_forwarding_rule.rb', line 12 attribute :state |
#subnetwork ⇒ Object?
52 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_forwarding_rule.rb', line 52 attribute :subnetwork |
#target ⇒ String?
55 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_forwarding_rule.rb', line 55 attribute :target |