Sha256: 14d306c201dc110cbe3bb4971378f7ea9431b3b9df63180186bf84afb55306e6

Contents?: true

Size: 429 Bytes

Versions: 1

Compression:

Stored size: 429 Bytes

Contents

module Fog
  module Compute
    class Cloudstack

      class Real
        # Restarts a VPC
        #
        # {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.3/root_admin/restartVPC.html]
        def restart_vpc(id, options={})
          options.merge!(
            'command' => 'restartVPC', 
            'id' => id  
          )
          request(options)
        end
      end

    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fog-1.23.0 lib/fog/cloudstack/requests/compute/restart_vpc.rb