Sha256: cebb13aa8bdde3c5393ff6a4805df4befd890d7485d46433f31d9f9b7a31d891

Contents?: true

Size: 443 Bytes

Versions: 1

Compression:

Stored size: 443 Bytes

Contents

module Fog
  module Compute
    class Cloudstack

      class Real
        # Creates a domain
        #
        # {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.3/root_admin/createDomain.html]
        def create_domain(name, options={})
          options.merge!(
            'command' => 'createDomain', 
            'name' => name  
          )
          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/create_domain.rb