Method: Fog::OpenStack::Network::IkePolicy#create

Defined in:
lib/fog/openstack/network/models/ike_policy.rb

#createObject



21
22
23
24
25
26
# File 'lib/fog/openstack/network/models/ike_policy.rb', line 21

def create
  requires :name, :auth_algorithm, :encryption_algorithm, :ike_version,
           :lifetime, :pfs, :phase1_negotiation_mode
  merge_attributes(service.create_ike_policy(attributes).body['ikepolicy'])
  self
end