Sha256: fb0f6d6ab8a187f422e4bae38515e635ec1d8093aebe38900d96ea6fb521bb7f

Contents?: true

Size: 479 Bytes

Versions: 1

Compression:

Stored size: 479 Bytes

Contents

module Fog
  module Compute
    class Cloudstack

      class Real
        # Updates traffic type of a physical network
        #
        # {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.3/root_admin/updateTrafficType.html]
        def update_traffic_type(id, options={})
          options.merge!(
            'command' => 'updateTrafficType', 
            '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/update_traffic_type.rb