Class: Ansible::Ruby::Modules::Gcp_compute_vpn_tunnel

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_vpn_tunnel.rb

Overview

VPN tunnel resource.

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

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

#descriptionObject?

Returns An optional description of this resource.

Returns:

  • (Object, nil)

    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_versionInteger?

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.

Returns:

  • (Integer, nil)

    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

#labelsObject?

Returns Labels to apply to this VpnTunnel.

Returns:

  • (Object, nil)

    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_selectorObject?

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.

Returns:

  • (Object, nil)

    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

#nameString

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.

Returns:

  • (String)

    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_ipObject

Returns IP address of the peer VPN gateway. Only IPv4 is supported.

Returns:

  • (Object)

    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

#regionString

Returns The region where the tunnel is located.

Returns:

  • (String)

    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_selectorObject?

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.

Returns:

  • (Object, nil)

    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

#routerString?

Returns URL of router resource to be used for dynamic routing.

Returns:

  • (String, nil)

    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_secretString

Returns Shared secret used to set the secure session between the Cloud VPN gateway and the peer VPN gateway.

Returns:

  • (String)

    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.

Returns:

  • (:present, :absent, nil)

    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_gatewayString

Returns URL of the Target VPN gateway with which this VPN tunnel is associated.

Returns:

  • (String)

    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