Class: Ansible::Ruby::Modules::Gcp_compute_vpn_tunnel
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Gcp_compute_vpn_tunnel
- Defined in:
- lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_vpn_tunnel.rb
Overview
VPN tunnel resource.
Instance Method Summary collapse
-
#description ⇒ Object?
An optional description of this resource.
-
#ike_version ⇒ Integer?
IKE protocol version to use when establishing the VPN tunnel with peer VPN gateway.,Acceptable IKE versions are 1 or 2.
-
#labels ⇒ Object?
Labels to apply to this VpnTunnel.
-
#local_traffic_selector ⇒ Object?
Local traffic selector to use when establishing the VPN tunnel with peer VPN gateway.
-
#name ⇒ String
Name of the resource.
-
#peer_ip ⇒ Object
IP address of the peer VPN gateway.
-
#region ⇒ String
The region where the tunnel is located.
-
#remote_traffic_selector ⇒ Object?
Remote traffic selector to use when establishing the VPN tunnel with peer VPN gateway.
-
#router ⇒ String?
URL of router resource to be used for dynamic routing.
-
#shared_secret ⇒ String
Shared secret used to set the secure session between the Cloud VPN gateway and the peer VPN gateway.
-
#state ⇒ :present, ...
Whether the given object should exist in GCP.
-
#target_vpn_gateway ⇒ String
URL of the Target VPN gateway with which this VPN tunnel is associated.
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
#description ⇒ Object?
Returns An optional description of this resource.
20 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_vpn_tunnel.rb', line 20 attribute :description |
#ike_version ⇒ Integer?
Returns IKE protocol version to use when establishing the VPN tunnel with peer VPN gateway.,Acceptable IKE versions are 1 or 2. Default version is 2.
39 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_vpn_tunnel.rb', line 39 attribute :ike_version |
#labels ⇒ Object?
Returns Labels to apply to this VpnTunnel.
49 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_vpn_tunnel.rb', line 49 attribute :labels |
#local_traffic_selector ⇒ Object?
Returns Local traffic selector to use when establishing the VPN tunnel with peer VPN gateway. The value should be a CIDR formatted string, for example ‘192.168.0.0/16`. The ranges should be disjoint.,Only IPv4 is supported.
43 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_vpn_tunnel.rb', line 43 attribute :local_traffic_selector |
#name ⇒ String
Returns Name of the resource. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression ‘[a-z](*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
16 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_vpn_tunnel.rb', line 16 attribute :name |
#peer_ip ⇒ Object
Returns IP address of the peer VPN gateway. Only IPv4 is supported.
31 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_vpn_tunnel.rb', line 31 attribute :peer_ip |
#region ⇒ String
Returns The region where the tunnel is located.
52 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_vpn_tunnel.rb', line 52 attribute :region |
#remote_traffic_selector ⇒ Object?
Returns Remote traffic selector to use when establishing the VPN tunnel with peer VPN gateway. The value should be a CIDR formatted string, for example ‘192.168.0.0/16`. The ranges should be disjoint.,Only IPv4 is supported.
46 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_vpn_tunnel.rb', line 46 attribute :remote_traffic_selector |
#router ⇒ String?
Returns URL of router resource to be used for dynamic routing.
27 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_vpn_tunnel.rb', line 27 attribute :router |
#shared_secret ⇒ String
Returns Shared secret used to set the secure session between the Cloud VPN gateway and the peer VPN gateway.
35 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_vpn_tunnel.rb', line 35 attribute :shared_secret |
#state ⇒ :present, ...
Returns Whether the given object should exist in GCP.
12 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_vpn_tunnel.rb', line 12 attribute :state |
#target_vpn_gateway ⇒ String
Returns URL of the Target VPN gateway with which this VPN tunnel is associated.
23 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_vpn_tunnel.rb', line 23 attribute :target_vpn_gateway |