code: def create(gandi, name, size, type, quantity, duration, datacenter, vhosts,
             password, snapshotprofile, background, sshkey, ssl, private_key,
             poll_cert):
      
      try:
          gandi.datacenter.is_opened(datacenter, 'paas')
      except DatacenterLimited as exc:
          gandi.echo('/!\ Datacenter %s will be closed on %s, '
                     'please consider using another datacenter.' %
                     (datacenter, exc.date))
  
      if not password:
          password = click.prompt('password', hide_input=True,
                                  confirmation_prompt=True)
  
      if not name:
          name = randomstring('paas')
  
      if vhosts and not gandi.hostedcert.activate_ssl(vhosts,
                                                      ssl,
                                                      private_key,
                                                      poll_cert):
          return
  
      result = gandi.paas.create(name, size, type, quantity, duration,
                                 datacenter, vhosts, password,
                                 snapshotprofile, background, sshkey)
      return result
docs: Create a new PaaS instance and initialize associated git repository.
  
      you can specify a configuration entry named 'sshkey' containing
      path to your sshkey file
  
      $ gandi config set [-g] sshkey ~/.ssh/id_rsa.pub
  
      or getting the sshkey "my_key" from your gandi ssh keyring
  
      $ gandi config set [-g] sshkey my_key
  
      to know which PaaS instance type to use as type
  
      $ gandi paas types