s9s-cloudlink-api
Advanced tools
Comparing version 1.0.20 to 1.0.21
@@ -109,2 +109,3 @@ 'use strict'; | ||
* @param {Array} [tags] Tags list | ||
* @param {string} [sshUser] SSH user | ||
*/ | ||
@@ -114,3 +115,3 @@ | ||
key: 'addInstance', | ||
value: function addInstance(names, region, image, disk, size, sshKeys, subnet, securityGroups, vpc, tags) { | ||
value: function addInstance(names, region, image, disk, size, sshKeys, subnet, securityGroups, vpc, tags, sshUser) { | ||
return _CloudlinkHttp2.default.request(this.config, 'addInstance', { | ||
@@ -124,2 +125,3 @@ names: names, | ||
sshKeys: sshKeys, | ||
sshUser: sshUser, | ||
securityGroups: securityGroups, | ||
@@ -126,0 +128,0 @@ vpc: vpc, |
{ | ||
"name": "s9s-cloudlink-api", | ||
"version": "1.0.19", | ||
"version": "1.0.20", | ||
"main": "api.js", | ||
@@ -17,3 +17,3 @@ "license": "MIT", | ||
"gce", | ||
"google compute engine", | ||
"google", | ||
"aws", | ||
@@ -20,0 +20,0 @@ "cloud" |
{ | ||
"name": "s9s-cloudlink-api", | ||
"version": "1.0.20", | ||
"version": "1.0.21", | ||
"main": "api.js", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -9,3 +9,3 @@ # CloudLink API | ||
* [Documentation](https://cdn.rawgit.com/simon-s9/s9s-cloudlink-api/v1.0.17/docs/index.html) | ||
* [Documentation](https://cdn.rawgit.com/simon-s9/s9s-cloudlink-api/v1.0.21/docs/index.html) | ||
* [Installation](#installation) | ||
@@ -59,3 +59,3 @@ * [Examples](#examples) | ||
[travis-url]: https://travis-ci.org/simon-s9/s9s-cloudlink-api | ||
[document-image]: https://rawgit.com/simon-s9/s9s-cloudlink-api/v1.0.17/docs/badge.svg | ||
[document-image]: https://rawgit.com/simon-s9/s9s-cloudlink-api/v1.0.21/docs/badge.svg | ||
[document-url]: https://github.com/simon-s9/s9s-cloudlink-api/releases |
@@ -92,4 +92,5 @@ import CloudlinkApiError from './CloudlinkApiError'; | ||
* @param {Array} [tags] Tags list | ||
* @param {string} [sshUser] SSH user | ||
*/ | ||
addInstance(names, region, image, disk, size, sshKeys, subnet, securityGroups, vpc, tags) { | ||
addInstance(names, region, image, disk, size, sshKeys, subnet, securityGroups, vpc, tags, sshUser) { | ||
return CloudlinkHttp.request(this.config, 'addInstance', { | ||
@@ -103,2 +104,3 @@ names, | ||
sshKeys, | ||
sshUser, | ||
securityGroups, | ||
@@ -105,0 +107,0 @@ vpc, |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
1061410
23659