Class: Ansible::Ruby::Modules::Cs_vpn_customer_gateway

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

Overview

Create, update and remove VPN customer gateways.

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

#accountObject?

Returns Account the VPN customer gateway is related to.

Returns:

  • (Object, nil)

    Account the VPN customer gateway is related to.



57
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_vpn_customer_gateway.rb', line 57

attribute :account

#cidrsArray<String>, ...

Returns List of guest CIDRs behind the gateway.,Required if C(state=present).

Returns:

  • (Array<String>, String, nil)

    List of guest CIDRs behind the gateway.,Required if C(state=present).



16
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_vpn_customer_gateway.rb', line 16

attribute :cidrs

#domainObject?

Returns Domain the VPN customer gateway is related to.

Returns:

  • (Object, nil)

    Domain the VPN customer gateway is related to.



54
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_vpn_customer_gateway.rb', line 54

attribute :domain

#dpdSymbol?

Returns Enable Dead Peer Detection.,Disabled per default by the API on creation if not set.

Returns:

  • (Symbol, nil)

    Enable Dead Peer Detection.,Disabled per default by the API on creation if not set.



42
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_vpn_customer_gateway.rb', line 42

attribute :dpd

#esp_lifetimeObject?

Returns Lifetime in seconds of phase 2 VPN connection.,Defaulted to 3600 by the API on creation if not set.

Returns:

  • (Object, nil)

    Lifetime in seconds of phase 2 VPN connection.,Defaulted to 3600 by the API on creation if not set.



39
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_vpn_customer_gateway.rb', line 39

attribute :esp_lifetime

#esp_policyString?

Returns ESP policy in the format e.g. C(aes256-sha1;modp1536).,Required if C(state=present).

Returns:

  • (String, nil)

    ESP policy in the format e.g. C(aes256-sha1;modp1536).,Required if C(state=present).



24
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_vpn_customer_gateway.rb', line 24

attribute :esp_policy

#force_encapSymbol?

Returns Force encapsulation for NAT traversal.,Disabled per default by the API on creation if not set.

Returns:

  • (Symbol, nil)

    Force encapsulation for NAT traversal.,Disabled per default by the API on creation if not set.



46
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_vpn_customer_gateway.rb', line 46

attribute :force_encap

#gatewayString?

Returns Public IP address of the gateway.,Required if C(state=present).

Returns:

  • (String, nil)

    Public IP address of the gateway.,Required if C(state=present).



20
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_vpn_customer_gateway.rb', line 20

attribute :gateway

#ike_lifetimeObject?

Returns Lifetime in seconds of phase 1 VPN connection.,Defaulted to 86400 by the API on creation if not set.

Returns:

  • (Object, nil)

    Lifetime in seconds of phase 1 VPN connection.,Defaulted to 86400 by the API on creation if not set.



36
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_vpn_customer_gateway.rb', line 36

attribute :ike_lifetime

#ike_policyString?

Returns IKE policy in the format e.g. C(aes256-sha1;modp1536).,Required if C(state=present).

Returns:

  • (String, nil)

    IKE policy in the format e.g. C(aes256-sha1;modp1536).,Required if C(state=present).



28
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_vpn_customer_gateway.rb', line 28

attribute :ike_policy

#ipsec_pskString?

Returns IPsec Preshared-Key.,Cannot contain newline or double quotes.,Required if C(state=present).

Returns:

  • (String, nil)

    IPsec Preshared-Key.,Cannot contain newline or double quotes.,Required if C(state=present).



32
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_vpn_customer_gateway.rb', line 32

attribute :ipsec_psk

#nameString

Returns Name of the gateway.

Returns:

  • (String)

    Name of the gateway.



12
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_vpn_customer_gateway.rb', line 12

attribute :name

#poll_asyncBoolean?

Returns Poll async jobs until job has finished.

Returns:

  • (Boolean, nil)

    Poll async jobs until job has finished.



63
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_vpn_customer_gateway.rb', line 63

attribute :poll_async

#projectObject?

Returns Name of the project the VPN gateway is related to.

Returns:

  • (Object, nil)

    Name of the project the VPN gateway is related to.



60
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_vpn_customer_gateway.rb', line 60

attribute :project

#state:present, ...

Returns State of the VPN customer gateway.

Returns:

  • (:present, :absent, nil)

    State of the VPN customer gateway.



50
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_vpn_customer_gateway.rb', line 50

attribute :state